Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr BuildingSystems_BuildingSystems.Utilities.Psychrometrics.Examples.Phi_pTX.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.001473/0.001473, allocations: 102.1 kB / 19.7 MB, free: 2.254 MB / 14.72 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.001782/0.001782, allocations: 217.6 kB / 23.01 MB, free: 4.609 MB / 14.72 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 1.382/1.382, allocations: 230.6 MB / 256.8 MB, free: 8.059 MB / 206.1 MB " [Timeout remaining time 178] 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.002472/0.002472, allocations: 286.7 kB / 313.5 MB, free: 2.844 MB / 238.1 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 1.154/1.154, allocations: 180.6 MB / 0.5377 GB, free: 12.96 MB / 382.1 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.Utilities.Psychrometrics.Examples.Phi_pTX,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Utilities.Psychrometrics.Examples.Phi_pTX") translateModel(BuildingSystems.Utilities.Psychrometrics.Examples.Phi_pTX,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Utilities.Psychrometrics.Examples.Phi_pTX") [Timeout 660] "Notification: NcDataReader2 requested package Modelica of version 4.0.0. Modelica 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: BuildingSystems requested package Modelica of version 4.0.0. Modelica 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.002757/0.002757, allocations: 103.3 kB / 0.7408 GB, free: 28.02 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1617/0.1645, allocations: 95.39 MB / 0.8339 GB, free: 8.18 MB / 0.5763 GB Notification: Performance of NFInst.instantiate(BuildingSystems.Utilities.Psychrometrics.Examples.Phi_pTX): time 0.002927/0.1674, allocations: 1.533 MB / 0.8354 GB, free: 6.637 MB / 0.5763 GB Notification: Performance of NFInst.instExpressions: time 0.001326/0.1687, allocations: 0.8163 MB / 0.8362 GB, free: 5.816 MB / 0.5763 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.821e-05/0.1688, allocations: 0 / 0.8362 GB, free: 5.816 MB / 0.5763 GB Notification: Performance of NFTyping.typeComponents: time 2.936e-05/0.1688, allocations: 7.922 kB / 0.8362 GB, free: 5.809 MB / 0.5763 GB Notification: Performance of NFTyping.typeBindings: time 4.82e-05/0.1688, allocations: 15.81 kB / 0.8363 GB, free: 5.793 MB / 0.5763 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004652/0.1693, allocations: 135.5 kB / 0.8364 GB, free: 5.66 MB / 0.5763 GB Notification: Performance of NFFlatten.flatten: time 8.983e-05/0.1694, allocations: 51.78 kB / 0.8364 GB, free: 5.609 MB / 0.5763 GB Notification: Performance of NFFlatten.resolveConnections: time 8.591e-05/0.1695, allocations: 15.92 kB / 0.8365 GB, free: 5.594 MB / 0.5763 GB Notification: Performance of NFEvalConstants.evaluate: time 5.141e-05/0.1695, allocations: 23.92 kB / 0.8365 GB, free: 5.57 MB / 0.5763 GB Notification: Performance of NFSimplifyModel.simplify: time 4.987e-05/0.1696, allocations: 19.92 kB / 0.8365 GB, free: 5.551 MB / 0.5763 GB Notification: Performance of NFPackage.collectConstants: time 1.431e-05/0.1696, allocations: 4 kB / 0.8365 GB, free: 5.547 MB / 0.5763 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0003506/0.1699, allocations: 175.8 kB / 0.8367 GB, free: 5.375 MB / 0.5763 GB Notification: Performance of NFScalarize.scalarize: time 1.846e-05/0.17, allocations: 11.92 kB / 0.8367 GB, free: 5.363 MB / 0.5763 GB Notification: Performance of NFVerifyModel.verify: time 3.32e-05/0.17, allocations: 23.88 kB / 0.8367 GB, free: 5.34 MB / 0.5763 GB Notification: Performance of NFConvertDAE.convert: time 0.0002736/0.1703, allocations: 155.5 kB / 0.8368 GB, free: 5.188 MB / 0.5763 GB Notification: Performance of FrontEnd - DAE generated: time 3.406e-06/0.1703, allocations: 0 / 0.8368 GB, free: 5.188 MB / 0.5763 GB Notification: Performance of FrontEnd: time 1.132e-06/0.1703, allocations: 3.938 kB / 0.8369 GB, free: 5.184 MB / 0.5763 GB Notification: Performance of Transformations before backend: time 4.809e-06/0.1703, allocations: 0 / 0.8369 GB, free: 5.184 MB / 0.5763 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 7 * Number of variables: 7 Notification: Performance of Generate backend data structure: time 0.0005499/0.1708, allocations: 325.8 kB / 0.8372 GB, free: 4.832 MB / 0.5763 GB Notification: Performance of prepare preOptimizeDAE: time 3.32e-05/0.1709, allocations: 9.344 kB / 0.8372 GB, free: 4.824 MB / 0.5763 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.116e-05/0.1709, allocations: 4.938 kB / 0.8372 GB, free: 4.82 MB / 0.5763 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001132/0.171, allocations: 110.5 kB / 0.8373 GB, free: 4.688 MB / 0.5763 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.328e-05/0.171, allocations: 8.375 kB / 0.8373 GB, free: 4.68 MB / 0.5763 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.23e-05/0.171, allocations: 8.312 kB / 0.8373 GB, free: 4.672 MB / 0.5763 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002645/0.1713, allocations: 74.2 kB / 0.8374 GB, free: 4.594 MB / 0.5763 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.015e-06/0.1713, allocations: 192 / 0.8374 GB, free: 4.594 MB / 0.5763 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.023e-05/0.1713, allocations: 3.938 kB / 0.8374 GB, free: 4.59 MB / 0.5763 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.289e-06/0.1713, allocations: 0 / 0.8374 GB, free: 4.59 MB / 0.5763 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002794/0.1716, allocations: 75.92 kB / 0.8374 GB, free: 4.516 MB / 0.5763 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003739/0.172, allocations: 251.8 kB / 0.8377 GB, free: 4.227 MB / 0.5763 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001986/0.1722, allocations: 66.47 kB / 0.8377 GB, free: 4.152 MB / 0.5763 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001479/0.1723, allocations: 36.92 kB / 0.8378 GB, free: 4.113 MB / 0.5763 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001385/0.1725, allocations: 15.98 kB / 0.8378 GB, free: 4.098 MB / 0.5763 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.091e-05/0.1725, allocations: 34.55 kB / 0.8378 GB, free: 4.055 MB / 0.5763 GB Notification: Performance of pre-optimization done (n=3): time 1.132e-06/0.1725, allocations: 0 / 0.8378 GB, free: 4.055 MB / 0.5763 GB Notification: Performance of matching and sorting (n=3): time 0.0005009/0.173, allocations: 137.5 kB / 0.838 GB, free: 3.914 MB / 0.5763 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.409e-05/0.173, allocations: 51.41 kB / 0.838 GB, free: 3.852 MB / 0.5763 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000106/0.1732, allocations: 121.8 kB / 0.8381 GB, free: 3.723 MB / 0.5763 GB Notification: Performance of collectPreVariables (initialization): time 1.513e-05/0.1732, allocations: 29.64 kB / 0.8382 GB, free: 3.688 MB / 0.5763 GB Notification: Performance of collectInitialEqns (initialization): time 5.669e-05/0.1732, allocations: 88.14 kB / 0.8382 GB, free: 3.598 MB / 0.5763 GB Notification: Performance of collectInitialBindings (initialization): time 1.886e-05/0.1732, allocations: 11.89 kB / 0.8383 GB, free: 3.586 MB / 0.5763 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.223e-05/0.1733, allocations: 13.72 kB / 0.8383 GB, free: 3.566 MB / 0.5763 GB Notification: Performance of setup shared object (initialization): time 0.0001456/0.1734, allocations: 326.8 kB / 0.8386 GB, free: 3.238 MB / 0.5763 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001363/0.1736, allocations: 27.97 kB / 0.8386 GB, free: 3.211 MB / 0.5763 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001306/0.1737, allocations: 35.95 kB / 0.8386 GB, free: 3.176 MB / 0.5763 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002445/0.1739, allocations: 68.8 kB / 0.8387 GB, free: 3.105 MB / 0.5763 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.733e-06/0.1739, allocations: 0 / 0.8387 GB, free: 3.105 MB / 0.5763 GB Notification: Performance of matching and sorting (n=3) (initialization): time 0.0002971/0.1742, allocations: 105.5 kB / 0.8388 GB, free: 2.996 MB / 0.5763 GB Notification: Performance of prepare postOptimizeDAE: time 1.334e-05/0.1742, allocations: 4 kB / 0.8388 GB, free: 2.992 MB / 0.5763 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.519e-06/0.1743, allocations: 0 / 0.8388 GB, free: 2.992 MB / 0.5763 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.303e-05/0.1743, allocations: 0 / 0.8388 GB, free: 2.992 MB / 0.5763 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001107/0.1744, allocations: 19.98 kB / 0.8388 GB, free: 2.973 MB / 0.5763 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.278e-06/0.1744, allocations: 0 / 0.8388 GB, free: 2.973 MB / 0.5763 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.344e-05/0.1745, allocations: 15.98 kB / 0.8388 GB, free: 2.957 MB / 0.5763 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.741e-06/0.1745, allocations: 0 / 0.8388 GB, free: 2.957 MB / 0.5763 GB Notification: Model statistics after passing the back-end for initialization: * 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 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 8.838e-05/0.1746, allocations: 122.4 kB / 0.839 GB, free: 2.828 MB / 0.5763 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.683e-05/0.1746, allocations: 3.953 kB / 0.839 GB, free: 2.824 MB / 0.5763 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003543/0.1749, allocations: 113.5 kB / 0.8391 GB, free: 2.699 MB / 0.5763 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.843e-06/0.1749, allocations: 0 / 0.8391 GB, free: 2.699 MB / 0.5763 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.757e-06/0.1749, allocations: 4 kB / 0.8391 GB, free: 2.695 MB / 0.5763 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.565e-06/0.1749, allocations: 0 / 0.8391 GB, free: 2.695 MB / 0.5763 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001665/0.1751, allocations: 144.7 kB / 0.8392 GB, free: 2.512 MB / 0.5763 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.493e-06/0.1751, allocations: 0 / 0.8392 GB, free: 2.512 MB / 0.5763 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.492e-05/0.1752, allocations: 15.98 kB / 0.8392 GB, free: 2.496 MB / 0.5763 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.874e-06/0.1752, allocations: 0 / 0.8392 GB, free: 2.496 MB / 0.5763 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.623e-06/0.1752, allocations: 0 / 0.8392 GB, free: 2.496 MB / 0.5763 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.272e-06/0.1752, allocations: 4 kB / 0.8392 GB, free: 2.492 MB / 0.5763 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.52e-07/0.1752, allocations: 0 / 0.8392 GB, free: 2.492 MB / 0.5763 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003334/0.1756, allocations: 199.4 kB / 0.8394 GB, free: 2.281 MB / 0.5763 GB Notification: Performance of postOpt removeConstants (simulation): time 1.076e-05/0.1756, allocations: 3.953 kB / 0.8394 GB, free: 2.277 MB / 0.5763 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.287e-05/0.1756, allocations: 0 / 0.8394 GB, free: 2.277 MB / 0.5763 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001085/0.1757, allocations: 15.98 kB / 0.8394 GB, free: 2.262 MB / 0.5763 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.814e-05/0.1757, allocations: 7.984 kB / 0.8394 GB, free: 2.254 MB / 0.5763 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.67e-06/0.1757, allocations: 4.422 kB / 0.8395 GB, free: 2.25 MB / 0.5763 GB Notification: Performance of sorting global known variables: time 5.891e-05/0.1758, allocations: 99.58 kB / 0.8395 GB, free: 2.152 MB / 0.5763 GB Notification: Performance of sort global known variables: time 7.1e-08/0.1758, allocations: 0 / 0.8395 GB, free: 2.152 MB / 0.5763 GB Notification: Performance of remove unused functions: time 0.0002549/0.176, allocations: 31.88 kB / 0.8396 GB, free: 2.121 MB / 0.5763 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 (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 Backend phase and start with SimCode phase: time 0.0002069/0.1762, allocations: 131.2 kB / 0.8397 GB, free: 1.984 MB / 0.5763 GB Notification: Performance of simCode: created initialization part: time 0.000311/0.1766, allocations: 71.92 kB / 0.8398 GB, free: 1.914 MB / 0.5763 GB Notification: Performance of simCode: created event and clocks part: time 1.823e-06/0.1766, allocations: 0 / 0.8398 GB, free: 1.914 MB / 0.5763 GB Notification: Performance of simCode: created simulation system equations: time 0.0001373/0.1767, allocations: 40 kB / 0.8398 GB, free: 1.875 MB / 0.5763 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002741/0.177, allocations: 20.33 kB / 0.8398 GB, free: 1.855 MB / 0.5763 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003495/0.1773, allocations: 173.2 kB / 0.84 GB, free: 1.656 MB / 0.5763 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003143/0.1776, allocations: 0.6846 MB / 0.8407 GB, free: 0.9453 MB / 0.5763 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.279e-05/0.1777, allocations: 11.44 kB / 0.8407 GB, free: 0.9336 MB / 0.5763 GB Notification: Performance of SimCode: time 3.01e-07/0.1777, allocations: 0 / 0.8407 GB, free: 0.9336 MB / 0.5763 GB Notification: Performance of Templates: time 0.00295/0.1806, allocations: 1.26 MB / 0.8419 GB, free: 15.68 MB / 0.5919 GB " [Timeout remaining time 660] make -j1 -f BuildingSystems_BuildingSystems.Utilities.Psychrometrics.Examples.Phi_pTX.makefile [Timeout 660] (rm -f BuildingSystems_BuildingSystems.Utilities.Psychrometrics.Examples.Phi_pTX.pipe ; mkfifo BuildingSystems_BuildingSystems.Utilities.Psychrometrics.Examples.Phi_pTX.pipe ; head -c 1048576 < BuildingSystems_BuildingSystems.Utilities.Psychrometrics.Examples.Phi_pTX.pipe >> ../files/BuildingSystems_BuildingSystems.Utilities.Psychrometrics.Examples.Phi_pTX.sim & ./BuildingSystems_BuildingSystems.Utilities.Psychrometrics.Examples.Phi_pTX -abortSlowSimulation -alarm=480 -lv LOG_STATS > BuildingSystems_BuildingSystems.Utilities.Psychrometrics.Examples.Phi_pTX.pipe 2>&1) [Timeout 480] [Calling sys.exit(0), Time elapsed: 7.996950997039676] Failed to read output from testmodel.py, exit status != 0: 0.18778846808709204 0.202647885 0.029443776 Calling exit ...