Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr IBPSA_latest_IBPSA.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/IBPSA 4.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 IBPSA with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.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(IBPSA.Media.Examples.PropyleneGlycolWaterProperties,fileNamePrefix="IBPSA_latest_IBPSA_Media_Examples_PropyleneGlycolWaterProperties",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IBPSA.Media.Examples.PropyleneGlycolWaterProperties,fileNamePrefix="IBPSA_latest_IBPSA_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.001557/0.001556, allocations: 182.2 kB / 15.76 MB, free: 6.363 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo): time 0.553/0.553, allocations: 91.98 MB / 108.5 MB, free: 13.08 MB / 90.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.789/1.789, allocations: 223.2 MB / 354.3 MB, free: 10.41 MB / 282.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001258/0.001258, allocations: 100.2 kB / 427.4 MB, free: 2.129 MB / 346.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003609/0.0003609, allocations: 12 kB / 0.4983 GB, free: 41.96 MB / 362.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1772/0.1776, allocations: 72.3 MB / 0.5689 GB, free: 1.594 MB / 394.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 1.327/1.505, allocations: 390.8 MB / 0.9505 GB, free: 74.37 MB / 0.5886 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003515/1.505, allocations: 71.58 kB / 0.9506 GB, free: 74.33 MB / 0.5886 GB Notification: Performance of FrontEnd - DAE generated: time 0.05361/1.559, allocations: 25.98 MB / 0.9759 GB, free: 50.41 MB / 0.5886 GB Notification: Performance of FrontEnd: time 3.055e-06/1.559, allocations: 0 / 0.9759 GB, free: 50.41 MB / 0.5886 GB Notification: Performance of Transformations before backend: time 1.35e-05/1.559, allocations: 4 kB / 0.976 GB, free: 50.41 MB / 0.5886 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.0007678/1.56, allocations: 0.5067 MB / 0.9764 GB, free: 49.85 MB / 0.5886 GB Notification: Performance of prepare preOptimizeDAE: time 5.167e-05/1.56, allocations: 8.031 kB / 0.9765 GB, free: 49.84 MB / 0.5886 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.655e-05/1.56, allocations: 58.44 kB / 0.9765 GB, free: 49.78 MB / 0.5886 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001384/1.56, allocations: 23.8 kB / 0.9765 GB, free: 49.75 MB / 0.5886 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001896/1.56, allocations: 202.9 kB / 0.9767 GB, free: 49.52 MB / 0.5886 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.694e-05/1.56, allocations: 12.33 kB / 0.9767 GB, free: 49.5 MB / 0.5886 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.856e-05/1.56, allocations: 12 kB / 0.9768 GB, free: 49.49 MB / 0.5886 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003412/1.561, allocations: 244.9 kB / 0.977 GB, free: 49.23 MB / 0.5886 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.318e-05/1.561, allocations: 3.938 kB / 0.977 GB, free: 49.23 MB / 0.5886 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.318e-05/1.561, allocations: 12 kB / 0.977 GB, free: 49.21 MB / 0.5886 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.991e-05/1.561, allocations: 7.953 kB / 0.977 GB, free: 49.21 MB / 0.5886 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003935/1.561, allocations: 427.5 kB / 0.9774 GB, free: 48.79 MB / 0.5886 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008767/1.562, allocations: 1.027 MB / 0.9784 GB, free: 47.67 MB / 0.5886 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002766/1.562, allocations: 171.4 kB / 0.9786 GB, free: 47.49 MB / 0.5886 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001036/1.564, allocations: 1.844 MB / 0.9804 GB, free: 45.29 MB / 0.5886 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.582e-05/1.564, allocations: 38.55 kB / 0.9804 GB, free: 45.24 MB / 0.5886 GB Notification: Performance of pre-optimization done (n=15): time 1.303e-06/1.564, allocations: 0 / 0.9804 GB, free: 45.24 MB / 0.5886 GB Notification: Performance of matching and sorting (n=15): time 0.0003082/1.564, allocations: 146.1 kB / 0.9806 GB, free: 45.09 MB / 0.5886 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.134e-05/1.564, allocations: 51.41 kB / 0.9806 GB, free: 45.03 MB / 0.5886 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001268/1.564, allocations: 154.3 kB / 0.9808 GB, free: 44.87 MB / 0.5886 GB Notification: Performance of collectPreVariables (initialization): time 1.905e-05/1.564, allocations: 29.7 kB / 0.9808 GB, free: 44.83 MB / 0.5886 GB Notification: Performance of collectInitialEqns (initialization): time 6.292e-05/1.564, allocations: 139.8 kB / 0.9809 GB, free: 44.69 MB / 0.5886 GB Notification: Performance of collectInitialBindings (initialization): time 3e-05/1.564, allocations: 63.12 kB / 0.981 GB, free: 44.63 MB / 0.5886 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.695e-06/1.564, allocations: 7.938 kB / 0.981 GB, free: 44.62 MB / 0.5886 GB Notification: Performance of setup shared object (initialization): time 6.739e-05/1.564, allocations: 322.8 kB / 0.9813 GB, free: 44.3 MB / 0.5886 GB Notification: Performance of preBalanceInitialSystem (initialization): time 5.384e-05/1.564, allocations: 35.98 kB / 0.9813 GB, free: 44.26 MB / 0.5886 GB Notification: Performance of partitionIndependentBlocks (initialization): time 9.159e-05/1.564, allocations: 131.8 kB / 0.9815 GB, free: 44.09 MB / 0.5886 GB Notification: Performance of analyzeInitialSystem (initialization): time 8.502e-05/1.565, allocations: 63.88 kB / 0.9815 GB, free: 44.02 MB / 0.5886 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.345e-06/1.565, allocations: 0 / 0.9815 GB, free: 44.02 MB / 0.5886 GB Notification: Performance of matching and sorting (n=30) (initialization): time 0.0002554/1.565, allocations: 209.1 kB / 0.9817 GB, free: 43.81 MB / 0.5886 GB Notification: Performance of prepare postOptimizeDAE: time 2.026e-05/1.565, allocations: 8.469 kB / 0.9817 GB, free: 43.8 MB / 0.5886 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.244e-06/1.565, allocations: 8 kB / 0.9817 GB, free: 43.8 MB / 0.5886 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.111e-05/1.565, allocations: 4 kB / 0.9817 GB, free: 43.79 MB / 0.5886 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001689/1.565, allocations: 63.91 kB / 0.9818 GB, free: 43.73 MB / 0.5886 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.061e-05/1.565, allocations: 4 kB / 0.9818 GB, free: 43.73 MB / 0.5886 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001108/1.565, allocations: 31.67 kB / 0.9818 GB, free: 43.7 MB / 0.5886 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.74e-05/1.565, allocations: 12 kB / 0.9818 GB, free: 43.68 MB / 0.5886 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 () * Number of clocked 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.156e-05/1.565, allocations: 133.7 kB / 0.982 GB, free: 43.54 MB / 0.5886 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.543e-05/1.565, allocations: 19.77 kB / 0.982 GB, free: 43.52 MB / 0.5886 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002729/1.566, allocations: 165.2 kB / 0.9821 GB, free: 43.36 MB / 0.5886 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.968e-06/1.566, allocations: 0 / 0.9821 GB, free: 43.36 MB / 0.5886 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.242e-06/1.566, allocations: 0 / 0.9821 GB, free: 43.36 MB / 0.5886 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.342e-06/1.566, allocations: 3.984 kB / 0.9821 GB, free: 43.35 MB / 0.5886 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001882/1.566, allocations: 205.6 kB / 0.9823 GB, free: 43.1 MB / 0.5886 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.474e-06/1.566, allocations: 4 kB / 0.9823 GB, free: 43.1 MB / 0.5886 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001042/1.566, allocations: 31.97 kB / 0.9824 GB, free: 43.07 MB / 0.5886 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.649e-06/1.566, allocations: 7.953 kB / 0.9824 GB, free: 43.06 MB / 0.5886 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.072e-05/1.566, allocations: 0 / 0.9824 GB, free: 43.06 MB / 0.5886 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.313e-06/1.566, allocations: 4 kB / 0.9824 GB, free: 43.05 MB / 0.5886 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.11e-07/1.566, allocations: 0 / 0.9824 GB, free: 43.05 MB / 0.5886 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002007/1.566, allocations: 223.2 kB / 0.9826 GB, free: 42.82 MB / 0.5886 GB Notification: Performance of postOpt removeConstants (simulation): time 7.456e-05/1.566, allocations: 116.9 kB / 0.9827 GB, free: 42.69 MB / 0.5886 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.46e-05/1.566, allocations: 7.953 kB / 0.9827 GB, free: 42.68 MB / 0.5886 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000168/1.567, allocations: 15.98 kB / 0.9827 GB, free: 42.66 MB / 0.5886 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.828e-05/1.567, allocations: 15.98 kB / 0.9827 GB, free: 42.65 MB / 0.5886 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.39e-05/1.567, allocations: 8 kB / 0.9828 GB, free: 42.64 MB / 0.5886 GB Notification: Performance of sorting global known variables: time 6.626e-05/1.567, allocations: 120.9 kB / 0.9829 GB, free: 42.52 MB / 0.5886 GB Notification: Performance of sort global known variables: time 9e-08/1.567, allocations: 0 / 0.9829 GB, free: 42.52 MB / 0.5886 GB Notification: Performance of remove unused functions: time 0.0003922/1.567, allocations: 79.94 kB / 0.9829 GB, free: 42.45 MB / 0.5886 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 (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.0006123/1.568, allocations: 0.8772 MB / 0.9838 GB, free: 41.55 MB / 0.5886 GB Notification: Performance of simCode: created initialization part: time 0.0002032/1.568, allocations: 116.5 kB / 0.9839 GB, free: 41.43 MB / 0.5886 GB Notification: Performance of simCode: created event and clocks part: time 2.726e-06/1.568, allocations: 192 / 0.9839 GB, free: 41.43 MB / 0.5886 GB Notification: Performance of simCode: created simulation system equations: time 4.966e-05/1.568, allocations: 51.91 kB / 0.984 GB, free: 41.38 MB / 0.5886 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003266/1.568, allocations: 55.84 kB / 0.984 GB, free: 41.33 MB / 0.5886 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001752/1.57, allocations: 3.267 MB / 0.9872 GB, free: 37.95 MB / 0.5886 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001747/1.57, allocations: 0.7172 MB / 0.9879 GB, free: 37.21 MB / 0.5886 GB Notification: Performance of simCode: alias equations: time 0.0001605/1.57, allocations: 45.73 kB / 0.988 GB, free: 37.16 MB / 0.5886 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.898e-05/1.57, allocations: 51.41 kB / 0.988 GB, free: 37.11 MB / 0.5886 GB Notification: Performance of SimCode: time 2.3e-07/1.57, allocations: 0 / 0.988 GB, free: 37.11 MB / 0.5886 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01681/1.587, allocations: 5.346 MB / 0.9932 GB, free: 31.92 MB / 0.5886 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001868/1.588, allocations: 176.5 kB / 0.9934 GB, free: 31.68 MB / 0.5886 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.847/3.434, allocations: 4.062 kB / 0.9934 GB, free: 31.68 MB / 0.5886 GB (rm -f IBPSA_latest_IBPSA.Media.Examples.PropyleneGlycolWaterProperties.pipe ; mkfifo IBPSA_latest_IBPSA.Media.Examples.PropyleneGlycolWaterProperties.pipe ; head -c 1048576 < IBPSA_latest_IBPSA.Media.Examples.PropyleneGlycolWaterProperties.pipe >> ../files/IBPSA_latest_IBPSA.Media.Examples.PropyleneGlycolWaterProperties.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_IBPSA_latest_IBPSA_Media_Examples_PropyleneGlycolWaterProperties_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 IBPSA_latest_IBPSA_Media_Examples_PropyleneGlycolWaterProperties.fmu > IBPSA_latest_IBPSA.Media.Examples.PropyleneGlycolWaterProperties.pipe 2>&1)