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.0108/0.0108, allocations: 171.1 kB / 15.11 MB, free: 5.992 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 1.124/1.124, allocations: 135.2 MB / 151 MB, free: 13.84 MB / 122.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 2.204/2.204, allocations: 223.2 MB / 406.8 MB, free: 3.203 MB / 330.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001126/0.001126, allocations: 107.6 kB / 489.9 MB, free: 10.89 MB / 362.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003811/0.0003811, allocations: 8 kB / 0.5691 GB, free: 14.06 MB / 458.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4512/0.4516, allocations: 82.31 MB / 0.6495 GB, free: 36.11 MB / 458.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.7699/1.222, allocations: 397.3 MB / 1.037 GB, free: 9.66 MB / 0.6823 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002062/1.222, allocations: 68.66 kB / 1.038 GB, free: 9.625 MB / 0.6823 GB Notification: Performance of FrontEnd - DAE generated: time 0.3809/1.603, allocations: 19.11 MB / 1.056 GB, free: 264.8 MB / 0.6823 GB Notification: Performance of FrontEnd: time 1.343e-06/1.603, allocations: 3.938 kB / 1.056 GB, free: 264.7 MB / 0.6823 GB Notification: Performance of Transformations before backend: time 7.534e-06/1.603, allocations: 4 kB / 1.056 GB, free: 264.7 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.0003409/1.603, allocations: 364.7 kB / 1.057 GB, free: 264.4 MB / 0.6823 GB Notification: Performance of prepare preOptimizeDAE: time 4.409e-05/1.603, allocations: 9.062 kB / 1.057 GB, free: 264.4 MB / 0.6823 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.112e-05/1.603, allocations: 33.78 kB / 1.057 GB, free: 264.3 MB / 0.6823 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.928e-05/1.603, allocations: 4.594 kB / 1.057 GB, free: 264.3 MB / 0.6823 GB Notification: Performance of preOpt evaluateParameters (simulation): time 7.057e-05/1.603, allocations: 168.1 kB / 1.057 GB, free: 264.1 MB / 0.6823 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.399e-05/1.603, allocations: 27.27 kB / 1.057 GB, free: 264.1 MB / 0.6823 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.704e-06/1.603, allocations: 1.125 kB / 1.057 GB, free: 264.1 MB / 0.6823 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001202/1.604, allocations: 48.88 kB / 1.057 GB, free: 264.1 MB / 0.6823 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.893e-06/1.604, allocations: 0 / 1.057 GB, free: 264.1 MB / 0.6823 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.307e-06/1.604, allocations: 0.6875 kB / 1.057 GB, free: 264.1 MB / 0.6823 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.685e-05/1.604, allocations: 1.281 kB / 1.057 GB, free: 264.1 MB / 0.6823 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.489e-05/1.604, allocations: 14.53 kB / 1.057 GB, free: 264.1 MB / 0.6823 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003659/1.604, allocations: 331.6 kB / 1.057 GB, free: 263.7 MB / 0.6823 GB Notification: Performance of preOpt comSubExp (simulation): time 3.154e-05/1.604, allocations: 20.8 kB / 1.057 GB, free: 263.7 MB / 0.6823 GB Notification: Performance of preOpt evalFunc (simulation): time 6.373e-05/1.604, allocations: 86.11 kB / 1.057 GB, free: 263.6 MB / 0.6823 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.744e-05/1.604, allocations: 42.97 kB / 1.057 GB, free: 263.5 MB / 0.6823 GB Notification: Performance of pre-optimization done (n=1): time 1.352e-06/1.604, allocations: 0 / 1.057 GB, free: 263.5 MB / 0.6823 GB Notification: Performance of matching and sorting (n=1): time 0.0001344/1.604, allocations: 31.77 kB / 1.057 GB, free: 263.5 MB / 0.6823 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.662e-05/1.604, allocations: 56.08 kB / 1.057 GB, free: 263.4 MB / 0.6823 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.577e-05/1.604, allocations: 102.1 kB / 1.057 GB, free: 263.3 MB / 0.6823 GB Notification: Performance of collectPreVariables (initialization): time 1.07e-05/1.604, allocations: 29.83 kB / 1.058 GB, free: 263.3 MB / 0.6823 GB Notification: Performance of collectInitialEqns (initialization): time 2.819e-05/1.604, allocations: 85.52 kB / 1.058 GB, free: 263.2 MB / 0.6823 GB Notification: Performance of collectInitialBindings (initialization): time 6.171e-06/1.604, allocations: 5.812 kB / 1.058 GB, free: 263.2 MB / 0.6823 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.296e-06/1.604, allocations: 1.75 kB / 1.058 GB, free: 263.2 MB / 0.6823 GB Notification: Performance of setup shared object (initialization): time 4.945e-05/1.605, allocations: 310.8 kB / 1.058 GB, free: 262.9 MB / 0.6823 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.403e-05/1.605, allocations: 10.2 kB / 1.058 GB, free: 262.9 MB / 0.6823 GB Notification: Performance of partitionIndependentBlocks (initialization): time 1.885e-05/1.605, allocations: 16.53 kB / 1.058 GB, free: 262.9 MB / 0.6823 GB Notification: Performance of analyzeInitialSystem (initialization): time 2.07e-05/1.605, allocations: 14.53 kB / 1.058 GB, free: 262.9 MB / 0.6823 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.954e-06/1.605, allocations: 0.5625 kB / 1.058 GB, free: 262.9 MB / 0.6823 GB Notification: Performance of matching and sorting (n=3) (initialization): time 6.896e-05/1.605, allocations: 46.09 kB / 1.058 GB, free: 262.8 MB / 0.6823 GB Notification: Performance of prepare postOptimizeDAE: time 1.649e-05/1.605, allocations: 5.5 kB / 1.058 GB, free: 262.8 MB / 0.6823 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.999e-06/1.605, allocations: 0 / 1.058 GB, free: 262.8 MB / 0.6823 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.193e-05/1.605, allocations: 0.75 kB / 1.058 GB, free: 262.8 MB / 0.6823 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.615e-05/1.605, allocations: 12.69 kB / 1.058 GB, free: 262.8 MB / 0.6823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.931e-06/1.605, allocations: 1.812 kB / 1.058 GB, free: 262.8 MB / 0.6823 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.067e-05/1.605, allocations: 4.547 kB / 1.058 GB, free: 262.8 MB / 0.6823 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.526e-06/1.605, allocations: 5.562 kB / 1.058 GB, free: 262.8 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 () * 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 8.312e-05/1.605, allocations: 109 kB / 1.058 GB, free: 262.7 MB / 0.6823 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.511e-05/1.605, allocations: 1.375 kB / 1.058 GB, free: 262.7 MB / 0.6823 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 9.286e-05/1.605, allocations: 129.9 kB / 1.058 GB, free: 262.6 MB / 0.6823 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.694e-05/1.605, allocations: 187.1 kB / 1.058 GB, free: 262.4 MB / 0.6823 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.018e-05/1.605, allocations: 177.3 kB / 1.059 GB, free: 262.2 MB / 0.6823 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.756e-05/1.605, allocations: 185 kB / 1.059 GB, free: 262 MB / 0.6823 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001392/1.605, allocations: 407.6 kB / 1.059 GB, free: 261.6 MB / 0.6823 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.694e-05/1.605, allocations: 102.5 kB / 1.059 GB, free: 261.5 MB / 0.6823 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.835e-05/1.605, allocations: 108.9 kB / 1.059 GB, free: 261.4 MB / 0.6823 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.9e-05/1.605, allocations: 183.9 kB / 1.06 GB, free: 261.2 MB / 0.6823 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.054e-05/1.605, allocations: 185.5 kB / 1.06 GB, free: 261 MB / 0.6823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.9e-05/1.605, allocations: 177.6 kB / 1.06 GB, free: 260.8 MB / 0.6823 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.504e-05/1.606, allocations: 180.1 kB / 1.06 GB, free: 260.6 MB / 0.6823 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 7.636e-05/1.606, allocations: 308 kB / 1.06 GB, free: 260.3 MB / 0.6823 GB Notification: Performance of postOpt removeConstants (simulation): time 3.565e-05/1.606, allocations: 193.8 kB / 1.061 GB, free: 260.1 MB / 0.6823 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.161e-05/1.606, allocations: 185.5 kB / 1.061 GB, free: 259.9 MB / 0.6823 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001184/1.606, allocations: 104.4 kB / 1.061 GB, free: 259.8 MB / 0.6823 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.324e-05/1.606, allocations: 180.8 kB / 1.061 GB, free: 259.7 MB / 0.6823 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.667e-05/1.606, allocations: 106 kB / 1.061 GB, free: 259.5 MB / 0.6823 GB Notification: Performance of sorting global known variables: time 3.591e-05/1.606, allocations: 88.42 kB / 1.061 GB, free: 259.5 MB / 0.6823 GB Notification: Performance of sort global known variables: time 1.4e-07/1.606, allocations: 0 / 1.061 GB, free: 259.5 MB / 0.6823 GB Notification: Performance of remove unused functions: time 0.0002756/1.606, allocations: 20.75 kB / 1.061 GB, free: 259.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 () * 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.0004003/1.607, allocations: 0.8636 MB / 1.062 GB, free: 258.6 MB / 0.6823 GB Notification: Performance of simCode: created initialization part: time 6.435e-05/1.607, allocations: 9.375 kB / 1.062 GB, free: 258.6 MB / 0.6823 GB Notification: Performance of simCode: created event and clocks part: time 1.823e-06/1.607, allocations: 0 / 1.062 GB, free: 258.6 MB / 0.6823 GB Notification: Performance of simCode: created simulation system equations: time 2.014e-06/1.607, allocations: 3.938 kB / 1.062 GB, free: 258.6 MB / 0.6823 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002195/1.607, allocations: 0.5269 MB / 1.063 GB, free: 258.1 MB / 0.6823 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003358/1.607, allocations: 227.6 kB / 1.063 GB, free: 257.9 MB / 0.6823 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001029/1.607, allocations: 0.677 MB / 1.063 GB, free: 257.2 MB / 0.6823 GB Notification: Performance of simCode: alias equations: time 4.099e-05/1.607, allocations: 4.969 kB / 1.063 GB, free: 257.2 MB / 0.6823 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.293e-05/1.607, allocations: 11.81 kB / 1.063 GB, free: 257.2 MB / 0.6823 GB Notification: Performance of SimCode: time 3.136e-06/1.607, allocations: 0 / 1.063 GB, free: 257.2 MB / 0.6823 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01274/1.62, allocations: 2.011 MB / 1.065 GB, free: 257 MB / 0.6823 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001294/1.62, allocations: 192.7 kB / 1.066 GB, free: 256.7 MB / 0.6823 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.586/3.206, allocations: 4 kB / 1.066 GB, free: 256.7 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)