Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_13_Buildings.Media.Specialized.Air.Examples.PerfectGasTemperatureEnthalpyInversion.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.0006935/0.0006935, allocations: 76.17 kB / 9.931 MB, free: 0.7578 MB / 10.45 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.0009508/0.001644, allocations: 449.7 kB / 10.37 MB, free: 328 kB / 10.45 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.0006933/0.0006933, allocations: 165.2 kB / 11.26 MB, free: 2.91 MB / 13.93 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.0008474/0.001541, allocations: 459.6 kB / 11.71 MB, free: 2.457 MB / 13.93 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.995/0.995, allocations: 177.2 MB / 189.6 MB, free: 5.312 MB / 186.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.08915/1.084, allocations: 53.65 MB / 243.3 MB, free: 15.59 MB / 250.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 13.0.2-maint.13.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 13.0.2-maint.13.x/package.mo): time 1.886/1.886, allocations: 389.9 MB / 0.619 GB, free: 11.77 MB / 0.6042 GB Notification: Performance of NFInstanceAPI.mkTop(): time 0.4599/2.346, allocations: 127.1 MB / 0.7432 GB, free: 4.629 MB / 0.7136 GB " [Timeout remaining time 178] Using package Buildings with version 13.0.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 13.0.2-maint.13.x/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(Buildings.Media.Specialized.Air.Examples.PerfectGasTemperatureEnthalpyInversion,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="Buildings_13_Buildings.Media.Specialized.Air.Examples.PerfectGasTemperatureEnthalpyInversion") translateModel(Buildings.Media.Specialized.Air.Examples.PerfectGasTemperatureEnthalpyInversion,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="Buildings_13_Buildings.Media.Specialized.Air.Examples.PerfectGasTemperatureEnthalpyInversion") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 1.873e-06/1.873e-06, allocations: 3.938 kB / 0.7445 GB, free: 3.336 MB / 0.7136 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.093e-05/2.28e-05, allocations: 6.906 kB / 0.7445 GB, free: 3.328 MB / 0.7136 GB Notification: Performance of NFInst.instantiate(Buildings.Media.Specialized.Air.Examples.PerfectGasTemperatureEnthalpyInversion): time 0.1305/0.1306, allocations: 143.6 MB / 0.8847 GB, free: 3.453 MB / 0.8542 GB Notification: Performance of NFInst.instExpressions: time 0.0001418/0.1307, allocations: 51.73 kB / 0.8847 GB, free: 3.402 MB / 0.8542 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.051e-05/0.1307, allocations: 0 / 0.8847 GB, free: 3.402 MB / 0.8542 GB Notification: Performance of NFTyping.typeComponents: time 7.816e-05/0.1308, allocations: 11.92 kB / 0.8847 GB, free: 3.391 MB / 0.8542 GB Notification: Performance of NFTyping.typeBindings: time 6.181e-05/0.1309, allocations: 7.938 kB / 0.8847 GB, free: 3.383 MB / 0.8542 GB Notification: Performance of NFTyping.typeClassSections: time 0.000383/0.1312, allocations: 119.6 kB / 0.8849 GB, free: 3.266 MB / 0.8542 GB Notification: Performance of NFFlatten.flatten: time 8.025e-05/0.1313, allocations: 35.86 kB / 0.8849 GB, free: 3.23 MB / 0.8542 GB Notification: Performance of NFFlatten.resolveConnections: time 4.039e-05/0.1314, allocations: 7.922 kB / 0.8849 GB, free: 3.223 MB / 0.8542 GB Notification: Performance of NFEvalConstants.evaluate: time 6.42e-05/0.1314, allocations: 23.97 kB / 0.8849 GB, free: 3.199 MB / 0.8542 GB Notification: Performance of NFSimplifyModel.simplify: time 6.779e-05/0.1315, allocations: 8 kB / 0.8849 GB, free: 3.191 MB / 0.8542 GB Notification: Performance of NFPackage.collectConstants: time 1.256e-05/0.1315, allocations: 0 / 0.8849 GB, free: 3.191 MB / 0.8542 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002059/0.1317, allocations: 75.72 kB / 0.885 GB, free: 3.117 MB / 0.8542 GB Notification: Performance of NFScalarize.scalarize: time 3.867e-05/0.1317, allocations: 11.94 kB / 0.885 GB, free: 3.105 MB / 0.8542 GB Notification: Performance of NFVerifyModel.verify: time 1.842e-05/0.1318, allocations: 8 kB / 0.885 GB, free: 3.098 MB / 0.8542 GB Notification: Performance of NFConvertDAE.convert: time 0.0001366/0.1319, allocations: 55.83 kB / 0.8851 GB, free: 3.043 MB / 0.8542 GB Notification: Performance of FrontEnd - DAE generated: time 1.703e-05/0.1319, allocations: 4 kB / 0.8851 GB, free: 3.039 MB / 0.8542 GB Notification: Performance of FrontEnd: time 1.432e-06/0.1319, allocations: 0 / 0.8851 GB, free: 3.039 MB / 0.8542 GB Notification: Performance of Transformations before backend: time 1.742e-05/0.1319, allocations: 0 / 0.8851 GB, free: 3.039 MB / 0.8542 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 4 * Number of variables: 4 Notification: Performance of Generate backend data structure: time 0.0003483/0.1323, allocations: 252.5 kB / 0.8853 GB, free: 2.77 MB / 0.8542 GB Notification: Performance of prepare preOptimizeDAE: time 3.121e-05/0.1323, allocations: 8.031 kB / 0.8853 GB, free: 2.762 MB / 0.8542 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002324/0.1326, allocations: 109.9 kB / 0.8854 GB, free: 2.637 MB / 0.8542 GB Notification: Performance of preOpt evaluateParameters (simulation): time 7.993e-05/0.1326, allocations: 105.8 kB / 0.8855 GB, free: 2.508 MB / 0.8542 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.272e-05/0.1327, allocations: 51.97 kB / 0.8856 GB, free: 2.445 MB / 0.8542 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.087e-05/0.1327, allocations: 8.125 kB / 0.8856 GB, free: 2.438 MB / 0.8542 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001131/0.1328, allocations: 86.86 kB / 0.8857 GB, free: 2.336 MB / 0.8542 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.194e-06/0.1328, allocations: 3.938 kB / 0.8857 GB, free: 2.332 MB / 0.8542 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.724e-06/0.1328, allocations: 0 / 0.8857 GB, free: 2.332 MB / 0.8542 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.151e-05/0.1328, allocations: 7.984 kB / 0.8857 GB, free: 2.324 MB / 0.8542 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.502e-05/0.1329, allocations: 4 kB / 0.8857 GB, free: 2.32 MB / 0.8542 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002183/0.1331, allocations: 165.9 kB / 0.8858 GB, free: 2.141 MB / 0.8542 GB Notification: Performance of preOpt comSubExp (simulation): time 3.113e-05/0.1331, allocations: 18.52 kB / 0.8859 GB, free: 2.113 MB / 0.8542 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.117e-05/0.1331, allocations: 12.92 kB / 0.8859 GB, free: 2.098 MB / 0.8542 GB Notification: Performance of preOpt evalFunc (simulation): time 4.258e-06/0.1331, allocations: 0 / 0.8859 GB, free: 2.098 MB / 0.8542 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.344e-05/0.1331, allocations: 38.59 kB / 0.8859 GB, free: 2.051 MB / 0.8542 GB Notification: Performance of pre-optimization done (n=1): time 7.52e-07/0.1331, allocations: 0 / 0.8859 GB, free: 2.051 MB / 0.8542 GB Notification: Performance of matching and sorting (n=1): time 8.998e-05/0.1332, allocations: 29.7 kB / 0.8859 GB, free: 2.016 MB / 0.8542 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.653e-05/0.1333, allocations: 55.41 kB / 0.886 GB, free: 1.949 MB / 0.8542 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.999e-05/0.1333, allocations: 106.7 kB / 0.8861 GB, free: 1.832 MB / 0.8542 GB Notification: Performance of collectPreVariables (initialization): time 1.105e-05/0.1333, allocations: 25.7 kB / 0.8861 GB, free: 1.801 MB / 0.8542 GB Notification: Performance of collectInitialEqns (initialization): time 4.271e-05/0.1334, allocations: 103.9 kB / 0.8862 GB, free: 1.695 MB / 0.8542 GB Notification: Performance of collectInitialBindings (initialization): time 7.625e-06/0.1334, allocations: 0 / 0.8862 GB, free: 1.695 MB / 0.8542 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.853e-05/0.1334, allocations: 21.8 kB / 0.8862 GB, free: 1.668 MB / 0.8542 GB Notification: Performance of setup shared object (initialization): time 7.731e-05/0.1335, allocations: 318.8 kB / 0.8865 GB, free: 1.348 MB / 0.8542 GB Notification: Performance of preBalanceInitialSystem (initialization): time 7.795e-06/0.1335, allocations: 4 kB / 0.8865 GB, free: 1.344 MB / 0.8542 GB Notification: Performance of partitionIndependentBlocks (initialization): time 1.952e-05/0.1335, allocations: 22.58 kB / 0.8866 GB, free: 1.312 MB / 0.8542 GB Notification: Performance of analyzeInitialSystem (initialization): time 3.511e-05/0.1336, allocations: 37.33 kB / 0.8866 GB, free: 1.266 MB / 0.8542 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.753e-06/0.1336, allocations: 3.938 kB / 0.8866 GB, free: 1.262 MB / 0.8542 GB Notification: Performance of matching and sorting (n=4) (initialization): time 5.358e-05/0.1336, allocations: 41.64 kB / 0.8866 GB, free: 1.215 MB / 0.8542 GB Notification: Performance of prepare postOptimizeDAE: time 1.254e-05/0.1336, allocations: 12.08 kB / 0.8867 GB, free: 1.203 MB / 0.8542 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.917e-06/0.1336, allocations: 0 / 0.8867 GB, free: 1.203 MB / 0.8542 GB Notification: Performance of postOpt tearingSystem (initialization): time 9.047e-06/0.1336, allocations: 4 kB / 0.8867 GB, free: 1.199 MB / 0.8542 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.342e-05/0.1337, allocations: 4 kB / 0.8867 GB, free: 1.195 MB / 0.8542 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.48e-06/0.1337, allocations: 4 kB / 0.8867 GB, free: 1.191 MB / 0.8542 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.405e-05/0.1337, allocations: 0 / 0.8867 GB, free: 1.191 MB / 0.8542 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.166e-06/0.1337, allocations: 0 / 0.8867 GB, free: 1.191 MB / 0.8542 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 3 * 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 (4): * Single equations (assignments): 4 * 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.487e-05/0.1338, allocations: 116.6 kB / 0.8868 GB, free: 1.066 MB / 0.8542 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.799e-05/0.1338, allocations: 0 / 0.8868 GB, free: 1.066 MB / 0.8542 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.043e-05/0.1338, allocations: 15.14 kB / 0.8868 GB, free: 1.051 MB / 0.8542 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.223e-06/0.1338, allocations: 4 kB / 0.8868 GB, free: 1.047 MB / 0.8542 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.774e-06/0.1338, allocations: 0 / 0.8868 GB, free: 1.047 MB / 0.8542 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.063e-06/0.1338, allocations: 0 / 0.8868 GB, free: 1.047 MB / 0.8542 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001666/0.134, allocations: 266.8 kB / 0.8871 GB, free: 0.7578 MB / 0.8542 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.51e-07/0.134, allocations: 0 / 0.8871 GB, free: 0.7578 MB / 0.8542 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.857e-06/0.134, allocations: 4 kB / 0.8871 GB, free: 0.7539 MB / 0.8542 GB Notification: Performance of postOpt removeConstants (simulation): time 5.13e-06/0.134, allocations: 0 / 0.8871 GB, free: 0.7539 MB / 0.8542 GB Notification: Performance of postOpt tearingSystem (simulation): time 9.92e-07/0.134, allocations: 96 / 0.8871 GB, free: 0.7539 MB / 0.8542 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.855e-06/0.134, allocations: 0 / 0.8871 GB, free: 0.7539 MB / 0.8542 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.91e-07/0.134, allocations: 0 / 0.8871 GB, free: 0.7539 MB / 0.8542 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.754e-06/0.134, allocations: 3.984 kB / 0.8871 GB, free: 0.75 MB / 0.8542 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 4.48e-05/0.134, allocations: 69.03 kB / 0.8871 GB, free: 0.6641 MB / 0.8542 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.067e-05/0.1341, allocations: 256 / 0.8871 GB, free: 0.6641 MB / 0.8542 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.965e-05/0.1341, allocations: 12 kB / 0.8871 GB, free: 0.6523 MB / 0.8542 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.175e-06/0.1341, allocations: 0 / 0.8871 GB, free: 0.6523 MB / 0.8542 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.12e-07/0.1341, allocations: 0 / 0.8871 GB, free: 0.6523 MB / 0.8542 GB Notification: Performance of sorting global known variables: time 1.249e-05/0.1341, allocations: 12.84 kB / 0.8872 GB, free: 0.6367 MB / 0.8542 GB Notification: Performance of sort global known variables: time 6e-08/0.1341, allocations: 0 / 0.8872 GB, free: 0.6367 MB / 0.8542 GB Notification: Performance of remove unused functions: time 0.0001404/0.1343, allocations: 8 kB / 0.8872 GB, free: 0.6289 MB / 0.8542 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 (1): * Single equations (assignments): 1 * 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 7.802e-05/0.1343, allocations: 76.42 kB / 0.8872 GB, free: 0.543 MB / 0.8542 GB Notification: Performance of simCode: created initialization part: time 5.157e-05/0.1344, allocations: 20.88 kB / 0.8873 GB, free: 0.5195 MB / 0.8542 GB Notification: Performance of simCode: created event and clocks part: time 4.749e-06/0.1344, allocations: 3.938 kB / 0.8873 GB, free: 0.5156 MB / 0.8542 GB Notification: Performance of simCode: created simulation system equations: time 7.003e-06/0.1344, allocations: 8.859 kB / 0.8873 GB, free: 0.5039 MB / 0.8542 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001123/0.1345, allocations: 23.86 kB / 0.8873 GB, free: 492 kB / 0.8542 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007954/0.1353, allocations: 119.8 kB / 0.8874 GB, free: 344 kB / 0.8542 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 2.815e-05/0.1353, allocations: 59.36 kB / 0.8875 GB, free: 264 kB / 0.8542 GB Notification: Performance of simCode: alias equations: time 3.065e-05/0.1354, allocations: 0 / 0.8875 GB, free: 264 kB / 0.8542 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.991e-05/0.1354, allocations: 63.34 kB / 0.8875 GB, free: 200 kB / 0.8542 GB Notification: Performance of SimCode: time 5.92e-07/0.1354, allocations: 0 / 0.8875 GB, free: 200 kB / 0.8542 GB Notification: Performance of Templates: time 0.002178/0.1376, allocations: 0.6509 MB / 0.8882 GB, free: 15.56 MB / 0.8698 GB " [Timeout remaining time 300] make -j1 -f Buildings_13_Buildings.Media.Specialized.Air.Examples.PerfectGasTemperatureEnthalpyInversion.makefile [Timeout 300] (rm -f Buildings_13_Buildings.Media.Specialized.Air.Examples.PerfectGasTemperatureEnthalpyInversion.pipe ; mkfifo Buildings_13_Buildings.Media.Specialized.Air.Examples.PerfectGasTemperatureEnthalpyInversion.pipe ; head -c 1048576 < Buildings_13_Buildings.Media.Specialized.Air.Examples.PerfectGasTemperatureEnthalpyInversion.pipe >> ../files/Buildings_13_Buildings.Media.Specialized.Air.Examples.PerfectGasTemperatureEnthalpyInversion.sim & ./Buildings_13_Buildings.Media.Specialized.Air.Examples.PerfectGasTemperatureEnthalpyInversion -abortSlowSimulation -alarm=240 -lv LOG_STATS > Buildings_13_Buildings.Media.Specialized.Air.Examples.PerfectGasTemperatureEnthalpyInversion.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 4.885628633201122]