Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_9_Buildings.Fluid.Examples.Performance.Example2.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.1-maint.9.1.x/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) 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 Buildings with version 9.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.1-maint.9.1.x/package.mo) Running command: "" <> buildModelFMU(Buildings.Fluid.Examples.Performance.Example2,fileNamePrefix="Buildings_9_Buildings_Fluid_Examples_Performance_Example2",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.Examples.Performance.Example2,fileNamePrefix="Buildings_9_Buildings_Fluid_Examples_Performance_Example2",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.1-maint.9.1.x/package.mo): time 2.139/2.139, allocations: 390.3 MB / 405.3 MB, free: 13.51 MB / 314.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001051/0.001051, allocations: 173.2 kB / 498.1 MB, free: 5.738 MB / 394.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.517/1.517, allocations: 223.1 MB / 0.7948 GB, free: 17.88 MB / 0.5573 GB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0009208/0.0009207, allocations: 108.2 kB / 0.9346 GB, free: 6.191 MB / 0.6823 GB Notification: Performance of FrontEnd - loaded program: time 0.0003695/0.0003695, allocations: 10.91 kB / 1.084 GB, free: 221.2 MB / 0.823 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2837/0.2841, allocations: 142.3 MB / 1.223 GB, free: 114.2 MB / 0.823 GB Notification: Performance of FrontEnd - scodeFlatten: time 1.068/1.352, allocations: 402.7 MB / 1.616 GB, free: 8.867 MB / 0.9323 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002641/1.353, allocations: 104.4 kB / 1.616 GB, free: 8.812 MB / 0.9323 GB Notification: Performance of FrontEnd - DAE generated: time 1.727/3.08, allocations: 494 MB / 2.099 GB, free: 233.2 MB / 1.167 GB Notification: Performance of FrontEnd: time 2.455e-06/3.08, allocations: 0 / 2.099 GB, free: 233.2 MB / 1.167 GB Notification: Performance of Transformations before backend: time 0.0002823/3.08, allocations: 44.55 kB / 2.099 GB, free: 233.2 MB / 1.167 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.006087/3.086, allocations: 1.971 MB / 2.101 GB, free: 231.2 MB / 1.167 GB Notification: Performance of prepare preOptimizeDAE: time 5.347e-05/3.086, allocations: 12.03 kB / 2.101 GB, free: 231.2 MB / 1.167 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0004257/3.087, allocations: 122.6 kB / 2.101 GB, free: 231 MB / 1.167 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002027/3.089, allocations: 329.7 kB / 2.101 GB, free: 230.7 MB / 1.167 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.005471/3.094, allocations: 1.995 MB / 2.103 GB, free: 228.7 MB / 1.167 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.421e-05/3.094, allocations: 73.92 kB / 2.103 GB, free: 228.6 MB / 1.167 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002348/3.094, allocations: 87.67 kB / 2.103 GB, free: 228.5 MB / 1.167 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001902/3.096, allocations: 0.984 MB / 2.104 GB, free: 227.5 MB / 1.167 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.042e-05/3.096, allocations: 3.938 kB / 2.104 GB, free: 227.5 MB / 1.167 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.293e-05/3.096, allocations: 28 kB / 2.104 GB, free: 227.5 MB / 1.167 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.744e-05/3.097, allocations: 24 kB / 2.104 GB, free: 227.4 MB / 1.167 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001588/3.098, allocations: 0.7572 MB / 2.105 GB, free: 226.7 MB / 1.167 GB Warning: The model contains alias variables with redundant start and/or conflicting 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.00646/3.105, allocations: 4.642 MB / 2.11 GB, free: 221.8 MB / 1.167 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001273/3.106, allocations: 0.6412 MB / 2.11 GB, free: 221.1 MB / 1.167 GB Notification: Performance of preOpt evalFunc (simulation): time 0.002846/3.109, allocations: 1.719 MB / 2.112 GB, free: 219.3 MB / 1.167 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0006955/3.109, allocations: 366.3 kB / 2.112 GB, free: 218.9 MB / 1.167 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.0007103/3.11, allocations: 111.5 kB / 2.112 GB, free: 218.8 MB / 1.167 GB Notification: Performance of pre-optimization done (n=46): time 3.707e-06/3.11, allocations: 0 / 2.112 GB, free: 218.8 MB / 1.167 GB Notification: Performance of matching and sorting (n=46): time 0.002835/3.113, allocations: 1.174 MB / 2.113 GB, free: 217.6 MB / 1.167 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.236e-05/3.113, allocations: 63.41 kB / 2.113 GB, free: 217.6 MB / 1.167 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001804/3.115, allocations: 1.123 MB / 2.115 GB, free: 216.4 MB / 1.167 GB Notification: Performance of collectPreVariables (initialization): time 7.001e-05/3.115, allocations: 41.7 kB / 2.115 GB, free: 216.4 MB / 1.167 GB Notification: Performance of collectInitialEqns (initialization): time 0.0005087/3.116, allocations: 0.6519 MB / 2.115 GB, free: 215.7 MB / 1.167 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001253/3.116, allocations: 160.7 kB / 2.115 GB, free: 215.6 MB / 1.167 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.667e-05/3.116, allocations: 12 kB / 2.115 GB, free: 215.6 MB / 1.167 GB Notification: Performance of setup shared object (initialization): time 7.194e-05/3.116, allocations: 333.9 kB / 2.116 GB, free: 215.2 MB / 1.167 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005684/3.116, allocations: 265.8 kB / 2.116 GB, free: 215 MB / 1.167 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006907/3.117, allocations: 0.599 MB / 2.117 GB, free: 214.2 MB / 1.167 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006808/3.118, allocations: 372.7 kB / 2.117 GB, free: 213.8 MB / 1.167 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.293e-06/3.118, allocations: 0 / 2.117 GB, free: 213.8 MB / 1.167 GB Notification: Performance of matching and sorting (n=86) (initialization): time 0.001953/3.12, allocations: 1.047 MB / 2.118 GB, free: 212.8 MB / 1.167 GB Notification: Performance of prepare postOptimizeDAE: time 0.0005969/3.12, allocations: 3.057 MB / 2.121 GB, free: 209.5 MB / 1.167 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.8e-05/3.12, allocations: 8 kB / 2.121 GB, free: 209.5 MB / 1.167 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003623/3.121, allocations: 140.8 kB / 2.121 GB, free: 209.4 MB / 1.167 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006328/3.121, allocations: 163.6 kB / 2.121 GB, free: 209.2 MB / 1.167 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0006213/3.122, allocations: 0.7669 MB / 2.122 GB, free: 208.4 MB / 1.167 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001194/3.123, allocations: 91.84 kB / 2.122 GB, free: 208.3 MB / 1.167 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.063e-05/3.123, allocations: 39.98 kB / 2.122 GB, free: 208.3 MB / 1.167 GB Notification: Performance of prepare postOptimizeDAE: time 1.073e-05/3.123, allocations: 4 kB / 2.122 GB, free: 208.3 MB / 1.167 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.001635/3.125, allocations: 0.9557 MB / 2.123 GB, free: 207.3 MB / 1.167 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.676e-05/3.125, allocations: 8 kB / 2.123 GB, free: 207.3 MB / 1.167 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.000177/3.125, allocations: 104.8 kB / 2.123 GB, free: 207.2 MB / 1.167 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005508/3.126, allocations: 148.2 kB / 2.123 GB, free: 207.1 MB / 1.167 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002067/3.128, allocations: 2.235 MB / 2.125 GB, free: 204.7 MB / 1.167 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0011/3.129, allocations: 91.84 kB / 2.126 GB, free: 204.6 MB / 1.167 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.748e-05/3.129, allocations: 39.98 kB / 2.126 GB, free: 204.5 MB / 1.167 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 () * Number of clocked 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.0008609/3.13, allocations: 476.7 kB / 2.126 GB, free: 204.1 MB / 1.167 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000294/3.13, allocations: 130.4 kB / 2.126 GB, free: 203.9 MB / 1.167 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002076/3.132, allocations: 0.9363 MB / 2.127 GB, free: 203 MB / 1.167 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.174e-05/3.132, allocations: 8 kB / 2.127 GB, free: 203 MB / 1.167 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.326e-06/3.132, allocations: 0 / 2.127 GB, free: 203 MB / 1.167 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.001422/3.134, allocations: 0.9255 MB / 2.128 GB, free: 202 MB / 1.167 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003705/3.137, allocations: 1.928 MB / 2.13 GB, free: 200 MB / 1.167 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.771e-06/3.137, allocations: 0 / 2.13 GB, free: 200 MB / 1.167 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005002/3.138, allocations: 95.94 kB / 2.13 GB, free: 199.9 MB / 1.167 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002596/3.138, allocations: 124.8 kB / 2.13 GB, free: 199.8 MB / 1.167 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.311e-05/3.138, allocations: 11.98 kB / 2.13 GB, free: 199.7 MB / 1.167 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.000458/3.139, allocations: 0.749 MB / 2.131 GB, free: 199 MB / 1.167 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.635e-06/3.139, allocations: 3.938 kB / 2.131 GB, free: 199 MB / 1.167 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002181/3.141, allocations: 1.298 MB / 2.132 GB, free: 197.6 MB / 1.167 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0006504/3.142, allocations: 267.3 kB / 2.132 GB, free: 197.3 MB / 1.167 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003215/3.142, allocations: 23.94 kB / 2.132 GB, free: 197.3 MB / 1.167 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0009594/3.143, allocations: 79.91 kB / 2.132 GB, free: 197.2 MB / 1.167 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.966e-05/3.143, allocations: 36.38 kB / 2.132 GB, free: 197.2 MB / 1.167 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.963e-05/3.143, allocations: 27.92 kB / 2.133 GB, free: 197.2 MB / 1.167 GB Notification: Performance of sorting global known variables: time 0.001475/3.145, allocations: 0.8858 MB / 2.133 GB, free: 196.3 MB / 1.167 GB Notification: Performance of sort global known variables: time 4.31e-07/3.145, allocations: 0 / 2.133 GB, free: 196.3 MB / 1.167 GB Notification: Performance of remove unused functions: time 0.002945/3.148, allocations: 0.7254 MB / 2.134 GB, free: 195.6 MB / 1.167 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) * Number of clocked states: 0 () * 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.004058/3.152, allocations: 2.613 MB / 2.137 GB, free: 192.9 MB / 1.167 GB Notification: Performance of simCode: created initialization part: time 0.002823/3.154, allocations: 1.366 MB / 2.138 GB, free: 191.5 MB / 1.167 GB Notification: Performance of simCode: created event and clocks part: time 4.309e-06/3.154, allocations: 4 kB / 2.138 GB, free: 191.5 MB / 1.167 GB Notification: Performance of simCode: created simulation system equations: time 0.000725/3.155, allocations: 347.5 kB / 2.138 GB, free: 191.2 MB / 1.167 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002683/3.158, allocations: 0.5615 MB / 2.139 GB, free: 190.6 MB / 1.167 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00908/3.167, allocations: 8.853 MB / 2.148 GB, free: 181.6 MB / 1.167 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0009221/3.168, allocations: 1.306 MB / 2.149 GB, free: 180.2 MB / 1.167 GB Notification: Performance of simCode: alias equations: time 0.001414/3.169, allocations: 313.8 kB / 2.149 GB, free: 179.9 MB / 1.167 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005897/3.17, allocations: 0.4915 MB / 2.15 GB, free: 179.4 MB / 1.167 GB Notification: Performance of SimCode: time 1.563e-06/3.17, allocations: 0 / 2.15 GB, free: 179.4 MB / 1.167 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.07246/3.242, allocations: 40.87 MB / 2.189 GB, free: 139.1 MB / 1.167 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001871/3.243, allocations: 243.3 kB / 2.19 GB, free: 138.8 MB / 1.167 GB Notification: Performance of buildModelFMU: Generate platform static: time 3.346/6.589, allocations: 3.938 kB / 2.19 GB, free: 138.8 MB / 1.167 GB (rm -f Buildings_9_Buildings.Fluid.Examples.Performance.Example2.pipe ; mkfifo Buildings_9_Buildings.Fluid.Examples.Performance.Example2.pipe ; head -c 1048576 < Buildings_9_Buildings.Fluid.Examples.Performance.Example2.pipe >> ../files/Buildings_9_Buildings.Fluid.Examples.Performance.Example2.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=Buildings_9_Buildings.Fluid.Examples.Performance.Example2_res.mat --tempDir=temp_Buildings_9_Buildings_Fluid_Examples_Performance_Example2_fmu --startTime=0 --stopTime=20 --timeout=50 --tolerance=1e-06 Buildings_9_Buildings_Fluid_Examples_Performance_Example2.fmu > Buildings_9_Buildings.Fluid.Examples.Performance.Example2.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result Buildings_9_Buildings.Fluid.Examples.Performance.Example2_res.mat does not exist to compare? outputFormat=mat