Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr IDEAS_dev_IDEAS.Media.Examples.PropyleneGlycolWaterProperties.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.PropyleneGlycolWaterProperties,fileNamePrefix="IDEAS_dev_IDEAS_Media_Examples_PropyleneGlycolWaterProperties",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IDEAS.Media.Examples.PropyleneGlycolWaterProperties,fileNamePrefix="IDEAS_dev_IDEAS_Media_Examples_PropyleneGlycolWaterProperties",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.001364/0.001365, allocations: 174.6 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.751/0.751, 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.748/1.748, allocations: 221.3 MB / 400.4 MB, free: 5.848 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.0009927/0.0009927, allocations: 100.6 kB / 483.3 MB, free: 5.895 MB / 394.7 MB Notification: Performance of FrontEnd - loaded program: time 4.118e-05/4.12e-05, allocations: 2.875 kB / 0.5601 GB, free: 87.9 MB / 442.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1945/0.1945, allocations: 82.31 MB / 0.6405 GB, free: 7.742 MB / 442.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 1.447/1.641, allocations: 400.5 MB / 1.032 GB, free: 222.5 MB / 0.6823 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002397/1.642, allocations: 72.58 kB / 1.032 GB, free: 222.4 MB / 0.6823 GB Notification: Performance of FrontEnd - DAE generated: time 0.05529/1.697, allocations: 25.91 MB / 1.057 GB, free: 196.4 MB / 0.6823 GB Notification: Performance of FrontEnd: time 2.424e-06/1.697, allocations: 0 / 1.057 GB, free: 196.4 MB / 0.6823 GB Notification: Performance of Transformations before backend: time 1.945e-05/1.697, allocations: 0 / 1.057 GB, free: 196.4 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: 39 * Number of variables: 39 Notification: Performance of Generate backend data structure: time 0.000988/1.698, allocations: 0.4946 MB / 1.057 GB, free: 195.8 MB / 0.6823 GB Notification: Performance of prepare preOptimizeDAE: time 6.522e-05/1.698, allocations: 8.031 kB / 1.057 GB, free: 195.8 MB / 0.6823 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 8.206e-05/1.698, allocations: 54.53 kB / 1.057 GB, free: 195.8 MB / 0.6823 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002092/1.699, allocations: 19.81 kB / 1.058 GB, free: 195.7 MB / 0.6823 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002763/1.699, allocations: 210.8 kB / 1.058 GB, free: 195.5 MB / 0.6823 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.257e-05/1.699, allocations: 16.33 kB / 1.058 GB, free: 195.5 MB / 0.6823 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.465e-05/1.699, allocations: 12 kB / 1.058 GB, free: 195.5 MB / 0.6823 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004283/1.699, allocations: 237 kB / 1.058 GB, free: 195.2 MB / 0.6823 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.559e-05/1.699, allocations: 4 kB / 1.058 GB, free: 195.2 MB / 0.6823 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.664e-05/1.699, allocations: 8 kB / 1.058 GB, free: 195.2 MB / 0.6823 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.416e-05/1.699, allocations: 8 kB / 1.058 GB, free: 195.2 MB / 0.6823 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004321/1.7, allocations: 423.4 kB / 1.058 GB, free: 194.8 MB / 0.6823 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001126/1.701, allocations: 1.043 MB / 1.059 GB, free: 193.6 MB / 0.6823 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003082/1.701, allocations: 155.1 kB / 1.06 GB, free: 193.5 MB / 0.6823 GB Notification: Performance of preOpt resolveLoops (simulation): time 9.537e-05/1.701, allocations: 60.86 kB / 1.06 GB, free: 193.4 MB / 0.6823 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001177/1.703, allocations: 1.934 MB / 1.062 GB, free: 191.1 MB / 0.6823 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.327e-05/1.703, allocations: 42.52 kB / 1.062 GB, free: 191.1 MB / 0.6823 GB Notification: Performance of pre-optimization done (n=15): time 2.855e-06/1.703, allocations: 7.922 kB / 1.062 GB, free: 191.1 MB / 0.6823 GB Notification: Performance of matching and sorting (n=15): time 0.0002773/1.703, allocations: 118.7 kB / 1.062 GB, free: 190.9 MB / 0.6823 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.667e-05/1.703, allocations: 55.41 kB / 1.062 GB, free: 190.9 MB / 0.6823 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000122/1.703, allocations: 144.6 kB / 1.062 GB, free: 190.7 MB / 0.6823 GB Notification: Performance of collectPreVariables (initialization): time 1.75e-05/1.703, allocations: 25.7 kB / 1.062 GB, free: 190.7 MB / 0.6823 GB Notification: Performance of collectInitialEqns (initialization): time 5.567e-05/1.703, allocations: 147.7 kB / 1.062 GB, free: 190.5 MB / 0.6823 GB Notification: Performance of collectInitialBindings (initialization): time 2.84e-05/1.703, allocations: 59.19 kB / 1.062 GB, free: 190.5 MB / 0.6823 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.795e-06/1.703, allocations: 8 kB / 1.062 GB, free: 190.5 MB / 0.6823 GB Notification: Performance of setup shared object (initialization): time 5.946e-05/1.703, allocations: 322.8 kB / 1.062 GB, free: 190.2 MB / 0.6823 GB Notification: Performance of preBalanceInitialSystem (initialization): time 6.012e-05/1.703, allocations: 36.48 kB / 1.062 GB, free: 190.1 MB / 0.6823 GB Notification: Performance of partitionIndependentBlocks (initialization): time 9.787e-05/1.704, allocations: 133.7 kB / 1.063 GB, free: 189.9 MB / 0.6823 GB Notification: Performance of analyzeInitialSystem (initialization): time 9.42e-05/1.704, allocations: 61.31 kB / 1.063 GB, free: 189.9 MB / 0.6823 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.146e-06/1.704, allocations: 0 / 1.063 GB, free: 189.9 MB / 0.6823 GB Notification: Performance of matching and sorting (n=30) (initialization): time 0.0002886/1.704, allocations: 210.9 kB / 1.063 GB, free: 189.7 MB / 0.6823 GB Notification: Performance of prepare postOptimizeDAE: time 2.016e-05/1.704, allocations: 8 kB / 1.063 GB, free: 189.7 MB / 0.6823 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.105e-06/1.704, allocations: 7.938 kB / 1.063 GB, free: 189.7 MB / 0.6823 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.818e-05/1.704, allocations: 7.953 kB / 1.063 GB, free: 189.6 MB / 0.6823 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000165/1.704, allocations: 59.91 kB / 1.063 GB, free: 189.6 MB / 0.6823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.681e-05/1.704, allocations: 7.938 kB / 1.063 GB, free: 189.6 MB / 0.6823 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001371/1.704, allocations: 36.16 kB / 1.063 GB, free: 189.5 MB / 0.6823 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.757e-05/1.704, allocations: 8 kB / 1.063 GB, free: 189.5 MB / 0.6823 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 16 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (30): * Single equations (assignments): 29 * Array equations: 1 * 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.041e-05/1.704, allocations: 121.9 kB / 1.063 GB, free: 189.4 MB / 0.6823 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.076e-05/1.705, allocations: 11.91 kB / 1.063 GB, free: 189.4 MB / 0.6823 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002885/1.705, allocations: 158.9 kB / 1.063 GB, free: 189.2 MB / 0.6823 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.089e-05/1.705, allocations: 7.953 kB / 1.063 GB, free: 189.2 MB / 0.6823 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.73e-06/1.705, allocations: 0 / 1.063 GB, free: 189.2 MB / 0.6823 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.26e-06/1.705, allocations: 4 kB / 1.063 GB, free: 189.2 MB / 0.6823 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002211/1.705, allocations: 225.4 kB / 1.063 GB, free: 189 MB / 0.6823 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.124e-06/1.705, allocations: 0 / 1.063 GB, free: 189 MB / 0.6823 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001038/1.705, allocations: 23.98 kB / 1.063 GB, free: 188.9 MB / 0.6823 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.017e-06/1.705, allocations: 4 kB / 1.063 GB, free: 188.9 MB / 0.6823 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.32e-05/1.705, allocations: 4 kB / 1.063 GB, free: 188.9 MB / 0.6823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.577e-06/1.705, allocations: 3.984 kB / 1.063 GB, free: 188.9 MB / 0.6823 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.335e-06/1.705, allocations: 3.953 kB / 1.063 GB, free: 188.9 MB / 0.6823 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002157/1.705, allocations: 213.8 kB / 1.064 GB, free: 188.7 MB / 0.6823 GB Notification: Performance of postOpt removeConstants (simulation): time 7.986e-05/1.706, allocations: 120.8 kB / 1.064 GB, free: 188.6 MB / 0.6823 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.775e-05/1.706, allocations: 0 / 1.064 GB, free: 188.6 MB / 0.6823 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001797/1.706, allocations: 19.98 kB / 1.064 GB, free: 188.5 MB / 0.6823 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.494e-05/1.706, allocations: 11.98 kB / 1.064 GB, free: 188.5 MB / 0.6823 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.804e-05/1.706, allocations: 15.94 kB / 1.064 GB, free: 188.5 MB / 0.6823 GB Notification: Performance of sorting global known variables: time 6.344e-05/1.706, allocations: 119.9 kB / 1.064 GB, free: 188.4 MB / 0.6823 GB Notification: Performance of sort global known variables: time 1.31e-07/1.706, allocations: 0 / 1.064 GB, free: 188.4 MB / 0.6823 GB Notification: Performance of remove unused functions: time 0.0004085/1.706, allocations: 91.94 kB / 1.064 GB, free: 188.3 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 (15): * Single equations (assignments): 14 * Array equations: 1 * 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.0006845/1.707, allocations: 0.8634 MB / 1.065 GB, free: 187.4 MB / 0.6823 GB Notification: Performance of simCode: created initialization part: time 0.0002057/1.707, allocations: 117.2 kB / 1.065 GB, free: 187.3 MB / 0.6823 GB Notification: Performance of simCode: created event and clocks part: time 2.735e-06/1.707, allocations: 0 / 1.065 GB, free: 187.3 MB / 0.6823 GB Notification: Performance of simCode: created simulation system equations: time 5.599e-05/1.707, allocations: 43.94 kB / 1.065 GB, free: 187.3 MB / 0.6823 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000349/1.708, allocations: 44.89 kB / 1.065 GB, free: 187.2 MB / 0.6823 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007135/1.708, allocations: 256.1 kB / 1.065 GB, free: 186.9 MB / 0.6823 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001604/1.709, allocations: 0.7131 MB / 1.066 GB, free: 186.2 MB / 0.6823 GB Notification: Performance of simCode: alias equations: time 0.0001726/1.709, allocations: 49.86 kB / 1.066 GB, free: 186.1 MB / 0.6823 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.077e-05/1.709, allocations: 43.42 kB / 1.066 GB, free: 186.1 MB / 0.6823 GB Notification: Performance of SimCode: time 5.71e-07/1.709, allocations: 0 / 1.066 GB, free: 186.1 MB / 0.6823 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01998/1.729, allocations: 5.433 MB / 1.071 GB, free: 180.8 MB / 0.6823 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.000166/1.729, allocations: 156 kB / 1.072 GB, free: 180.6 MB / 0.6823 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.735/3.464, allocations: 0 / 1.072 GB, free: 180.6 MB / 0.6823 GB (rm -f IDEAS_dev_IDEAS.Media.Examples.PropyleneGlycolWaterProperties.pipe ; mkfifo IDEAS_dev_IDEAS.Media.Examples.PropyleneGlycolWaterProperties.pipe ; head -c 1048576 < IDEAS_dev_IDEAS.Media.Examples.PropyleneGlycolWaterProperties.pipe >> ../files/IDEAS_dev_IDEAS.Media.Examples.PropyleneGlycolWaterProperties.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_IDEAS_dev_IDEAS_Media_Examples_PropyleneGlycolWaterProperties_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 IDEAS_dev_IDEAS_Media_Examples_PropyleneGlycolWaterProperties.fmu > IDEAS_dev_IDEAS.Media.Examples.PropyleneGlycolWaterProperties.pipe 2>&1)