Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr BuildingSystems_BuildingSystems.Utilities.Psychrometrics.Examples.TotalAirDryAir.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.001213/0.001213, allocations: 103.6 kB / 18.95 MB, free: 2.688 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.001311/0.001311, allocations: 216.8 kB / 22.24 MB, free: 5.242 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.425/1.425, allocations: 230.6 MB / 256 MB, free: 7.793 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.002481/0.002481, allocations: 283 kB / 312.7 MB, free: 2.59 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.233/1.233, allocations: 180.6 MB / 0.5369 GB, free: 14.57 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.TotalAirDryAir,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Utilities.Psychrometrics.Examples.TotalAirDryAir") translateModel(BuildingSystems.Utilities.Psychrometrics.Examples.TotalAirDryAir,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Utilities.Psychrometrics.Examples.TotalAirDryAir") [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.002954/0.002954, allocations: 109.8 kB / 0.74 GB, free: 27.93 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.171/0.174, allocations: 95.38 MB / 0.8331 GB, free: 7.84 MB / 0.5762 GB Notification: Performance of NFInst.instantiate(BuildingSystems.Utilities.Psychrometrics.Examples.TotalAirDryAir): time 0.002999/0.177, allocations: 1.521 MB / 0.8346 GB, free: 6.305 MB / 0.5762 GB Notification: Performance of NFInst.instExpressions: time 0.0003463/0.1773, allocations: 129.3 kB / 0.8347 GB, free: 6.18 MB / 0.5762 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.954e-05/0.1774, allocations: 0 / 0.8347 GB, free: 6.18 MB / 0.5762 GB Notification: Performance of NFTyping.typeComponents: time 2.963e-05/0.1774, allocations: 7.875 kB / 0.8347 GB, free: 6.172 MB / 0.5762 GB Notification: Performance of NFTyping.typeBindings: time 5.951e-05/0.1775, allocations: 7.938 kB / 0.8347 GB, free: 6.164 MB / 0.5762 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003479/0.1778, allocations: 69.45 kB / 0.8348 GB, free: 6.098 MB / 0.5762 GB Notification: Performance of NFFlatten.flatten: time 0.0001228/0.178, allocations: 59.84 kB / 0.8349 GB, free: 6.039 MB / 0.5762 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001058/0.1781, allocations: 11.98 kB / 0.8349 GB, free: 6.027 MB / 0.5762 GB Notification: Performance of NFEvalConstants.evaluate: time 6.686e-05/0.1781, allocations: 27.92 kB / 0.8349 GB, free: 6 MB / 0.5762 GB Notification: Performance of NFSimplifyModel.simplify: time 5.749e-05/0.1782, allocations: 19.84 kB / 0.8349 GB, free: 5.98 MB / 0.5762 GB Notification: Performance of NFPackage.collectConstants: time 2.611e-05/0.1782, allocations: 8 kB / 0.8349 GB, free: 5.973 MB / 0.5762 GB Notification: Performance of NFFlatten.collectFunctions: time 1.613e-05/0.1782, allocations: 4 kB / 0.8349 GB, free: 5.969 MB / 0.5762 GB Notification: Performance of NFScalarize.scalarize: time 3.507e-05/0.1783, allocations: 15.98 kB / 0.8349 GB, free: 5.953 MB / 0.5762 GB Notification: Performance of NFVerifyModel.verify: time 3.681e-05/0.1783, allocations: 23.86 kB / 0.835 GB, free: 5.93 MB / 0.5762 GB Notification: Performance of NFConvertDAE.convert: time 0.000118/0.1784, allocations: 55.8 kB / 0.835 GB, free: 5.875 MB / 0.5762 GB Notification: Performance of FrontEnd - DAE generated: time 6.402e-06/0.1784, allocations: 4 kB / 0.835 GB, free: 5.871 MB / 0.5762 GB Notification: Performance of FrontEnd: time 1.844e-06/0.1784, allocations: 0 / 0.835 GB, free: 5.871 MB / 0.5762 GB Notification: Performance of Transformations before backend: time 4.758e-06/0.1784, allocations: 0 / 0.835 GB, free: 5.871 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: 8 * Number of variables: 8 Notification: Performance of Generate backend data structure: time 0.0005147/0.1789, allocations: 294.2 kB / 0.8353 GB, free: 5.551 MB / 0.5762 GB Notification: Performance of prepare preOptimizeDAE: time 3.493e-05/0.179, allocations: 9.938 kB / 0.8353 GB, free: 5.543 MB / 0.5762 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.269e-05/0.179, allocations: 8.891 kB / 0.8353 GB, free: 5.535 MB / 0.5762 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001216/0.1791, allocations: 118.4 kB / 0.8354 GB, free: 5.395 MB / 0.5762 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.988e-05/0.1792, allocations: 63.95 kB / 0.8355 GB, free: 5.32 MB / 0.5762 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.797e-05/0.1793, allocations: 8.375 kB / 0.8355 GB, free: 5.312 MB / 0.5762 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002438/0.1795, allocations: 103.9 kB / 0.8356 GB, free: 5.199 MB / 0.5762 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.464e-05/0.1795, allocations: 3.938 kB / 0.8356 GB, free: 5.195 MB / 0.5762 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.196e-05/0.1795, allocations: 0 / 0.8356 GB, free: 5.195 MB / 0.5762 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.151e-06/0.1795, allocations: 4 kB / 0.8356 GB, free: 5.191 MB / 0.5762 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001738/0.1797, allocations: 43.95 kB / 0.8357 GB, free: 5.148 MB / 0.5762 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005711/0.1803, allocations: 256.4 kB / 0.8359 GB, free: 4.867 MB / 0.5762 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001494/0.1804, allocations: 50.55 kB / 0.8359 GB, free: 4.809 MB / 0.5762 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.000103/0.1805, allocations: 28.92 kB / 0.836 GB, free: 4.777 MB / 0.5762 GB Notification: Performance of preOpt evalFunc (simulation): time 1.284e-05/0.1805, allocations: 0 / 0.836 GB, free: 4.777 MB / 0.5762 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.201e-05/0.1806, allocations: 34.56 kB / 0.836 GB, free: 4.734 MB / 0.5762 GB Notification: Performance of pre-optimization done (n=4): time 2.525e-06/0.1806, allocations: 3.984 kB / 0.836 GB, free: 4.73 MB / 0.5762 GB Notification: Performance of matching and sorting (n=4): time 0.0003523/0.1809, allocations: 105.5 kB / 0.8361 GB, free: 4.621 MB / 0.5762 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.447e-05/0.181, allocations: 51.41 kB / 0.8362 GB, free: 4.559 MB / 0.5762 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001103/0.1811, allocations: 113.8 kB / 0.8363 GB, free: 4.438 MB / 0.5762 GB Notification: Performance of collectPreVariables (initialization): time 2.152e-05/0.1811, allocations: 29.7 kB / 0.8363 GB, free: 4.402 MB / 0.5762 GB Notification: Performance of collectInitialEqns (initialization): time 7.602e-05/0.1812, allocations: 88.12 kB / 0.8364 GB, free: 4.312 MB / 0.5762 GB Notification: Performance of collectInitialBindings (initialization): time 2.144e-05/0.1812, allocations: 15.84 kB / 0.8364 GB, free: 4.297 MB / 0.5762 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.687e-05/0.1812, allocations: 17.72 kB / 0.8364 GB, free: 4.273 MB / 0.5762 GB Notification: Performance of setup shared object (initialization): time 0.0001611/0.1814, allocations: 318.8 kB / 0.8367 GB, free: 3.953 MB / 0.5762 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001082/0.1815, allocations: 23.98 kB / 0.8367 GB, free: 3.93 MB / 0.5762 GB Notification: Performance of partitionIndependentBlocks (initialization): time 9.082e-05/0.1816, allocations: 37.62 kB / 0.8368 GB, free: 3.887 MB / 0.5762 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001795/0.1818, allocations: 61.56 kB / 0.8368 GB, free: 3.82 MB / 0.5762 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.503e-06/0.1818, allocations: 0 / 0.8368 GB, free: 3.82 MB / 0.5762 GB Notification: Performance of matching and sorting (n=5) (initialization): time 0.0002208/0.182, allocations: 85.61 kB / 0.8369 GB, free: 3.73 MB / 0.5762 GB Notification: Performance of prepare postOptimizeDAE: time 1.389e-05/0.182, allocations: 14.31 kB / 0.8369 GB, free: 3.719 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.041e-06/0.182, allocations: 4 kB / 0.8369 GB, free: 3.715 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.239e-05/0.182, allocations: 0 / 0.8369 GB, free: 3.715 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.774e-05/0.1821, allocations: 11.98 kB / 0.8369 GB, free: 3.703 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.579e-06/0.1821, allocations: 0 / 0.8369 GB, free: 3.703 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.547e-05/0.1822, allocations: 11.98 kB / 0.837 GB, free: 3.691 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.638e-06/0.1822, allocations: 320 / 0.837 GB, free: 3.691 MB / 0.5762 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 (5): * Single equations (assignments): 5 * 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.716e-05/0.1823, allocations: 118.4 kB / 0.8371 GB, free: 3.566 MB / 0.5762 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.783e-05/0.1823, allocations: 3.953 kB / 0.8371 GB, free: 3.562 MB / 0.5762 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.751e-05/0.1823, allocations: 12 kB / 0.8371 GB, free: 3.543 MB / 0.5762 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.804e-06/0.1823, allocations: 4 kB / 0.8371 GB, free: 3.539 MB / 0.5762 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.917e-06/0.1823, allocations: 0 / 0.8371 GB, free: 3.539 MB / 0.5762 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.797e-06/0.1823, allocations: 7.922 kB / 0.8371 GB, free: 3.531 MB / 0.5762 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001438/0.1825, allocations: 113.2 kB / 0.8372 GB, free: 3.391 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.031e-06/0.1825, allocations: 0 / 0.8372 GB, free: 3.391 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.691e-05/0.1826, allocations: 11.98 kB / 0.8372 GB, free: 3.379 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.034e-06/0.1826, allocations: 4 kB / 0.8372 GB, free: 3.375 MB / 0.5762 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.652e-06/0.1826, allocations: 0 / 0.8372 GB, free: 3.375 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.393e-06/0.1826, allocations: 0 / 0.8372 GB, free: 3.375 MB / 0.5762 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.336e-06/0.1826, allocations: 3.938 kB / 0.8372 GB, free: 3.371 MB / 0.5762 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002577/0.1828, allocations: 179.5 kB / 0.8374 GB, free: 3.18 MB / 0.5762 GB Notification: Performance of postOpt removeConstants (simulation): time 8.836e-06/0.1828, allocations: 3.953 kB / 0.8374 GB, free: 3.176 MB / 0.5762 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.381e-05/0.1828, allocations: 4.125 kB / 0.8374 GB, free: 3.172 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001229/0.183, allocations: 15.98 kB / 0.8374 GB, free: 3.156 MB / 0.5762 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.592e-05/0.183, allocations: 3.984 kB / 0.8374 GB, free: 3.152 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.173e-06/0.183, allocations: 4 kB / 0.8374 GB, free: 3.148 MB / 0.5762 GB Notification: Performance of sorting global known variables: time 6.324e-05/0.1831, allocations: 95.25 kB / 0.8375 GB, free: 3.055 MB / 0.5762 GB Notification: Performance of sort global known variables: time 8e-08/0.1831, allocations: 0 / 0.8375 GB, free: 3.055 MB / 0.5762 GB Notification: Performance of remove unused functions: time 0.000218/0.1833, allocations: 12 kB / 0.8375 GB, free: 3.043 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 9.816e-05/0.1834, allocations: 91.25 kB / 0.8376 GB, free: 2.945 MB / 0.5762 GB Notification: Performance of simCode: created initialization part: time 0.0002271/0.1836, allocations: 51.89 kB / 0.8377 GB, free: 2.895 MB / 0.5762 GB Notification: Performance of simCode: created event and clocks part: time 4.568e-06/0.1836, allocations: 4 kB / 0.8377 GB, free: 2.891 MB / 0.5762 GB Notification: Performance of simCode: created simulation system equations: time 8.548e-05/0.1837, allocations: 20.36 kB / 0.8377 GB, free: 2.871 MB / 0.5762 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002788/0.184, allocations: 15.92 kB / 0.8377 GB, free: 2.855 MB / 0.5762 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000329/0.1843, allocations: 141.6 kB / 0.8378 GB, free: 2.691 MB / 0.5762 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 7.202e-05/0.1844, allocations: 67.38 kB / 0.8379 GB, free: 2.605 MB / 0.5762 GB Notification: Performance of simCode: alias equations: time 4.292e-05/0.1844, allocations: 11.97 kB / 0.8379 GB, free: 2.594 MB / 0.5762 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.084e-05/0.1845, allocations: 11.44 kB / 0.8379 GB, free: 2.582 MB / 0.5762 GB Notification: Performance of SimCode: time 3.51e-07/0.1845, allocations: 0 / 0.8379 GB, free: 2.582 MB / 0.5762 GB Notification: Performance of Templates: time 0.003267/0.1877, allocations: 0.8833 MB / 0.8388 GB, free: 1.719 MB / 0.5762 GB " [Timeout remaining time 660] make -j1 -f BuildingSystems_BuildingSystems.Utilities.Psychrometrics.Examples.TotalAirDryAir.makefile [Timeout 660] (rm -f BuildingSystems_BuildingSystems.Utilities.Psychrometrics.Examples.TotalAirDryAir.pipe ; mkfifo BuildingSystems_BuildingSystems.Utilities.Psychrometrics.Examples.TotalAirDryAir.pipe ; head -c 1048576 < BuildingSystems_BuildingSystems.Utilities.Psychrometrics.Examples.TotalAirDryAir.pipe >> ../files/BuildingSystems_BuildingSystems.Utilities.Psychrometrics.Examples.TotalAirDryAir.sim & ./BuildingSystems_BuildingSystems.Utilities.Psychrometrics.Examples.TotalAirDryAir -abortSlowSimulation -alarm=480 -lv LOG_STATS > BuildingSystems_BuildingSystems.Utilities.Psychrometrics.Examples.TotalAirDryAir.pipe 2>&1) [Timeout 480] [Calling sys.exit(0), Time elapsed: 5.8930629920214415] Failed to read output from testmodel.py, exit status != 0: 0.19500040635466576 0.210723292 0.029278846 Calling exit ...