Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr IBPSA_latest_IBPSA.Media.Examples.PropyleneGlycolWaterTemperatureEnthalpyInversion.conf.json 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/IBPSA 4.0.0-master/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 IBPSA with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/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) Running command: "" <> buildModelFMU(IBPSA.Media.Examples.PropyleneGlycolWaterTemperatureEnthalpyInversion,fileNamePrefix="IBPSA_latest_IBPSA_Media_Examples_PropyleneGlycolWaterTemperatureEnthalpyInversion",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IBPSA.Media.Examples.PropyleneGlycolWaterTemperatureEnthalpyInversion,fileNamePrefix="IBPSA_latest_IBPSA_Media_Examples_PropyleneGlycolWaterTemperatureEnthalpyInversion",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001258/0.001258, allocations: 177.6 kB / 8.008 MB, free: 1.066 MB / 5.871 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo): time 0.6339/0.6339, allocations: 90.91 MB / 99.34 MB, free: 2.215 MB / 74.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.499/1.499, allocations: 221.5 MB / 343.2 MB, free: 1.629 MB / 266.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001192/0.001193, allocations: 94.61 kB / 415.9 MB, free: 11.19 MB / 346.7 MB Notification: Performance of FrontEnd - loaded program: time 1.642e-05/1.644e-05, allocations: 0 / 494.6 MB, free: 52.33 MB / 362.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1517/0.1517, allocations: 72.3 MB / 0.5536 GB, free: 12.23 MB / 394.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 1.176/1.328, allocations: 386.8 MB / 0.9313 GB, free: 95.17 MB / 0.5886 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.000297/1.328, allocations: 65.72 kB / 0.9314 GB, free: 95.14 MB / 0.5886 GB Notification: Performance of FrontEnd - DAE generated: time 0.03587/1.364, allocations: 18.96 MB / 0.9499 GB, free: 79.92 MB / 0.5886 GB Notification: Performance of FrontEnd: time 1.873e-06/1.364, allocations: 0 / 0.9499 GB, free: 79.92 MB / 0.5886 GB Notification: Performance of Transformations before backend: time 7.163e-06/1.364, allocations: 0 / 0.9499 GB, free: 79.92 MB / 0.5886 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.0002912/1.365, allocations: 354 kB / 0.9502 GB, free: 79.54 MB / 0.5886 GB Notification: Performance of prepare preOptimizeDAE: time 4.698e-05/1.365, allocations: 12.03 kB / 0.9502 GB, free: 79.52 MB / 0.5886 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.764e-05/1.365, allocations: 3.953 kB / 0.9502 GB, free: 79.52 MB / 0.5886 GB Notification: Performance of preOpt evaluateParameters (simulation): time 9.056e-05/1.365, allocations: 163.1 kB / 0.9504 GB, free: 79.32 MB / 0.5886 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.655e-05/1.365, allocations: 33.7 kB / 0.9504 GB, free: 79.28 MB / 0.5886 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.264e-06/1.365, allocations: 3.938 kB / 0.9504 GB, free: 79.28 MB / 0.5886 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 7.032e-05/1.365, allocations: 11.75 kB / 0.9504 GB, free: 79.27 MB / 0.5886 GB Notification: Performance of preOpt clockPartitioning (simulation): time 7.436e-05/1.365, allocations: 41.25 kB / 0.9505 GB, free: 79.23 MB / 0.5886 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.774e-06/1.365, allocations: 0 / 0.9505 GB, free: 79.23 MB / 0.5886 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.318e-05/1.365, allocations: 7.938 kB / 0.9505 GB, free: 79.22 MB / 0.5886 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.792e-05/1.365, allocations: 3.984 kB / 0.9505 GB, free: 79.21 MB / 0.5886 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003498/1.365, allocations: 306.5 kB / 0.9508 GB, free: 78.86 MB / 0.5886 GB Notification: Performance of preOpt comSubExp (simulation): time 3.153e-05/1.365, allocations: 22.52 kB / 0.9508 GB, free: 78.84 MB / 0.5886 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.406e-05/1.365, allocations: 12.73 kB / 0.9508 GB, free: 78.82 MB / 0.5886 GB Notification: Performance of preOpt evalFunc (simulation): time 5.963e-05/1.366, allocations: 89.16 kB / 0.9509 GB, free: 78.71 MB / 0.5886 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.468e-05/1.366, allocations: 30.56 kB / 0.9509 GB, free: 78.68 MB / 0.5886 GB Notification: Performance of pre-optimization done (n=1): time 1.172e-06/1.366, allocations: 0 / 0.9509 GB, free: 78.68 MB / 0.5886 GB Notification: Performance of matching and sorting (n=1): time 0.000165/1.366, allocations: 33.66 kB / 0.951 GB, free: 78.64 MB / 0.5886 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.11e-05/1.366, allocations: 59.44 kB / 0.951 GB, free: 78.57 MB / 0.5886 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6e-05/1.366, allocations: 96.92 kB / 0.9511 GB, free: 78.47 MB / 0.5886 GB Notification: Performance of collectPreVariables (initialization): time 1.178e-05/1.366, allocations: 29.64 kB / 0.9511 GB, free: 78.43 MB / 0.5886 GB Notification: Performance of collectInitialEqns (initialization): time 2.739e-05/1.366, allocations: 84.05 kB / 0.9512 GB, free: 78.35 MB / 0.5886 GB Notification: Performance of collectInitialBindings (initialization): time 4.599e-06/1.366, allocations: 3.906 kB / 0.9512 GB, free: 78.34 MB / 0.5886 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.046e-06/1.366, allocations: 0 / 0.9512 GB, free: 78.34 MB / 0.5886 GB Notification: Performance of setup shared object (initialization): time 4.957e-05/1.366, allocations: 318.5 kB / 0.9515 GB, free: 78.03 MB / 0.5886 GB Notification: Performance of preBalanceInitialSystem (initialization): time 9.949e-06/1.366, allocations: 0 / 0.9515 GB, free: 78.03 MB / 0.5886 GB Notification: Performance of partitionIndependentBlocks (initialization): time 1.854e-05/1.366, allocations: 25.64 kB / 0.9516 GB, free: 78 MB / 0.5886 GB Notification: Performance of analyzeInitialSystem (initialization): time 4.886e-05/1.366, allocations: 4 kB / 0.9516 GB, free: 77.99 MB / 0.5886 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.823e-06/1.366, allocations: 4 kB / 0.9516 GB, free: 77.99 MB / 0.5886 GB Notification: Performance of matching and sorting (n=3) (initialization): time 8.608e-05/1.366, allocations: 45.31 kB / 0.9516 GB, free: 77.94 MB / 0.5886 GB Notification: Performance of prepare postOptimizeDAE: time 1.278e-05/1.366, allocations: 4 kB / 0.9516 GB, free: 77.94 MB / 0.5886 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.821e-06/1.366, allocations: 4 kB / 0.9516 GB, free: 77.93 MB / 0.5886 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.234e-05/1.366, allocations: 0 / 0.9516 GB, free: 77.93 MB / 0.5886 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.033e-05/1.366, allocations: 7.984 kB / 0.9516 GB, free: 77.93 MB / 0.5886 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.927e-06/1.366, allocations: 12 kB / 0.9516 GB, free: 77.91 MB / 0.5886 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.746e-05/1.366, allocations: 7.875 kB / 0.9516 GB, free: 77.91 MB / 0.5886 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.604e-06/1.366, allocations: 4 kB / 0.9516 GB, free: 77.9 MB / 0.5886 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 4.758e-05/1.366, allocations: 101 kB / 0.9517 GB, free: 77.8 MB / 0.5886 GB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 6.829e-05/1.366, allocations: 33.7 kB / 0.9518 GB, free: 77.76 MB / 0.5886 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.18e-05/1.366, allocations: 3.906 kB / 0.9518 GB, free: 77.75 MB / 0.5886 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 9.745e-05/1.367, allocations: 125.1 kB / 0.9519 GB, free: 77.63 MB / 0.5886 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.386e-05/1.367, allocations: 184.2 kB / 0.9521 GB, free: 77.44 MB / 0.5886 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.049e-05/1.367, allocations: 180.3 kB / 0.9522 GB, free: 77.26 MB / 0.5886 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.589e-05/1.367, allocations: 180.2 kB / 0.9524 GB, free: 77.07 MB / 0.5886 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001454/1.367, allocations: 381.2 kB / 0.9528 GB, free: 76.66 MB / 0.5886 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.007e-05/1.367, allocations: 109 kB / 0.9529 GB, free: 76.55 MB / 0.5886 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.784e-05/1.367, allocations: 105 kB / 0.953 GB, free: 76.44 MB / 0.5886 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.627e-05/1.367, allocations: 180.2 kB / 0.9532 GB, free: 76.25 MB / 0.5886 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.213e-05/1.367, allocations: 176.3 kB / 0.9533 GB, free: 76.07 MB / 0.5886 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.163e-05/1.367, allocations: 192.2 kB / 0.9535 GB, free: 75.88 MB / 0.5886 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.094e-05/1.367, allocations: 183.8 kB / 0.9537 GB, free: 75.7 MB / 0.5886 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 7.517e-05/1.367, allocations: 307.8 kB / 0.954 GB, free: 75.37 MB / 0.5886 GB Notification: Performance of postOpt removeConstants (simulation): time 3.941e-05/1.367, allocations: 181.2 kB / 0.9541 GB, free: 75.17 MB / 0.5886 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.199e-05/1.367, allocations: 184.2 kB / 0.9543 GB, free: 74.98 MB / 0.5886 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001019/1.367, allocations: 101 kB / 0.9544 GB, free: 74.88 MB / 0.5886 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.49e-05/1.367, allocations: 184.2 kB / 0.9546 GB, free: 74.69 MB / 0.5886 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.765e-05/1.367, allocations: 108.9 kB / 0.9547 GB, free: 74.58 MB / 0.5886 GB Notification: Performance of sorting global known variables: time 2.978e-05/1.367, allocations: 90.64 kB / 0.9548 GB, free: 74.49 MB / 0.5886 GB Notification: Performance of sort global known variables: time 1.7e-07/1.367, allocations: 0 / 0.9548 GB, free: 74.49 MB / 0.5886 GB Notification: Performance of remove unused functions: time 0.0002283/1.368, allocations: 12 kB / 0.9548 GB, free: 74.48 MB / 0.5886 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.0003748/1.368, allocations: 0.8754 MB / 0.9557 GB, free: 73.59 MB / 0.5886 GB Notification: Performance of simCode: created initialization part: time 5.596e-05/1.368, allocations: 4 kB / 0.9557 GB, free: 73.58 MB / 0.5886 GB Notification: Performance of simCode: created event and clocks part: time 2.545e-06/1.368, allocations: 3.938 kB / 0.9557 GB, free: 73.58 MB / 0.5886 GB Notification: Performance of simCode: created simulation system equations: time 1.072e-06/1.368, allocations: 0 / 0.9557 GB, free: 73.58 MB / 0.5886 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002345/1.368, allocations: 0.5359 MB / 0.9562 GB, free: 73.04 MB / 0.5886 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002809/1.369, allocations: 152.9 kB / 0.9563 GB, free: 72.86 MB / 0.5886 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001192/1.369, allocations: 0.6768 MB / 0.957 GB, free: 72.15 MB / 0.5886 GB Notification: Performance of simCode: alias equations: time 4.022e-05/1.369, allocations: 11.95 kB / 0.957 GB, free: 72.14 MB / 0.5886 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.403e-05/1.369, allocations: 11.42 kB / 0.957 GB, free: 72.13 MB / 0.5886 GB Notification: Performance of SimCode: time 2.7e-07/1.369, allocations: 4 kB / 0.957 GB, free: 72.13 MB / 0.5886 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02145/1.39, allocations: 1.314 MB / 0.9583 GB, free: 70.83 MB / 0.5886 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001835/1.391, allocations: 162.2 kB / 0.9585 GB, free: 70.63 MB / 0.5886 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.559/2.949, allocations: 0 / 0.9585 GB, free: 70.63 MB / 0.5886 GB (rm -f IBPSA_latest_IBPSA.Media.Examples.PropyleneGlycolWaterTemperatureEnthalpyInversion.pipe ; mkfifo IBPSA_latest_IBPSA.Media.Examples.PropyleneGlycolWaterTemperatureEnthalpyInversion.pipe ; head -c 1048576 < IBPSA_latest_IBPSA.Media.Examples.PropyleneGlycolWaterTemperatureEnthalpyInversion.pipe >> ../files/IBPSA_latest_IBPSA.Media.Examples.PropyleneGlycolWaterTemperatureEnthalpyInversion.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_IBPSA_latest_IBPSA_Media_Examples_PropyleneGlycolWaterTemperatureEnthalpyInversion_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 IBPSA_latest_IBPSA_Media_Examples_PropyleneGlycolWaterTemperatureEnthalpyInversion.fmu > IBPSA_latest_IBPSA.Media.Examples.PropyleneGlycolWaterTemperatureEnthalpyInversion.pipe 2>&1)