Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_9_Buildings.Media.Examples.PropyleneGlycolWaterTemperatureEnthalpyInversion.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.Media.Examples.PropyleneGlycolWaterTemperatureEnthalpyInversion,fileNamePrefix="Buildings_9_Buildings_Media_Examples_PropyleneGlycolWaterTemperatureEnthalpyInversion",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Media.Examples.PropyleneGlycolWaterTemperatureEnthalpyInversion,fileNamePrefix="Buildings_9_Buildings_Media_Examples_PropyleneGlycolWaterTemperatureEnthalpyInversion",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.411/2.411, allocations: 387.4 MB / 394.9 MB, free: 13.36 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.001065/0.001065, allocations: 180.8 kB / 487.4 MB, free: 5.031 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.553/1.553, allocations: 221.5 MB / 0.7824 GB, free: 0.9023 MB / 0.5417 GB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0009769/0.0009769, allocations: 101.4 kB / 0.9219 GB, free: 2.133 MB / 0.6823 GB Notification: Performance of FrontEnd - loaded program: time 1.658e-05/1.661e-05, allocations: 0 / 1.067 GB, free: 185.6 MB / 0.7605 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2814/0.2814, allocations: 142.4 MB / 1.206 GB, free: 43.85 MB / 0.7605 GB Notification: Performance of FrontEnd - scodeFlatten: time 1.274/1.555, allocations: 434.5 MB / 1.63 GB, free: 4.836 MB / 1.042 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002808/1.555, allocations: 74.95 kB / 1.63 GB, free: 4.797 MB / 1.042 GB Notification: Performance of FrontEnd - DAE generated: time 0.04266/1.598, allocations: 18.96 MB / 1.649 GB, free: 5.586 MB / 1.057 GB Notification: Performance of FrontEnd: time 2.735e-06/1.598, allocations: 4 kB / 1.649 GB, free: 5.582 MB / 1.057 GB Notification: Performance of Transformations before backend: time 9.187e-06/1.598, allocations: 4 kB / 1.649 GB, free: 5.578 MB / 1.057 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.0003664/1.599, allocations: 349.3 kB / 1.649 GB, free: 5.195 MB / 1.057 GB Notification: Performance of prepare preOptimizeDAE: time 4.362e-05/1.599, allocations: 8.562 kB / 1.649 GB, free: 5.188 MB / 1.057 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.406e-05/1.599, allocations: 6.531 kB / 1.649 GB, free: 5.184 MB / 1.057 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001266/1.599, allocations: 170.9 kB / 1.649 GB, free: 4.977 MB / 1.057 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.565e-05/1.599, allocations: 25.7 kB / 1.649 GB, free: 4.945 MB / 1.057 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.297e-05/1.599, allocations: 7.938 kB / 1.649 GB, free: 4.938 MB / 1.057 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 7.57e-05/1.599, allocations: 5 kB / 1.649 GB, free: 4.934 MB / 1.057 GB Notification: Performance of preOpt clockPartitioning (simulation): time 7.751e-05/1.599, allocations: 44.5 kB / 1.65 GB, free: 4.887 MB / 1.057 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.165e-06/1.599, allocations: 0 / 1.65 GB, free: 4.887 MB / 1.057 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.099e-05/1.599, allocations: 0 / 1.65 GB, free: 4.887 MB / 1.057 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.645e-05/1.599, allocations: 4 kB / 1.65 GB, free: 4.883 MB / 1.057 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000419/1.6, allocations: 310.4 kB / 1.65 GB, free: 4.531 MB / 1.057 GB Notification: Performance of preOpt comSubExp (simulation): time 3.803e-05/1.6, allocations: 22.52 kB / 1.65 GB, free: 4.5 MB / 1.057 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.734e-05/1.6, allocations: 8.797 kB / 1.65 GB, free: 4.488 MB / 1.057 GB Notification: Performance of preOpt evalFunc (simulation): time 8.061e-05/1.6, allocations: 89.16 kB / 1.65 GB, free: 4.383 MB / 1.057 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.689e-05/1.6, allocations: 38.25 kB / 1.65 GB, free: 4.34 MB / 1.057 GB Notification: Performance of pre-optimization done (n=1): time 1.242e-06/1.6, allocations: 0 / 1.65 GB, free: 4.34 MB / 1.057 GB Notification: Performance of matching and sorting (n=1): time 0.0001827/1.6, allocations: 33.7 kB / 1.65 GB, free: 4.301 MB / 1.057 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.109e-05/1.6, allocations: 51.41 kB / 1.65 GB, free: 4.238 MB / 1.057 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.467e-05/1.6, allocations: 95.8 kB / 1.65 GB, free: 4.141 MB / 1.057 GB Notification: Performance of collectPreVariables (initialization): time 1.457e-05/1.6, allocations: 25.7 kB / 1.65 GB, free: 4.109 MB / 1.057 GB Notification: Performance of collectInitialEqns (initialization): time 3.879e-05/1.6, allocations: 92.08 kB / 1.65 GB, free: 4.016 MB / 1.057 GB Notification: Performance of collectInitialBindings (initialization): time 5.41e-06/1.6, allocations: 3.938 kB / 1.65 GB, free: 4.012 MB / 1.057 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.166e-06/1.6, allocations: 0 / 1.65 GB, free: 4.012 MB / 1.057 GB Notification: Performance of setup shared object (initialization): time 0.0001091/1.6, allocations: 318.2 kB / 1.651 GB, free: 3.695 MB / 1.057 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.144e-05/1.6, allocations: 7.938 kB / 1.651 GB, free: 3.688 MB / 1.057 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.604e-05/1.6, allocations: 21.64 kB / 1.651 GB, free: 3.66 MB / 1.057 GB Notification: Performance of analyzeInitialSystem (initialization): time 5.223e-05/1.6, allocations: 7.062 kB / 1.651 GB, free: 3.656 MB / 1.057 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.573e-06/1.6, allocations: 4 kB / 1.651 GB, free: 3.652 MB / 1.057 GB Notification: Performance of matching and sorting (n=3) (initialization): time 9.911e-05/1.601, allocations: 49.59 kB / 1.651 GB, free: 3.598 MB / 1.057 GB Notification: Performance of prepare postOptimizeDAE: time 1.239e-05/1.601, allocations: 4 kB / 1.651 GB, free: 3.594 MB / 1.057 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.03e-06/1.601, allocations: 0 / 1.651 GB, free: 3.594 MB / 1.057 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.157e-05/1.601, allocations: 0 / 1.651 GB, free: 3.594 MB / 1.057 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.544e-05/1.601, allocations: 7.984 kB / 1.651 GB, free: 3.586 MB / 1.057 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.262e-06/1.601, allocations: 4 kB / 1.651 GB, free: 3.582 MB / 1.057 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.861e-05/1.601, allocations: 3.938 kB / 1.651 GB, free: 3.578 MB / 1.057 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.564e-06/1.601, allocations: 0 / 1.651 GB, free: 3.578 MB / 1.057 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 () * 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 6.803e-05/1.601, allocations: 113 kB / 1.651 GB, free: 3.461 MB / 1.057 GB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 7.553e-05/1.601, allocations: 32.39 kB / 1.651 GB, free: 3.426 MB / 1.057 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.268e-05/1.601, allocations: 4 kB / 1.651 GB, free: 3.422 MB / 1.057 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001363/1.601, allocations: 119.5 kB / 1.651 GB, free: 3.301 MB / 1.057 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.947e-05/1.601, allocations: 184.2 kB / 1.651 GB, free: 3.117 MB / 1.057 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.32e-05/1.601, allocations: 176.3 kB / 1.651 GB, free: 2.938 MB / 1.057 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.3e-05/1.601, allocations: 188.2 kB / 1.651 GB, free: 2.746 MB / 1.057 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000206/1.601, allocations: 385.7 kB / 1.652 GB, free: 2.324 MB / 1.057 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.994e-05/1.601, allocations: 105 kB / 1.652 GB, free: 2.215 MB / 1.057 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.136e-05/1.601, allocations: 101 kB / 1.652 GB, free: 2.109 MB / 1.057 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.871e-05/1.602, allocations: 187.6 kB / 1.652 GB, free: 1.922 MB / 1.057 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.692e-05/1.602, allocations: 180.3 kB / 1.652 GB, free: 1.738 MB / 1.057 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.614e-05/1.602, allocations: 184.3 kB / 1.653 GB, free: 1.551 MB / 1.057 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.937e-05/1.602, allocations: 176.3 kB / 1.653 GB, free: 1.371 MB / 1.057 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001362/1.602, allocations: 315.5 kB / 1.653 GB, free: 1.043 MB / 1.057 GB Notification: Performance of postOpt removeConstants (simulation): time 8.1e-05/1.602, allocations: 182.1 kB / 1.653 GB, free: 0.8398 MB / 1.057 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.661e-05/1.602, allocations: 184.2 kB / 1.653 GB, free: 0.6523 MB / 1.057 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001253/1.602, allocations: 108.9 kB / 1.653 GB, free: 0.5391 MB / 1.057 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.393e-05/1.602, allocations: 180.2 kB / 1.654 GB, free: 364 kB / 1.057 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.227e-05/1.602, allocations: 101 kB / 1.654 GB, free: 256 kB / 1.057 GB Notification: Performance of sorting global known variables: time 4.427e-05/1.602, allocations: 91.02 kB / 1.654 GB, free: 168 kB / 1.057 GB Notification: Performance of sort global known variables: time 1.7e-07/1.602, allocations: 0 / 1.654 GB, free: 168 kB / 1.057 GB Notification: Performance of remove unused functions: time 0.0002616/1.603, allocations: 20 kB / 1.654 GB, free: 148 kB / 1.057 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 () * 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.0005141/1.603, allocations: 0.8748 MB / 1.655 GB, free: 15.25 MB / 1.073 GB Notification: Performance of simCode: created initialization part: time 6.505e-05/1.603, allocations: 12 kB / 1.655 GB, free: 15.24 MB / 1.073 GB Notification: Performance of simCode: created event and clocks part: time 2.234e-06/1.603, allocations: 0 / 1.655 GB, free: 15.24 MB / 1.073 GB Notification: Performance of simCode: created simulation system equations: time 1.042e-06/1.603, allocations: 0 / 1.655 GB, free: 15.24 MB / 1.073 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003283/1.604, allocations: 0.5256 MB / 1.655 GB, free: 14.71 MB / 1.073 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003145/1.604, allocations: 164.2 kB / 1.655 GB, free: 14.52 MB / 1.073 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002258/1.604, allocations: 0.6768 MB / 1.656 GB, free: 13.81 MB / 1.073 GB Notification: Performance of simCode: alias equations: time 4.246e-05/1.604, allocations: 7.125 kB / 1.656 GB, free: 13.81 MB / 1.073 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.896e-05/1.604, allocations: 15.42 kB / 1.656 GB, free: 13.79 MB / 1.073 GB Notification: Performance of SimCode: time 2.6e-07/1.604, allocations: 0 / 1.656 GB, free: 13.79 MB / 1.073 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01971/1.624, allocations: 1.319 MB / 1.657 GB, free: 12.48 MB / 1.073 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002241/1.624, allocations: 166.3 kB / 1.657 GB, free: 12.29 MB / 1.073 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.539/3.163, allocations: 1.969 kB / 1.658 GB, free: 12.29 MB / 1.073 GB (rm -f Buildings_9_Buildings.Media.Examples.PropyleneGlycolWaterTemperatureEnthalpyInversion.pipe ; mkfifo Buildings_9_Buildings.Media.Examples.PropyleneGlycolWaterTemperatureEnthalpyInversion.pipe ; head -c 1048576 < Buildings_9_Buildings.Media.Examples.PropyleneGlycolWaterTemperatureEnthalpyInversion.pipe >> ../files/Buildings_9_Buildings.Media.Examples.PropyleneGlycolWaterTemperatureEnthalpyInversion.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=Buildings_9_Buildings.Media.Examples.PropyleneGlycolWaterTemperatureEnthalpyInversion_res.mat --tempDir=temp_Buildings_9_Buildings_Media_Examples_PropyleneGlycolWaterTemperatureEnthalpyInversion_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 Buildings_9_Buildings_Media_Examples_PropyleneGlycolWaterTemperatureEnthalpyInversion.fmu > Buildings_9_Buildings.Media.Examples.PropyleneGlycolWaterTemperatureEnthalpyInversion.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result Buildings_9_Buildings.Media.Examples.PropyleneGlycolWaterTemperatureEnthalpyInversion_res.mat does not exist to compare? outputFormat=mat