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.001513/0.001513, allocations: 104.4 kB / 19.7 MB, free: 2.125 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.001694/0.001694, allocations: 212.8 kB / 22.99 MB, free: 4.945 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.356/1.356, allocations: 230.6 MB / 256.8 MB, free: 7.801 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.00247/0.00247, allocations: 292.7 kB / 313.5 MB, free: 2.605 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.156/1.156, allocations: 180.6 MB / 0.5377 GB, free: 14.43 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.002809/0.002809, allocations: 101.2 kB / 0.7407 GB, free: 27.81 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1695/0.1723, allocations: 95.39 MB / 0.8339 GB, free: 7.781 MB / 0.5762 GB Notification: Performance of NFInst.instantiate(BuildingSystems.Utilities.Psychrometrics.Examples.Phi_pTX): time 0.002688/0.175, allocations: 1.51 MB / 0.8353 GB, free: 6.258 MB / 0.5762 GB Notification: Performance of NFInst.instExpressions: time 0.001298/0.1763, allocations: 0.7385 MB / 0.8361 GB, free: 5.516 MB / 0.5762 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.319e-05/0.1763, allocations: 3.938 kB / 0.8361 GB, free: 5.512 MB / 0.5762 GB Notification: Performance of NFTyping.typeComponents: time 3.178e-05/0.1764, allocations: 3.984 kB / 0.8361 GB, free: 5.508 MB / 0.5762 GB Notification: Performance of NFTyping.typeBindings: time 4.693e-05/0.1764, allocations: 11.88 kB / 0.8361 GB, free: 5.496 MB / 0.5762 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004415/0.1769, allocations: 135.4 kB / 0.8362 GB, free: 5.363 MB / 0.5762 GB Notification: Performance of NFFlatten.flatten: time 8.642e-05/0.1769, allocations: 51.86 kB / 0.8362 GB, free: 5.312 MB / 0.5762 GB Notification: Performance of NFFlatten.resolveConnections: time 9.92e-05/0.177, allocations: 15.92 kB / 0.8363 GB, free: 5.297 MB / 0.5762 GB Notification: Performance of NFEvalConstants.evaluate: time 4.621e-05/0.1771, allocations: 19.92 kB / 0.8363 GB, free: 5.277 MB / 0.5762 GB Notification: Performance of NFSimplifyModel.simplify: time 5.094e-05/0.1771, allocations: 19.92 kB / 0.8363 GB, free: 5.258 MB / 0.5762 GB Notification: Performance of NFPackage.collectConstants: time 1.485e-05/0.1772, allocations: 4 kB / 0.8363 GB, free: 5.254 MB / 0.5762 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0003177/0.1775, allocations: 171.7 kB / 0.8365 GB, free: 5.086 MB / 0.5762 GB Notification: Performance of NFScalarize.scalarize: time 1.908e-05/0.1775, allocations: 15.92 kB / 0.8365 GB, free: 5.07 MB / 0.5762 GB Notification: Performance of NFVerifyModel.verify: time 2.648e-05/0.1775, allocations: 11.94 kB / 0.8365 GB, free: 5.059 MB / 0.5762 GB Notification: Performance of NFConvertDAE.convert: time 0.0002706/0.1778, allocations: 155.5 kB / 0.8366 GB, free: 4.906 MB / 0.5762 GB Notification: Performance of FrontEnd - DAE generated: time 3.967e-06/0.1778, allocations: 0 / 0.8366 GB, free: 4.906 MB / 0.5762 GB Notification: Performance of FrontEnd: time 1.543e-06/0.1778, allocations: 0 / 0.8366 GB, free: 4.906 MB / 0.5762 GB Notification: Performance of Transformations before backend: time 4.599e-06/0.1778, allocations: 0 / 0.8366 GB, free: 4.906 MB / 0.5762 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.0005483/0.1783, allocations: 329.8 kB / 0.837 GB, free: 4.551 MB / 0.5762 GB Notification: Performance of prepare preOptimizeDAE: time 3.503e-05/0.1784, allocations: 9.938 kB / 0.837 GB, free: 4.543 MB / 0.5762 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.46e-05/0.1784, allocations: 4.938 kB / 0.837 GB, free: 4.539 MB / 0.5762 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001203/0.1785, allocations: 118.4 kB / 0.8371 GB, free: 4.398 MB / 0.5762 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.132e-05/0.1785, allocations: 384 / 0.8371 GB, free: 4.398 MB / 0.5762 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.172e-05/0.1786, allocations: 4.375 kB / 0.8371 GB, free: 4.395 MB / 0.5762 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000253/0.1788, allocations: 82.19 kB / 0.8372 GB, free: 4.309 MB / 0.5762 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.844e-06/0.1788, allocations: 192 / 0.8372 GB, free: 4.309 MB / 0.5762 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.103e-05/0.1788, allocations: 3.938 kB / 0.8372 GB, free: 4.305 MB / 0.5762 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.218e-06/0.1788, allocations: 0 / 0.8372 GB, free: 4.305 MB / 0.5762 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000287/0.1791, allocations: 71.92 kB / 0.8372 GB, free: 4.234 MB / 0.5762 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003342/0.1795, allocations: 216.5 kB / 0.8374 GB, free: 3.992 MB / 0.5762 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002016/0.1797, allocations: 58.47 kB / 0.8375 GB, free: 3.926 MB / 0.5762 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001431/0.1798, allocations: 40.91 kB / 0.8375 GB, free: 3.883 MB / 0.5762 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001351/0.1799, allocations: 19.98 kB / 0.8376 GB, free: 3.863 MB / 0.5762 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.93e-05/0.18, allocations: 34.56 kB / 0.8376 GB, free: 3.82 MB / 0.5762 GB Notification: Performance of pre-optimization done (n=3): time 1.062e-06/0.18, allocations: 0 / 0.8376 GB, free: 3.82 MB / 0.5762 GB Notification: Performance of matching and sorting (n=3): time 0.0005173/0.1805, allocations: 125.5 kB / 0.8377 GB, free: 3.691 MB / 0.5762 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.061e-05/0.1805, allocations: 51.41 kB / 0.8378 GB, free: 3.629 MB / 0.5762 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.462e-05/0.1806, allocations: 113.8 kB / 0.8379 GB, free: 3.508 MB / 0.5762 GB Notification: Performance of collectPreVariables (initialization): time 1.76e-05/0.1806, allocations: 25.7 kB / 0.8379 GB, free: 3.477 MB / 0.5762 GB Notification: Performance of collectInitialEqns (initialization): time 5.521e-05/0.1807, allocations: 100 kB / 0.838 GB, free: 3.375 MB / 0.5762 GB Notification: Performance of collectInitialBindings (initialization): time 2.017e-05/0.1807, allocations: 8.328 kB / 0.838 GB, free: 3.367 MB / 0.5762 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.474e-05/0.1807, allocations: 13.72 kB / 0.838 GB, free: 3.348 MB / 0.5762 GB Notification: Performance of setup shared object (initialization): time 0.0001346/0.1809, allocations: 318.8 kB / 0.8383 GB, free: 3.027 MB / 0.5762 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001422/0.181, allocations: 31.97 kB / 0.8383 GB, free: 2.996 MB / 0.5762 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001295/0.1812, allocations: 36.08 kB / 0.8384 GB, free: 2.961 MB / 0.5762 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002625/0.1814, allocations: 76.81 kB / 0.8385 GB, free: 2.883 MB / 0.5762 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.957e-06/0.1814, allocations: 3.938 kB / 0.8385 GB, free: 2.879 MB / 0.5762 GB Notification: Performance of matching and sorting (n=3) (initialization): time 0.0003131/0.1817, allocations: 101.6 kB / 0.8386 GB, free: 2.773 MB / 0.5762 GB Notification: Performance of prepare postOptimizeDAE: time 1.299e-05/0.1817, allocations: 4 kB / 0.8386 GB, free: 2.77 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.027e-06/0.1817, allocations: 4 kB / 0.8386 GB, free: 2.766 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.132e-05/0.1818, allocations: 4 kB / 0.8386 GB, free: 2.762 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001115/0.1819, allocations: 11.98 kB / 0.8386 GB, free: 2.75 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.769e-06/0.1819, allocations: 0 / 0.8386 GB, free: 2.75 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.329e-05/0.1819, allocations: 15.92 kB / 0.8386 GB, free: 2.734 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.342e-06/0.182, allocations: 0 / 0.8386 GB, free: 2.734 MB / 0.5762 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 9.633e-05/0.1821, allocations: 122.4 kB / 0.8387 GB, free: 2.605 MB / 0.5762 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.512e-05/0.1821, allocations: 4 kB / 0.8387 GB, free: 2.602 MB / 0.5762 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003448/0.1824, allocations: 109.5 kB / 0.8388 GB, free: 2.48 MB / 0.5762 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.734e-06/0.1824, allocations: 4 kB / 0.8388 GB, free: 2.477 MB / 0.5762 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.416e-06/0.1824, allocations: 0 / 0.8388 GB, free: 2.477 MB / 0.5762 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.304e-06/0.1824, allocations: 0 / 0.8388 GB, free: 2.477 MB / 0.5762 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001442/0.1826, allocations: 121.2 kB / 0.8389 GB, free: 2.328 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.81e-07/0.1826, allocations: 0 / 0.8389 GB, free: 2.328 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.119e-05/0.1827, allocations: 15.98 kB / 0.839 GB, free: 2.312 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.593e-06/0.1827, allocations: 4 kB / 0.839 GB, free: 2.309 MB / 0.5762 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.262e-05/0.1827, allocations: 3.984 kB / 0.839 GB, free: 2.305 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.092e-06/0.1827, allocations: 0 / 0.839 GB, free: 2.305 MB / 0.5762 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.595e-06/0.1827, allocations: 3.984 kB / 0.839 GB, free: 2.301 MB / 0.5762 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003647/0.183, allocations: 199.4 kB / 0.8392 GB, free: 2.09 MB / 0.5762 GB Notification: Performance of postOpt removeConstants (simulation): time 1.278e-05/0.1831, allocations: 7.953 kB / 0.8392 GB, free: 2.082 MB / 0.5762 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.284e-05/0.1831, allocations: 0 / 0.8392 GB, free: 2.082 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001016/0.1832, allocations: 19.97 kB / 0.8392 GB, free: 2.062 MB / 0.5762 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.219e-05/0.1832, allocations: 8 kB / 0.8392 GB, free: 2.055 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.627e-06/0.1832, allocations: 0 / 0.8392 GB, free: 2.055 MB / 0.5762 GB Notification: Performance of sorting global known variables: time 5.437e-05/0.1833, allocations: 91.27 kB / 0.8393 GB, free: 1.965 MB / 0.5762 GB Notification: Performance of sort global known variables: time 7e-08/0.1833, allocations: 0 / 0.8393 GB, free: 1.965 MB / 0.5762 GB Notification: Performance of remove unused functions: time 0.0002605/0.1835, allocations: 35.81 kB / 0.8393 GB, free: 1.93 MB / 0.5762 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.0002174/0.1838, allocations: 131.4 kB / 0.8394 GB, free: 1.793 MB / 0.5762 GB Notification: Performance of simCode: created initialization part: time 0.0003263/0.1841, allocations: 71.86 kB / 0.8395 GB, free: 1.723 MB / 0.5762 GB Notification: Performance of simCode: created event and clocks part: time 1.653e-06/0.1841, allocations: 4 kB / 0.8395 GB, free: 1.719 MB / 0.5762 GB Notification: Performance of simCode: created simulation system equations: time 0.0001442/0.1842, allocations: 35.91 kB / 0.8395 GB, free: 1.684 MB / 0.5762 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002922/0.1845, allocations: 15.92 kB / 0.8396 GB, free: 1.668 MB / 0.5762 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003463/0.1849, allocations: 177.1 kB / 0.8397 GB, free: 1.465 MB / 0.5762 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 6.554e-05/0.1849, allocations: 63.34 kB / 0.8398 GB, free: 1.383 MB / 0.5762 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.322e-05/0.185, allocations: 11.77 kB / 0.8398 GB, free: 1.371 MB / 0.5762 GB Notification: Performance of SimCode: time 2.91e-07/0.185, allocations: 0 / 0.8398 GB, free: 1.371 MB / 0.5762 GB Notification: Performance of Templates: time 0.002866/0.1878, allocations: 1.243 MB / 0.841 GB, free: 136 kB / 0.5762 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: 8.09846276184544] Failed to read output from testmodel.py, exit status != 0: 0.1947824051603675 0.209236529 0.028527646 Calling exit ...