Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr BuildSysPro_BuildSysPro.IBPSA.Fluid.Examples.FlowSystem.Simplified4.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildSysPro 3.5.0/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo", uses=false) Using package ModelicaServices with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package Complex with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo) Using package BuildSysPro with version 3.4.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildSysPro 3.5.0/package.mo) Running command: "" <> buildModelFMU(BuildSysPro.IBPSA.Fluid.Examples.FlowSystem.Simplified4,fileNamePrefix="BuildSysPro_BuildSysPro_IBPSA_Fluid_Examples_FlowSystem_Simplified4",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(BuildSysPro.IBPSA.Fluid.Examples.FlowSystem.Simplified4,fileNamePrefix="BuildSysPro_BuildSysPro_IBPSA_Fluid_Examples_FlowSystem_Simplified4",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildSysPro 3.5.0/package.mo): time 0.7045/0.7045, allocations: 127.3 MB / 139.8 MB, free: 15.48 MB / 122.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001086/0.001086, allocations: 188.8 kB / 169.7 MB, free: 1.727 MB / 138.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.549/1.549, allocations: 205.1 MB / 404.5 MB, free: 1.59 MB / 298.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.000844/0.0008439, allocations: 86.22 kB / 481.8 MB, free: 4.242 MB / 378.7 MB Notification: Performance of FrontEnd - loaded program: time 3.941e-05/3.955e-05, allocations: 4 kB / 0.5533 GB, free: 54.75 MB / 394.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1966/0.1967, allocations: 76.76 MB / 0.6282 GB, free: 9.934 MB / 426.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 1.212/1.409, allocations: 428.9 MB / 1.047 GB, free: 87.15 MB / 0.6355 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002322/1.409, allocations: 94.95 kB / 1.047 GB, free: 87.11 MB / 0.6355 GB Notification: Performance of FrontEnd - DAE generated: time 41.49/42.9, allocations: 9.938 GB / 10.99 GB, free: 70.3 MB / 0.948 GB Notification: Performance of FrontEnd: time 3.176e-06/42.9, allocations: 4 kB / 10.99 GB, free: 70.3 MB / 0.948 GB Notification: Performance of Transformations before backend: time 0.002981/42.9, allocations: 387.8 kB / 10.99 GB, free: 70.22 MB / 0.948 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 1743 * Number of variables: 1743 Notification: Performance of Generate backend data structure: time 0.04425/42.94, allocations: 11.98 MB / 11 GB, free: 64.87 MB / 0.948 GB Notification: Performance of prepare preOptimizeDAE: time 5.429e-05/42.94, allocations: 7.875 kB / 11 GB, free: 64.87 MB / 0.948 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.004947/42.95, allocations: 0.8899 MB / 11 GB, free: 64.79 MB / 0.948 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01876/42.97, allocations: 2.333 MB / 11 GB, free: 63.9 MB / 0.948 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.07065/43.04, allocations: 21.28 MB / 11.02 GB, free: 61.36 MB / 0.948 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0009975/43.04, allocations: 0.5917 MB / 11.02 GB, free: 61.34 MB / 0.948 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.005003/43.04, allocations: 0.7933 MB / 11.02 GB, free: 61.34 MB / 0.948 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.04348/43.09, allocations: 15.75 MB / 11.04 GB, free: 56.63 MB / 0.948 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001997/43.09, allocations: 26.41 kB / 11.04 GB, free: 56.61 MB / 0.948 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.001664/43.09, allocations: 287.1 kB / 11.04 GB, free: 56.33 MB / 0.948 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001273/43.09, allocations: 179 kB / 11.04 GB, free: 56.16 MB / 0.948 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.03869/43.13, allocations: 19.83 MB / 11.06 GB, free: 38.51 MB / 0.948 GB Warning: The model contains alias variables with conflicting start and/or nominal values. It is recommended to resolve the conflicts, because otherwise the system could be hard to solve. To print the conflicting alias sets and the chosen candidates please use -d=aliasConflicts. Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.9683/44.1, allocations: 73.99 MB / 11.13 GB, free: 59.88 MB / 0.948 GB Notification: Performance of preOpt comSubExp (simulation): time 0.02322/44.12, allocations: 11.32 MB / 11.14 GB, free: 59.71 MB / 0.948 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.01221/44.13, allocations: 8.422 MB / 11.15 GB, free: 59.65 MB / 0.948 GB Warning: The model contains alias variables with conflicting start and/or nominal values. It is recommended to resolve the conflicts, because otherwise the system could be hard to solve. To print the conflicting alias sets and the chosen candidates please use -d=aliasConflicts. Notification: Performance of preOpt evalFunc (simulation): time 0.0599/44.19, allocations: 28.28 MB / 11.18 GB, free: 51.39 MB / 0.948 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.02451/44.22, allocations: 9.979 MB / 11.19 GB, free: 51.28 MB / 0.948 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.04482/44.26, allocations: 14.98 MB / 11.2 GB, free: 51.28 MB / 0.948 GB Notification: Performance of pre-optimization done (n=425): time 3.805e-05/44.26, allocations: 0 / 11.2 GB, free: 51.28 MB / 0.948 GB Notification: Performance of matching and sorting (n=611): time 0.4675/44.73, allocations: 116.1 MB / 11.32 GB, free: 44.32 MB / 0.948 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.325e-05/44.73, allocations: 119.6 kB / 11.32 GB, free: 44.25 MB / 0.948 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.02858/44.76, allocations: 12.37 MB / 11.33 GB, free: 43.52 MB / 0.948 GB Notification: Performance of collectPreVariables (initialization): time 0.003733/44.76, allocations: 193.7 kB / 11.33 GB, free: 43.49 MB / 0.948 GB Notification: Performance of collectInitialEqns (initialization): time 0.009716/44.77, allocations: 6.676 MB / 11.33 GB, free: 42.38 MB / 0.948 GB Notification: Performance of collectInitialBindings (initialization): time 0.004794/44.78, allocations: 2.069 MB / 11.34 GB, free: 41.33 MB / 0.948 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.002557/44.78, allocations: 158.8 kB / 11.34 GB, free: 41.33 MB / 0.948 GB Notification: Performance of setup shared object (initialization): time 0.0005822/44.78, allocations: 0.6164 MB / 11.34 GB, free: 41.01 MB / 0.948 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.01336/44.79, allocations: 8.063 MB / 11.34 GB, free: 40.99 MB / 0.948 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.01623/44.81, allocations: 10.85 MB / 11.36 GB, free: 37.76 MB / 0.948 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0157/44.82, allocations: 9.089 MB / 11.36 GB, free: 37.5 MB / 0.948 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.703e-05/44.82, allocations: 17.2 kB / 11.36 GB, free: 37.5 MB / 0.948 GB Notification: Performance of matching and sorting (n=1033) (initialization): time 0.09465/44.92, allocations: 33.81 MB / 11.4 GB, free: 22.91 MB / 0.948 GB Notification: Performance of prepare postOptimizeDAE: time 0.009069/44.93, allocations: 36.2 MB / 11.43 GB, free: 0.9414 MB / 0.9636 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001919/44.93, allocations: 59.61 kB / 11.43 GB, free: 0.8906 MB / 0.9636 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.563/46.49, allocations: 149.8 MB / 11.58 GB, free: 104.1 MB / 0.9792 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.01077/46.5, allocations: 1.735 MB / 11.58 GB, free: 104.1 MB / 0.9792 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.06412/46.57, allocations: 37.97 MB / 11.62 GB, free: 98.47 MB / 0.9792 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.02171/46.59, allocations: 1.462 MB / 11.62 GB, free: 98.47 MB / 0.9792 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.004918/46.59, allocations: 0.8255 MB / 11.62 GB, free: 98.47 MB / 0.9792 GB Notification: Performance of prepare postOptimizeDAE: time 1.595e-05/46.59, allocations: 4.969 kB / 11.62 GB, free: 98.47 MB / 0.9792 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.06216/46.66, allocations: 25.88 MB / 11.65 GB, free: 98.12 MB / 0.9792 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0003067/46.66, allocations: 52.38 kB / 11.65 GB, free: 98.12 MB / 0.9792 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.6285/47.28, allocations: 147.1 MB / 11.79 GB, free: 8.848 MB / 0.9792 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.008332/47.29, allocations: 1.692 MB / 11.79 GB, free: 7.293 MB / 0.9792 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0687/47.36, allocations: 39.8 MB / 11.83 GB, free: 10.83 MB / 1.01 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.9977/48.36, allocations: 1.074 MB / 11.83 GB, free: 132.8 MB / 1.01 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.00563/48.37, allocations: 0.7696 MB / 11.83 GB, free: 132.8 MB / 1.01 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 245 * Number of states: 0 () * Number of discrete variables: 10 ($whenCondition1,$whenCondition2,booleanToInteger.u,booleanToInteger.y,$PRE.stepPump.pulseStart,stepPump.pulseStart,$PRE.stepValve.T_start,stepValve.T_start,$PRE.stepValve.count,stepValve.count) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (759): * Single equations (assignments): 746 * Array equations: 4 * Algorithm blocks: 1 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 5 * Torn equation systems: 3 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details: * Constant Jacobian: 0 * Linear Jacobian (size,density): 0 * Non-linear Jacobian: 5 {1,1,1,1,1} * Without analytic Jacobian: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 1 {(5,76.0%) 80} * Non-linear torn systems: 2 {32 38,5 80} Notification: Performance of prepare postOptimizeDAE: time 0.007184/48.37, allocations: 0.5684 MB / 11.83 GB, free: 132.7 MB / 1.01 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.005734/48.38, allocations: 1.279 MB / 11.83 GB, free: 132.7 MB / 1.01 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.1293/48.51, allocations: 35.66 MB / 11.87 GB, free: 132.2 MB / 1.01 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.00015/48.51, allocations: 76.27 kB / 11.87 GB, free: 132.2 MB / 1.01 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.847e-05/48.51, allocations: 14.39 kB / 11.87 GB, free: 132.2 MB / 1.01 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.1035/48.61, allocations: 29.98 MB / 11.9 GB, free: 131.7 MB / 1.01 GB Warning: The model contains alias variables with conflicting start and/or nominal values. It is recommended to resolve the conflicts, because otherwise the system could be hard to solve. To print the conflicting alias sets and the chosen candidates please use -d=aliasConflicts. Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.1718/48.78, allocations: 59.24 MB / 11.95 GB, free: 125.5 MB / 1.01 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.638e-05/48.78, allocations: 7.25 kB / 11.95 GB, free: 125.5 MB / 1.01 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.007268/48.79, allocations: 1.177 MB / 11.96 GB, free: 125.5 MB / 1.01 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.1865/48.98, allocations: 43.32 MB / 12 GB, free: 125.4 MB / 1.01 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.002325/48.98, allocations: 214.9 kB / 12 GB, free: 125.4 MB / 1.01 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.1077/49.09, allocations: 48.49 MB / 12.05 GB, free: 117.9 MB / 1.01 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.733e-06/49.09, allocations: 9.375 kB / 12.05 GB, free: 117.9 MB / 1.01 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.2121/49.3, allocations: 61.52 MB / 12.11 GB, free: 92.3 MB / 1.01 GB Notification: Performance of postOpt removeConstants (simulation): time 0.01107/49.31, allocations: 3.076 MB / 12.11 GB, free: 90.48 MB / 1.01 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.005846/49.32, allocations: 130.2 kB / 12.11 GB, free: 90.45 MB / 1.01 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0159/49.33, allocations: 1.236 MB / 12.11 GB, free: 89.76 MB / 1.01 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.003112/49.34, allocations: 0.564 MB / 12.11 GB, free: 89.49 MB / 1.01 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.001631/49.34, allocations: 314.9 kB / 12.11 GB, free: 89.29 MB / 1.01 GB Notification: Performance of sorting global known variables: time 0.01873/49.36, allocations: 9.431 MB / 12.12 GB, free: 83.98 MB / 1.01 GB Notification: Performance of sort global known variables: time 9.91e-07/49.36, allocations: 1.203 kB / 12.12 GB, free: 83.98 MB / 1.01 GB Notification: Performance of remove unused functions: time 0.05339/49.41, allocations: 7.725 MB / 12.13 GB, free: 77.2 MB / 1.01 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 27 * Number of states: 8 (valSouth.vol.dynBal.U,valNorth.vol.dynBal.U,spl.vol.dynBal.U,spl1.vol.dynBal.U,pumpHea.vol.dynBal.U,spl2.vol.dynBal.U,spl3.vol.dynBal.U,pumpCoo.vol.dynBal.U) * Number of discrete variables: 7 ($whenCondition2,$whenCondition1,booleanToInteger.u,booleanToInteger.y,stepPump.pulseStart,stepValve.T_start,stepValve.count) * Number of discrete states: 1 (stepValve.count) * Top-level inputs: 0 Notification: Strong component statistics for simulation (533): * Single equations (assignments): 513 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 9 * When equations: 3 * If-equations: 0 * Equation systems (linear and non-linear blocks): 5 * Torn equation systems: 3 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details: * Constant Jacobian: 0 * Linear Jacobian (size,density): 0 * Non-linear Jacobian: 5 {1,1,1,1,1} * Without analytic Jacobian: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 1 {(7,75.5%) 74} * Non-linear torn systems: 2 {30 38,5 80} Notification: Performance of Backend phase and start with SimCode phase: time 1.119/50.53, allocations: 67.62 MB / 12.19 GB, free: 133.1 MB / 1.01 GB Notification: Performance of simCode: created initialization part: time 0.08737/50.62, allocations: 34.71 MB / 12.23 GB, free: 132.1 MB / 1.01 GB Notification: Performance of simCode: created event and clocks part: time 2.03e-05/50.62, allocations: 3.625 kB / 12.23 GB, free: 132.1 MB / 1.01 GB Notification: Performance of simCode: created simulation system equations: time 0.02662/50.64, allocations: 10.52 MB / 12.24 GB, free: 131.6 MB / 1.01 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.04343/50.69, allocations: 6.668 MB / 12.24 GB, free: 131.5 MB / 1.01 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.1042/50.79, allocations: 32.1 MB / 12.28 GB, free: 126.7 MB / 1.01 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.01448/50.8, allocations: 7.765 MB / 12.28 GB, free: 125.7 MB / 1.01 GB Notification: Performance of simCode: alias equations: time 0.03131/50.84, allocations: 6.739 MB / 12.29 GB, free: 125.5 MB / 1.01 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.01142/50.85, allocations: 6.4 MB / 12.3 GB, free: 125.5 MB / 1.01 GB Notification: Performance of SimCode: time 1.092e-06/50.85, allocations: 0.5938 kB / 12.3 GB, free: 125.5 MB / 1.01 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 2.736/53.58, allocations: 0.6063 GB / 12.9 GB, free: 8.371 MB / 1.042 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002035/53.58, allocations: 231.1 kB / 12.9 GB, free: 8.094 MB / 1.042 GB Notification: Performance of buildModelFMU: Generate platform static: time 29.75/83.33, allocations: 0 / 12.9 GB, free: 8.094 MB / 1.042 GB (rm -f BuildSysPro_BuildSysPro.IBPSA.Fluid.Examples.FlowSystem.Simplified4.pipe ; mkfifo BuildSysPro_BuildSysPro.IBPSA.Fluid.Examples.FlowSystem.Simplified4.pipe ; head -c 1048576 < BuildSysPro_BuildSysPro.IBPSA.Fluid.Examples.FlowSystem.Simplified4.pipe >> ../files/BuildSysPro_BuildSysPro.IBPSA.Fluid.Examples.FlowSystem.Simplified4.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_BuildSysPro_BuildSysPro_IBPSA_Fluid_Examples_FlowSystem_Simplified4_fmu --startTime=0 --stopTime=1000 --timeout=50 --tolerance=1e-06 BuildSysPro_BuildSysPro_IBPSA_Fluid_Examples_FlowSystem_Simplified4.fmu > BuildSysPro_BuildSysPro.IBPSA.Fluid.Examples.FlowSystem.Simplified4.pipe 2>&1)