Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr IDEAS_dev_IDEAS.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/IDEAS 3.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 IDEAS with version 3.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.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(IDEAS.Media.Examples.PropyleneGlycolWaterTemperatureEnthalpyInversion,fileNamePrefix="IDEAS_dev_IDEAS_Media_Examples_PropyleneGlycolWaterTemperatureEnthalpyInversion",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IDEAS.Media.Examples.PropyleneGlycolWaterTemperatureEnthalpyInversion,fileNamePrefix="IDEAS_dev_IDEAS_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.00153/0.00153, allocations: 175.2 kB / 12.73 MB, free: 2.59 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 0.7443/0.7443, allocations: 133.4 MB / 146.7 MB, free: 10.79 MB / 122.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.61/1.61, allocations: 221.3 MB / 400.4 MB, free: 5.859 MB / 314.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001293/0.001293, allocations: 87.91 kB / 483.3 MB, free: 5.895 MB / 394.7 MB Notification: Performance of FrontEnd - loaded program: time 4.012e-05/4.014e-05, allocations: 2.25 kB / 0.5601 GB, free: 87.91 MB / 442.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.197/0.1971, allocations: 82.31 MB / 0.6405 GB, free: 7.758 MB / 442.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 1.483/1.68, allocations: 397.2 MB / 1.028 GB, free: 198.6 MB / 0.6823 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002948/1.68, allocations: 66.34 kB / 1.028 GB, free: 198.6 MB / 0.6823 GB Notification: Performance of FrontEnd - DAE generated: time 0.03932/1.72, allocations: 19.05 MB / 1.047 GB, free: 183 MB / 0.6823 GB Notification: Performance of FrontEnd: time 1.562e-06/1.72, allocations: 0 / 1.047 GB, free: 183 MB / 0.6823 GB Notification: Performance of Transformations before backend: time 8.906e-06/1.72, allocations: 0 / 1.047 GB, free: 183 MB / 0.6823 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.0003508/1.72, allocations: 367 kB / 1.047 GB, free: 182.6 MB / 0.6823 GB Notification: Performance of prepare preOptimizeDAE: time 4.946e-05/1.72, allocations: 8.031 kB / 1.047 GB, free: 182.6 MB / 0.6823 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.577e-05/1.72, allocations: 34.56 kB / 1.047 GB, free: 182.6 MB / 0.6823 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.723e-05/1.72, allocations: 7.906 kB / 1.047 GB, free: 182.6 MB / 0.6823 GB Notification: Performance of preOpt evaluateParameters (simulation): time 8.841e-05/1.72, allocations: 163 kB / 1.048 GB, free: 182.4 MB / 0.6823 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.3e-05/1.721, allocations: 29.69 kB / 1.048 GB, free: 182.3 MB / 0.6823 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.282e-05/1.721, allocations: 7.984 kB / 1.048 GB, free: 182.3 MB / 0.6823 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000124/1.721, allocations: 41.19 kB / 1.048 GB, free: 182.3 MB / 0.6823 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.999e-06/1.721, allocations: 3.938 kB / 1.048 GB, free: 182.3 MB / 0.6823 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.275e-05/1.721, allocations: 0 / 1.048 GB, free: 182.3 MB / 0.6823 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.179e-05/1.721, allocations: 3.984 kB / 1.048 GB, free: 182.3 MB / 0.6823 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.773e-05/1.721, allocations: 15.38 kB / 1.048 GB, free: 182.2 MB / 0.6823 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004075/1.721, allocations: 333.1 kB / 1.048 GB, free: 181.9 MB / 0.6823 GB Notification: Performance of preOpt comSubExp (simulation): time 3.578e-05/1.721, allocations: 14.58 kB / 1.048 GB, free: 181.8 MB / 0.6823 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.988e-05/1.721, allocations: 8.922 kB / 1.048 GB, free: 181.8 MB / 0.6823 GB Notification: Performance of preOpt evalFunc (simulation): time 6.549e-05/1.721, allocations: 85.09 kB / 1.048 GB, free: 181.7 MB / 0.6823 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.994e-05/1.721, allocations: 42.12 kB / 1.048 GB, free: 181.7 MB / 0.6823 GB Notification: Performance of pre-optimization done (n=1): time 1.272e-06/1.721, allocations: 0 / 1.048 GB, free: 181.7 MB / 0.6823 GB Notification: Performance of matching and sorting (n=1): time 0.0001365/1.722, allocations: 33.7 kB / 1.048 GB, free: 181.6 MB / 0.6823 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.564e-05/1.722, allocations: 55.36 kB / 1.048 GB, free: 181.6 MB / 0.6823 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.25e-05/1.722, allocations: 96.48 kB / 1.048 GB, free: 181.5 MB / 0.6823 GB Notification: Performance of collectPreVariables (initialization): time 1.152e-05/1.722, allocations: 25.7 kB / 1.048 GB, free: 181.4 MB / 0.6823 GB Notification: Performance of collectInitialEqns (initialization): time 3.546e-05/1.722, allocations: 88.05 kB / 1.048 GB, free: 181.4 MB / 0.6823 GB Notification: Performance of collectInitialBindings (initialization): time 6.121e-06/1.722, allocations: 3.906 kB / 1.048 GB, free: 181.3 MB / 0.6823 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.246e-06/1.722, allocations: 4.031 kB / 1.048 GB, free: 181.3 MB / 0.6823 GB Notification: Performance of setup shared object (initialization): time 5.703e-05/1.722, allocations: 314.2 kB / 1.049 GB, free: 181 MB / 0.6823 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.476e-05/1.722, allocations: 4 kB / 1.049 GB, free: 181 MB / 0.6823 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.035e-05/1.722, allocations: 17.7 kB / 1.049 GB, free: 181 MB / 0.6823 GB Notification: Performance of analyzeInitialSystem (initialization): time 2.059e-05/1.722, allocations: 11.5 kB / 1.049 GB, free: 181 MB / 0.6823 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.933e-06/1.722, allocations: 3.938 kB / 1.049 GB, free: 181 MB / 0.6823 GB Notification: Performance of matching and sorting (n=3) (initialization): time 6.913e-05/1.722, allocations: 45.69 kB / 1.049 GB, free: 180.9 MB / 0.6823 GB Notification: Performance of prepare postOptimizeDAE: time 1.561e-05/1.722, allocations: 4 kB / 1.049 GB, free: 180.9 MB / 0.6823 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.44e-06/1.722, allocations: 4 kB / 1.049 GB, free: 180.9 MB / 0.6823 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.493e-05/1.722, allocations: 0 / 1.049 GB, free: 180.9 MB / 0.6823 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.655e-05/1.722, allocations: 11.88 kB / 1.049 GB, free: 180.9 MB / 0.6823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.236e-06/1.722, allocations: 0 / 1.049 GB, free: 180.9 MB / 0.6823 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.595e-05/1.722, allocations: 15.2 kB / 1.049 GB, free: 180.9 MB / 0.6823 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.897e-06/1.722, allocations: 0 / 1.049 GB, free: 180.9 MB / 0.6823 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 5.129e-05/1.722, allocations: 101 kB / 1.049 GB, free: 180.8 MB / 0.6823 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.763e-05/1.722, allocations: 8.047 kB / 1.049 GB, free: 180.8 MB / 0.6823 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001043/1.722, allocations: 120.4 kB / 1.049 GB, free: 180.7 MB / 0.6823 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.051e-05/1.722, allocations: 180.2 kB / 1.049 GB, free: 180.5 MB / 0.6823 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.454e-05/1.722, allocations: 180.2 kB / 1.049 GB, free: 180.3 MB / 0.6823 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.356e-05/1.722, allocations: 184.3 kB / 1.05 GB, free: 180.1 MB / 0.6823 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001534/1.723, allocations: 412.7 kB / 1.05 GB, free: 179.7 MB / 0.6823 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.042e-05/1.723, allocations: 105 kB / 1.05 GB, free: 179.6 MB / 0.6823 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.834e-05/1.723, allocations: 104.9 kB / 1.05 GB, free: 179.4 MB / 0.6823 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.919e-05/1.723, allocations: 180.3 kB / 1.05 GB, free: 179.3 MB / 0.6823 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.392e-05/1.723, allocations: 183.8 kB / 1.051 GB, free: 179.1 MB / 0.6823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.648e-05/1.723, allocations: 180.2 kB / 1.051 GB, free: 178.9 MB / 0.6823 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.303e-05/1.723, allocations: 184.3 kB / 1.051 GB, free: 178.7 MB / 0.6823 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 8.476e-05/1.723, allocations: 311.1 kB / 1.051 GB, free: 178.4 MB / 0.6823 GB Notification: Performance of postOpt removeConstants (simulation): time 4.309e-05/1.723, allocations: 186 kB / 1.051 GB, free: 178.2 MB / 0.6823 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.789e-05/1.723, allocations: 176.3 kB / 1.052 GB, free: 178 MB / 0.6823 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001088/1.723, allocations: 109 kB / 1.052 GB, free: 177.9 MB / 0.6823 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.904e-05/1.723, allocations: 191.6 kB / 1.052 GB, free: 177.7 MB / 0.6823 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.734e-05/1.723, allocations: 101 kB / 1.052 GB, free: 177.6 MB / 0.6823 GB Notification: Performance of sorting global known variables: time 3.349e-05/1.723, allocations: 79.28 kB / 1.052 GB, free: 177.5 MB / 0.6823 GB Notification: Performance of sort global known variables: time 1.2e-07/1.723, allocations: 0 / 1.052 GB, free: 177.5 MB / 0.6823 GB Notification: Performance of remove unused functions: time 0.0002787/1.724, allocations: 23.56 kB / 1.052 GB, free: 177.5 MB / 0.6823 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.0003969/1.724, allocations: 0.8678 MB / 1.053 GB, free: 176.6 MB / 0.6823 GB Notification: Performance of simCode: created initialization part: time 7.412e-05/1.724, allocations: 7.312 kB / 1.053 GB, free: 176.6 MB / 0.6823 GB Notification: Performance of simCode: created event and clocks part: time 3.256e-06/1.724, allocations: 4 kB / 1.053 GB, free: 176.6 MB / 0.6823 GB Notification: Performance of simCode: created simulation system equations: time 3.026e-06/1.724, allocations: 8.062 kB / 1.053 GB, free: 176.6 MB / 0.6823 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002322/1.724, allocations: 0.5261 MB / 1.053 GB, free: 176 MB / 0.6823 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003158/1.725, allocations: 162.7 kB / 1.054 GB, free: 175.9 MB / 0.6823 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001302/1.725, allocations: 0.6731 MB / 1.054 GB, free: 175.2 MB / 0.6823 GB Notification: Performance of simCode: alias equations: time 5.2e-05/1.725, allocations: 15.92 kB / 1.054 GB, free: 175.1 MB / 0.6823 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.981e-05/1.725, allocations: 7.438 kB / 1.054 GB, free: 175.1 MB / 0.6823 GB Notification: Performance of SimCode: time 5.61e-07/1.725, allocations: 4 kB / 1.054 GB, free: 175.1 MB / 0.6823 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01492/1.74, allocations: 2.115 MB / 1.056 GB, free: 173.2 MB / 0.6823 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001663/1.74, allocations: 170.3 kB / 1.056 GB, free: 172.9 MB / 0.6823 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.529/3.269, allocations: 0 / 1.056 GB, free: 172.9 MB / 0.6823 GB (rm -f IDEAS_dev_IDEAS.Media.Examples.PropyleneGlycolWaterTemperatureEnthalpyInversion.pipe ; mkfifo IDEAS_dev_IDEAS.Media.Examples.PropyleneGlycolWaterTemperatureEnthalpyInversion.pipe ; head -c 1048576 < IDEAS_dev_IDEAS.Media.Examples.PropyleneGlycolWaterTemperatureEnthalpyInversion.pipe >> ../files/IDEAS_dev_IDEAS.Media.Examples.PropyleneGlycolWaterTemperatureEnthalpyInversion.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_IDEAS_dev_IDEAS_Media_Examples_PropyleneGlycolWaterTemperatureEnthalpyInversion_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 IDEAS_dev_IDEAS_Media_Examples_PropyleneGlycolWaterTemperatureEnthalpyInversion.fmu > IDEAS_dev_IDEAS.Media.Examples.PropyleneGlycolWaterTemperatureEnthalpyInversion.pipe 2>&1)