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.001111/0.001111, allocations: 87.11 kB / 15.06 MB, free: 1.09 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.001448/0.001448, allocations: 168.7 kB / 15.95 MB, free: 204 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.448/1.448, allocations: 223.2 MB / 240 MB, free: 5.293 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.543/2.543, allocations: 390.4 MB / 0.6655 GB, free: 2.859 MB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.0003426/0.0003426, allocations: 12 kB / 0.8149 GB, free: 14.11 MB / 0.67 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.8109/0.8113, allocations: 142.3 MB / 0.9538 GB, free: 8.047 MB / 0.7169 GB Notification: Performance of NFInst.instantiate(Buildings.Media.Examples.PropyleneGlycolWaterTemperatureEnthalpyInversion): time 0.004592/0.8159, allocations: 3.283 MB / 0.957 GB, free: 5.402 MB / 0.7169 GB Notification: Performance of NFInst.instExpressions: time 0.0001561/0.8161, allocations: 144.8 kB / 0.9572 GB, free: 5.289 MB / 0.7169 GB Notification: Performance of NFInst.updateImplicitVariability: time 1.802e-05/0.8161, allocations: 4 kB / 0.9572 GB, free: 5.285 MB / 0.7169 GB Notification: Performance of NFTyping.typeComponents: time 7.779e-05/0.8162, allocations: 5.375 kB / 0.9572 GB, free: 5.281 MB / 0.7169 GB Notification: Performance of NFTyping.typeBindings: time 6.268e-05/0.8163, allocations: 10.72 kB / 0.9572 GB, free: 5.273 MB / 0.7169 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002362/0.8165, allocations: 62.55 kB / 0.9573 GB, free: 5.23 MB / 0.7169 GB Notification: Performance of NFFlatten.flatten: time 8.862e-05/0.8166, allocations: 51.06 kB / 0.9573 GB, free: 5.199 MB / 0.7169 GB Notification: Performance of NFFlatten.resolveConnections: time 4.311e-05/0.8167, allocations: 7.906 kB / 0.9573 GB, free: 5.195 MB / 0.7169 GB Notification: Performance of NFEvalConstants.evaluate: time 3.811e-05/0.8167, allocations: 15.92 kB / 0.9573 GB, free: 5.188 MB / 0.7169 GB Notification: Performance of NFSimplifyModel.simplify: time 6.877e-05/0.8168, allocations: 17.08 kB / 0.9573 GB, free: 5.176 MB / 0.7169 GB Notification: Performance of NFPackage.collectConstants: time 1.327e-05/0.8168, allocations: 1.25 kB / 0.9573 GB, free: 5.176 MB / 0.7169 GB Notification: Performance of NFFlatten.collectFunctions: time 0.000445/0.8173, allocations: 141.1 kB / 0.9575 GB, free: 5.105 MB / 0.7169 GB Notification: Performance of NFScalarize.scalarize: time 3.295e-05/0.8173, allocations: 15.41 kB / 0.9575 GB, free: 5.094 MB / 0.7169 GB Notification: Performance of NFVerifyModel.verify: time 2.183e-05/0.8173, allocations: 27.83 kB / 0.9575 GB, free: 5.062 MB / 0.7169 GB Notification: Performance of NFConvertDAE.convert: time 9.31e-05/0.8174, allocations: 22.98 kB / 0.9575 GB, free: 5.059 MB / 0.7169 GB Notification: Performance of FrontEnd - DAE generated: time 7.393e-06/0.8174, allocations: 1.031 kB / 0.9575 GB, free: 5.059 MB / 0.7169 GB Notification: Performance of FrontEnd: time 1.854e-06/0.8175, allocations: 3.938 kB / 0.9576 GB, free: 5.055 MB / 0.7169 GB Notification: Performance of Transformations before backend: time 4.458e-06/0.8175, allocations: 4 kB / 0.9576 GB, free: 5.051 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.0003036/0.8178, allocations: 332.6 kB / 0.9579 GB, free: 4.688 MB / 0.7169 GB Notification: Performance of prepare preOptimizeDAE: time 5.141e-05/0.8178, allocations: 9.062 kB / 0.9579 GB, free: 4.688 MB / 0.7169 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.039e-05/0.8179, allocations: 35.66 kB / 0.9579 GB, free: 4.645 MB / 0.7169 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.502e-05/0.8179, allocations: 1.281 kB / 0.9579 GB, free: 4.645 MB / 0.7169 GB Notification: Performance of preOpt evaluateParameters (simulation): time 9.028e-05/0.818, allocations: 164.2 kB / 0.9581 GB, free: 4.445 MB / 0.7169 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.394e-05/0.8181, allocations: 26.73 kB / 0.9581 GB, free: 4.414 MB / 0.7169 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.498e-06/0.8181, allocations: 1.062 kB / 0.9581 GB, free: 4.414 MB / 0.7169 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001295/0.8182, allocations: 51 kB / 0.9581 GB, free: 4.367 MB / 0.7169 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.011e-05/0.8182, allocations: 3.953 kB / 0.9582 GB, free: 4.363 MB / 0.7169 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.175e-05/0.8183, allocations: 1.156 kB / 0.9582 GB, free: 4.363 MB / 0.7169 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.492e-05/0.8183, allocations: 1.25 kB / 0.9582 GB, free: 4.363 MB / 0.7169 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.016e-05/0.8184, allocations: 16.61 kB / 0.9582 GB, free: 4.355 MB / 0.7169 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004177/0.8188, allocations: 341.3 kB / 0.9585 GB, free: 3.969 MB / 0.7169 GB Notification: Performance of preOpt comSubExp (simulation): time 3.351e-05/0.8188, allocations: 20.91 kB / 0.9585 GB, free: 3.941 MB / 0.7169 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.373e-05/0.8188, allocations: 9.984 kB / 0.9585 GB, free: 3.93 MB / 0.7169 GB Notification: Performance of preOpt evalFunc (simulation): time 6.572e-05/0.8189, allocations: 81.64 kB / 0.9586 GB, free: 3.836 MB / 0.7169 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.67e-05/0.8189, allocations: 36.86 kB / 0.9586 GB, free: 3.793 MB / 0.7169 GB Notification: Performance of pre-optimization done (n=1): time 1.082e-06/0.8189, allocations: 0 / 0.9586 GB, free: 3.793 MB / 0.7169 GB Notification: Performance of matching and sorting (n=1): time 0.0001596/0.8191, allocations: 39.27 kB / 0.9587 GB, free: 3.754 MB / 0.7169 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.335e-05/0.8191, allocations: 51.41 kB / 0.9587 GB, free: 3.691 MB / 0.7169 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.346e-05/0.8192, allocations: 100.7 kB / 0.9588 GB, free: 3.59 MB / 0.7169 GB Notification: Performance of collectPreVariables (initialization): time 9.257e-06/0.8192, allocations: 33.7 kB / 0.9589 GB, free: 3.551 MB / 0.7169 GB Notification: Performance of collectInitialEqns (initialization): time 2.601e-05/0.8193, allocations: 85.14 kB / 0.9589 GB, free: 3.465 MB / 0.7169 GB Notification: Performance of collectInitialBindings (initialization): time 5.38e-06/0.8193, allocations: 4.969 kB / 0.9589 GB, free: 3.461 MB / 0.7169 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.665e-06/0.8193, allocations: 0 / 0.9589 GB, free: 3.461 MB / 0.7169 GB Notification: Performance of setup shared object (initialization): time 4.573e-05/0.8193, allocations: 312 kB / 0.9592 GB, free: 3.148 MB / 0.7169 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.54e-05/0.8193, allocations: 11.05 kB / 0.9592 GB, free: 3.141 MB / 0.7169 GB Notification: Performance of partitionIndependentBlocks (initialization): time 1.72e-05/0.8194, allocations: 12.62 kB / 0.9593 GB, free: 3.125 MB / 0.7169 GB Notification: Performance of analyzeInitialSystem (initialization): time 1.893e-05/0.8194, allocations: 8.094 kB / 0.9593 GB, free: 3.121 MB / 0.7169 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.164e-06/0.8194, allocations: 1 kB / 0.9593 GB, free: 3.121 MB / 0.7169 GB Notification: Performance of matching and sorting (n=3) (initialization): time 6.752e-05/0.8195, allocations: 54.08 kB / 0.9593 GB, free: 3.074 MB / 0.7169 GB Notification: Performance of prepare postOptimizeDAE: time 1.308e-05/0.8195, allocations: 9.094 kB / 0.9593 GB, free: 3.07 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.513e-06/0.8195, allocations: 5.312 kB / 0.9593 GB, free: 3.066 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.282e-05/0.8195, allocations: 0 / 0.9593 GB, free: 3.066 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.298e-05/0.8196, allocations: 5.062 kB / 0.9593 GB, free: 3.066 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.642e-06/0.8196, allocations: 0.9375 kB / 0.9593 GB, free: 3.066 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.273e-05/0.8196, allocations: 9.547 kB / 0.9593 GB, free: 3.059 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.108e-05/0.8196, allocations: 5.188 kB / 0.9594 GB, free: 3.055 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 5.193e-05/0.8197, allocations: 112.5 kB / 0.9595 GB, free: 2.938 MB / 0.7169 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.65e-05/0.8197, allocations: 5.672 kB / 0.9595 GB, free: 2.934 MB / 0.7169 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 9.595e-05/0.8198, allocations: 123.2 kB / 0.9596 GB, free: 2.805 MB / 0.7169 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.061e-05/0.8198, allocations: 181.5 kB / 0.9598 GB, free: 2.621 MB / 0.7169 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.442e-05/0.8199, allocations: 185.1 kB / 0.9599 GB, free: 2.434 MB / 0.7169 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.395e-05/0.8199, allocations: 181.2 kB / 0.9601 GB, free: 2.25 MB / 0.7169 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001472/0.8201, allocations: 403.7 kB / 0.9605 GB, free: 1.801 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.072e-05/0.8201, allocations: 106.3 kB / 0.9606 GB, free: 1.691 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.469e-05/0.8201, allocations: 106.3 kB / 0.9607 GB, free: 1.582 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.038e-05/0.8202, allocations: 181.5 kB / 0.9609 GB, free: 1.398 MB / 0.7169 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.124e-05/0.8202, allocations: 188.2 kB / 0.961 GB, free: 1.207 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.829e-05/0.8203, allocations: 181.5 kB / 0.9612 GB, free: 1.023 MB / 0.7169 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.701e-05/0.8203, allocations: 177.6 kB / 0.9614 GB, free: 0.8438 MB / 0.7169 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001035/0.8204, allocations: 308.5 kB / 0.9617 GB, free: 0.5234 MB / 0.7169 GB Notification: Performance of postOpt removeConstants (simulation): time 4.775e-05/0.8205, allocations: 183.4 kB / 0.9619 GB, free: 328 kB / 0.7169 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.466e-05/0.8205, allocations: 181.5 kB / 0.962 GB, free: 140 kB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001322/0.8207, allocations: 116.9 kB / 0.9621 GB, free: 20 kB / 0.7169 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001002/0.8208, allocations: 180.2 kB / 0.9623 GB, free: 15.84 MB / 0.7325 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.319e-05/0.8208, allocations: 106.2 kB / 0.9624 GB, free: 15.73 MB / 0.7325 GB Notification: Performance of sorting global known variables: time 6.308e-05/0.8209, allocations: 88.39 kB / 0.9625 GB, free: 15.64 MB / 0.7325 GB Notification: Performance of sort global known variables: time 1.31e-07/0.8209, allocations: 4 kB / 0.9625 GB, free: 15.64 MB / 0.7325 GB Notification: Performance of remove unused functions: time 0.0002683/0.8212, allocations: 20.44 kB / 0.9625 GB, free: 15.63 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.0006167/0.8218, allocations: 0.8114 MB / 0.9633 GB, free: 14.82 MB / 0.7325 GB Notification: Performance of simCode: created initialization part: time 9.159e-05/0.8219, allocations: 10.16 kB / 0.9633 GB, free: 14.82 MB / 0.7325 GB Notification: Performance of simCode: created event and clocks part: time 2.334e-06/0.8219, allocations: 4.125 kB / 0.9633 GB, free: 14.81 MB / 0.7325 GB Notification: Performance of simCode: created simulation system equations: time 1.664e-06/0.8219, allocations: 1.188 kB / 0.9633 GB, free: 14.81 MB / 0.7325 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005993/0.8225, allocations: 0.5267 MB / 0.9638 GB, free: 14.29 MB / 0.7325 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004926/0.823, allocations: 237.8 kB / 0.9641 GB, free: 14.04 MB / 0.7325 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003483/0.8234, allocations: 0.6802 MB / 0.9647 GB, free: 13.33 MB / 0.7325 GB Notification: Performance of simCode: alias equations: time 4.358e-05/0.8234, allocations: 4.125 kB / 0.9647 GB, free: 13.33 MB / 0.7325 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.01e-05/0.8235, allocations: 9.406 kB / 0.9647 GB, free: 13.32 MB / 0.7325 GB Notification: Performance of SimCode: time 2.2e-07/0.8235, allocations: 3.938 kB / 0.9648 GB, free: 13.32 MB / 0.7325 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01157/0.8351, allocations: 1.245 MB / 0.966 GB, free: 12.77 MB / 0.7325 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001874/0.8353, allocations: 210.3 kB / 0.9662 GB, free: 12.54 MB / 0.7325 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.775/2.61, allocations: 2 kB / 0.9662 GB, free: 12.54 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