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.001679/0.001679, allocations: 180.9 kB / 7.651 MB, free: 1.422 MB / 5.871 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 0.964/0.964, allocations: 133.6 MB / 141.6 MB, free: 2.836 MB / 106.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.579/1.579, allocations: 221.5 MB / 395.5 MB, free: 10.76 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.0009315/0.0009319, allocations: 101.8 kB / 478.2 MB, free: 1.293 MB / 346.7 MB Notification: Performance of FrontEnd - loaded program: time 2.041e-05/2.033e-05, allocations: 0 / 0.5535 GB, free: 8.945 MB / 442.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5602/0.5602, allocations: 82.3 MB / 0.6339 GB, free: 40.74 MB / 458.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.9577/1.518, allocations: 396.5 MB / 1.021 GB, free: 5.32 MB / 0.6511 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002951/1.518, allocations: 72.7 kB / 1.021 GB, free: 5.285 MB / 0.6511 GB Notification: Performance of FrontEnd - DAE generated: time 0.04372/1.562, allocations: 18.95 MB / 1.04 GB, free: 6.059 MB / 0.6667 GB Notification: Performance of FrontEnd: time 2.364e-06/1.562, allocations: 3.938 kB / 1.04 GB, free: 6.055 MB / 0.6667 GB Notification: Performance of Transformations before backend: time 1.017e-05/1.562, allocations: 4 kB / 1.04 GB, free: 6.051 MB / 0.6667 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.0004887/1.563, allocations: 361.7 kB / 1.04 GB, free: 5.656 MB / 0.6667 GB Notification: Performance of prepare preOptimizeDAE: time 5.981e-05/1.563, allocations: 8.031 kB / 1.04 GB, free: 5.648 MB / 0.6667 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.114e-05/1.563, allocations: 7.906 kB / 1.04 GB, free: 5.641 MB / 0.6667 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001548/1.563, allocations: 167 kB / 1.04 GB, free: 5.438 MB / 0.6667 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.217e-05/1.563, allocations: 25.7 kB / 1.04 GB, free: 5.406 MB / 0.6667 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.241e-05/1.563, allocations: 4 kB / 1.04 GB, free: 5.402 MB / 0.6667 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 7.988e-05/1.563, allocations: 11.62 kB / 1.04 GB, free: 5.395 MB / 0.6667 GB Notification: Performance of preOpt clockPartitioning (simulation): time 8.475e-05/1.563, allocations: 45.19 kB / 1.04 GB, free: 5.348 MB / 0.6667 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.525e-06/1.563, allocations: 0 / 1.04 GB, free: 5.348 MB / 0.6667 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.476e-05/1.563, allocations: 4 kB / 1.04 GB, free: 5.344 MB / 0.6667 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.996e-05/1.563, allocations: 3.984 kB / 1.04 GB, free: 5.34 MB / 0.6667 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004415/1.564, allocations: 305.7 kB / 1.041 GB, free: 4.992 MB / 0.6667 GB Notification: Performance of preOpt comSubExp (simulation): time 3.649e-05/1.564, allocations: 18.58 kB / 1.041 GB, free: 4.965 MB / 0.6667 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.511e-05/1.564, allocations: 8.859 kB / 1.041 GB, free: 4.953 MB / 0.6667 GB Notification: Performance of preOpt evalFunc (simulation): time 8.927e-05/1.564, allocations: 85.16 kB / 1.041 GB, free: 4.852 MB / 0.6667 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.08e-05/1.564, allocations: 30.56 kB / 1.041 GB, free: 4.812 MB / 0.6667 GB Notification: Performance of pre-optimization done (n=1): time 1.022e-06/1.564, allocations: 7.938 kB / 1.041 GB, free: 4.805 MB / 0.6667 GB Notification: Performance of matching and sorting (n=1): time 0.0001849/1.564, allocations: 33.69 kB / 1.041 GB, free: 4.766 MB / 0.6667 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.336e-05/1.564, allocations: 51.41 kB / 1.041 GB, free: 4.703 MB / 0.6667 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.86e-05/1.564, allocations: 96.42 kB / 1.041 GB, free: 4.602 MB / 0.6667 GB Notification: Performance of collectPreVariables (initialization): time 1.472e-05/1.564, allocations: 29.73 kB / 1.041 GB, free: 4.566 MB / 0.6667 GB Notification: Performance of collectInitialEqns (initialization): time 4.681e-05/1.564, allocations: 91.92 kB / 1.041 GB, free: 4.477 MB / 0.6667 GB Notification: Performance of collectInitialBindings (initialization): time 6.382e-06/1.564, allocations: 3.906 kB / 1.041 GB, free: 4.473 MB / 0.6667 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.025e-06/1.564, allocations: 0 / 1.041 GB, free: 4.473 MB / 0.6667 GB Notification: Performance of setup shared object (initialization): time 0.0001367/1.564, allocations: 314.8 kB / 1.041 GB, free: 4.156 MB / 0.6667 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.332e-05/1.564, allocations: 4 kB / 1.041 GB, free: 4.152 MB / 0.6667 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.825e-05/1.565, allocations: 21.52 kB / 1.041 GB, free: 4.129 MB / 0.6667 GB Notification: Performance of analyzeInitialSystem (initialization): time 5.512e-05/1.565, allocations: 8 kB / 1.041 GB, free: 4.121 MB / 0.6667 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.683e-06/1.565, allocations: 0 / 1.041 GB, free: 4.121 MB / 0.6667 GB Notification: Performance of matching and sorting (n=3) (initialization): time 0.0001436/1.565, allocations: 49.62 kB / 1.041 GB, free: 4.066 MB / 0.6667 GB Notification: Performance of prepare postOptimizeDAE: time 1.676e-05/1.565, allocations: 4 kB / 1.041 GB, free: 4.062 MB / 0.6667 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.881e-06/1.565, allocations: 0 / 1.041 GB, free: 4.062 MB / 0.6667 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.44e-05/1.565, allocations: 0 / 1.041 GB, free: 4.062 MB / 0.6667 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.245e-05/1.565, allocations: 11.98 kB / 1.041 GB, free: 4.051 MB / 0.6667 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.564e-06/1.565, allocations: 0 / 1.041 GB, free: 4.051 MB / 0.6667 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.336e-05/1.565, allocations: 11.88 kB / 1.041 GB, free: 4.039 MB / 0.6667 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.526e-06/1.565, allocations: 0 / 1.041 GB, free: 4.039 MB / 0.6667 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 9.837e-05/1.565, allocations: 113 kB / 1.042 GB, free: 3.922 MB / 0.6667 GB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 8.169e-05/1.565, allocations: 37.02 kB / 1.042 GB, free: 3.883 MB / 0.6667 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.955e-05/1.565, allocations: 4 kB / 1.042 GB, free: 3.879 MB / 0.6667 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001339/1.565, allocations: 121.5 kB / 1.042 GB, free: 3.75 MB / 0.6667 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.479e-05/1.565, allocations: 180.2 kB / 1.042 GB, free: 3.566 MB / 0.6667 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.482e-05/1.565, allocations: 184.2 kB / 1.042 GB, free: 3.379 MB / 0.6667 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.262e-05/1.566, allocations: 184.1 kB / 1.042 GB, free: 3.195 MB / 0.6667 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00027/1.566, allocations: 385.7 kB / 1.043 GB, free: 2.773 MB / 0.6667 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.999e-05/1.566, allocations: 105 kB / 1.043 GB, free: 2.664 MB / 0.6667 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.223e-05/1.566, allocations: 101 kB / 1.043 GB, free: 2.559 MB / 0.6667 GB Notification: Performance of postOpt tearingSystem (simulation): time 8.214e-05/1.566, allocations: 184.2 kB / 1.043 GB, free: 2.371 MB / 0.6667 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.881e-05/1.566, allocations: 184 kB / 1.043 GB, free: 2.188 MB / 0.6667 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.518e-05/1.566, allocations: 180.3 kB / 1.043 GB, free: 2.004 MB / 0.6667 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.041e-05/1.566, allocations: 184.2 kB / 1.044 GB, free: 1.816 MB / 0.6667 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001871/1.567, allocations: 299.8 kB / 1.044 GB, free: 1.5 MB / 0.6667 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001094/1.567, allocations: 197.8 kB / 1.044 GB, free: 1.285 MB / 0.6667 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001002/1.567, allocations: 176.3 kB / 1.044 GB, free: 1.105 MB / 0.6667 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001547/1.567, allocations: 105 kB / 1.044 GB, free: 0.9961 MB / 0.6667 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.373e-05/1.567, allocations: 180.2 kB / 1.044 GB, free: 0.8125 MB / 0.6667 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.854e-05/1.567, allocations: 109 kB / 1.045 GB, free: 0.6992 MB / 0.6667 GB Notification: Performance of sorting global known variables: time 5.583e-05/1.567, allocations: 82.47 kB / 1.045 GB, free: 0.6211 MB / 0.6667 GB Notification: Performance of sort global known variables: time 1.5e-07/1.567, allocations: 4 kB / 1.045 GB, free: 0.6172 MB / 0.6667 GB Notification: Performance of remove unused functions: time 0.0003043/1.567, allocations: 16 kB / 1.045 GB, free: 0.6016 MB / 0.6667 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.0007546/1.568, allocations: 0.8671 MB / 1.046 GB, free: 15.71 MB / 0.6823 GB Notification: Performance of simCode: created initialization part: time 8.824e-05/1.568, allocations: 8 kB / 1.046 GB, free: 15.71 MB / 0.6823 GB Notification: Performance of simCode: created event and clocks part: time 3.106e-06/1.568, allocations: 0 / 1.046 GB, free: 15.71 MB / 0.6823 GB Notification: Performance of simCode: created simulation system equations: time 1.322e-06/1.568, allocations: 0 / 1.046 GB, free: 15.71 MB / 0.6823 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004709/1.569, allocations: 0.5316 MB / 1.046 GB, free: 15.18 MB / 0.6823 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000417/1.569, allocations: 161.1 kB / 1.046 GB, free: 14.98 MB / 0.6823 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003612/1.57, allocations: 0.6768 MB / 1.047 GB, free: 14.28 MB / 0.6823 GB Notification: Performance of simCode: alias equations: time 4.887e-05/1.57, allocations: 12.2 kB / 1.047 GB, free: 14.27 MB / 0.6823 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.45e-05/1.57, allocations: 11.44 kB / 1.047 GB, free: 14.25 MB / 0.6823 GB Notification: Performance of SimCode: time 2.41e-07/1.57, allocations: 0 / 1.047 GB, free: 14.25 MB / 0.6823 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02222/1.592, allocations: 1.32 MB / 1.048 GB, free: 12.95 MB / 0.6823 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002425/1.592, allocations: 155.6 kB / 1.048 GB, free: 12.76 MB / 0.6823 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.582/3.174, allocations: 4 kB / 1.048 GB, free: 12.75 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)