Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr BuildingSystems_BuildingSystems.Media.Examples.SteamTemperatureEnthalpyInversion.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.001516/0.001516, allocations: 80.75 kB / 19.94 MB, free: 4.547 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.001185/0.001185, allocations: 181 kB / 23.36 MB, free: 1.133 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 0.9941/0.9941, allocations: 177.1 MB / 203.8 MB, free: 5.465 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 master/package.mo): time 0.001717/0.001717, allocations: 246 kB / 260.5 MB, free: 12.68 MB / 250.7 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems master/package.mo): time 0.7307/0.7307, allocations: 138.4 MB / 402.2 MB, free: 0.5586 MB / 362.7 MB " [Timeout remaining time 179] Using package BuildingSystems with version 2.0.0-beta (/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems master/package.mo) Using package NcDataReader2 with version 2.5.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 master/package.mo) Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo) Using package Complex with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo) Running command: translateModel(BuildingSystems.Media.Examples.SteamTemperatureEnthalpyInversion,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Media.Examples.SteamTemperatureEnthalpyInversion") translateModel(BuildingSystems.Media.Examples.SteamTemperatureEnthalpyInversion,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Media.Examples.SteamTemperatureEnthalpyInversion") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.784e-06/1.784e-06, allocations: 0 / 462.3 MB, free: 0.8984 MB / 410.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.181e-05/2.36e-05, allocations: 4.062 kB / 462.3 MB, free: 0.8945 MB / 410.7 MB Notification: Performance of NFInst.instantiate(BuildingSystems.Media.Examples.SteamTemperatureEnthalpyInversion): time 0.1429/0.1429, allocations: 130.7 MB / 0.5791 GB, free: 15.8 MB / 0.5417 GB Notification: Performance of NFInst.instExpressions: time 0.000131/0.1431, allocations: 55.73 kB / 0.5791 GB, free: 15.75 MB / 0.5417 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.021e-05/0.1431, allocations: 0 / 0.5791 GB, free: 15.75 MB / 0.5417 GB Notification: Performance of NFTyping.typeComponents: time 9.56e-05/0.1432, allocations: 11.88 kB / 0.5792 GB, free: 15.74 MB / 0.5417 GB Notification: Performance of NFTyping.typeBindings: time 6.526e-05/0.1432, allocations: 11.97 kB / 0.5792 GB, free: 15.73 MB / 0.5417 GB Notification: Performance of NFTyping.typeClassSections: time 0.0007047/0.1439, allocations: 267.7 kB / 0.5794 GB, free: 15.46 MB / 0.5417 GB Notification: Performance of NFFlatten.flatten: time 7.388e-05/0.144, allocations: 35.84 kB / 0.5795 GB, free: 15.43 MB / 0.5417 GB Notification: Performance of NFFlatten.resolveConnections: time 3.165e-05/0.1441, allocations: 0 / 0.5795 GB, free: 15.43 MB / 0.5417 GB Notification: Performance of NFEvalConstants.evaluate: time 4.658e-05/0.1441, allocations: 19.92 kB / 0.5795 GB, free: 15.41 MB / 0.5417 GB Notification: Performance of NFSimplifyModel.simplify: time 6.173e-05/0.1442, allocations: 19.97 kB / 0.5795 GB, free: 15.39 MB / 0.5417 GB Notification: Performance of NFPackage.collectConstants: time 1.05e-05/0.1442, allocations: 0 / 0.5795 GB, free: 15.39 MB / 0.5417 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0003134/0.1445, allocations: 187.4 kB / 0.5797 GB, free: 15.21 MB / 0.5417 GB Notification: Performance of NFScalarize.scalarize: time 3.887e-05/0.1445, allocations: 8 kB / 0.5797 GB, free: 15.2 MB / 0.5417 GB Notification: Performance of NFVerifyModel.verify: time 1.849e-05/0.1445, allocations: 11.92 kB / 0.5797 GB, free: 15.19 MB / 0.5417 GB Notification: Performance of NFConvertDAE.convert: time 0.0002377/0.1448, allocations: 175.5 kB / 0.5799 GB, free: 15.02 MB / 0.5417 GB Notification: Performance of FrontEnd - DAE generated: time 3.656e-06/0.1448, allocations: 4 kB / 0.5799 GB, free: 15.01 MB / 0.5417 GB Notification: Performance of FrontEnd: time 1.031e-06/0.1448, allocations: 0 / 0.5799 GB, free: 15.01 MB / 0.5417 GB Notification: Performance of Transformations before backend: time 3.677e-06/0.1448, allocations: 0 / 0.5799 GB, free: 15.01 MB / 0.5417 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.0002479/0.145, allocations: 263.8 kB / 0.5801 GB, free: 14.73 MB / 0.5417 GB Notification: Performance of prepare preOptimizeDAE: time 2.918e-05/0.1451, allocations: 12.75 kB / 0.5801 GB, free: 14.72 MB / 0.5417 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.554e-05/0.1451, allocations: 4.938 kB / 0.5801 GB, free: 14.72 MB / 0.5417 GB Notification: Performance of preOpt evaluateParameters (simulation): time 6.441e-05/0.1452, allocations: 101.8 kB / 0.5802 GB, free: 14.59 MB / 0.5417 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.415e-05/0.1452, allocations: 55.97 kB / 0.5803 GB, free: 14.53 MB / 0.5417 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.995e-06/0.1452, allocations: 4.375 kB / 0.5803 GB, free: 14.52 MB / 0.5417 GB Notification: Performance of preOpt clockPartitioning (simulation): time 9.585e-05/0.1453, allocations: 87.95 kB / 0.5804 GB, free: 14.42 MB / 0.5417 GB Notification: Performance of preOpt findStateOrder (simulation): time 5.871e-06/0.1453, allocations: 0 / 0.5804 GB, free: 14.42 MB / 0.5417 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.312e-06/0.1453, allocations: 4 kB / 0.5804 GB, free: 14.42 MB / 0.5417 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.777e-05/0.1453, allocations: 0 / 0.5804 GB, free: 14.42 MB / 0.5417 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 1.671e-05/0.1453, allocations: 4 kB / 0.5804 GB, free: 14.41 MB / 0.5417 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003344/0.1457, allocations: 212.8 kB / 0.5806 GB, free: 14.19 MB / 0.5417 GB Notification: Performance of preOpt comSubExp (simulation): time 2.274e-05/0.1457, allocations: 14.58 kB / 0.5806 GB, free: 14.17 MB / 0.5417 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.046e-05/0.1457, allocations: 8.797 kB / 0.5806 GB, free: 14.16 MB / 0.5417 GB Notification: Performance of preOpt evalFunc (simulation): time 4.53e-05/0.1458, allocations: 43.64 kB / 0.5806 GB, free: 14.12 MB / 0.5417 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.624e-05/0.1458, allocations: 30.56 kB / 0.5807 GB, free: 14.08 MB / 0.5417 GB Notification: Performance of pre-optimization done (n=1): time 9.52e-07/0.1458, allocations: 0 / 0.5807 GB, free: 14.08 MB / 0.5417 GB Notification: Performance of matching and sorting (n=1): time 7.788e-05/0.1459, allocations: 29.7 kB / 0.5807 GB, free: 14.04 MB / 0.5417 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.221e-05/0.1459, allocations: 55.53 kB / 0.5808 GB, free: 13.98 MB / 0.5417 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.291e-05/0.1459, allocations: 117.7 kB / 0.5809 GB, free: 13.85 MB / 0.5417 GB Notification: Performance of collectPreVariables (initialization): time 9.948e-06/0.146, allocations: 25.7 kB / 0.5809 GB, free: 13.82 MB / 0.5417 GB Notification: Performance of collectInitialEqns (initialization): time 3.295e-05/0.146, allocations: 92.38 kB / 0.581 GB, free: 13.73 MB / 0.5417 GB Notification: Performance of collectInitialBindings (initialization): time 3.346e-06/0.146, allocations: 0 / 0.581 GB, free: 13.73 MB / 0.5417 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.722e-05/0.146, allocations: 25.69 kB / 0.581 GB, free: 13.7 MB / 0.5417 GB Notification: Performance of setup shared object (initialization): time 7.411e-05/0.1461, allocations: 310.8 kB / 0.5813 GB, free: 13.38 MB / 0.5417 GB Notification: Performance of preBalanceInitialSystem (initialization): time 7.243e-06/0.1461, allocations: 7.938 kB / 0.5813 GB, free: 13.38 MB / 0.5417 GB Notification: Performance of partitionIndependentBlocks (initialization): time 1.323e-05/0.1461, allocations: 9.719 kB / 0.5813 GB, free: 13.36 MB / 0.5417 GB Notification: Performance of analyzeInitialSystem (initialization): time 2.411e-05/0.1461, allocations: 25.28 kB / 0.5813 GB, free: 13.33 MB / 0.5417 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.814e-06/0.1461, allocations: 4 kB / 0.5813 GB, free: 13.32 MB / 0.5417 GB Notification: Performance of matching and sorting (n=3) (initialization): time 4.685e-05/0.1462, allocations: 45.56 kB / 0.5814 GB, free: 13.27 MB / 0.5417 GB Notification: Performance of prepare postOptimizeDAE: time 1.076e-05/0.1462, allocations: 8 kB / 0.5814 GB, free: 13.27 MB / 0.5417 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.409e-06/0.1462, allocations: 0 / 0.5814 GB, free: 13.27 MB / 0.5417 GB Notification: Performance of postOpt tearingSystem (initialization): time 8.997e-06/0.1462, allocations: 0 / 0.5814 GB, free: 13.27 MB / 0.5417 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 2.681e-05/0.1462, allocations: 4 kB / 0.5814 GB, free: 13.26 MB / 0.5417 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.849e-06/0.1462, allocations: 6.141 kB / 0.5814 GB, free: 13.26 MB / 0.5417 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.382e-05/0.1463, allocations: 3.953 kB / 0.5814 GB, free: 13.25 MB / 0.5417 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.402e-06/0.1463, allocations: 0 / 0.5814 GB, free: 13.25 MB / 0.5417 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 (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 5.103e-05/0.1463, allocations: 120.7 kB / 0.5815 GB, free: 13.12 MB / 0.5417 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.695e-05/0.1463, allocations: 7.922 kB / 0.5815 GB, free: 13.12 MB / 0.5417 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.604e-05/0.1464, allocations: 116.9 kB / 0.5816 GB, free: 12.99 MB / 0.5417 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.919e-05/0.1464, allocations: 177.3 kB / 0.5818 GB, free: 12.81 MB / 0.5417 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.276e-05/0.1465, allocations: 196.2 kB / 0.582 GB, free: 12.61 MB / 0.5417 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.842e-05/0.1465, allocations: 176.3 kB / 0.5822 GB, free: 12.43 MB / 0.5417 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001205/0.1466, allocations: 317.5 kB / 0.5825 GB, free: 12.1 MB / 0.5417 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.403e-05/0.1467, allocations: 106.2 kB / 0.5826 GB, free: 11.99 MB / 0.5417 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.861e-05/0.1467, allocations: 109 kB / 0.5827 GB, free: 11.88 MB / 0.5417 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.02e-05/0.1467, allocations: 180.2 kB / 0.5828 GB, free: 11.69 MB / 0.5417 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.856e-05/0.1468, allocations: 184.2 kB / 0.583 GB, free: 11.5 MB / 0.5417 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.01e-05/0.1468, allocations: 184.2 kB / 0.5832 GB, free: 11.32 MB / 0.5417 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 0.0002488/0.1471, allocations: 176.3 kB / 0.5834 GB, free: 11.14 MB / 0.5417 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 8.663e-05/0.1472, allocations: 307.8 kB / 0.5837 GB, free: 10.81 MB / 0.5417 GB Notification: Performance of postOpt removeConstants (simulation): time 2.904e-05/0.1472, allocations: 105 kB / 0.5838 GB, free: 10.7 MB / 0.5417 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.691e-05/0.1472, allocations: 184.1 kB / 0.5839 GB, free: 10.52 MB / 0.5417 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.717e-05/0.1473, allocations: 109.5 kB / 0.584 GB, free: 10.4 MB / 0.5417 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.814e-05/0.1473, allocations: 176.3 kB / 0.5842 GB, free: 10.22 MB / 0.5417 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.442e-05/0.1474, allocations: 110.1 kB / 0.5843 GB, free: 10.11 MB / 0.5417 GB Notification: Performance of sorting global known variables: time 1.843e-05/0.1474, allocations: 21.33 kB / 0.5843 GB, free: 10.09 MB / 0.5417 GB Notification: Performance of sort global known variables: time 5e-08/0.1474, allocations: 7.938 kB / 0.5843 GB, free: 10.08 MB / 0.5417 GB Notification: Performance of remove unused functions: time 0.0001903/0.1476, allocations: 51.75 kB / 0.5844 GB, free: 10.03 MB / 0.5417 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 (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0002236/0.1478, allocations: 236.9 kB / 0.5846 GB, free: 9.789 MB / 0.5417 GB Notification: Performance of simCode: created initialization part: time 4.367e-05/0.1478, allocations: 16.91 kB / 0.5846 GB, free: 9.77 MB / 0.5417 GB Notification: Performance of simCode: created event and clocks part: time 4.509e-06/0.1478, allocations: 4 kB / 0.5846 GB, free: 9.766 MB / 0.5417 GB Notification: Performance of simCode: created simulation system equations: time 2.335e-06/0.1478, allocations: 3.938 kB / 0.5846 GB, free: 9.762 MB / 0.5417 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002108/0.1481, allocations: 460.4 kB / 0.5851 GB, free: 9.309 MB / 0.5417 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003194/0.1484, allocations: 196.9 kB / 0.5853 GB, free: 9.094 MB / 0.5417 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 2.781e-05/0.1484, allocations: 55.34 kB / 0.5853 GB, free: 9.02 MB / 0.5417 GB Notification: Performance of simCode: alias equations: time 2.784e-05/0.1484, allocations: 15.48 kB / 0.5853 GB, free: 9.008 MB / 0.5417 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.309e-05/0.1485, allocations: 63.34 kB / 0.5854 GB, free: 8.949 MB / 0.5417 GB Notification: Performance of SimCode: time 6.51e-07/0.1485, allocations: 0 / 0.5854 GB, free: 8.949 MB / 0.5417 GB Notification: Performance of Templates: time 0.002857/0.1514, allocations: 1.428 MB / 0.5868 GB, free: 7.602 MB / 0.5417 GB " [Timeout remaining time 660] make -j1 -f BuildingSystems_BuildingSystems.Media.Examples.SteamTemperatureEnthalpyInversion.makefile [Timeout 660] (rm -f BuildingSystems_BuildingSystems.Media.Examples.SteamTemperatureEnthalpyInversion.pipe ; mkfifo BuildingSystems_BuildingSystems.Media.Examples.SteamTemperatureEnthalpyInversion.pipe ; head -c 1048576 < BuildingSystems_BuildingSystems.Media.Examples.SteamTemperatureEnthalpyInversion.pipe >> ../files/BuildingSystems_BuildingSystems.Media.Examples.SteamTemperatureEnthalpyInversion.sim & ./BuildingSystems_BuildingSystems.Media.Examples.SteamTemperatureEnthalpyInversion -abortSlowSimulation -alarm=240 -s gbode -gbm=radauIIA3 -lv LOG_STATS > BuildingSystems_BuildingSystems.Media.Examples.SteamTemperatureEnthalpyInversion.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 3.6073102802038193]