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.001179/0.001179, allocations: 179 kB / 13.19 MB, free: 2.133 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo): time 0.4578/0.4578, allocations: 90.81 MB / 104.5 MB, free: 9.789 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.321/1.321, allocations: 221.3 MB / 348.3 MB, free: 480 kB / 282.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001168/0.001168, allocations: 97.16 kB / 421.2 MB, free: 5.469 MB / 314.7 MB Notification: Performance of FrontEnd - loaded program: time 3.67e-05/3.675e-05, allocations: 7.984 kB / 0.4897 GB, free: 5.285 MB / 394.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.377/0.3771, allocations: 72.31 MB / 0.5603 GB, free: 40.43 MB / 410.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.9611/1.338, allocations: 390.7 MB / 0.9418 GB, free: 240 MB / 0.6042 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.000198/1.338, allocations: 70.84 kB / 0.9419 GB, free: 240 MB / 0.6042 GB Notification: Performance of FrontEnd - DAE generated: time 0.05058/1.389, allocations: 25.92 MB / 0.9672 GB, free: 217.6 MB / 0.6042 GB Notification: Performance of FrontEnd: time 1.423e-06/1.389, allocations: 0 / 0.9672 GB, free: 217.6 MB / 0.6042 GB Notification: Performance of Transformations before backend: time 9.267e-06/1.389, allocations: 4 kB / 0.9672 GB, free: 217.6 MB / 0.6042 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.0005847/1.39, allocations: 498.2 kB / 0.9677 GB, free: 217.1 MB / 0.6042 GB Notification: Performance of prepare preOptimizeDAE: time 4.138e-05/1.39, allocations: 11.98 kB / 0.9677 GB, free: 217.1 MB / 0.6042 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.272e-05/1.39, allocations: 50.5 kB / 0.9677 GB, free: 217 MB / 0.6042 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001212/1.39, allocations: 19.81 kB / 0.9678 GB, free: 217 MB / 0.6042 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001608/1.39, allocations: 226.7 kB / 0.968 GB, free: 216.8 MB / 0.6042 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.588e-06/1.39, allocations: 8.328 kB / 0.968 GB, free: 216.8 MB / 0.6042 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.084e-05/1.39, allocations: 16 kB / 0.968 GB, free: 216.7 MB / 0.6042 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002892/1.39, allocations: 234 kB / 0.9682 GB, free: 216.5 MB / 0.6042 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.257e-06/1.39, allocations: 0 / 0.9682 GB, free: 216.5 MB / 0.6042 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.927e-05/1.39, allocations: 16 kB / 0.9682 GB, free: 216.5 MB / 0.6042 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.358e-05/1.391, allocations: 11.94 kB / 0.9683 GB, free: 216.5 MB / 0.6042 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000348/1.391, allocations: 427.5 kB / 0.9687 GB, free: 216 MB / 0.6042 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007953/1.392, allocations: 1.039 MB / 0.9697 GB, free: 214.9 MB / 0.6042 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002432/1.392, allocations: 161.7 kB / 0.9698 GB, free: 214.7 MB / 0.6042 GB Notification: Performance of preOpt resolveLoops (simulation): time 7.65e-05/1.392, allocations: 56.86 kB / 0.9699 GB, free: 214.7 MB / 0.6042 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0009179/1.393, allocations: 1.946 MB / 0.9718 GB, free: 212.4 MB / 0.6042 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.55e-05/1.393, allocations: 30.56 kB / 0.9718 GB, free: 212.3 MB / 0.6042 GB Notification: Performance of pre-optimization done (n=15): time 1.523e-06/1.393, allocations: 4 kB / 0.9718 GB, free: 212.3 MB / 0.6042 GB Notification: Performance of matching and sorting (n=15): time 0.0002216/1.393, allocations: 117.4 kB / 0.9719 GB, free: 212.2 MB / 0.6042 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.287e-05/1.393, allocations: 51.41 kB / 0.972 GB, free: 212.2 MB / 0.6042 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.583e-05/1.393, allocations: 152.1 kB / 0.9721 GB, free: 212 MB / 0.6042 GB Notification: Performance of collectPreVariables (initialization): time 1.431e-05/1.393, allocations: 29.7 kB / 0.9722 GB, free: 212 MB / 0.6042 GB Notification: Performance of collectInitialEqns (initialization): time 4.502e-05/1.393, allocations: 143.8 kB / 0.9723 GB, free: 211.8 MB / 0.6042 GB Notification: Performance of collectInitialBindings (initialization): time 2.565e-05/1.393, allocations: 55.19 kB / 0.9723 GB, free: 211.8 MB / 0.6042 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.965e-06/1.393, allocations: 8 kB / 0.9724 GB, free: 211.7 MB / 0.6042 GB Notification: Performance of setup shared object (initialization): time 4.993e-05/1.393, allocations: 318.8 kB / 0.9727 GB, free: 211.4 MB / 0.6042 GB Notification: Performance of preBalanceInitialSystem (initialization): time 5.276e-05/1.394, allocations: 35.94 kB / 0.9727 GB, free: 211.4 MB / 0.6042 GB Notification: Performance of partitionIndependentBlocks (initialization): time 7.997e-05/1.394, allocations: 141.7 kB / 0.9728 GB, free: 211.2 MB / 0.6042 GB Notification: Performance of analyzeInitialSystem (initialization): time 7.822e-05/1.394, allocations: 57.03 kB / 0.9729 GB, free: 211.1 MB / 0.6042 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.966e-06/1.394, allocations: 4 kB / 0.9729 GB, free: 211.1 MB / 0.6042 GB Notification: Performance of matching and sorting (n=30) (initialization): time 0.000244/1.394, allocations: 212 kB / 0.9731 GB, free: 210.9 MB / 0.6042 GB Notification: Performance of prepare postOptimizeDAE: time 1.241e-05/1.394, allocations: 4 kB / 0.9731 GB, free: 210.9 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.463e-06/1.394, allocations: 4 kB / 0.9731 GB, free: 210.9 MB / 0.6042 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.487e-05/1.394, allocations: 8 kB / 0.9731 GB, free: 210.9 MB / 0.6042 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001591/1.394, allocations: 59.91 kB / 0.9732 GB, free: 210.9 MB / 0.6042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.055e-05/1.394, allocations: 11.92 kB / 0.9732 GB, free: 210.8 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001028/1.394, allocations: 27.69 kB / 0.9732 GB, free: 210.8 MB / 0.6042 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.514e-05/1.394, allocations: 12 kB / 0.9732 GB, free: 210.8 MB / 0.6042 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 5.497e-05/1.394, allocations: 121 kB / 0.9733 GB, free: 210.7 MB / 0.6042 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.36e-05/1.394, allocations: 15.86 kB / 0.9733 GB, free: 210.7 MB / 0.6042 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002501/1.395, allocations: 151 kB / 0.9735 GB, free: 210.5 MB / 0.6042 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.618e-06/1.395, allocations: 7.984 kB / 0.9735 GB, free: 210.5 MB / 0.6042 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.547e-06/1.395, allocations: 0 / 0.9735 GB, free: 210.5 MB / 0.6042 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.36e-06/1.395, allocations: 7.984 kB / 0.9735 GB, free: 210.5 MB / 0.6042 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001709/1.395, allocations: 221.4 kB / 0.9737 GB, free: 210.2 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.402e-06/1.395, allocations: 3.938 kB / 0.9737 GB, free: 210.2 MB / 0.6042 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001063/1.395, allocations: 27.98 kB / 0.9737 GB, free: 210.2 MB / 0.6042 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.487e-06/1.395, allocations: 11.94 kB / 0.9738 GB, free: 210.2 MB / 0.6042 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.158e-05/1.395, allocations: 8 kB / 0.9738 GB, free: 210.2 MB / 0.6042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.513e-06/1.395, allocations: 3.938 kB / 0.9738 GB, free: 210.2 MB / 0.6042 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.062e-06/1.395, allocations: 0 / 0.9738 GB, free: 210.2 MB / 0.6042 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00017/1.395, allocations: 210.1 kB / 0.974 GB, free: 210 MB / 0.6042 GB Notification: Performance of postOpt removeConstants (simulation): time 6.145e-05/1.395, allocations: 120.8 kB / 0.9741 GB, free: 209.8 MB / 0.6042 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.136e-05/1.395, allocations: 3.953 kB / 0.9741 GB, free: 209.8 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001758/1.396, allocations: 23.98 kB / 0.9741 GB, free: 209.8 MB / 0.6042 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.277e-05/1.396, allocations: 7.984 kB / 0.9741 GB, free: 209.8 MB / 0.6042 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.459e-05/1.396, allocations: 12 kB / 0.9741 GB, free: 209.8 MB / 0.6042 GB Notification: Performance of sorting global known variables: time 5.292e-05/1.396, allocations: 112 kB / 0.9742 GB, free: 209.7 MB / 0.6042 GB Notification: Performance of sort global known variables: time 1.4e-07/1.396, allocations: 0 / 0.9742 GB, free: 209.7 MB / 0.6042 GB Notification: Performance of remove unused functions: time 0.0003341/1.396, allocations: 87.92 kB / 0.9743 GB, free: 209.6 MB / 0.6042 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.0005156/1.397, allocations: 0.8699 MB / 0.9752 GB, free: 208.7 MB / 0.6042 GB Notification: Performance of simCode: created initialization part: time 0.0001877/1.397, allocations: 112.6 kB / 0.9753 GB, free: 208.6 MB / 0.6042 GB Notification: Performance of simCode: created event and clocks part: time 2.515e-06/1.397, allocations: 0 / 0.9753 GB, free: 208.6 MB / 0.6042 GB Notification: Performance of simCode: created simulation system equations: time 5.381e-05/1.397, allocations: 42.8 kB / 0.9753 GB, free: 208.5 MB / 0.6042 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003208/1.397, allocations: 56.48 kB / 0.9754 GB, free: 208.5 MB / 0.6042 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006074/1.398, allocations: 247.9 kB / 0.9756 GB, free: 208.2 MB / 0.6042 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001514/1.398, allocations: 0.7208 MB / 0.9763 GB, free: 207.5 MB / 0.6042 GB Notification: Performance of simCode: alias equations: time 0.0001433/1.398, allocations: 41.92 kB / 0.9763 GB, free: 207.4 MB / 0.6042 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.511e-05/1.398, allocations: 47.42 kB / 0.9764 GB, free: 207.4 MB / 0.6042 GB Notification: Performance of SimCode: time 2.71e-07/1.398, allocations: 0 / 0.9764 GB, free: 207.4 MB / 0.6042 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01563/1.414, allocations: 5.453 MB / 0.9817 GB, free: 202.1 MB / 0.6042 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001649/1.414, allocations: 151 kB / 0.9819 GB, free: 201.9 MB / 0.6042 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.681/3.095, allocations: 0 / 0.9819 GB, free: 201.9 MB / 0.6042 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)