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/ModelicaServices 4.0.0+maint.om/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/Buildings 9.1.1-maint.9.1.x/package.mo", uses=false) 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) 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 ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/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/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0009638/0.0009636, allocations: 100.2 kB / 15.05 MB, free: 1.105 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.000928/0.0009281, allocations: 177.3 kB / 15.95 MB, free: 216 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.421/1.421, allocations: 223.2 MB / 239.9 MB, free: 5.465 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.1-maint.9.1.x/package.mo): time 2.403/2.403, allocations: 390.3 MB / 0.6653 GB, free: 2.969 MB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.0004986/0.0004987, allocations: 8 kB / 0.8146 GB, free: 14.24 MB / 0.67 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7962/0.7968, allocations: 142.3 MB / 0.9536 GB, free: 8.062 MB / 0.7169 GB Notification: Performance of NFInst.instantiate(Buildings.Media.Examples.PropyleneGlycolWaterTemperatureEnthalpyInversion): time 0.004068/0.8009, allocations: 3.148 MB / 0.9567 GB, free: 5.547 MB / 0.7169 GB Notification: Performance of NFInst.instExpressions: time 0.0001646/0.8011, allocations: 130.1 kB / 0.9568 GB, free: 5.445 MB / 0.7169 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.199e-05/0.8011, allocations: 0 / 0.9568 GB, free: 5.445 MB / 0.7169 GB Notification: Performance of NFTyping.typeComponents: time 9.592e-05/0.8012, allocations: 1.406 kB / 0.9568 GB, free: 5.445 MB / 0.7169 GB Notification: Performance of NFTyping.typeBindings: time 3.536e-05/0.8013, allocations: 9.344 kB / 0.9568 GB, free: 5.438 MB / 0.7169 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002678/0.8015, allocations: 61.59 kB / 0.9568 GB, free: 5.395 MB / 0.7169 GB Notification: Performance of NFFlatten.flatten: time 6.255e-05/0.8016, allocations: 24.08 kB / 0.9569 GB, free: 5.379 MB / 0.7169 GB Notification: Performance of NFFlatten.resolveConnections: time 4.175e-05/0.8017, allocations: 1.188 kB / 0.9569 GB, free: 5.379 MB / 0.7169 GB Notification: Performance of NFEvalConstants.evaluate: time 3.363e-05/0.8017, allocations: 15.67 kB / 0.9569 GB, free: 5.371 MB / 0.7169 GB Notification: Performance of NFSimplifyModel.simplify: time 5.46e-05/0.8018, allocations: 12.7 kB / 0.9569 GB, free: 5.363 MB / 0.7169 GB Notification: Performance of NFPackage.collectConstants: time 1.234e-05/0.8018, allocations: 1.156 kB / 0.9569 GB, free: 5.363 MB / 0.7169 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0004488/0.8022, allocations: 155.7 kB / 0.957 GB, free: 5.281 MB / 0.7169 GB Notification: Performance of NFScalarize.scalarize: time 3.008e-05/0.8023, allocations: 7.297 kB / 0.9571 GB, free: 5.277 MB / 0.7169 GB Notification: Performance of NFVerifyModel.verify: time 2.024e-05/0.8023, allocations: 27.73 kB / 0.9571 GB, free: 5.246 MB / 0.7169 GB Notification: Performance of NFConvertDAE.convert: time 8.853e-05/0.8024, allocations: 27.02 kB / 0.9571 GB, free: 5.238 MB / 0.7169 GB Notification: Performance of FrontEnd - DAE generated: time 1.813e-06/0.8024, allocations: 0 / 0.9571 GB, free: 5.238 MB / 0.7169 GB Notification: Performance of FrontEnd: time 1.633e-06/0.8024, allocations: 5.188 kB / 0.9571 GB, free: 5.234 MB / 0.7169 GB Notification: Performance of Transformations before backend: time 3.857e-06/0.8024, allocations: 0 / 0.9571 GB, free: 5.234 MB / 0.7169 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.0002665/0.8027, allocations: 327.5 kB / 0.9574 GB, free: 4.875 MB / 0.7169 GB Notification: Performance of prepare preOptimizeDAE: time 3.982e-05/0.8027, allocations: 9.812 kB / 0.9574 GB, free: 4.875 MB / 0.7169 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.31e-05/0.8028, allocations: 36 kB / 0.9575 GB, free: 4.832 MB / 0.7169 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.639e-05/0.8028, allocations: 1.438 kB / 0.9575 GB, free: 4.832 MB / 0.7169 GB Notification: Performance of preOpt evaluateParameters (simulation): time 7.378e-05/0.8029, allocations: 163.1 kB / 0.9576 GB, free: 4.633 MB / 0.7169 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.829e-05/0.8029, allocations: 31.08 kB / 0.9577 GB, free: 4.598 MB / 0.7169 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.172e-05/0.803, allocations: 5.359 kB / 0.9577 GB, free: 4.594 MB / 0.7169 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001068/0.8031, allocations: 46.88 kB / 0.9577 GB, free: 4.551 MB / 0.7169 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.633e-06/0.8031, allocations: 3.953 kB / 0.9577 GB, free: 4.547 MB / 0.7169 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.057e-05/0.8031, allocations: 1 kB / 0.9577 GB, free: 4.547 MB / 0.7169 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.755e-05/0.8031, allocations: 1.188 kB / 0.9577 GB, free: 4.547 MB / 0.7169 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.199e-05/0.8032, allocations: 16.8 kB / 0.9577 GB, free: 4.539 MB / 0.7169 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003464/0.8035, allocations: 333.2 kB / 0.958 GB, free: 4.16 MB / 0.7169 GB Notification: Performance of preOpt comSubExp (simulation): time 2.813e-05/0.8036, allocations: 29.06 kB / 0.9581 GB, free: 4.125 MB / 0.7169 GB Notification: Performance of preOpt evalFunc (simulation): time 6.522e-05/0.8036, allocations: 81.58 kB / 0.9581 GB, free: 4.031 MB / 0.7169 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.536e-05/0.8037, allocations: 35.78 kB / 0.9582 GB, free: 3.988 MB / 0.7169 GB Notification: Performance of pre-optimization done (n=1): time 1.272e-06/0.8037, allocations: 0 / 0.9582 GB, free: 3.988 MB / 0.7169 GB Notification: Performance of matching and sorting (n=1): time 0.0001252/0.8038, allocations: 36.44 kB / 0.9582 GB, free: 3.953 MB / 0.7169 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.215e-05/0.8038, allocations: 51.41 kB / 0.9583 GB, free: 3.891 MB / 0.7169 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.482e-05/0.8039, allocations: 108.8 kB / 0.9584 GB, free: 3.781 MB / 0.7169 GB Notification: Performance of collectPreVariables (initialization): time 8.886e-06/0.8039, allocations: 29.83 kB / 0.9584 GB, free: 3.746 MB / 0.7169 GB Notification: Performance of collectInitialEqns (initialization): time 2.53e-05/0.8039, allocations: 85.2 kB / 0.9585 GB, free: 3.66 MB / 0.7169 GB Notification: Performance of collectInitialBindings (initialization): time 5.54e-06/0.8039, allocations: 3.906 kB / 0.9585 GB, free: 3.656 MB / 0.7169 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.815e-06/0.8039, allocations: 1.25 kB / 0.9585 GB, free: 3.656 MB / 0.7169 GB Notification: Performance of setup shared object (initialization): time 4.1e-05/0.804, allocations: 314.8 kB / 0.9588 GB, free: 3.34 MB / 0.7169 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.193e-05/0.804, allocations: 2.781 kB / 0.9588 GB, free: 3.34 MB / 0.7169 GB Notification: Performance of partitionIndependentBlocks (initialization): time 1.791e-05/0.804, allocations: 17.73 kB / 0.9588 GB, free: 3.32 MB / 0.7169 GB Notification: Performance of analyzeInitialSystem (initialization): time 1.898e-05/0.8041, allocations: 11.25 kB / 0.9588 GB, free: 3.312 MB / 0.7169 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.502e-06/0.8041, allocations: 1.031 kB / 0.9588 GB, free: 3.312 MB / 0.7169 GB Notification: Performance of matching and sorting (n=3) (initialization): time 6.299e-05/0.8041, allocations: 49.95 kB / 0.9589 GB, free: 3.27 MB / 0.7169 GB Notification: Performance of prepare postOptimizeDAE: time 1.428e-05/0.8042, allocations: 7.031 kB / 0.9589 GB, free: 3.27 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.12e-06/0.8042, allocations: 1.188 kB / 0.9589 GB, free: 3.27 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (initialization): time 9.348e-06/0.8042, allocations: 0 / 0.9589 GB, free: 3.27 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.269e-05/0.8042, allocations: 4.594 kB / 0.9589 GB, free: 3.27 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.668e-06/0.8042, allocations: 1.219 kB / 0.9589 GB, free: 3.27 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.082e-05/0.8043, allocations: 13.09 kB / 0.9589 GB, free: 3.258 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.116e-05/0.8043, allocations: 6.438 kB / 0.9589 GB, free: 3.254 MB / 0.7169 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 4.685e-05/0.8043, allocations: 111 kB / 0.959 GB, free: 3.137 MB / 0.7169 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.312e-05/0.8044, allocations: 5.234 kB / 0.959 GB, free: 3.133 MB / 0.7169 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.77e-05/0.8044, allocations: 124.4 kB / 0.9591 GB, free: 3.004 MB / 0.7169 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.227e-05/0.8045, allocations: 181.6 kB / 0.9593 GB, free: 2.82 MB / 0.7169 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.68e-05/0.8045, allocations: 177.4 kB / 0.9595 GB, free: 2.641 MB / 0.7169 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.272e-05/0.8045, allocations: 185.4 kB / 0.9596 GB, free: 2.453 MB / 0.7169 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001342/0.8047, allocations: 403.8 kB / 0.96 GB, free: 2.004 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.505e-05/0.8047, allocations: 106.2 kB / 0.9601 GB, free: 1.895 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.302e-05/0.8047, allocations: 105 kB / 0.9602 GB, free: 1.785 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.155e-05/0.8047, allocations: 181.7 kB / 0.9604 GB, free: 1.602 MB / 0.7169 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.79e-05/0.8048, allocations: 201.6 kB / 0.9606 GB, free: 1.398 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.22e-05/0.8048, allocations: 177.3 kB / 0.9608 GB, free: 1.219 MB / 0.7169 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.344e-05/0.8048, allocations: 185.5 kB / 0.9609 GB, free: 1.031 MB / 0.7169 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 5.933e-05/0.8049, allocations: 299.3 kB / 0.9612 GB, free: 0.7188 MB / 0.7169 GB Notification: Performance of postOpt removeConstants (simulation): time 3.551e-05/0.8049, allocations: 192.7 kB / 0.9614 GB, free: 0.5078 MB / 0.7169 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.789e-05/0.805, allocations: 177.8 kB / 0.9616 GB, free: 336 kB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001295/0.8051, allocations: 116.3 kB / 0.9617 GB, free: 216 kB / 0.7169 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.538e-05/0.8051, allocations: 177.7 kB / 0.9619 GB, free: 32 kB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.793e-05/0.8052, allocations: 104.9 kB / 0.962 GB, free: 15.92 MB / 0.7325 GB Notification: Performance of sorting global known variables: time 4.775e-05/0.8053, allocations: 84.09 kB / 0.962 GB, free: 15.84 MB / 0.7325 GB Notification: Performance of sort global known variables: time 1.3e-07/0.8053, allocations: 5.156 kB / 0.962 GB, free: 15.84 MB / 0.7325 GB Notification: Performance of remove unused functions: time 0.0002359/0.8055, allocations: 19.95 kB / 0.9621 GB, free: 15.83 MB / 0.7325 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.0004186/0.8059, allocations: 0.8154 MB / 0.9629 GB, free: 15.02 MB / 0.7325 GB Notification: Performance of simCode: created initialization part: time 6.134e-05/0.806, allocations: 11.44 kB / 0.9629 GB, free: 15.01 MB / 0.7325 GB Notification: Performance of simCode: created event and clocks part: time 2.474e-06/0.806, allocations: 4.125 kB / 0.9629 GB, free: 15.01 MB / 0.7325 GB Notification: Performance of simCode: created simulation system equations: time 1.232e-06/0.806, allocations: 0 / 0.9629 GB, free: 15.01 MB / 0.7325 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003545/0.8064, allocations: 0.5298 MB / 0.9634 GB, free: 14.48 MB / 0.7325 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003725/0.8068, allocations: 217.4 kB / 0.9636 GB, free: 14.24 MB / 0.7325 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002264/0.807, allocations: 0.6809 MB / 0.9643 GB, free: 13.54 MB / 0.7325 GB Notification: Performance of simCode: alias equations: time 4.058e-05/0.807, allocations: 8.719 kB / 0.9643 GB, free: 13.54 MB / 0.7325 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.783e-05/0.8071, allocations: 13.25 kB / 0.9643 GB, free: 13.53 MB / 0.7325 GB Notification: Performance of SimCode: time 2.41e-07/0.8071, allocations: 3.938 kB / 0.9643 GB, free: 13.52 MB / 0.7325 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01096/0.818, allocations: 1.228 MB / 0.9655 GB, free: 12.98 MB / 0.7325 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001743/0.8183, allocations: 205.9 kB / 0.9657 GB, free: 12.74 MB / 0.7325 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.587/2.405, allocations: 0 / 0.9657 GB, free: 12.74 MB / 0.7325 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