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.001037/0.001037, 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.8073/0.8073, allocations: 133.6 MB / 141.6 MB, free: 2.828 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.561/1.561, allocations: 221.5 MB / 395.5 MB, free: 10.8 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.001233/0.001233, allocations: 99.58 kB / 478.2 MB, free: 1.301 MB / 346.7 MB Notification: Performance of FrontEnd - loaded program: time 2.708e-05/2.703e-05, allocations: 4 kB / 0.5535 GB, free: 8.949 MB / 442.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5334/0.5334, allocations: 82.29 MB / 0.6339 GB, free: 40.84 MB / 458.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.9531/1.487, allocations: 399.8 MB / 1.024 GB, free: 2.371 MB / 0.6511 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.000234/1.487, allocations: 68.16 kB / 1.024 GB, free: 2.336 MB / 0.6511 GB Notification: Performance of FrontEnd - DAE generated: time 0.06224/1.549, allocations: 25.77 MB / 1.05 GB, free: 13.28 MB / 0.6823 GB Notification: Performance of FrontEnd: time 1.222e-06/1.549, allocations: 0 / 1.05 GB, free: 13.28 MB / 0.6823 GB Notification: Performance of Transformations before backend: time 2.196e-05/1.549, allocations: 4 kB / 1.05 GB, free: 13.28 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.0008726/1.55, allocations: 497.7 kB / 1.05 GB, free: 12.76 MB / 0.6823 GB Notification: Performance of prepare preOptimizeDAE: time 5.503e-05/1.55, allocations: 12.03 kB / 1.05 GB, free: 12.75 MB / 0.6823 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001779/1.55, allocations: 23.81 kB / 1.05 GB, free: 12.72 MB / 0.6823 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002834/1.551, allocations: 213.6 kB / 1.05 GB, free: 12.48 MB / 0.6823 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.619e-05/1.551, allocations: 4 kB / 1.05 GB, free: 12.48 MB / 0.6823 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.05e-05/1.551, allocations: 12 kB / 1.05 GB, free: 12.47 MB / 0.6823 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0005015/1.551, allocations: 406.1 kB / 1.051 GB, free: 12.14 MB / 0.6823 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002985/1.552, allocations: 216.3 kB / 1.051 GB, free: 11.95 MB / 0.6823 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.227e-05/1.552, allocations: 4 kB / 1.051 GB, free: 11.95 MB / 0.6823 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.126e-05/1.552, allocations: 4 kB / 1.051 GB, free: 11.95 MB / 0.6823 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.569e-05/1.552, allocations: 8 kB / 1.051 GB, free: 11.94 MB / 0.6823 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00109/1.553, allocations: 0.989 MB / 1.052 GB, free: 10.95 MB / 0.6823 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000286/1.553, allocations: 147.1 kB / 1.052 GB, free: 10.82 MB / 0.6823 GB Notification: Performance of preOpt resolveLoops (simulation): time 8.421e-05/1.553, allocations: 55.84 kB / 1.052 GB, free: 10.77 MB / 0.6823 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001616/1.555, allocations: 1.919 MB / 1.054 GB, free: 8.539 MB / 0.6823 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.169e-05/1.555, allocations: 42.48 kB / 1.054 GB, free: 8.488 MB / 0.6823 GB Notification: Performance of pre-optimization done (n=15): time 1.492e-06/1.555, allocations: 0 / 1.054 GB, free: 8.488 MB / 0.6823 GB Notification: Performance of matching and sorting (n=15): time 0.0005314/1.555, allocations: 141.3 kB / 1.054 GB, free: 8.359 MB / 0.6823 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.425e-05/1.555, allocations: 51.41 kB / 1.054 GB, free: 8.297 MB / 0.6823 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001296/1.556, allocations: 138.5 kB / 1.054 GB, free: 8.168 MB / 0.6823 GB Notification: Performance of collectPreVariables (initialization): time 2.327e-05/1.556, allocations: 25.7 kB / 1.054 GB, free: 8.137 MB / 0.6823 GB Notification: Performance of collectInitialEqns (initialization): time 8.211e-05/1.556, allocations: 139.2 kB / 1.054 GB, free: 8.004 MB / 0.6823 GB Notification: Performance of collectInitialBindings (initialization): time 3.967e-05/1.556, allocations: 58.31 kB / 1.055 GB, free: 7.953 MB / 0.6823 GB Notification: Performance of simplifyInitialFunctions (initialization): time 8.095e-06/1.556, allocations: 0 / 1.055 GB, free: 7.953 MB / 0.6823 GB Notification: Performance of setup shared object (initialization): time 0.0001197/1.556, allocations: 326.3 kB / 1.055 GB, free: 7.633 MB / 0.6823 GB Notification: Performance of preBalanceInitialSystem (initialization): time 5.449e-05/1.556, allocations: 31.69 kB / 1.055 GB, free: 7.609 MB / 0.6823 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001258/1.556, allocations: 124.6 kB / 1.055 GB, free: 7.449 MB / 0.6823 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003298/1.556, allocations: 79.44 kB / 1.055 GB, free: 7.383 MB / 0.6823 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.975e-06/1.556, allocations: 0 / 1.055 GB, free: 7.383 MB / 0.6823 GB Notification: Performance of matching and sorting (n=30) (initialization): time 0.0005011/1.557, allocations: 203.7 kB / 1.055 GB, free: 7.199 MB / 0.6823 GB Notification: Performance of prepare postOptimizeDAE: time 2.249e-05/1.557, allocations: 9.875 kB / 1.055 GB, free: 7.191 MB / 0.6823 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.109e-05/1.557, allocations: 8 kB / 1.055 GB, free: 7.184 MB / 0.6823 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.9e-05/1.557, allocations: 11.88 kB / 1.055 GB, free: 7.172 MB / 0.6823 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001971/1.557, allocations: 61.03 kB / 1.055 GB, free: 7.113 MB / 0.6823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.032e-05/1.557, allocations: 7.953 kB / 1.055 GB, free: 7.105 MB / 0.6823 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001244/1.557, allocations: 20.81 kB / 1.055 GB, free: 7.086 MB / 0.6823 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.038e-05/1.557, allocations: 12.94 kB / 1.055 GB, free: 7.074 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 9.482e-05/1.557, allocations: 110.2 kB / 1.055 GB, free: 6.961 MB / 0.6823 GB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.0004032/1.558, allocations: 137.4 kB / 1.056 GB, free: 6.836 MB / 0.6823 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.767e-05/1.558, allocations: 25.36 kB / 1.056 GB, free: 6.812 MB / 0.6823 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005088/1.558, allocations: 167.8 kB / 1.056 GB, free: 6.664 MB / 0.6823 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.47e-05/1.558, allocations: 7.953 kB / 1.056 GB, free: 6.656 MB / 0.6823 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.689e-06/1.558, allocations: 0 / 1.056 GB, free: 6.656 MB / 0.6823 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.148e-06/1.558, allocations: 0 / 1.056 GB, free: 6.656 MB / 0.6823 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002797/1.559, allocations: 180.2 kB / 1.056 GB, free: 6.457 MB / 0.6823 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.114e-06/1.559, allocations: 0 / 1.056 GB, free: 6.457 MB / 0.6823 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001218/1.559, allocations: 31.97 kB / 1.056 GB, free: 6.426 MB / 0.6823 GB Notification: Performance of postOpt tearingSystem (simulation): time 7.354e-06/1.559, allocations: 0 / 1.056 GB, free: 6.426 MB / 0.6823 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.628e-05/1.559, allocations: 8.625 kB / 1.056 GB, free: 6.418 MB / 0.6823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.715e-06/1.559, allocations: 4 kB / 1.056 GB, free: 6.414 MB / 0.6823 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.186e-06/1.559, allocations: 0 / 1.056 GB, free: 6.414 MB / 0.6823 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004908/1.559, allocations: 239.9 kB / 1.056 GB, free: 6.184 MB / 0.6823 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001143/1.56, allocations: 109.5 kB / 1.056 GB, free: 6.066 MB / 0.6823 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.502e-05/1.56, allocations: 0 / 1.056 GB, free: 6.066 MB / 0.6823 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000188/1.56, allocations: 19.98 kB / 1.056 GB, free: 6.047 MB / 0.6823 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.348e-05/1.56, allocations: 12.73 kB / 1.056 GB, free: 6.035 MB / 0.6823 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.092e-05/1.56, allocations: 6.062 kB / 1.056 GB, free: 6.031 MB / 0.6823 GB Notification: Performance of sorting global known variables: time 8.341e-05/1.56, allocations: 110.5 kB / 1.057 GB, free: 5.934 MB / 0.6823 GB Notification: Performance of sort global known variables: time 1.4e-07/1.56, allocations: 0 / 1.057 GB, free: 5.934 MB / 0.6823 GB Notification: Performance of remove unused functions: time 0.0004984/1.56, allocations: 86.95 kB / 1.057 GB, free: 5.852 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.001167/1.562, allocations: 0.8742 MB / 1.057 GB, free: 4.973 MB / 0.6823 GB Notification: Performance of simCode: created initialization part: time 0.0002628/1.562, allocations: 104.1 kB / 1.058 GB, free: 4.887 MB / 0.6823 GB Notification: Performance of simCode: created event and clocks part: time 4.328e-06/1.562, allocations: 0.9375 kB / 1.058 GB, free: 4.887 MB / 0.6823 GB Notification: Performance of simCode: created simulation system equations: time 6.565e-05/1.562, allocations: 38.98 kB / 1.058 GB, free: 4.855 MB / 0.6823 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000364/1.562, allocations: 37.52 kB / 1.058 GB, free: 4.824 MB / 0.6823 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009237/1.563, allocations: 229 kB / 1.058 GB, free: 4.578 MB / 0.6823 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004112/1.564, allocations: 0.7178 MB / 1.059 GB, free: 3.832 MB / 0.6823 GB Notification: Performance of simCode: alias equations: time 0.0002016/1.564, allocations: 41.64 kB / 1.059 GB, free: 3.789 MB / 0.6823 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.461e-05/1.564, allocations: 42.05 kB / 1.059 GB, free: 3.766 MB / 0.6823 GB Notification: Performance of SimCode: time 4.01e-07/1.564, allocations: 0 / 1.059 GB, free: 3.766 MB / 0.6823 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.3955/1.96, allocations: 4.203 MB / 1.063 GB, free: 258.5 MB / 0.6823 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001599/1.96, allocations: 133.7 kB / 1.063 GB, free: 258.4 MB / 0.6823 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.873/3.833, allocations: 4.5 kB / 1.063 GB, free: 258.4 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)