Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr BuildingSystems_BuildingSystems.Utilities.Psychrometrics.Functions.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.001149/0.001149, allocations: 106.2 kB / 19.69 MB, free: 2.277 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.001463/0.001463, allocations: 215.8 kB / 23.01 MB, free: 4.602 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.419/1.419, allocations: 230.6 MB / 256.8 MB, free: 8.039 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.002487/0.002487, allocations: 282.3 kB / 313.5 MB, free: 2.84 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.153/1.153, allocations: 180.6 MB / 0.5377 GB, free: 12.95 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.Functions.Examples.phi_pTX,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Utilities.Psychrometrics.Functions.Examples.phi_pTX") translateModel(BuildingSystems.Utilities.Psychrometrics.Functions.Examples.phi_pTX,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Utilities.Psychrometrics.Functions.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.002792/0.002792, allocations: 99.72 kB / 0.7408 GB, free: 27.98 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1754/0.1782, allocations: 95.38 MB / 0.834 GB, free: 8.156 MB / 0.5762 GB Notification: Performance of NFInst.instantiate(BuildingSystems.Utilities.Psychrometrics.Functions.Examples.phi_pTX): time 0.002478/0.1807, allocations: 1.294 MB / 0.8352 GB, free: 6.848 MB / 0.5762 GB Notification: Performance of NFInst.instExpressions: time 0.001376/0.1821, allocations: 0.8436 MB / 0.836 GB, free: 6 MB / 0.5762 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.298e-05/0.1821, allocations: 4 kB / 0.8361 GB, free: 5.996 MB / 0.5762 GB Notification: Performance of NFTyping.typeComponents: time 1.576e-05/0.1821, allocations: 4 kB / 0.8361 GB, free: 5.992 MB / 0.5762 GB Notification: Performance of NFTyping.typeBindings: time 4.43e-05/0.1821, allocations: 7.922 kB / 0.8361 GB, free: 5.984 MB / 0.5762 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004958/0.1826, allocations: 127.4 kB / 0.8362 GB, free: 5.859 MB / 0.5762 GB Notification: Performance of NFFlatten.flatten: time 8.484e-05/0.1827, allocations: 23.92 kB / 0.8362 GB, free: 5.836 MB / 0.5762 GB Notification: Performance of NFFlatten.resolveConnections: time 4.381e-05/0.1828, allocations: 8 kB / 0.8362 GB, free: 5.828 MB / 0.5762 GB Notification: Performance of NFEvalConstants.evaluate: time 4.308e-05/0.1828, allocations: 15.92 kB / 0.8362 GB, free: 5.812 MB / 0.5762 GB Notification: Performance of NFSimplifyModel.simplify: time 5.779e-05/0.1829, allocations: 4 kB / 0.8362 GB, free: 5.809 MB / 0.5762 GB Notification: Performance of NFPackage.collectConstants: time 1.454e-05/0.1829, allocations: 4 kB / 0.8362 GB, free: 5.805 MB / 0.5762 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0004028/0.1833, allocations: 175.7 kB / 0.8364 GB, free: 5.633 MB / 0.5762 GB Notification: Performance of NFScalarize.scalarize: time 1.645e-05/0.1833, allocations: 7.922 kB / 0.8364 GB, free: 5.625 MB / 0.5762 GB Notification: Performance of NFVerifyModel.verify: time 2.54e-05/0.1833, allocations: 12 kB / 0.8364 GB, free: 5.613 MB / 0.5762 GB Notification: Performance of NFConvertDAE.convert: time 0.0002352/0.1836, allocations: 123.6 kB / 0.8365 GB, free: 5.492 MB / 0.5762 GB Notification: Performance of FrontEnd - DAE generated: time 3.847e-06/0.1836, allocations: 0 / 0.8365 GB, free: 5.492 MB / 0.5762 GB Notification: Performance of FrontEnd: time 1.183e-06/0.1836, allocations: 4 kB / 0.8365 GB, free: 5.488 MB / 0.5762 GB Notification: Performance of Transformations before backend: time 4.929e-06/0.1836, allocations: 0 / 0.8365 GB, free: 5.488 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: 4 * Number of variables: 4 Notification: Performance of Generate backend data structure: time 0.0004496/0.184, allocations: 286 kB / 0.8368 GB, free: 5.176 MB / 0.5762 GB Notification: Performance of prepare preOptimizeDAE: time 3.702e-05/0.1841, allocations: 9.344 kB / 0.8368 GB, free: 5.168 MB / 0.5762 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.039e-05/0.1841, allocations: 12.89 kB / 0.8368 GB, free: 5.156 MB / 0.5762 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001036/0.1842, allocations: 110.4 kB / 0.8369 GB, free: 5.023 MB / 0.5762 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.234e-05/0.1843, allocations: 59.97 kB / 0.837 GB, free: 4.953 MB / 0.5762 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.866e-06/0.1843, allocations: 384 / 0.837 GB, free: 4.953 MB / 0.5762 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001397/0.1844, allocations: 46.23 kB / 0.837 GB, free: 4.902 MB / 0.5762 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.129e-05/0.1844, allocations: 7.938 kB / 0.8371 GB, free: 4.895 MB / 0.5762 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.101e-05/0.1845, allocations: 4 kB / 0.8371 GB, free: 4.891 MB / 0.5762 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.238e-06/0.1845, allocations: 0 / 0.8371 GB, free: 4.891 MB / 0.5762 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.49e-05/0.1846, allocations: 23.92 kB / 0.8371 GB, free: 4.867 MB / 0.5762 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001668/0.1847, allocations: 128.8 kB / 0.8372 GB, free: 4.699 MB / 0.5762 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001948/0.1849, allocations: 42.5 kB / 0.8372 GB, free: 4.648 MB / 0.5762 GB Notification: Performance of preOpt resolveLoops (simulation): time 5.728e-05/0.185, allocations: 16.86 kB / 0.8373 GB, free: 4.629 MB / 0.5762 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002201/0.1852, allocations: 28.05 kB / 0.8373 GB, free: 4.602 MB / 0.5762 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.6e-05/0.1852, allocations: 38.56 kB / 0.8373 GB, free: 4.555 MB / 0.5762 GB Notification: Performance of pre-optimization done (n=4): time 2.866e-06/0.1852, allocations: 3.984 kB / 0.8373 GB, free: 4.551 MB / 0.5762 GB Notification: Performance of matching and sorting (n=4): time 0.0002301/0.1855, allocations: 65.61 kB / 0.8374 GB, free: 4.48 MB / 0.5762 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.932e-05/0.1855, allocations: 59.34 kB / 0.8374 GB, free: 4.41 MB / 0.5762 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.512e-05/0.1856, allocations: 97.84 kB / 0.8375 GB, free: 4.305 MB / 0.5762 GB Notification: Performance of collectPreVariables (initialization): time 1.96e-05/0.1856, allocations: 25.7 kB / 0.8376 GB, free: 4.273 MB / 0.5762 GB Notification: Performance of collectInitialEqns (initialization): time 3.912e-05/0.1856, allocations: 84.14 kB / 0.8376 GB, free: 4.188 MB / 0.5762 GB Notification: Performance of collectInitialBindings (initialization): time 2.78e-05/0.1857, allocations: 15.91 kB / 0.8377 GB, free: 4.172 MB / 0.5762 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.194e-05/0.1857, allocations: 13.72 kB / 0.8377 GB, free: 4.152 MB / 0.5762 GB Notification: Performance of setup shared object (initialization): time 0.0001338/0.1858, allocations: 318.8 kB / 0.838 GB, free: 3.832 MB / 0.5762 GB Notification: Performance of preBalanceInitialSystem (initialization): time 4.588e-05/0.1859, allocations: 4 kB / 0.838 GB, free: 3.828 MB / 0.5762 GB Notification: Performance of partitionIndependentBlocks (initialization): time 4.28e-05/0.1859, allocations: 15.98 kB / 0.838 GB, free: 3.812 MB / 0.5762 GB Notification: Performance of analyzeInitialSystem (initialization): time 9.017e-05/0.186, allocations: 24.84 kB / 0.838 GB, free: 3.785 MB / 0.5762 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.783e-06/0.186, allocations: 0 / 0.838 GB, free: 3.785 MB / 0.5762 GB Notification: Performance of matching and sorting (n=4) (initialization): time 0.0001838/0.1862, allocations: 69.58 kB / 0.8381 GB, free: 3.711 MB / 0.5762 GB Notification: Performance of prepare postOptimizeDAE: time 1.381e-05/0.1862, allocations: 7.938 kB / 0.8381 GB, free: 3.703 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.977e-06/0.1862, allocations: 3.938 kB / 0.8381 GB, free: 3.699 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.129e-05/0.1862, allocations: 0 / 0.8381 GB, free: 3.699 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.529e-05/0.1863, allocations: 11.98 kB / 0.8381 GB, free: 3.688 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.2e-06/0.1863, allocations: 0 / 0.8381 GB, free: 3.688 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.729e-05/0.1863, allocations: 0 / 0.8381 GB, free: 3.688 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.853e-06/0.1863, allocations: 4 kB / 0.8381 GB, free: 3.684 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 (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 7.804e-05/0.1864, allocations: 110.5 kB / 0.8382 GB, free: 3.566 MB / 0.5762 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.202e-05/0.1864, allocations: 3.938 kB / 0.8382 GB, free: 3.562 MB / 0.5762 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001764/0.1866, allocations: 69.36 kB / 0.8383 GB, free: 3.48 MB / 0.5762 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.713e-06/0.1866, allocations: 0 / 0.8383 GB, free: 3.48 MB / 0.5762 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.517e-06/0.1866, allocations: 3.938 kB / 0.8383 GB, free: 3.477 MB / 0.5762 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.448e-06/0.1866, allocations: 3.984 kB / 0.8383 GB, free: 3.473 MB / 0.5762 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001108/0.1867, allocations: 128.7 kB / 0.8384 GB, free: 3.305 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.935e-06/0.1867, allocations: 3.984 kB / 0.8384 GB, free: 3.301 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.583e-05/0.1868, allocations: 8 kB / 0.8384 GB, free: 3.293 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.486e-06/0.1868, allocations: 7.938 kB / 0.8384 GB, free: 3.285 MB / 0.5762 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.661e-06/0.1868, allocations: 0 / 0.8384 GB, free: 3.285 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.062e-06/0.1868, allocations: 0 / 0.8384 GB, free: 3.285 MB / 0.5762 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.41e-07/0.1868, allocations: 0 / 0.8384 GB, free: 3.285 MB / 0.5762 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001604/0.1869, allocations: 85.62 kB / 0.8385 GB, free: 3.184 MB / 0.5762 GB Notification: Performance of postOpt removeConstants (simulation): time 3.322e-05/0.187, allocations: 4 kB / 0.8385 GB, free: 3.18 MB / 0.5762 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.573e-05/0.187, allocations: 7.875 kB / 0.8385 GB, free: 3.172 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.378e-05/0.187, allocations: 15.98 kB / 0.8385 GB, free: 3.156 MB / 0.5762 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.426e-05/0.1871, allocations: 4 kB / 0.8385 GB, free: 3.152 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.448e-06/0.1871, allocations: 48 / 0.8385 GB, free: 3.152 MB / 0.5762 GB Notification: Performance of sorting global known variables: time 4.613e-05/0.1871, allocations: 91.19 kB / 0.8386 GB, free: 3.062 MB / 0.5762 GB Notification: Performance of sort global known variables: time 7e-08/0.1871, allocations: 0 / 0.8386 GB, free: 3.062 MB / 0.5762 GB Notification: Performance of remove unused functions: time 0.0002264/0.1873, allocations: 35.88 kB / 0.8387 GB, free: 3.027 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 (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 Backend phase and start with SimCode phase: time 0.000216/0.1876, allocations: 135.1 kB / 0.8388 GB, free: 2.883 MB / 0.5762 GB Notification: Performance of simCode: created initialization part: time 0.0001502/0.1877, allocations: 31.92 kB / 0.8388 GB, free: 2.852 MB / 0.5762 GB Notification: Performance of simCode: created event and clocks part: time 1.843e-06/0.1877, allocations: 0 / 0.8388 GB, free: 2.852 MB / 0.5762 GB Notification: Performance of simCode: created simulation system equations: time 5.236e-05/0.1878, allocations: 15.98 kB / 0.8388 GB, free: 2.836 MB / 0.5762 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002066/0.188, allocations: 6.438 kB / 0.8389 GB, free: 2.832 MB / 0.5762 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000293/0.1883, allocations: 153.2 kB / 0.839 GB, free: 2.652 MB / 0.5762 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003104/0.1886, allocations: 0.6806 MB / 0.8397 GB, free: 1.945 MB / 0.5762 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.685e-05/0.1886, allocations: 11.44 kB / 0.8397 GB, free: 1.934 MB / 0.5762 GB Notification: Performance of SimCode: time 2.8e-07/0.1886, allocations: 4 kB / 0.8397 GB, free: 1.93 MB / 0.5762 GB Notification: Performance of Templates: time 0.002804/0.1914, allocations: 1.03 MB / 0.8407 GB, free: 0.9023 MB / 0.5762 GB " [Timeout remaining time 660] make -j1 -f BuildingSystems_BuildingSystems.Utilities.Psychrometrics.Functions.Examples.phi_pTX.makefile [Timeout 660] (rm -f BuildingSystems_BuildingSystems.Utilities.Psychrometrics.Functions.Examples.phi_pTX.pipe ; mkfifo BuildingSystems_BuildingSystems.Utilities.Psychrometrics.Functions.Examples.phi_pTX.pipe ; head -c 1048576 < BuildingSystems_BuildingSystems.Utilities.Psychrometrics.Functions.Examples.phi_pTX.pipe >> ../files/BuildingSystems_BuildingSystems.Utilities.Psychrometrics.Functions.Examples.phi_pTX.sim & ./BuildingSystems_BuildingSystems.Utilities.Psychrometrics.Functions.Examples.phi_pTX -abortSlowSimulation -alarm=480 -lv LOG_STATS > BuildingSystems_BuildingSystems.Utilities.Psychrometrics.Functions.Examples.phi_pTX.pipe 2>&1) [Timeout 480] [Calling sys.exit(0), Time elapsed: 7.9747071920428425] Failed to read output from testmodel.py, exit status != 0: 0.19890676182694733 0.214690292 0.02798532 Calling exit ...