Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_9_Buildings.Fluid.Examples.Performance.Example4.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.Example4,fileNamePrefix="Buildings_9_Buildings_Fluid_Examples_Performance_Example4",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.Examples.Performance.Example4,fileNamePrefix="Buildings_9_Buildings_Fluid_Examples_Performance_Example4",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.197/2.197, allocations: 387.1 MB / 399.7 MB, free: 9.434 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.0009897/0.0009897, allocations: 172.9 kB / 492.3 MB, free: 0.625 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.478/1.478, allocations: 221.3 MB / 0.7871 GB, free: 12.9 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.0008575/0.0008575, allocations: 94.52 kB / 0.9267 GB, free: 13.97 MB / 0.698 GB Notification: Performance of FrontEnd - loaded program: time 2.534e-05/2.536e-05, allocations: 4 kB / 1.073 GB, free: 180.3 MB / 0.7605 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.236/0.236, allocations: 142.3 MB / 1.212 GB, free: 38.45 MB / 0.7605 GB Notification: Performance of FrontEnd - scodeFlatten: time 4.755/4.991, allocations: 1.951 GB / 3.164 GB, free: 323.3 MB / 1.151 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.000201/4.991, allocations: 90.56 kB / 3.164 GB, free: 323.3 MB / 1.151 GB Notification: Performance of FrontEnd - DAE generated: time 5.01/10, allocations: 1.469 GB / 4.633 GB, free: 155.4 MB / 1.167 GB Notification: Performance of FrontEnd: time 2.023e-06/10, allocations: 0 / 4.633 GB, free: 155.4 MB / 1.167 GB Notification: Performance of Transformations before backend: time 0.0002618/10, allocations: 39.98 kB / 4.633 GB, free: 155.4 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: 251 * Number of variables: 251 Notification: Performance of Generate backend data structure: time 0.00668/10.01, allocations: 1.903 MB / 4.635 GB, free: 153.4 MB / 1.167 GB Notification: Performance of prepare preOptimizeDAE: time 5.201e-05/10.01, allocations: 8.031 kB / 4.635 GB, free: 153.4 MB / 1.167 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.000456/10.01, allocations: 152.2 kB / 4.635 GB, free: 153.3 MB / 1.167 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003287/10.01, allocations: 0.5065 MB / 4.635 GB, free: 152.8 MB / 1.167 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003474/10.02, allocations: 1.227 MB / 4.636 GB, free: 151.5 MB / 1.167 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0009235/10.02, allocations: 279.8 kB / 4.637 GB, free: 151.2 MB / 1.167 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002825/10.02, allocations: 100 kB / 4.637 GB, free: 151.1 MB / 1.167 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002279/10.02, allocations: 1.195 MB / 4.638 GB, free: 149.9 MB / 1.167 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.808e-05/10.02, allocations: 11.47 kB / 4.638 GB, free: 149.8 MB / 1.167 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001326/10.02, allocations: 44 kB / 4.638 GB, free: 149.8 MB / 1.167 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.236e-05/10.02, allocations: 45.94 kB / 4.638 GB, free: 149.8 MB / 1.167 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00149/10.02, allocations: 0.8315 MB / 4.639 GB, free: 148.9 MB / 1.167 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.007932/10.03, allocations: 6.644 MB / 4.645 GB, free: 141.9 MB / 1.167 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000981/10.03, allocations: 422.1 kB / 4.646 GB, free: 141.5 MB / 1.167 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002648/10.03, allocations: 195.7 kB / 4.646 GB, free: 141.3 MB / 1.167 GB Notification: Performance of preOpt evalFunc (simulation): time 0.000374/10.03, allocations: 286.2 kB / 4.646 GB, free: 141 MB / 1.167 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.333e-05/10.03, allocations: 34.78 kB / 4.646 GB, free: 140.9 MB / 1.167 GB Notification: Performance of pre-optimization done (n=33): time 2.255e-06/10.03, allocations: 0 / 4.646 GB, free: 140.9 MB / 1.167 GB Notification: Performance of matching and sorting (n=33): time 0.001221/10.03, allocations: 0.5019 MB / 4.647 GB, free: 140.4 MB / 1.167 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.982e-05/10.03, allocations: 57.91 kB / 4.647 GB, free: 140.3 MB / 1.167 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001778/10.03, allocations: 1.139 MB / 4.648 GB, free: 139.2 MB / 1.167 GB Notification: Performance of collectPreVariables (initialization): time 9.34e-05/10.03, allocations: 37.7 kB / 4.648 GB, free: 139.2 MB / 1.167 GB Notification: Performance of collectInitialEqns (initialization): time 0.0005126/10.03, allocations: 0.6832 MB / 4.649 GB, free: 138.5 MB / 1.167 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001053/10.03, allocations: 118.3 kB / 4.649 GB, free: 138.3 MB / 1.167 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.749e-05/10.03, allocations: 15.84 kB / 4.649 GB, free: 138.3 MB / 1.167 GB Notification: Performance of setup shared object (initialization): time 7.822e-05/10.03, allocations: 334 kB / 4.649 GB, free: 138 MB / 1.167 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003231/10.03, allocations: 205.5 kB / 4.649 GB, free: 137.8 MB / 1.167 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004813/10.03, allocations: 0.5469 MB / 4.65 GB, free: 137.1 MB / 1.167 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004203/10.04, allocations: 283.8 kB / 4.65 GB, free: 136.8 MB / 1.167 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.612e-06/10.04, allocations: 0 / 4.65 GB, free: 136.8 MB / 1.167 GB Notification: Performance of matching and sorting (n=81) (initialization): time 0.001306/10.04, allocations: 0.8167 MB / 4.651 GB, free: 136 MB / 1.167 GB Notification: Performance of prepare postOptimizeDAE: time 0.0008272/10.04, allocations: 3.817 MB / 4.655 GB, free: 132 MB / 1.167 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.161e-05/10.04, allocations: 12 kB / 4.655 GB, free: 132 MB / 1.167 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.018e-05/10.04, allocations: 12 kB / 4.655 GB, free: 132 MB / 1.167 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008406/10.04, allocations: 205 kB / 4.655 GB, free: 131.8 MB / 1.167 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.236e-05/10.04, allocations: 19.92 kB / 4.655 GB, free: 131.8 MB / 1.167 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001545/10.04, allocations: 243.5 kB / 4.655 GB, free: 131.5 MB / 1.167 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.44e-05/10.04, allocations: 42.08 kB / 4.655 GB, free: 131.5 MB / 1.167 GB Notification: Performance of prepare postOptimizeDAE: time 1.044e-05/10.04, allocations: 4 kB / 4.655 GB, free: 131.5 MB / 1.167 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.000992/10.04, allocations: 0.6632 MB / 4.656 GB, free: 130.9 MB / 1.167 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.44e-05/10.04, allocations: 8 kB / 4.656 GB, free: 130.8 MB / 1.167 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.394e-05/10.04, allocations: 19.94 kB / 4.656 GB, free: 130.8 MB / 1.167 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007829/10.04, allocations: 209.6 kB / 4.656 GB, free: 130.6 MB / 1.167 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.75e-05/10.04, allocations: 23.88 kB / 4.656 GB, free: 130.6 MB / 1.167 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001389/10.04, allocations: 207.3 kB / 4.656 GB, free: 130.4 MB / 1.167 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.674e-05/10.04, allocations: 39.98 kB / 4.656 GB, free: 130.4 MB / 1.167 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 43 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (81): * Single equations (assignments): 81 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001951/10.04, allocations: 153.9 kB / 4.656 GB, free: 130.2 MB / 1.167 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002513/10.04, allocations: 137.8 kB / 4.657 GB, free: 130.1 MB / 1.167 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0009792/10.04, allocations: 0.512 MB / 4.657 GB, free: 129.6 MB / 1.167 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.599e-06/10.04, allocations: 4 kB / 4.657 GB, free: 129.6 MB / 1.167 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.512e-06/10.04, allocations: 7.109 kB / 4.657 GB, free: 129.5 MB / 1.167 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.56e-06/10.04, allocations: 0 / 4.657 GB, free: 129.5 MB / 1.167 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003103/10.05, allocations: 1.759 MB / 4.659 GB, free: 127.7 MB / 1.167 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.334e-06/10.05, allocations: 4 kB / 4.659 GB, free: 127.7 MB / 1.167 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004982/10.05, allocations: 111.1 kB / 4.659 GB, free: 127.6 MB / 1.167 GB Notification: Performance of postOpt tearingSystem (simulation): time 8.857e-06/10.05, allocations: 4 kB / 4.659 GB, free: 127.6 MB / 1.167 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.838e-05/10.05, allocations: 12 kB / 4.659 GB, free: 127.6 MB / 1.167 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.534e-06/10.05, allocations: 15.3 kB / 4.659 GB, free: 127.6 MB / 1.167 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.676e-06/10.05, allocations: 4 kB / 4.659 GB, free: 127.6 MB / 1.167 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0009033/10.05, allocations: 0.8869 MB / 4.66 GB, free: 126.5 MB / 1.167 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0005766/10.05, allocations: 291.2 kB / 4.66 GB, free: 126.2 MB / 1.167 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003363/10.05, allocations: 14.5 kB / 4.66 GB, free: 126.2 MB / 1.167 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001138/10.05, allocations: 115 kB / 4.66 GB, free: 126.1 MB / 1.167 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.486e-05/10.05, allocations: 35.86 kB / 4.66 GB, free: 126.1 MB / 1.167 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.279e-05/10.05, allocations: 19.98 kB / 4.66 GB, free: 126 MB / 1.167 GB Notification: Performance of sorting global known variables: time 0.001238/10.05, allocations: 0.8798 MB / 4.661 GB, free: 125.2 MB / 1.167 GB Notification: Performance of sort global known variables: time 2e-07/10.05, allocations: 0 / 4.661 GB, free: 125.2 MB / 1.167 GB Notification: Performance of remove unused functions: time 0.00319/10.06, allocations: 0.874 MB / 4.662 GB, free: 124.3 MB / 1.167 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 16 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (32): * Single equations (assignments): 32 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.005756/10.06, allocations: 5.478 MB / 4.667 GB, free: 118.4 MB / 1.167 GB Notification: Performance of simCode: created initialization part: time 0.001491/10.06, allocations: 0.876 MB / 4.668 GB, free: 117.6 MB / 1.167 GB Notification: Performance of simCode: created event and clocks part: time 5.07e-06/10.06, allocations: 3.938 kB / 4.668 GB, free: 117.6 MB / 1.167 GB Notification: Performance of simCode: created simulation system equations: time 0.0002836/10.06, allocations: 198.4 kB / 4.668 GB, free: 117.4 MB / 1.167 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00302/10.07, allocations: 0.6133 MB / 4.669 GB, free: 116.8 MB / 1.167 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005301/10.07, allocations: 1.966 MB / 4.671 GB, free: 114.7 MB / 1.167 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007001/10.07, allocations: 1.207 MB / 4.672 GB, free: 113.5 MB / 1.167 GB Notification: Performance of simCode: alias equations: time 0.002134/10.07, allocations: 484.1 kB / 4.672 GB, free: 113 MB / 1.167 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005249/10.08, allocations: 463.3 kB / 4.673 GB, free: 112.6 MB / 1.167 GB Notification: Performance of SimCode: time 8.22e-07/10.08, allocations: 0 / 4.673 GB, free: 112.6 MB / 1.167 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1209/10.2, allocations: 85.54 MB / 4.756 GB, free: 27.63 MB / 1.167 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001571/10.2, allocations: 192 kB / 4.757 GB, free: 27.4 MB / 1.167 GB Notification: Performance of buildModelFMU: Generate platform static: time 5.07/15.27, allocations: 0 / 4.757 GB, free: 27.4 MB / 1.167 GB (rm -f Buildings_9_Buildings.Fluid.Examples.Performance.Example4.pipe ; mkfifo Buildings_9_Buildings.Fluid.Examples.Performance.Example4.pipe ; head -c 1048576 < Buildings_9_Buildings.Fluid.Examples.Performance.Example4.pipe >> ../files/Buildings_9_Buildings.Fluid.Examples.Performance.Example4.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=Buildings_9_Buildings.Fluid.Examples.Performance.Example4_res.mat --tempDir=temp_Buildings_9_Buildings_Fluid_Examples_Performance_Example4_fmu --startTime=0 --stopTime=20 --timeout=50 --tolerance=1e-06 Buildings_9_Buildings_Fluid_Examples_Performance_Example4.fmu > Buildings_9_Buildings.Fluid.Examples.Performance.Example4.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result Buildings_9_Buildings.Fluid.Examples.Performance.Example4_res.mat does not exist to compare? outputFormat=mat