Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr IBPSA_latest_IBPSA.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/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.PropyleneGlycolWaterTemperatureEnthalpyInversion,fileNamePrefix="IBPSA_latest_IBPSA_Media_Examples_PropyleneGlycolWaterTemperatureEnthalpyInversion",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IBPSA.Media.Examples.PropyleneGlycolWaterTemperatureEnthalpyInversion,fileNamePrefix="IBPSA_latest_IBPSA_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.002157/0.002158, allocations: 182.8 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.5266/0.5266, allocations: 91.97 MB / 108.5 MB, free: 13.07 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.75/1.75, allocations: 223.1 MB / 354.3 MB, free: 12.2 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.001187/0.001187, allocations: 103.2 kB / 427.4 MB, free: 3.93 MB / 346.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0004146/0.0004146, allocations: 12 kB / 0.4983 GB, free: 42.21 MB / 362.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2545/0.255, allocations: 72.31 MB / 0.5689 GB, free: 1.844 MB / 394.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 1.345/1.6, allocations: 387.5 MB / 0.9473 GB, free: 79.86 MB / 0.5886 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002581/1.6, allocations: 80.2 kB / 0.9474 GB, free: 79.82 MB / 0.5886 GB Notification: Performance of FrontEnd - DAE generated: time 0.03818/1.638, allocations: 19.11 MB / 0.9661 GB, free: 63.19 MB / 0.5886 GB Notification: Performance of FrontEnd: time 2.044e-06/1.638, allocations: 0 / 0.9661 GB, free: 63.19 MB / 0.5886 GB Notification: Performance of Transformations before backend: time 9.858e-06/1.638, allocations: 0 / 0.9661 GB, free: 63.19 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: 3 * Number of variables: 3 Notification: Performance of Generate backend data structure: time 0.00045/1.639, allocations: 359.2 kB / 0.9664 GB, free: 62.79 MB / 0.5886 GB Notification: Performance of prepare preOptimizeDAE: time 5.716e-05/1.639, allocations: 12.03 kB / 0.9664 GB, free: 62.78 MB / 0.5886 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.144e-05/1.639, allocations: 42.39 kB / 0.9665 GB, free: 62.73 MB / 0.5886 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.649e-05/1.639, allocations: 0 / 0.9665 GB, free: 62.73 MB / 0.5886 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001031/1.639, allocations: 171 kB / 0.9666 GB, free: 62.52 MB / 0.5886 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.054e-05/1.639, allocations: 29.7 kB / 0.9666 GB, free: 62.49 MB / 0.5886 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.748e-06/1.639, allocations: 0 / 0.9666 GB, free: 62.49 MB / 0.5886 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001607/1.639, allocations: 45.69 kB / 0.9667 GB, free: 62.44 MB / 0.5886 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.049e-05/1.639, allocations: 0 / 0.9667 GB, free: 62.44 MB / 0.5886 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.366e-05/1.639, allocations: 3.953 kB / 0.9667 GB, free: 62.43 MB / 0.5886 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.612e-05/1.639, allocations: 4 kB / 0.9667 GB, free: 62.43 MB / 0.5886 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.212e-05/1.639, allocations: 11.98 kB / 0.9667 GB, free: 62.42 MB / 0.5886 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005029/1.64, allocations: 326.1 kB / 0.967 GB, free: 62.03 MB / 0.5886 GB Notification: Performance of preOpt comSubExp (simulation): time 4.493e-05/1.64, allocations: 30.52 kB / 0.967 GB, free: 61.99 MB / 0.5886 GB Notification: Performance of preOpt evalFunc (simulation): time 7.945e-05/1.64, allocations: 81.17 kB / 0.9671 GB, free: 61.89 MB / 0.5886 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.529e-05/1.64, allocations: 38.5 kB / 0.9672 GB, free: 61.85 MB / 0.5886 GB Notification: Performance of pre-optimization done (n=1): time 1.102e-06/1.64, allocations: 0 / 0.9672 GB, free: 61.85 MB / 0.5886 GB Notification: Performance of matching and sorting (n=1): time 0.0001687/1.64, allocations: 41.59 kB / 0.9672 GB, free: 61.8 MB / 0.5886 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.941e-05/1.64, allocations: 51.41 kB / 0.9672 GB, free: 61.74 MB / 0.5886 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.904e-05/1.64, allocations: 101.1 kB / 0.9673 GB, free: 61.63 MB / 0.5886 GB Notification: Performance of collectPreVariables (initialization): time 1.19e-05/1.64, allocations: 25.7 kB / 0.9674 GB, free: 61.6 MB / 0.5886 GB Notification: Performance of collectInitialEqns (initialization): time 4.079e-05/1.641, allocations: 92.03 kB / 0.9675 GB, free: 61.51 MB / 0.5886 GB Notification: Performance of collectInitialBindings (initialization): time 7.263e-06/1.641, allocations: 3.938 kB / 0.9675 GB, free: 61.5 MB / 0.5886 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.607e-06/1.641, allocations: 4 kB / 0.9675 GB, free: 61.5 MB / 0.5886 GB Notification: Performance of setup shared object (initialization): time 6.735e-05/1.641, allocations: 310.8 kB / 0.9678 GB, free: 61.19 MB / 0.5886 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.371e-05/1.641, allocations: 4 kB / 0.9678 GB, free: 61.18 MB / 0.5886 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.037e-05/1.641, allocations: 17.7 kB / 0.9678 GB, free: 61.16 MB / 0.5886 GB Notification: Performance of analyzeInitialSystem (initialization): time 2.306e-05/1.641, allocations: 12 kB / 0.9678 GB, free: 61.15 MB / 0.5886 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.766e-06/1.641, allocations: 0 / 0.9678 GB, free: 61.15 MB / 0.5886 GB Notification: Performance of matching and sorting (n=3) (initialization): time 7.463e-05/1.641, allocations: 49.62 kB / 0.9678 GB, free: 61.09 MB / 0.5886 GB Notification: Performance of prepare postOptimizeDAE: time 1.813e-05/1.641, allocations: 4 kB / 0.9678 GB, free: 61.09 MB / 0.5886 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.692e-06/1.641, allocations: 3.953 kB / 0.9678 GB, free: 61.09 MB / 0.5886 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.669e-05/1.641, allocations: 4 kB / 0.9679 GB, free: 61.08 MB / 0.5886 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.835e-05/1.641, allocations: 4 kB / 0.9679 GB, free: 61.08 MB / 0.5886 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.242e-06/1.641, allocations: 0 / 0.9679 GB, free: 61.08 MB / 0.5886 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.976e-05/1.641, allocations: 4.062 kB / 0.9679 GB, free: 61.07 MB / 0.5886 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.109e-05/1.641, allocations: 4 kB / 0.9679 GB, free: 61.07 MB / 0.5886 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 () * Number of clocked 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 6.3e-05/1.641, allocations: 105.8 kB / 0.968 GB, free: 60.96 MB / 0.5886 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.845e-05/1.641, allocations: 11.84 kB / 0.968 GB, free: 60.95 MB / 0.5886 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001062/1.641, allocations: 120.9 kB / 0.9681 GB, free: 60.82 MB / 0.5886 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.151e-05/1.641, allocations: 184.2 kB / 0.9683 GB, free: 60.63 MB / 0.5886 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.177e-05/1.641, allocations: 184.2 kB / 0.9684 GB, free: 60.45 MB / 0.5886 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.403e-05/1.641, allocations: 180.2 kB / 0.9686 GB, free: 60.26 MB / 0.5886 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000162/1.641, allocations: 408.2 kB / 0.969 GB, free: 59.81 MB / 0.5886 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.023e-05/1.641, allocations: 108.9 kB / 0.9691 GB, free: 59.7 MB / 0.5886 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.927e-05/1.642, allocations: 101 kB / 0.9692 GB, free: 59.59 MB / 0.5886 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.677e-05/1.642, allocations: 188.2 kB / 0.9694 GB, free: 59.4 MB / 0.5886 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.74e-05/1.642, allocations: 176.3 kB / 0.9696 GB, free: 59.22 MB / 0.5886 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.393e-05/1.642, allocations: 180.3 kB / 0.9697 GB, free: 59.04 MB / 0.5886 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.611e-05/1.642, allocations: 192.1 kB / 0.9699 GB, free: 58.84 MB / 0.5886 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 9.61e-05/1.642, allocations: 303.8 kB / 0.9702 GB, free: 58.52 MB / 0.5886 GB Notification: Performance of postOpt removeConstants (simulation): time 4.483e-05/1.642, allocations: 190.1 kB / 0.9704 GB, free: 58.31 MB / 0.5886 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.676e-05/1.642, allocations: 176.3 kB / 0.9705 GB, free: 58.13 MB / 0.5886 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001122/1.642, allocations: 108.9 kB / 0.9707 GB, free: 58.02 MB / 0.5886 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.743e-05/1.642, allocations: 180.2 kB / 0.9708 GB, free: 57.83 MB / 0.5886 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.363e-05/1.642, allocations: 112.9 kB / 0.9709 GB, free: 57.71 MB / 0.5886 GB Notification: Performance of sorting global known variables: time 3.609e-05/1.642, allocations: 91.28 kB / 0.971 GB, free: 57.62 MB / 0.5886 GB Notification: Performance of sort global known variables: time 1.2e-07/1.642, allocations: 0 / 0.971 GB, free: 57.62 MB / 0.5886 GB Notification: Performance of remove unused functions: time 0.0002774/1.642, allocations: 12 kB / 0.971 GB, free: 57.61 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 (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.0004936/1.643, allocations: 0.8711 MB / 0.9719 GB, free: 56.71 MB / 0.5886 GB Notification: Performance of simCode: created initialization part: time 7.265e-05/1.643, allocations: 11.94 kB / 0.9719 GB, free: 56.7 MB / 0.5886 GB Notification: Performance of simCode: created event and clocks part: time 2.184e-06/1.643, allocations: 0 / 0.9719 GB, free: 56.7 MB / 0.5886 GB Notification: Performance of simCode: created simulation system equations: time 3.256e-06/1.643, allocations: 3.984 kB / 0.9719 GB, free: 56.7 MB / 0.5886 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002629/1.643, allocations: 0.5226 MB / 0.9724 GB, free: 56.17 MB / 0.5886 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004006/1.644, allocations: 222 kB / 0.9726 GB, free: 55.91 MB / 0.5886 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001455/1.644, allocations: 0.6812 MB / 0.9733 GB, free: 55.2 MB / 0.5886 GB Notification: Performance of simCode: alias equations: time 5.401e-05/1.644, allocations: 7.938 kB / 0.9733 GB, free: 55.19 MB / 0.5886 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.975e-05/1.644, allocations: 7.438 kB / 0.9733 GB, free: 55.18 MB / 0.5886 GB Notification: Performance of SimCode: time 3.81e-07/1.644, allocations: 4 kB / 0.9733 GB, free: 55.18 MB / 0.5886 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01393/1.658, allocations: 2 MB / 0.9753 GB, free: 53.36 MB / 0.5886 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001896/1.658, allocations: 203.6 kB / 0.9754 GB, free: 53.11 MB / 0.5886 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.69/3.348, allocations: 1.25 kB / 0.9754 GB, free: 53.11 MB / 0.5886 GB (rm -f IBPSA_latest_IBPSA.Media.Examples.PropyleneGlycolWaterTemperatureEnthalpyInversion.pipe ; mkfifo IBPSA_latest_IBPSA.Media.Examples.PropyleneGlycolWaterTemperatureEnthalpyInversion.pipe ; head -c 1048576 < IBPSA_latest_IBPSA.Media.Examples.PropyleneGlycolWaterTemperatureEnthalpyInversion.pipe >> ../files/IBPSA_latest_IBPSA.Media.Examples.PropyleneGlycolWaterTemperatureEnthalpyInversion.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_IBPSA_latest_IBPSA_Media_Examples_PropyleneGlycolWaterTemperatureEnthalpyInversion_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 IBPSA_latest_IBPSA_Media_Examples_PropyleneGlycolWaterTemperatureEnthalpyInversion.fmu > IBPSA_latest_IBPSA.Media.Examples.PropyleneGlycolWaterTemperatureEnthalpyInversion.pipe 2>&1)