Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr IDEAS_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_IDEAS_Media_Examples_PropyleneGlycolWaterTemperatureEnthalpyInversion",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IDEAS.Media.Examples.PropyleneGlycolWaterTemperatureEnthalpyInversion,fileNamePrefix="IDEAS_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.001171/0.001171, allocations: 174.7 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.724/0.724, 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.605/1.605, allocations: 221.3 MB / 400.4 MB, free: 5.816 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.0009029/0.0009029, allocations: 89.67 kB / 483.3 MB, free: 5.852 MB / 394.7 MB Notification: Performance of FrontEnd - loaded program: time 4.346e-05/4.348e-05, allocations: 3.75 kB / 0.5601 GB, free: 87.87 MB / 442.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1756/0.1757, allocations: 82.3 MB / 0.6405 GB, free: 7.758 MB / 442.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 1.441/1.617, allocations: 397.2 MB / 1.028 GB, free: 225.7 MB / 0.6823 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002463/1.617, allocations: 71.95 kB / 1.028 GB, free: 225.6 MB / 0.6823 GB Notification: Performance of FrontEnd - DAE generated: time 0.03677/1.654, allocations: 19.05 MB / 1.047 GB, free: 206.5 MB / 0.6823 GB Notification: Performance of FrontEnd: time 1.853e-06/1.654, allocations: 4 kB / 1.047 GB, free: 206.5 MB / 0.6823 GB Notification: Performance of Transformations before backend: time 9.367e-06/1.654, allocations: 0 / 1.047 GB, free: 206.5 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.0003471/1.654, allocations: 367.1 kB / 1.047 GB, free: 206.1 MB / 0.6823 GB Notification: Performance of prepare preOptimizeDAE: time 4.841e-05/1.654, allocations: 8.031 kB / 1.047 GB, free: 206.1 MB / 0.6823 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.712e-05/1.654, allocations: 34.56 kB / 1.047 GB, free: 206.1 MB / 0.6823 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.844e-05/1.654, allocations: 7.906 kB / 1.047 GB, free: 206 MB / 0.6823 GB Notification: Performance of preOpt evaluateParameters (simulation): time 9.317e-05/1.655, allocations: 163 kB / 1.048 GB, free: 205.8 MB / 0.6823 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.579e-05/1.655, allocations: 25.7 kB / 1.048 GB, free: 205.8 MB / 0.6823 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.097e-06/1.655, allocations: 8 kB / 1.048 GB, free: 205.8 MB / 0.6823 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001097/1.655, allocations: 37.69 kB / 1.048 GB, free: 205.8 MB / 0.6823 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.006e-05/1.655, allocations: 3.984 kB / 1.048 GB, free: 205.8 MB / 0.6823 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.519e-05/1.655, allocations: 4 kB / 1.048 GB, free: 205.8 MB / 0.6823 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.272e-05/1.655, allocations: 3.938 kB / 1.048 GB, free: 205.8 MB / 0.6823 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.184e-05/1.655, allocations: 11.98 kB / 1.048 GB, free: 205.7 MB / 0.6823 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000384/1.655, allocations: 334 kB / 1.048 GB, free: 205.3 MB / 0.6823 GB Notification: Performance of preOpt comSubExp (simulation): time 3.605e-05/1.655, allocations: 18.58 kB / 1.048 GB, free: 205.3 MB / 0.6823 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.534e-05/1.655, allocations: 4.859 kB / 1.048 GB, free: 205.3 MB / 0.6823 GB Notification: Performance of preOpt evalFunc (simulation): time 6.817e-05/1.655, allocations: 89.17 kB / 1.048 GB, free: 205.2 MB / 0.6823 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.036e-05/1.655, allocations: 38.48 kB / 1.048 GB, free: 205.2 MB / 0.6823 GB Notification: Performance of pre-optimization done (n=1): time 1.242e-06/1.655, allocations: 0 / 1.048 GB, free: 205.2 MB / 0.6823 GB Notification: Performance of matching and sorting (n=1): time 0.0001385/1.656, allocations: 29.7 kB / 1.048 GB, free: 205.1 MB / 0.6823 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.538e-05/1.656, allocations: 59.3 kB / 1.048 GB, free: 205.1 MB / 0.6823 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.303e-05/1.656, allocations: 101 kB / 1.048 GB, free: 204.9 MB / 0.6823 GB Notification: Performance of collectPreVariables (initialization): time 1.076e-05/1.656, allocations: 25.7 kB / 1.048 GB, free: 204.9 MB / 0.6823 GB Notification: Performance of collectInitialEqns (initialization): time 2.658e-05/1.656, allocations: 88.03 kB / 1.048 GB, free: 204.8 MB / 0.6823 GB Notification: Performance of collectInitialBindings (initialization): time 6.422e-06/1.656, allocations: 7.906 kB / 1.048 GB, free: 204.8 MB / 0.6823 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.445e-06/1.656, allocations: 0 / 1.048 GB, free: 204.8 MB / 0.6823 GB Notification: Performance of setup shared object (initialization): time 5.018e-05/1.656, allocations: 314.8 kB / 1.049 GB, free: 204.5 MB / 0.6823 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.25e-05/1.656, allocations: 4 kB / 1.049 GB, free: 204.5 MB / 0.6823 GB Notification: Performance of partitionIndependentBlocks (initialization): time 1.716e-05/1.656, allocations: 13.72 kB / 1.049 GB, free: 204.5 MB / 0.6823 GB Notification: Performance of analyzeInitialSystem (initialization): time 1.954e-05/1.656, allocations: 11.92 kB / 1.049 GB, free: 204.5 MB / 0.6823 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.834e-06/1.656, allocations: 4 kB / 1.049 GB, free: 204.5 MB / 0.6823 GB Notification: Performance of matching and sorting (n=3) (initialization): time 6.842e-05/1.656, allocations: 41.7 kB / 1.049 GB, free: 204.4 MB / 0.6823 GB Notification: Performance of prepare postOptimizeDAE: time 1.523e-05/1.656, allocations: 4.781 kB / 1.049 GB, free: 204.4 MB / 0.6823 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.012e-06/1.656, allocations: 3.984 kB / 1.049 GB, free: 204.4 MB / 0.6823 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.848e-05/1.656, allocations: 4 kB / 1.049 GB, free: 204.4 MB / 0.6823 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.609e-05/1.656, allocations: 7.938 kB / 1.049 GB, free: 204.4 MB / 0.6823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.206e-06/1.656, allocations: 8 kB / 1.049 GB, free: 204.4 MB / 0.6823 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.206e-05/1.656, allocations: 11.89 kB / 1.049 GB, free: 204.4 MB / 0.6823 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.668e-06/1.656, allocations: 4 kB / 1.049 GB, free: 204.4 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 4.456e-05/1.656, allocations: 101 kB / 1.049 GB, free: 204.3 MB / 0.6823 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.447e-05/1.656, allocations: 0 / 1.049 GB, free: 204.3 MB / 0.6823 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 9.775e-05/1.656, allocations: 121 kB / 1.049 GB, free: 204.1 MB / 0.6823 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.592e-05/1.656, allocations: 180.2 kB / 1.049 GB, free: 204 MB / 0.6823 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.976e-05/1.656, allocations: 184.3 kB / 1.049 GB, free: 203.8 MB / 0.6823 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.877e-05/1.656, allocations: 180.3 kB / 1.05 GB, free: 203.6 MB / 0.6823 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001757/1.657, allocations: 413.1 kB / 1.05 GB, free: 203.1 MB / 0.6823 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.614e-05/1.657, allocations: 101 kB / 1.05 GB, free: 203 MB / 0.6823 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.626e-05/1.657, allocations: 108.9 kB / 1.05 GB, free: 202.9 MB / 0.6823 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.894e-05/1.657, allocations: 184.3 kB / 1.05 GB, free: 202.7 MB / 0.6823 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.896e-05/1.657, allocations: 180.3 kB / 1.051 GB, free: 202.5 MB / 0.6823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.5e-05/1.657, allocations: 180.2 kB / 1.051 GB, free: 202.4 MB / 0.6823 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.939e-05/1.657, allocations: 176.3 kB / 1.051 GB, free: 202.2 MB / 0.6823 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 8.173e-05/1.657, allocations: 319.6 kB / 1.051 GB, free: 201.8 MB / 0.6823 GB Notification: Performance of postOpt removeConstants (simulation): time 4.061e-05/1.657, allocations: 186 kB / 1.051 GB, free: 201.6 MB / 0.6823 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.622e-05/1.657, allocations: 180.2 kB / 1.052 GB, free: 201.4 MB / 0.6823 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001138/1.657, allocations: 105 kB / 1.052 GB, free: 201.3 MB / 0.6823 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.232e-05/1.657, allocations: 184.2 kB / 1.052 GB, free: 201.1 MB / 0.6823 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.589e-05/1.657, allocations: 105 kB / 1.052 GB, free: 201 MB / 0.6823 GB Notification: Performance of sorting global known variables: time 3.341e-05/1.657, allocations: 87.27 kB / 1.052 GB, free: 201 MB / 0.6823 GB Notification: Performance of sort global known variables: time 1.8e-07/1.657, allocations: 0 / 1.052 GB, free: 201 MB / 0.6823 GB Notification: Performance of remove unused functions: time 0.0002691/1.657, allocations: 20 kB / 1.052 GB, free: 200.9 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.000396/1.658, allocations: 0.8762 MB / 1.053 GB, free: 200 MB / 0.6823 GB Notification: Performance of simCode: created initialization part: time 6.331e-05/1.658, allocations: 4 kB / 1.053 GB, free: 200 MB / 0.6823 GB Notification: Performance of simCode: created event and clocks part: time 2.514e-06/1.658, allocations: 0 / 1.053 GB, free: 200 MB / 0.6823 GB Notification: Performance of simCode: created simulation system equations: time 1.613e-06/1.658, allocations: 0 / 1.053 GB, free: 200 MB / 0.6823 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002477/1.658, allocations: 0.5363 MB / 1.053 GB, free: 199.5 MB / 0.6823 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003093/1.659, allocations: 162.7 kB / 1.054 GB, free: 199.3 MB / 0.6823 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001366/1.659, allocations: 0.677 MB / 1.054 GB, free: 198.6 MB / 0.6823 GB Notification: Performance of simCode: alias equations: time 5.002e-05/1.659, allocations: 5.875 kB / 1.054 GB, free: 198.6 MB / 0.6823 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.076e-05/1.659, allocations: 15.42 kB / 1.054 GB, free: 198.6 MB / 0.6823 GB Notification: Performance of SimCode: time 2.51e-07/1.659, allocations: 0 / 1.054 GB, free: 198.6 MB / 0.6823 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01329/1.672, allocations: 2.119 MB / 1.056 GB, free: 196.6 MB / 0.6823 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001566/1.672, allocations: 164.2 kB / 1.056 GB, free: 196.4 MB / 0.6823 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.533/3.205, allocations: 0 / 1.056 GB, free: 196.4 MB / 0.6823 GB (rm -f IDEAS_IDEAS.Media.Examples.PropyleneGlycolWaterTemperatureEnthalpyInversion.pipe ; mkfifo IDEAS_IDEAS.Media.Examples.PropyleneGlycolWaterTemperatureEnthalpyInversion.pipe ; head -c 1048576 < IDEAS_IDEAS.Media.Examples.PropyleneGlycolWaterTemperatureEnthalpyInversion.pipe >> ../files/IDEAS_IDEAS.Media.Examples.PropyleneGlycolWaterTemperatureEnthalpyInversion.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_IDEAS_IDEAS_Media_Examples_PropyleneGlycolWaterTemperatureEnthalpyInversion_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 IDEAS_IDEAS_Media_Examples_PropyleneGlycolWaterTemperatureEnthalpyInversion.fmu > IDEAS_IDEAS.Media.Examples.PropyleneGlycolWaterTemperatureEnthalpyInversion.pipe 2>&1)