Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_latest_Buildings.Media.Examples.PropyleneGlycolWaterTemperatureEnthalpyInversion.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.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) 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 10.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.0.0-master/package.mo) Running command: "" <> buildModelFMU(Buildings.Media.Examples.PropyleneGlycolWaterTemperatureEnthalpyInversion,fileNamePrefix="Buildings_latest_Buildings_Media_Examples_PropyleneGlycolWaterTemperatureEnthalpyInversion",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Media.Examples.PropyleneGlycolWaterTemperatureEnthalpyInversion,fileNamePrefix="Buildings_latest_Buildings_Media_Examples_PropyleneGlycolWaterTemperatureEnthalpyInversion",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.0.0-master/package.mo): time 2.361/2.361, allocations: 393.5 MB / 408.4 MB, free: 10.98 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.001149/0.001149, allocations: 190.5 kB / 0.4902 GB, free: 2.227 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.703/1.703, allocations: 223.1 MB / 0.7992 GB, free: 14.68 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.001089/0.001089, allocations: 100 kB / 0.9396 GB, free: 1.859 MB / 0.6823 GB Notification: Performance of FrontEnd - loaded program: time 0.0003635/0.0003635, allocations: 13.58 kB / 1.09 GB, free: 216.2 MB / 0.823 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3343/0.3347, allocations: 143 MB / 1.229 GB, free: 105.6 MB / 0.823 GB Notification: Performance of FrontEnd - scodeFlatten: time 1.441/1.776, allocations: 436 MB / 1.655 GB, free: 10.45 MB / 0.9792 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002946/1.776, allocations: 68.28 kB / 1.655 GB, free: 10.41 MB / 0.9792 GB Notification: Performance of FrontEnd - DAE generated: time 0.04694/1.823, allocations: 19.11 MB / 1.674 GB, free: 10.78 MB / 0.9948 GB Notification: Performance of FrontEnd: time 2.414e-06/1.823, allocations: 0 / 1.674 GB, free: 10.78 MB / 0.9948 GB Notification: Performance of Transformations before backend: time 1.179e-05/1.823, allocations: 3.938 kB / 1.674 GB, free: 10.78 MB / 0.9948 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 3 * Number of variables: 3 Notification: Performance of Generate backend data structure: time 0.0005005/1.824, allocations: 359.7 kB / 1.674 GB, free: 10.38 MB / 0.9948 GB Notification: Performance of prepare preOptimizeDAE: time 5.841e-05/1.824, allocations: 12.03 kB / 1.674 GB, free: 10.37 MB / 0.9948 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.508e-05/1.824, allocations: 37.92 kB / 1.674 GB, free: 10.33 MB / 0.9948 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.162e-05/1.824, allocations: 3.953 kB / 1.674 GB, free: 10.32 MB / 0.9948 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001185/1.824, allocations: 167 kB / 1.674 GB, free: 10.12 MB / 0.9948 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.773e-05/1.824, allocations: 29.7 kB / 1.674 GB, free: 10.09 MB / 0.9948 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.642e-05/1.824, allocations: 0 / 1.674 GB, free: 10.09 MB / 0.9948 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001729/1.824, allocations: 44.62 kB / 1.674 GB, free: 10.04 MB / 0.9948 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.055e-05/1.824, allocations: 0 / 1.674 GB, free: 10.04 MB / 0.9948 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.421e-05/1.824, allocations: 0 / 1.674 GB, free: 10.04 MB / 0.9948 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.658e-05/1.825, allocations: 8 kB / 1.674 GB, free: 10.03 MB / 0.9948 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.292e-05/1.825, allocations: 23.62 kB / 1.674 GB, free: 10.01 MB / 0.9948 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006256/1.825, allocations: 329.6 kB / 1.675 GB, free: 9.629 MB / 0.9948 GB Notification: Performance of preOpt comSubExp (simulation): time 4.632e-05/1.825, allocations: 14.64 kB / 1.675 GB, free: 9.605 MB / 0.9948 GB Notification: Performance of preOpt evalFunc (simulation): time 9.797e-05/1.825, allocations: 85.11 kB / 1.675 GB, free: 9.504 MB / 0.9948 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.691e-05/1.825, allocations: 34.55 kB / 1.675 GB, free: 9.461 MB / 0.9948 GB Notification: Performance of pre-optimization done (n=1): time 1.483e-06/1.825, allocations: 0 / 1.675 GB, free: 9.461 MB / 0.9948 GB Notification: Performance of matching and sorting (n=1): time 0.0002054/1.826, allocations: 44.72 kB / 1.675 GB, free: 9.414 MB / 0.9948 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.009e-05/1.826, allocations: 55.53 kB / 1.675 GB, free: 9.348 MB / 0.9948 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.386e-05/1.826, allocations: 96.92 kB / 1.675 GB, free: 9.25 MB / 0.9948 GB Notification: Performance of collectPreVariables (initialization): time 2.352e-05/1.826, allocations: 25.7 kB / 1.675 GB, free: 9.219 MB / 0.9948 GB Notification: Performance of collectInitialEqns (initialization): time 6.956e-05/1.826, allocations: 88.05 kB / 1.675 GB, free: 9.129 MB / 0.9948 GB Notification: Performance of collectInitialBindings (initialization): time 9.968e-06/1.826, allocations: 3.938 kB / 1.675 GB, free: 9.125 MB / 0.9948 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.745e-06/1.826, allocations: 0 / 1.675 GB, free: 9.125 MB / 0.9948 GB Notification: Performance of setup shared object (initialization): time 0.0001358/1.826, allocations: 314.7 kB / 1.675 GB, free: 8.812 MB / 0.9948 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.811e-05/1.826, allocations: 4 kB / 1.675 GB, free: 8.809 MB / 0.9948 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.768e-05/1.826, allocations: 21.7 kB / 1.676 GB, free: 8.781 MB / 0.9948 GB Notification: Performance of analyzeInitialSystem (initialization): time 2.453e-05/1.826, allocations: 4 kB / 1.676 GB, free: 8.777 MB / 0.9948 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.127e-06/1.826, allocations: 0 / 1.676 GB, free: 8.777 MB / 0.9948 GB Notification: Performance of matching and sorting (n=3) (initialization): time 9.213e-05/1.826, allocations: 53.22 kB / 1.676 GB, free: 8.723 MB / 0.9948 GB Notification: Performance of prepare postOptimizeDAE: time 2.154e-05/1.826, allocations: 4 kB / 1.676 GB, free: 8.719 MB / 0.9948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.051e-06/1.826, allocations: 0 / 1.676 GB, free: 8.719 MB / 0.9948 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.742e-05/1.826, allocations: 4 kB / 1.676 GB, free: 8.715 MB / 0.9948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.487e-05/1.826, allocations: 4 kB / 1.676 GB, free: 8.711 MB / 0.9948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.918e-06/1.826, allocations: 8.016 kB / 1.676 GB, free: 8.703 MB / 0.9948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.704e-05/1.826, allocations: 3.25 kB / 1.676 GB, free: 8.703 MB / 0.9948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.378e-05/1.826, allocations: 7.938 kB / 1.676 GB, free: 8.695 MB / 0.9948 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 2 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (3): * Single equations (assignments): 3 * 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.0001016/1.827, allocations: 110.6 kB / 1.676 GB, free: 8.578 MB / 0.9948 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.043e-05/1.827, allocations: 4.281 kB / 1.676 GB, free: 8.574 MB / 0.9948 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000165/1.827, allocations: 114.9 kB / 1.676 GB, free: 8.461 MB / 0.9948 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.953e-05/1.827, allocations: 192.2 kB / 1.676 GB, free: 8.266 MB / 0.9948 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.449e-05/1.827, allocations: 184.2 kB / 1.676 GB, free: 8.078 MB / 0.9948 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.26e-05/1.827, allocations: 180.2 kB / 1.676 GB, free: 7.895 MB / 0.9948 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002491/1.827, allocations: 412.8 kB / 1.677 GB, free: 7.438 MB / 0.9948 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.392e-05/1.827, allocations: 101 kB / 1.677 GB, free: 7.332 MB / 0.9948 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.294e-05/1.827, allocations: 104.9 kB / 1.677 GB, free: 7.223 MB / 0.9948 GB Notification: Performance of postOpt tearingSystem (simulation): time 8.225e-05/1.827, allocations: 184.3 kB / 1.677 GB, free: 7.035 MB / 0.9948 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.678e-05/1.828, allocations: 180.2 kB / 1.677 GB, free: 6.855 MB / 0.9948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.21e-05/1.828, allocations: 184.2 kB / 1.677 GB, free: 6.668 MB / 0.9948 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.596e-05/1.828, allocations: 184.2 kB / 1.678 GB, free: 6.48 MB / 0.9948 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001903/1.828, allocations: 311.3 kB / 1.678 GB, free: 6.156 MB / 0.9948 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001054/1.828, allocations: 190 kB / 1.678 GB, free: 5.945 MB / 0.9948 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.486e-05/1.828, allocations: 180.2 kB / 1.678 GB, free: 5.762 MB / 0.9948 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001411/1.828, allocations: 105 kB / 1.678 GB, free: 5.652 MB / 0.9948 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.826e-05/1.828, allocations: 184.2 kB / 1.679 GB, free: 5.465 MB / 0.9948 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.323e-05/1.828, allocations: 112 kB / 1.679 GB, free: 5.352 MB / 0.9948 GB Notification: Performance of sorting global known variables: time 5.411e-05/1.829, allocations: 83.28 kB / 1.679 GB, free: 5.27 MB / 0.9948 GB Notification: Performance of sort global known variables: time 1.21e-07/1.829, allocations: 0 / 1.679 GB, free: 5.27 MB / 0.9948 GB Notification: Performance of remove unused functions: time 0.0002807/1.829, allocations: 19.94 kB / 1.679 GB, free: 5.254 MB / 0.9948 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (0): * Single equations (assignments): 0 * 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.0007068/1.83, allocations: 0.868 MB / 1.68 GB, free: 4.363 MB / 0.9948 GB Notification: Performance of simCode: created initialization part: time 9.284e-05/1.83, allocations: 11.8 kB / 1.68 GB, free: 4.355 MB / 0.9948 GB Notification: Performance of simCode: created event and clocks part: time 2.995e-06/1.83, allocations: 0 / 1.68 GB, free: 4.355 MB / 0.9948 GB Notification: Performance of simCode: created simulation system equations: time 2.645e-06/1.83, allocations: 0 / 1.68 GB, free: 4.355 MB / 0.9948 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003618/1.83, allocations: 0.5286 MB / 1.68 GB, free: 3.824 MB / 0.9948 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004862/1.831, allocations: 229.8 kB / 1.68 GB, free: 3.559 MB / 0.9948 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002658/1.831, allocations: 0.677 MB / 1.681 GB, free: 2.855 MB / 0.9948 GB Notification: Performance of simCode: alias equations: time 5.797e-05/1.831, allocations: 7.984 kB / 1.681 GB, free: 2.848 MB / 0.9948 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.275e-05/1.831, allocations: 14.44 kB / 1.681 GB, free: 2.836 MB / 0.9948 GB Notification: Performance of SimCode: time 3.41e-07/1.831, allocations: 0 / 1.681 GB, free: 2.836 MB / 0.9948 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01552/1.846, allocations: 2.016 MB / 1.683 GB, free: 0.9961 MB / 0.9948 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002432/1.847, allocations: 207.2 kB / 1.683 GB, free: 0.7539 MB / 0.9948 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.71/3.556, allocations: 0 / 1.683 GB, free: 0.7539 MB / 0.9948 GB (rm -f Buildings_latest_Buildings.Media.Examples.PropyleneGlycolWaterTemperatureEnthalpyInversion.pipe ; mkfifo Buildings_latest_Buildings.Media.Examples.PropyleneGlycolWaterTemperatureEnthalpyInversion.pipe ; head -c 1048576 < Buildings_latest_Buildings.Media.Examples.PropyleneGlycolWaterTemperatureEnthalpyInversion.pipe >> ../files/Buildings_latest_Buildings.Media.Examples.PropyleneGlycolWaterTemperatureEnthalpyInversion.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=Buildings_latest_Buildings.Media.Examples.PropyleneGlycolWaterTemperatureEnthalpyInversion_res.mat --tempDir=temp_Buildings_latest_Buildings_Media_Examples_PropyleneGlycolWaterTemperatureEnthalpyInversion_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 Buildings_latest_Buildings_Media_Examples_PropyleneGlycolWaterTemperatureEnthalpyInversion.fmu > Buildings_latest_Buildings.Media.Examples.PropyleneGlycolWaterTemperatureEnthalpyInversion.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result Buildings_latest_Buildings.Media.Examples.PropyleneGlycolWaterTemperatureEnthalpyInversion_res.mat does not exist to compare? outputFormat=mat