Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr BuildingSystems_BuildingSystems.Utilities.Psychrometrics.Examples.SaturationPressure.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.001526/0.001526, 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.001729/0.001729, allocations: 216.1 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.391/1.391, allocations: 230.6 MB / 256.8 MB, free: 8.043 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.002411/0.002411, allocations: 287.7 kB / 313.5 MB, free: 2.836 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.184/1.184, allocations: 180.6 MB / 0.5377 GB, free: 13 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.SaturationPressure,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Utilities.Psychrometrics.Examples.SaturationPressure") translateModel(BuildingSystems.Utilities.Psychrometrics.Examples.SaturationPressure,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Utilities.Psychrometrics.Examples.SaturationPressure") [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.002735/0.002735, allocations: 96.23 kB / 0.7408 GB, free: 27.93 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1566/0.1593, allocations: 95.38 MB / 0.8339 GB, free: 8.168 MB / 0.5763 GB Notification: Performance of NFInst.instantiate(BuildingSystems.Utilities.Psychrometrics.Examples.SaturationPressure): time 0.002492/0.1618, allocations: 1.445 MB / 0.8354 GB, free: 6.711 MB / 0.5763 GB Notification: Performance of NFInst.instExpressions: time 0.0009688/0.1628, allocations: 0.6061 MB / 0.8359 GB, free: 6.102 MB / 0.5763 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.079e-05/0.1628, allocations: 0 / 0.8359 GB, free: 6.102 MB / 0.5763 GB Notification: Performance of NFTyping.typeComponents: time 2.514e-05/0.1628, allocations: 0 / 0.8359 GB, free: 6.102 MB / 0.5763 GB Notification: Performance of NFTyping.typeBindings: time 4.358e-05/0.1629, allocations: 11.92 kB / 0.836 GB, free: 6.09 MB / 0.5763 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003508/0.1632, allocations: 99.56 kB / 0.8361 GB, free: 5.992 MB / 0.5763 GB Notification: Performance of NFFlatten.flatten: time 6.122e-05/0.1633, allocations: 23.86 kB / 0.8361 GB, free: 5.969 MB / 0.5763 GB Notification: Performance of NFFlatten.resolveConnections: time 8.123e-05/0.1634, allocations: 15.94 kB / 0.8361 GB, free: 5.953 MB / 0.5763 GB Notification: Performance of NFEvalConstants.evaluate: time 3.571e-05/0.1634, allocations: 7.984 kB / 0.8361 GB, free: 5.945 MB / 0.5763 GB Notification: Performance of NFSimplifyModel.simplify: time 4.398e-05/0.1635, allocations: 15.92 kB / 0.8361 GB, free: 5.93 MB / 0.5763 GB Notification: Performance of NFPackage.collectConstants: time 8.415e-06/0.1635, allocations: 0 / 0.8361 GB, free: 5.93 MB / 0.5763 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002688/0.1637, allocations: 143.8 kB / 0.8362 GB, free: 5.789 MB / 0.5763 GB Notification: Performance of NFScalarize.scalarize: time 1.452e-05/0.1637, allocations: 7.984 kB / 0.8363 GB, free: 5.781 MB / 0.5763 GB Notification: Performance of NFVerifyModel.verify: time 2.255e-05/0.1638, allocations: 11.94 kB / 0.8363 GB, free: 5.77 MB / 0.5763 GB Notification: Performance of NFConvertDAE.convert: time 0.0001962/0.164, allocations: 111.6 kB / 0.8364 GB, free: 5.66 MB / 0.5763 GB Notification: Performance of FrontEnd - DAE generated: time 3.466e-06/0.164, allocations: 0 / 0.8364 GB, free: 5.66 MB / 0.5763 GB Notification: Performance of FrontEnd: time 1.132e-06/0.164, allocations: 0 / 0.8364 GB, free: 5.66 MB / 0.5763 GB Notification: Performance of Transformations before backend: time 8.396e-06/0.164, allocations: 0 / 0.8364 GB, free: 5.66 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: 3 * Number of variables: 3 Notification: Performance of Generate backend data structure: time 0.0004244/0.1644, allocations: 294 kB / 0.8367 GB, free: 5.34 MB / 0.5763 GB Notification: Performance of prepare preOptimizeDAE: time 3.385e-05/0.1644, allocations: 13.34 kB / 0.8367 GB, free: 5.328 MB / 0.5763 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004249/0.1649, allocations: 24.91 kB / 0.8367 GB, free: 5.305 MB / 0.5763 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001011/0.165, allocations: 110.5 kB / 0.8368 GB, free: 5.172 MB / 0.5763 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.819e-06/0.165, allocations: 384 / 0.8368 GB, free: 5.172 MB / 0.5763 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.257e-05/0.165, allocations: 4.375 kB / 0.8368 GB, free: 5.168 MB / 0.5763 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000216/0.1652, allocations: 66.2 kB / 0.8369 GB, free: 5.098 MB / 0.5763 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.046e-06/0.1652, allocations: 192 / 0.8369 GB, free: 5.098 MB / 0.5763 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.121e-05/0.1652, allocations: 7.938 kB / 0.8369 GB, free: 5.09 MB / 0.5763 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.757e-06/0.1652, allocations: 0 / 0.8369 GB, free: 5.09 MB / 0.5763 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002407/0.1655, allocations: 59.88 kB / 0.8369 GB, free: 5.031 MB / 0.5763 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004304/0.1659, allocations: 240 kB / 0.8372 GB, free: 4.754 MB / 0.5763 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002059/0.1661, allocations: 58.48 kB / 0.8372 GB, free: 4.688 MB / 0.5763 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001286/0.1662, allocations: 32.89 kB / 0.8372 GB, free: 4.652 MB / 0.5763 GB Notification: Performance of preOpt evalFunc (simulation): time 2.073e-05/0.1663, allocations: 3.984 kB / 0.8372 GB, free: 4.648 MB / 0.5763 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.767e-05/0.1663, allocations: 42.48 kB / 0.8373 GB, free: 4.598 MB / 0.5763 GB Notification: Performance of pre-optimization done (n=2): time 9.32e-07/0.1663, allocations: 0 / 0.8373 GB, free: 4.598 MB / 0.5763 GB Notification: Performance of matching and sorting (n=2): time 0.0004654/0.1667, allocations: 113.5 kB / 0.8374 GB, free: 4.48 MB / 0.5763 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.133e-05/0.1668, allocations: 51.41 kB / 0.8374 GB, free: 4.418 MB / 0.5763 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.707e-05/0.1669, allocations: 105.8 kB / 0.8375 GB, free: 4.305 MB / 0.5763 GB Notification: Performance of collectPreVariables (initialization): time 1.846e-05/0.1669, allocations: 25.7 kB / 0.8376 GB, free: 4.273 MB / 0.5763 GB Notification: Performance of collectInitialEqns (initialization): time 4.439e-05/0.1669, allocations: 84.14 kB / 0.8377 GB, free: 4.188 MB / 0.5763 GB Notification: Performance of collectInitialBindings (initialization): time 2.226e-05/0.1669, allocations: 3.953 kB / 0.8377 GB, free: 4.184 MB / 0.5763 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.616e-05/0.167, allocations: 21.78 kB / 0.8377 GB, free: 4.156 MB / 0.5763 GB Notification: Performance of setup shared object (initialization): time 0.0001304/0.1671, allocations: 314.8 kB / 0.838 GB, free: 3.84 MB / 0.5763 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001312/0.1672, allocations: 27.97 kB / 0.838 GB, free: 3.812 MB / 0.5763 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001117/0.1674, allocations: 31.97 kB / 0.838 GB, free: 3.781 MB / 0.5763 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002242/0.1676, allocations: 60.81 kB / 0.8381 GB, free: 3.719 MB / 0.5763 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.713e-06/0.1676, allocations: 0 / 0.8381 GB, free: 3.719 MB / 0.5763 GB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0002822/0.1679, allocations: 89.56 kB / 0.8382 GB, free: 3.625 MB / 0.5763 GB Notification: Performance of prepare postOptimizeDAE: time 1.18e-05/0.1679, allocations: 8.031 kB / 0.8382 GB, free: 3.617 MB / 0.5763 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.581e-06/0.1679, allocations: 4 kB / 0.8382 GB, free: 3.613 MB / 0.5763 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.039e-05/0.1679, allocations: 0 / 0.8382 GB, free: 3.613 MB / 0.5763 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001206/0.168, allocations: 11.98 kB / 0.8382 GB, free: 3.602 MB / 0.5763 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.188e-06/0.168, allocations: 0 / 0.8382 GB, free: 3.602 MB / 0.5763 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.584e-05/0.1681, allocations: 7.984 kB / 0.8382 GB, free: 3.594 MB / 0.5763 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.472e-06/0.1681, allocations: 0 / 0.8382 GB, free: 3.594 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 (2): * Single equations (assignments): 2 * 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.726e-05/0.1682, allocations: 122.4 kB / 0.8383 GB, free: 3.465 MB / 0.5763 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.79e-05/0.1682, allocations: 3.984 kB / 0.8383 GB, free: 3.461 MB / 0.5763 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.395e-05/0.1683, allocations: 3.312 kB / 0.8383 GB, free: 3.453 MB / 0.5763 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.566e-06/0.1683, allocations: 4 kB / 0.8383 GB, free: 3.449 MB / 0.5763 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.166e-06/0.1683, allocations: 0 / 0.8383 GB, free: 3.449 MB / 0.5763 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.235e-06/0.1683, allocations: 0 / 0.8383 GB, free: 3.449 MB / 0.5763 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001694/0.1684, allocations: 144.6 kB / 0.8385 GB, free: 3.266 MB / 0.5763 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.62e-07/0.1684, allocations: 3.938 kB / 0.8385 GB, free: 3.262 MB / 0.5763 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001127/0.1686, allocations: 15.98 kB / 0.8385 GB, free: 3.246 MB / 0.5763 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.583e-06/0.1686, allocations: 4 kB / 0.8385 GB, free: 3.242 MB / 0.5763 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.789e-06/0.1686, allocations: 3.984 kB / 0.8385 GB, free: 3.238 MB / 0.5763 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.92e-07/0.1686, allocations: 0 / 0.8385 GB, free: 3.238 MB / 0.5763 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.61e-07/0.1686, allocations: 0 / 0.8385 GB, free: 3.238 MB / 0.5763 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003329/0.1689, allocations: 183.4 kB / 0.8387 GB, free: 3.043 MB / 0.5763 GB Notification: Performance of postOpt removeConstants (simulation): time 1.079e-05/0.1689, allocations: 11.92 kB / 0.8387 GB, free: 3.031 MB / 0.5763 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.373e-05/0.1689, allocations: 0 / 0.8387 GB, free: 3.031 MB / 0.5763 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001151/0.169, allocations: 7.984 kB / 0.8387 GB, free: 3.023 MB / 0.5763 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.098e-05/0.1691, allocations: 3.938 kB / 0.8387 GB, free: 3.02 MB / 0.5763 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.189e-06/0.1691, allocations: 4 kB / 0.8387 GB, free: 3.016 MB / 0.5763 GB Notification: Performance of sorting global known variables: time 5.191e-05/0.1691, allocations: 87.27 kB / 0.8388 GB, free: 2.93 MB / 0.5763 GB Notification: Performance of sort global known variables: time 8e-08/0.1691, allocations: 0 / 0.8388 GB, free: 2.93 MB / 0.5763 GB Notification: Performance of remove unused functions: time 0.0002237/0.1693, allocations: 15.97 kB / 0.8388 GB, free: 2.914 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 (2): * Single equations (assignments): 2 * 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.0001411/0.1695, allocations: 115.1 kB / 0.8389 GB, free: 2.789 MB / 0.5763 GB Notification: Performance of simCode: created initialization part: time 0.0002944/0.1698, allocations: 55.92 kB / 0.839 GB, free: 2.734 MB / 0.5763 GB Notification: Performance of simCode: created event and clocks part: time 1.593e-06/0.1698, allocations: 0 / 0.839 GB, free: 2.734 MB / 0.5763 GB Notification: Performance of simCode: created simulation system equations: time 0.0001217/0.1699, allocations: 32.03 kB / 0.839 GB, free: 2.703 MB / 0.5763 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002389/0.1701, allocations: 10.12 kB / 0.839 GB, free: 2.695 MB / 0.5763 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00041/0.1706, allocations: 152.7 kB / 0.8392 GB, free: 2.516 MB / 0.5763 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002937/0.1709, allocations: 0.6768 MB / 0.8398 GB, free: 1.812 MB / 0.5763 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.129e-05/0.1709, allocations: 15.42 kB / 0.8398 GB, free: 1.797 MB / 0.5763 GB Notification: Performance of SimCode: time 3.2e-07/0.1709, allocations: 0 / 0.8398 GB, free: 1.797 MB / 0.5763 GB Notification: Performance of Templates: time 0.002366/0.1733, allocations: 0.9194 MB / 0.8407 GB, free: 0.8828 MB / 0.5763 GB " [Timeout remaining time 660] make -j1 -f BuildingSystems_BuildingSystems.Utilities.Psychrometrics.Examples.SaturationPressure.makefile [Timeout 660] (rm -f BuildingSystems_BuildingSystems.Utilities.Psychrometrics.Examples.SaturationPressure.pipe ; mkfifo BuildingSystems_BuildingSystems.Utilities.Psychrometrics.Examples.SaturationPressure.pipe ; head -c 1048576 < BuildingSystems_BuildingSystems.Utilities.Psychrometrics.Examples.SaturationPressure.pipe >> ../files/BuildingSystems_BuildingSystems.Utilities.Psychrometrics.Examples.SaturationPressure.sim & ./BuildingSystems_BuildingSystems.Utilities.Psychrometrics.Examples.SaturationPressure -abortSlowSimulation -alarm=480 -lv LOG_STATS > BuildingSystems_BuildingSystems.Utilities.Psychrometrics.Examples.SaturationPressure.pipe 2>&1) [Timeout 480] [Calling sys.exit(0), Time elapsed: 8.099343964131549] Failed to read output from testmodel.py, exit status != 0: 0.18029124988242984 0.194950287 0.028112339 Calling exit ...