Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr BuildingSystems_BuildingSystems.Fluid.Examples.Performance.Example2.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo", uses=false) Using package NcDataReader2 with version 2.5.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package BuildingSystems with version 2.0.0-beta (/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo) Running command: "" <> buildModelFMU(BuildingSystems.Fluid.Examples.Performance.Example2,fileNamePrefix="BuildingSystems_BuildingSystems_Fluid_Examples_Performance_Example2",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(BuildingSystems.Fluid.Examples.Performance.Example2,fileNamePrefix="BuildingSystems_BuildingSystems_Fluid_Examples_Performance_Example2",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 0.7022/0.7022, allocations: 141.7 MB / 154.3 MB, free: 15.48 MB / 138.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.0009828/0.0009827, allocations: 181.4 kB / 187.3 MB, free: 11.88 MB / 154.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.215/1.215, allocations: 221.3 MB / 441.4 MB, free: 4.598 MB / 330.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0008092/0.0008092, allocations: 100.8 kB / 0.5124 GB, free: 24.12 MB / 394.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.001628/0.001628, allocations: 271.3 kB / 0.5939 GB, free: 7.969 MB / 442.7 MB Notification: Performance of FrontEnd - loaded program: time 4.312e-05/4.316e-05, allocations: 4 kB / 0.6835 GB, free: 12.15 MB / 0.5261 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3442/0.3443, allocations: 82.76 MB / 0.7644 GB, free: 108.7 MB / 0.5261 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.6094/0.9537, allocations: 361.8 MB / 1.118 GB, free: 12 MB / 0.6511 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002008/0.954, allocations: 88.02 kB / 1.118 GB, free: 11.96 MB / 0.6511 GB Notification: Performance of FrontEnd - DAE generated: time 1.444/2.398, allocations: 488.6 MB / 1.595 GB, free: 129.2 MB / 0.698 GB Notification: Performance of FrontEnd: time 1.272e-06/2.398, allocations: 192 / 1.595 GB, free: 129.2 MB / 0.698 GB Notification: Performance of Transformations before backend: time 0.000122/2.399, allocations: 44.62 kB / 1.595 GB, free: 129.2 MB / 0.698 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 188 * Number of variables: 188 Notification: Performance of Generate backend data structure: time 0.002095/2.401, allocations: 1.52 MB / 1.596 GB, free: 127.6 MB / 0.698 GB Notification: Performance of prepare preOptimizeDAE: time 3.478e-05/2.401, allocations: 12.03 kB / 1.596 GB, free: 127.6 MB / 0.698 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001188/2.401, allocations: 122.6 kB / 1.597 GB, free: 127.5 MB / 0.698 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0008046/2.402, allocations: 237.6 kB / 1.597 GB, free: 127.2 MB / 0.698 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003111/2.405, allocations: 1.935 MB / 1.599 GB, free: 125.3 MB / 0.698 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.185e-05/2.405, allocations: 66 kB / 1.599 GB, free: 125.2 MB / 0.698 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001069/2.405, allocations: 87.16 kB / 1.599 GB, free: 125.2 MB / 0.698 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001151/2.406, allocations: 0.9186 MB / 1.6 GB, free: 124.2 MB / 0.698 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.922e-05/2.406, allocations: 0 / 1.6 GB, free: 124.2 MB / 0.698 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.81e-05/2.406, allocations: 36 kB / 1.6 GB, free: 124.2 MB / 0.698 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.268e-05/2.406, allocations: 16 kB / 1.6 GB, free: 124.2 MB / 0.698 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0008408/2.407, allocations: 0.6439 MB / 1.6 GB, free: 123.5 MB / 0.698 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.003928/2.411, allocations: 4.605 MB / 1.605 GB, free: 118.7 MB / 0.698 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0006812/2.412, allocations: 0.5277 MB / 1.605 GB, free: 118.2 MB / 0.698 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003684/2.412, allocations: 293.3 kB / 1.606 GB, free: 117.9 MB / 0.698 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001873/2.414, allocations: 1.711 MB / 1.607 GB, free: 116.1 MB / 0.698 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003885/2.414, allocations: 317.3 kB / 1.608 GB, free: 115.7 MB / 0.698 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.0003219/2.415, allocations: 112 kB / 1.608 GB, free: 115.6 MB / 0.698 GB Notification: Performance of pre-optimization done (n=46): time 2.134e-06/2.415, allocations: 0 / 1.608 GB, free: 115.6 MB / 0.698 GB Notification: Performance of matching and sorting (n=46): time 0.000928/2.416, allocations: 0.6472 MB / 1.608 GB, free: 115 MB / 0.698 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.504e-05/2.416, allocations: 59.34 kB / 1.609 GB, free: 114.9 MB / 0.698 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001029/2.417, allocations: 1.108 MB / 1.61 GB, free: 113.8 MB / 0.698 GB Notification: Performance of collectPreVariables (initialization): time 4.589e-05/2.417, allocations: 45.69 kB / 1.61 GB, free: 113.7 MB / 0.698 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003246/2.417, allocations: 0.6333 MB / 1.61 GB, free: 113.1 MB / 0.698 GB Notification: Performance of collectInitialBindings (initialization): time 8.443e-05/2.417, allocations: 165.7 kB / 1.61 GB, free: 112.9 MB / 0.698 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.835e-05/2.417, allocations: 12 kB / 1.61 GB, free: 112.9 MB / 0.698 GB Notification: Performance of setup shared object (initialization): time 4.839e-05/2.417, allocations: 330 kB / 1.611 GB, free: 112.6 MB / 0.698 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002606/2.418, allocations: 204.9 kB / 1.611 GB, free: 112.4 MB / 0.698 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003659/2.418, allocations: 0.5382 MB / 1.611 GB, free: 111.7 MB / 0.698 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003493/2.418, allocations: 325.7 kB / 1.612 GB, free: 111.4 MB / 0.698 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.789e-06/2.418, allocations: 4 kB / 1.612 GB, free: 111.4 MB / 0.698 GB Notification: Performance of matching and sorting (n=86) (initialization): time 0.001136/2.419, allocations: 0.9478 MB / 1.613 GB, free: 110.4 MB / 0.698 GB Notification: Performance of prepare postOptimizeDAE: time 0.0003989/2.42, allocations: 3.044 MB / 1.616 GB, free: 107.2 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.578e-06/2.42, allocations: 8 kB / 1.616 GB, free: 107.2 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003131/2.42, allocations: 148.6 kB / 1.616 GB, free: 107.1 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004842/2.421, allocations: 144.8 kB / 1.616 GB, free: 106.9 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0005038/2.421, allocations: 0.759 MB / 1.617 GB, free: 106.2 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007077/2.422, allocations: 87.78 kB / 1.617 GB, free: 106.1 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.288e-05/2.422, allocations: 39.98 kB / 1.617 GB, free: 106 MB / 0.698 GB Notification: Performance of prepare postOptimizeDAE: time 7.354e-06/2.422, allocations: 9.094 kB / 1.617 GB, free: 106 MB / 0.698 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.001007/2.423, allocations: 0.8616 MB / 1.618 GB, free: 105.1 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.343e-06/2.423, allocations: 11.95 kB / 1.618 GB, free: 105.1 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001499/2.423, allocations: 108.1 kB / 1.618 GB, free: 105 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004137/2.424, allocations: 144.2 kB / 1.618 GB, free: 104.9 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001424/2.425, allocations: 2.185 MB / 1.62 GB, free: 102.5 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006046/2.426, allocations: 75.86 kB / 1.62 GB, free: 102.5 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.12e-05/2.426, allocations: 39.98 kB / 1.62 GB, free: 102.4 MB / 0.698 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 34 * Number of states: 0 () * Number of discrete variables: 6 ($whenCondition1,$PRE.pulse.T_start,pulse.T_start,$PRE.pulse.count,pulse.count,from_dp.y) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (73): * Single equations (assignments): 70 * Array equations: 1 * Algorithm blocks: 1 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 1 {5 7} Notification: Performance of prepare postOptimizeDAE: time 0.0001309/2.426, allocations: 160.7 kB / 1.62 GB, free: 102.3 MB / 0.698 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001123/2.426, allocations: 129.8 kB / 1.62 GB, free: 102.1 MB / 0.698 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001207/2.427, allocations: 0.8199 MB / 1.621 GB, free: 101.3 MB / 0.698 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.494e-06/2.427, allocations: 11.98 kB / 1.621 GB, free: 101.3 MB / 0.698 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.483e-06/2.427, allocations: 0 / 1.621 GB, free: 101.3 MB / 0.698 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0007308/2.428, allocations: 0.8277 MB / 1.622 GB, free: 100.4 MB / 0.698 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00199/2.43, allocations: 1.826 MB / 1.624 GB, free: 98.52 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.186e-06/2.43, allocations: 0 / 1.624 GB, free: 98.52 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003535/2.43, allocations: 83.88 kB / 1.624 GB, free: 98.44 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002145/2.431, allocations: 124.8 kB / 1.624 GB, free: 98.32 MB / 0.698 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.114e-05/2.431, allocations: 16 kB / 1.624 GB, free: 98.3 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0003866/2.431, allocations: 0.7397 MB / 1.625 GB, free: 97.54 MB / 0.698 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.833e-06/2.431, allocations: 3.953 kB / 1.625 GB, free: 97.53 MB / 0.698 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001136/2.432, allocations: 1.152 MB / 1.626 GB, free: 96.34 MB / 0.698 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002875/2.432, allocations: 263.4 kB / 1.626 GB, free: 96.06 MB / 0.698 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001133/2.433, allocations: 12 kB / 1.626 GB, free: 96.05 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000566/2.433, allocations: 75.84 kB / 1.626 GB, free: 95.97 MB / 0.698 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.295e-05/2.433, allocations: 36.38 kB / 1.626 GB, free: 95.94 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.213e-05/2.433, allocations: 27.83 kB / 1.626 GB, free: 95.91 MB / 0.698 GB Notification: Performance of sorting global known variables: time 0.0008019/2.434, allocations: 0.8642 MB / 1.627 GB, free: 95.05 MB / 0.698 GB Notification: Performance of sort global known variables: time 1.51e-07/2.434, allocations: 0 / 1.627 GB, free: 95.05 MB / 0.698 GB Notification: Performance of remove unused functions: time 0.001638/2.436, allocations: 0.7176 MB / 1.628 GB, free: 94.33 MB / 0.698 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 3 * Number of states: 1 (pump_dp.vol.dynBal.U) * Number of discrete variables: 3 ($whenCondition1,pulse.T_start,pulse.count) * Number of discrete states: 1 (pulse.count) * Top-level inputs: 0 Notification: Strong component statistics for simulation (41): * Single equations (assignments): 35 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 3 * When equations: 2 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 1 {5 7} Notification: Performance of Backend phase and start with SimCode phase: time 0.00216/2.438, allocations: 2.458 MB / 1.63 GB, free: 91.93 MB / 0.698 GB Notification: Performance of simCode: created initialization part: time 0.001568/2.439, allocations: 1.262 MB / 1.631 GB, free: 90.63 MB / 0.698 GB Notification: Performance of simCode: created event and clocks part: time 3.827e-06/2.439, allocations: 4 kB / 1.631 GB, free: 90.63 MB / 0.698 GB Notification: Performance of simCode: created simulation system equations: time 0.0004097/2.44, allocations: 294.6 kB / 1.632 GB, free: 90.34 MB / 0.698 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001912/2.442, allocations: 0.5661 MB / 1.632 GB, free: 89.8 MB / 0.698 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002698/2.444, allocations: 2.074 MB / 1.634 GB, free: 87.68 MB / 0.698 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004903/2.445, allocations: 1.301 MB / 1.636 GB, free: 86.35 MB / 0.698 GB Notification: Performance of simCode: alias equations: time 0.001525/2.447, allocations: 0.5633 MB / 1.636 GB, free: 85.82 MB / 0.698 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004269/2.447, allocations: 479.2 kB / 1.637 GB, free: 85.35 MB / 0.698 GB Notification: Performance of SimCode: time 8.02e-07/2.447, allocations: 0 / 1.637 GB, free: 85.35 MB / 0.698 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.05498/2.502, allocations: 43.99 MB / 1.68 GB, free: 42.11 MB / 0.698 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001278/2.502, allocations: 227.4 kB / 1.68 GB, free: 41.88 MB / 0.698 GB Notification: Performance of buildModelFMU: Generate platform static: time 3.034/5.536, allocations: 0 / 1.68 GB, free: 41.88 MB / 0.698 GB (rm -f BuildingSystems_BuildingSystems.Fluid.Examples.Performance.Example2.pipe ; mkfifo BuildingSystems_BuildingSystems.Fluid.Examples.Performance.Example2.pipe ; head -c 1048576 < BuildingSystems_BuildingSystems.Fluid.Examples.Performance.Example2.pipe >> ../files/BuildingSystems_BuildingSystems.Fluid.Examples.Performance.Example2.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_BuildingSystems_BuildingSystems_Fluid_Examples_Performance_Example2_fmu --startTime=0 --stopTime=20 --timeout=50 --tolerance=1e-06 BuildingSystems_BuildingSystems_Fluid_Examples_Performance_Example2.fmu > BuildingSystems_BuildingSystems.Fluid.Examples.Performance.Example2.pipe 2>&1)