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: translateModel(IBPSA.Media.Examples.PropyleneGlycolWaterTemperatureEnthalpyInversion,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IBPSA_latest_IBPSA.Media.Examples.PropyleneGlycolWaterTemperatureEnthalpyInversion") translateModel(IBPSA.Media.Examples.PropyleneGlycolWaterTemperatureEnthalpyInversion,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IBPSA_latest_IBPSA.Media.Examples.PropyleneGlycolWaterTemperatureEnthalpyInversion") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.00113/0.00113, allocations: 180.9 kB / 8.006 MB, free: 1.07 MB / 5.871 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo): time 0.497/0.497, allocations: 90.91 MB / 99.35 MB, free: 2.168 MB / 74.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.473/1.473, allocations: 221.5 MB / 343.2 MB, free: 1.609 MB / 266.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0008343/0.0008343, allocations: 91.88 kB / 415.9 MB, free: 11.18 MB / 346.7 MB Notification: Performance of FrontEnd - loaded program: time 1.396e-05/1.384e-05, allocations: 4 kB / 494.5 MB, free: 52.44 MB / 362.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1594/0.1594, allocations: 72.32 MB / 0.5535 GB, free: 12.31 MB / 394.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 1.153/1.312, allocations: 386.8 MB / 0.9312 GB, free: 95.19 MB / 0.5886 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002176/1.313, allocations: 67.78 kB / 0.9313 GB, free: 95.15 MB / 0.5886 GB Notification: Performance of FrontEnd - DAE generated: time 0.03642/1.349, allocations: 18.96 MB / 0.9498 GB, free: 79.94 MB / 0.5886 GB Notification: Performance of FrontEnd: time 2.374e-06/1.349, allocations: 0 / 0.9498 GB, free: 79.94 MB / 0.5886 GB Notification: Performance of Transformations before backend: time 1.033e-05/1.349, allocations: 0 / 0.9498 GB, free: 79.94 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.0003082/1.349, allocations: 353.8 kB / 0.9501 GB, free: 79.55 MB / 0.5886 GB Notification: Performance of prepare preOptimizeDAE: time 4.21e-05/1.35, allocations: 8.031 kB / 0.9501 GB, free: 79.55 MB / 0.5886 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.03e-05/1.35, allocations: 7.953 kB / 0.9501 GB, free: 79.54 MB / 0.5886 GB Notification: Performance of preOpt evaluateParameters (simulation): time 9.028e-05/1.35, allocations: 163.1 kB / 0.9503 GB, free: 79.34 MB / 0.5886 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.655e-05/1.35, allocations: 25.7 kB / 0.9503 GB, free: 79.31 MB / 0.5886 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.516e-06/1.35, allocations: 8 kB / 0.9503 GB, free: 79.3 MB / 0.5886 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 7.848e-05/1.35, allocations: 11.38 kB / 0.9503 GB, free: 79.29 MB / 0.5886 GB Notification: Performance of preOpt clockPartitioning (simulation): time 6.97e-05/1.35, allocations: 37.62 kB / 0.9504 GB, free: 79.25 MB / 0.5886 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.107e-06/1.35, allocations: 0 / 0.9504 GB, free: 79.25 MB / 0.5886 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.239e-05/1.35, allocations: 7.953 kB / 0.9504 GB, free: 79.24 MB / 0.5886 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.975e-05/1.35, allocations: 0 / 0.9504 GB, free: 79.24 MB / 0.5886 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003409/1.35, allocations: 305.6 kB / 0.9507 GB, free: 78.89 MB / 0.5886 GB Notification: Performance of preOpt comSubExp (simulation): time 3.296e-05/1.35, allocations: 25.89 kB / 0.9507 GB, free: 78.86 MB / 0.5886 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.582e-05/1.35, allocations: 8.797 kB / 0.9507 GB, free: 78.85 MB / 0.5886 GB Notification: Performance of preOpt evalFunc (simulation): time 5.606e-05/1.35, allocations: 85.16 kB / 0.9508 GB, free: 78.75 MB / 0.5886 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.498e-05/1.35, allocations: 34.56 kB / 0.9508 GB, free: 78.71 MB / 0.5886 GB Notification: Performance of pre-optimization done (n=1): time 1.213e-06/1.35, allocations: 0 / 0.9508 GB, free: 78.71 MB / 0.5886 GB Notification: Performance of matching and sorting (n=1): time 0.0001647/1.351, allocations: 37.59 kB / 0.9509 GB, free: 78.66 MB / 0.5886 GB Notification: Performance of inlineWhenForInitialization (initialization): time 1.949e-05/1.351, allocations: 51.41 kB / 0.9509 GB, free: 78.6 MB / 0.5886 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.491e-05/1.351, allocations: 104.5 kB / 0.951 GB, free: 78.5 MB / 0.5886 GB Notification: Performance of collectPreVariables (initialization): time 1.091e-05/1.351, allocations: 29.7 kB / 0.951 GB, free: 78.46 MB / 0.5886 GB Notification: Performance of collectInitialEqns (initialization): time 2.747e-05/1.351, allocations: 84.05 kB / 0.9511 GB, free: 78.38 MB / 0.5886 GB Notification: Performance of collectInitialBindings (initialization): time 6.071e-06/1.351, allocations: 7.656 kB / 0.9511 GB, free: 78.37 MB / 0.5886 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.996e-06/1.351, allocations: 0 / 0.9511 GB, free: 78.37 MB / 0.5886 GB Notification: Performance of setup shared object (initialization): time 4.564e-05/1.351, allocations: 310.8 kB / 0.9514 GB, free: 78.06 MB / 0.5886 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.066e-05/1.351, allocations: 4 kB / 0.9514 GB, free: 78.05 MB / 0.5886 GB Notification: Performance of partitionIndependentBlocks (initialization): time 1.584e-05/1.351, allocations: 17.7 kB / 0.9514 GB, free: 78.03 MB / 0.5886 GB Notification: Performance of analyzeInitialSystem (initialization): time 6.811e-05/1.351, allocations: 11.5 kB / 0.9515 GB, free: 78.02 MB / 0.5886 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.452e-06/1.351, allocations: 3.938 kB / 0.9515 GB, free: 78.02 MB / 0.5886 GB Notification: Performance of matching and sorting (n=3) (initialization): time 9.024e-05/1.351, allocations: 49.62 kB / 0.9515 GB, free: 77.96 MB / 0.5886 GB Notification: Performance of prepare postOptimizeDAE: time 1.163e-05/1.351, allocations: 4 kB / 0.9515 GB, free: 77.96 MB / 0.5886 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.32e-06/1.351, allocations: 0 / 0.9515 GB, free: 77.96 MB / 0.5886 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.299e-05/1.351, allocations: 0 / 0.9515 GB, free: 77.96 MB / 0.5886 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.364e-05/1.351, allocations: 12 kB / 0.9515 GB, free: 77.95 MB / 0.5886 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.801e-06/1.351, allocations: 7.938 kB / 0.9515 GB, free: 77.94 MB / 0.5886 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.864e-05/1.351, allocations: 8 kB / 0.9515 GB, free: 77.93 MB / 0.5886 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.073e-06/1.351, allocations: 0 / 0.9515 GB, free: 77.93 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 () * 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 4.835e-05/1.351, allocations: 105 kB / 0.9516 GB, free: 77.82 MB / 0.5886 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.276e-05/1.351, allocations: 0 / 0.9516 GB, free: 77.82 MB / 0.5886 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 8.874e-05/1.351, allocations: 125 kB / 0.9518 GB, free: 77.7 MB / 0.5886 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.747e-05/1.351, allocations: 180.2 kB / 0.9519 GB, free: 77.52 MB / 0.5886 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.909e-05/1.351, allocations: 180.3 kB / 0.9521 GB, free: 77.33 MB / 0.5886 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.989e-05/1.352, allocations: 188.2 kB / 0.9523 GB, free: 77.14 MB / 0.5886 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001225/1.352, allocations: 385.6 kB / 0.9526 GB, free: 76.72 MB / 0.5886 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.534e-05/1.352, allocations: 105 kB / 0.9527 GB, free: 76.61 MB / 0.5886 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.492e-05/1.352, allocations: 104.9 kB / 0.9528 GB, free: 76.5 MB / 0.5886 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.526e-05/1.352, allocations: 176.3 kB / 0.953 GB, free: 76.32 MB / 0.5886 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.852e-05/1.352, allocations: 184.2 kB / 0.9532 GB, free: 76.14 MB / 0.5886 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.61e-05/1.352, allocations: 184.3 kB / 0.9534 GB, free: 75.95 MB / 0.5886 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.837e-05/1.352, allocations: 187.6 kB / 0.9535 GB, free: 75.76 MB / 0.5886 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 7.223e-05/1.352, allocations: 303.7 kB / 0.9538 GB, free: 75.44 MB / 0.5886 GB Notification: Performance of postOpt removeConstants (simulation): time 3.819e-05/1.352, allocations: 189.8 kB / 0.954 GB, free: 75.23 MB / 0.5886 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.389e-05/1.352, allocations: 176.3 kB / 0.9542 GB, free: 75.05 MB / 0.5886 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001058/1.352, allocations: 112.9 kB / 0.9543 GB, free: 74.94 MB / 0.5886 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.41e-05/1.352, allocations: 180.3 kB / 0.9545 GB, free: 74.75 MB / 0.5886 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.877e-05/1.352, allocations: 101 kB / 0.9546 GB, free: 74.65 MB / 0.5886 GB Notification: Performance of sorting global known variables: time 2.825e-05/1.352, allocations: 90.59 kB / 0.9546 GB, free: 74.56 MB / 0.5886 GB Notification: Performance of sort global known variables: time 1.3e-07/1.352, allocations: 0 / 0.9546 GB, free: 74.56 MB / 0.5886 GB Notification: Performance of remove unused functions: time 0.0002368/1.352, allocations: 16 kB / 0.9547 GB, free: 74.55 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 () * 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.0002262/1.353, allocations: 235.3 kB / 0.9549 GB, free: 74.31 MB / 0.5886 GB Notification: Performance of simCode: created initialization part: time 5.659e-05/1.353, allocations: 8 kB / 0.9549 GB, free: 74.3 MB / 0.5886 GB Notification: Performance of simCode: created event and clocks part: time 2.344e-06/1.353, allocations: 128 / 0.9549 GB, free: 74.3 MB / 0.5886 GB Notification: Performance of simCode: created simulation system equations: time 1.002e-06/1.353, allocations: 4 kB / 0.9549 GB, free: 74.3 MB / 0.5886 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002308/1.353, allocations: 0.5296 MB / 0.9554 GB, free: 73.77 MB / 0.5886 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0001617/1.353, allocations: 127.2 kB / 0.9555 GB, free: 73.62 MB / 0.5886 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001694/1.353, allocations: 0.6768 MB / 0.9562 GB, free: 72.92 MB / 0.5886 GB Notification: Performance of simCode: alias equations: time 4.323e-05/1.353, allocations: 11.94 kB / 0.9562 GB, free: 72.91 MB / 0.5886 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.474e-05/1.353, allocations: 11.44 kB / 0.9562 GB, free: 72.9 MB / 0.5886 GB Notification: Performance of SimCode: time 2.41e-07/1.353, allocations: 0 / 0.9562 GB, free: 72.9 MB / 0.5886 GB Notification: Performance of Templates: time 0.002755/1.356, allocations: 0.8306 MB / 0.957 GB, free: 72.08 MB / 0.5886 GB make -j1 -f IBPSA_latest_IBPSA.Media.Examples.PropyleneGlycolWaterTemperatureEnthalpyInversion.makefile (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 & ./IBPSA_latest_IBPSA.Media.Examples.PropyleneGlycolWaterTemperatureEnthalpyInversion -abortSlowSimulation -alarm=480 -lv LOG_STATS > IBPSA_latest_IBPSA.Media.Examples.PropyleneGlycolWaterTemperatureEnthalpyInversion.pipe 2>&1)