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.34/2.34, allocations: 390.3 MB / 402.8 MB, free: 6.719 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.001387/0.001387, allocations: 176.8 kB / 496.1 MB, free: 12.88 MB / 410.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.697/1.697, allocations: 221.3 MB / 0.7915 GB, free: 5.398 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.0009251/0.0009251, allocations: 87.59 kB / 0.9317 GB, free: 5.727 MB / 0.698 GB Notification: Performance of FrontEnd - loaded program: time 4.133e-05/4.135e-05, allocations: 0 / 1.079 GB, free: 140.5 MB / 0.7292 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2954/0.2955, allocations: 143 MB / 1.219 GB, free: 13.44 MB / 0.7448 GB Notification: Performance of FrontEnd - scodeFlatten: time 1.101/1.397, allocations: 436 MB / 1.645 GB, free: 14.44 MB / 1.104 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.000208/1.397, allocations: 68.55 kB / 1.645 GB, free: 14.38 MB / 1.104 GB Notification: Performance of FrontEnd - DAE generated: time 0.04335/1.441, allocations: 19.05 MB / 1.663 GB, free: 11.21 MB / 1.12 GB Notification: Performance of FrontEnd: time 2.184e-06/1.441, allocations: 4 kB / 1.663 GB, free: 11.2 MB / 1.12 GB Notification: Performance of Transformations before backend: time 8.546e-06/1.441, allocations: 0 / 1.663 GB, free: 11.2 MB / 1.12 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.000375/1.441, allocations: 350.4 kB / 1.664 GB, free: 10.82 MB / 1.12 GB Notification: Performance of prepare preOptimizeDAE: time 4.307e-05/1.441, allocations: 12.03 kB / 1.664 GB, free: 10.8 MB / 1.12 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.169e-05/1.441, allocations: 34.5 kB / 1.664 GB, free: 10.76 MB / 1.12 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.525e-05/1.441, allocations: 4.734 kB / 1.664 GB, free: 10.76 MB / 1.12 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001197/1.441, allocations: 171 kB / 1.664 GB, free: 10.55 MB / 1.12 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.89e-05/1.441, allocations: 29.7 kB / 1.664 GB, free: 10.52 MB / 1.12 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.346e-05/1.441, allocations: 4 kB / 1.664 GB, free: 10.51 MB / 1.12 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001096/1.442, allocations: 41.69 kB / 1.664 GB, free: 10.46 MB / 1.12 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.436e-06/1.442, allocations: 0 / 1.664 GB, free: 10.46 MB / 1.12 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.322e-05/1.442, allocations: 7.938 kB / 1.664 GB, free: 10.46 MB / 1.12 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.802e-05/1.442, allocations: 0 / 1.664 GB, free: 10.46 MB / 1.12 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.615e-05/1.442, allocations: 19.94 kB / 1.664 GB, free: 10.44 MB / 1.12 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004508/1.442, allocations: 326 kB / 1.664 GB, free: 10.05 MB / 1.12 GB Notification: Performance of preOpt comSubExp (simulation): time 3.561e-05/1.442, allocations: 22.58 kB / 1.664 GB, free: 10.02 MB / 1.12 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.41e-05/1.442, allocations: 4.859 kB / 1.664 GB, free: 10.01 MB / 1.12 GB Notification: Performance of preOpt evalFunc (simulation): time 9.778e-05/1.442, allocations: 85.16 kB / 1.664 GB, free: 9.91 MB / 1.12 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.756e-05/1.442, allocations: 42.44 kB / 1.664 GB, free: 9.859 MB / 1.12 GB Notification: Performance of pre-optimization done (n=1): time 1.272e-06/1.442, allocations: 0 / 1.664 GB, free: 9.859 MB / 1.12 GB Notification: Performance of matching and sorting (n=1): time 0.0001365/1.442, allocations: 37.66 kB / 1.664 GB, free: 9.816 MB / 1.12 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.762e-05/1.443, allocations: 51.41 kB / 1.664 GB, free: 9.754 MB / 1.12 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.275e-05/1.443, allocations: 101 kB / 1.665 GB, free: 9.648 MB / 1.12 GB Notification: Performance of collectPreVariables (initialization): time 1.668e-05/1.443, allocations: 25.7 kB / 1.665 GB, free: 9.617 MB / 1.12 GB Notification: Performance of collectInitialEqns (initialization): time 4.688e-05/1.443, allocations: 88.05 kB / 1.665 GB, free: 9.527 MB / 1.12 GB Notification: Performance of collectInitialBindings (initialization): time 5.24e-06/1.443, allocations: 0 / 1.665 GB, free: 9.527 MB / 1.12 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.675e-06/1.443, allocations: 0 / 1.665 GB, free: 9.527 MB / 1.12 GB Notification: Performance of setup shared object (initialization): time 0.0001123/1.443, allocations: 314.8 kB / 1.665 GB, free: 9.211 MB / 1.12 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.252e-05/1.443, allocations: 0 / 1.665 GB, free: 9.211 MB / 1.12 GB Notification: Performance of partitionIndependentBlocks (initialization): time 3.452e-05/1.443, allocations: 21.7 kB / 1.665 GB, free: 9.184 MB / 1.12 GB Notification: Performance of analyzeInitialSystem (initialization): time 2.143e-05/1.443, allocations: 11.94 kB / 1.665 GB, free: 9.172 MB / 1.12 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.312e-06/1.443, allocations: 0 / 1.665 GB, free: 9.172 MB / 1.12 GB Notification: Performance of matching and sorting (n=3) (initialization): time 8.159e-05/1.443, allocations: 49.69 kB / 1.665 GB, free: 9.117 MB / 1.12 GB Notification: Performance of prepare postOptimizeDAE: time 1.704e-05/1.443, allocations: 5.25 kB / 1.665 GB, free: 9.113 MB / 1.12 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.661e-06/1.443, allocations: 0 / 1.665 GB, free: 9.113 MB / 1.12 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.06e-05/1.443, allocations: 0 / 1.665 GB, free: 9.113 MB / 1.12 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.882e-05/1.443, allocations: 11.95 kB / 1.665 GB, free: 9.102 MB / 1.12 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.083e-06/1.443, allocations: 3.938 kB / 1.665 GB, free: 9.098 MB / 1.12 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.562e-05/1.443, allocations: 11.91 kB / 1.665 GB, free: 9.086 MB / 1.12 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.095e-06/1.443, allocations: 0 / 1.665 GB, free: 9.086 MB / 1.12 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.539e-05/1.443, allocations: 109 kB / 1.665 GB, free: 8.973 MB / 1.12 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.447e-05/1.443, allocations: 0 / 1.665 GB, free: 8.973 MB / 1.12 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000126/1.443, allocations: 117 kB / 1.665 GB, free: 8.852 MB / 1.12 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.465e-05/1.443, allocations: 180.2 kB / 1.665 GB, free: 8.668 MB / 1.12 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.341e-05/1.444, allocations: 192.3 kB / 1.666 GB, free: 8.473 MB / 1.12 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.908e-05/1.444, allocations: 180.3 kB / 1.666 GB, free: 8.289 MB / 1.12 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002291/1.444, allocations: 413.1 kB / 1.666 GB, free: 7.828 MB / 1.12 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.938e-05/1.444, allocations: 101 kB / 1.666 GB, free: 7.723 MB / 1.12 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.372e-05/1.444, allocations: 104.9 kB / 1.666 GB, free: 7.613 MB / 1.12 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.16e-05/1.444, allocations: 176.3 kB / 1.667 GB, free: 7.434 MB / 1.12 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.377e-05/1.444, allocations: 188.5 kB / 1.667 GB, free: 7.242 MB / 1.12 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.71e-05/1.444, allocations: 184.2 kB / 1.667 GB, free: 7.055 MB / 1.12 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.827e-05/1.444, allocations: 176.3 kB / 1.667 GB, free: 6.875 MB / 1.12 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001318/1.444, allocations: 303.7 kB / 1.667 GB, free: 6.555 MB / 1.12 GB Notification: Performance of postOpt removeConstants (simulation): time 0.000105/1.444, allocations: 205.9 kB / 1.668 GB, free: 6.328 MB / 1.12 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.147e-05/1.445, allocations: 176.3 kB / 1.668 GB, free: 6.148 MB / 1.12 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001294/1.445, allocations: 105 kB / 1.668 GB, free: 6.039 MB / 1.12 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.974e-05/1.445, allocations: 184.2 kB / 1.668 GB, free: 5.852 MB / 1.12 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.946e-05/1.445, allocations: 105 kB / 1.668 GB, free: 5.742 MB / 1.12 GB Notification: Performance of sorting global known variables: time 4.452e-05/1.445, allocations: 87.28 kB / 1.668 GB, free: 5.656 MB / 1.12 GB Notification: Performance of sort global known variables: time 1.41e-07/1.445, allocations: 4 kB / 1.668 GB, free: 5.652 MB / 1.12 GB Notification: Performance of remove unused functions: time 0.0002655/1.445, allocations: 19.95 kB / 1.668 GB, free: 5.633 MB / 1.12 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.000532/1.446, allocations: 0.8731 MB / 1.669 GB, free: 4.734 MB / 1.12 GB Notification: Performance of simCode: created initialization part: time 6.327e-05/1.446, allocations: 8 kB / 1.669 GB, free: 4.727 MB / 1.12 GB Notification: Performance of simCode: created event and clocks part: time 2.444e-06/1.446, allocations: 0 / 1.669 GB, free: 4.727 MB / 1.12 GB Notification: Performance of simCode: created simulation system equations: time 3.326e-06/1.446, allocations: 0 / 1.669 GB, free: 4.727 MB / 1.12 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003171/1.446, allocations: 0.5351 MB / 1.67 GB, free: 4.188 MB / 1.12 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003119/1.446, allocations: 162 kB / 1.67 GB, free: 3.992 MB / 1.12 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002571/1.447, allocations: 0.677 MB / 1.67 GB, free: 3.289 MB / 1.12 GB Notification: Performance of simCode: alias equations: time 4.942e-05/1.447, allocations: 9.609 kB / 1.67 GB, free: 3.281 MB / 1.12 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.107e-05/1.447, allocations: 7.438 kB / 1.67 GB, free: 3.273 MB / 1.12 GB Notification: Performance of SimCode: time 3e-07/1.447, allocations: 0 / 1.67 GB, free: 3.273 MB / 1.12 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01279/1.46, allocations: 2.139 MB / 1.673 GB, free: 1.301 MB / 1.12 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001874/1.46, allocations: 182.5 kB / 1.673 GB, free: 1.078 MB / 1.12 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.365/2.825, allocations: 0 / 1.673 GB, free: 1.078 MB / 1.12 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