Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr BuildingSystems_BuildingSystems.Utilities.Psychrometrics.Examples.SaturationPressureLiquid.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.001293/0.001293, 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.00148/0.00148, allocations: 217 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.397/1.397, 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.002458/0.002458, allocations: 277.2 kB / 313.5 MB, free: 2.855 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.161/1.161, allocations: 180.6 MB / 0.5377 GB, free: 13.08 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.SaturationPressureLiquid,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Utilities.Psychrometrics.Examples.SaturationPressureLiquid") translateModel(BuildingSystems.Utilities.Psychrometrics.Examples.SaturationPressureLiquid,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Utilities.Psychrometrics.Examples.SaturationPressureLiquid") [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.002864/0.002864, allocations: 106.5 kB / 0.7408 GB, free: 27.94 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.165/0.1679, allocations: 95.38 MB / 0.8339 GB, free: 8.191 MB / 0.5763 GB Notification: Performance of NFInst.instantiate(BuildingSystems.Utilities.Psychrometrics.Examples.SaturationPressureLiquid): time 0.002805/0.1707, allocations: 1.436 MB / 0.8353 GB, free: 6.742 MB / 0.5763 GB Notification: Performance of NFInst.instExpressions: time 0.0005225/0.1712, allocations: 225 kB / 0.8356 GB, free: 6.523 MB / 0.5763 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.821e-05/0.1712, allocations: 0 / 0.8356 GB, free: 6.523 MB / 0.5763 GB Notification: Performance of NFTyping.typeComponents: time 3.152e-05/0.1713, allocations: 7.922 kB / 0.8356 GB, free: 6.516 MB / 0.5763 GB Notification: Performance of NFTyping.typeBindings: time 4.004e-05/0.1713, allocations: 3.984 kB / 0.8356 GB, free: 6.512 MB / 0.5763 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002144/0.1715, allocations: 23.86 kB / 0.8356 GB, free: 6.488 MB / 0.5763 GB Notification: Performance of NFFlatten.flatten: time 7.283e-05/0.1716, allocations: 27.92 kB / 0.8356 GB, free: 6.461 MB / 0.5763 GB Notification: Performance of NFFlatten.resolveConnections: time 8.75e-05/0.1717, allocations: 7.984 kB / 0.8356 GB, free: 6.453 MB / 0.5763 GB Notification: Performance of NFEvalConstants.evaluate: time 4.421e-05/0.1717, allocations: 15.92 kB / 0.8356 GB, free: 6.438 MB / 0.5763 GB Notification: Performance of NFSimplifyModel.simplify: time 3.973e-05/0.1718, allocations: 8 kB / 0.8357 GB, free: 6.43 MB / 0.5763 GB Notification: Performance of NFPackage.collectConstants: time 1.08e-05/0.1718, allocations: 0 / 0.8357 GB, free: 6.43 MB / 0.5763 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001001/0.1719, allocations: 35.97 kB / 0.8357 GB, free: 6.395 MB / 0.5763 GB Notification: Performance of NFScalarize.scalarize: time 1.491e-05/0.1719, allocations: 7.938 kB / 0.8357 GB, free: 6.387 MB / 0.5763 GB Notification: Performance of NFVerifyModel.verify: time 2.087e-05/0.1719, allocations: 4 kB / 0.8357 GB, free: 6.383 MB / 0.5763 GB Notification: Performance of NFConvertDAE.convert: time 0.0001325/0.1721, allocations: 43.81 kB / 0.8357 GB, free: 6.34 MB / 0.5763 GB Notification: Performance of FrontEnd - DAE generated: time 4.088e-06/0.1721, allocations: 0 / 0.8357 GB, free: 6.34 MB / 0.5763 GB Notification: Performance of FrontEnd: time 1.293e-06/0.1721, allocations: 0 / 0.8357 GB, free: 6.34 MB / 0.5763 GB Notification: Performance of Transformations before backend: time 6.302e-06/0.1721, allocations: 4 kB / 0.8357 GB, free: 6.336 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.000423/0.1725, allocations: 266.3 kB / 0.836 GB, free: 6.043 MB / 0.5763 GB Notification: Performance of prepare preOptimizeDAE: time 3.57e-05/0.1725, allocations: 12.75 kB / 0.836 GB, free: 6.031 MB / 0.5763 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001518/0.1727, allocations: 4.938 kB / 0.836 GB, free: 6.027 MB / 0.5763 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001113/0.1728, allocations: 110.5 kB / 0.8361 GB, free: 5.895 MB / 0.5763 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.503e-05/0.1728, allocations: 12.31 kB / 0.8361 GB, free: 5.883 MB / 0.5763 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.294e-05/0.1728, allocations: 4.359 kB / 0.8361 GB, free: 5.879 MB / 0.5763 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001735/0.173, allocations: 62.16 kB / 0.8362 GB, free: 5.812 MB / 0.5763 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.267e-06/0.173, allocations: 192 / 0.8362 GB, free: 5.812 MB / 0.5763 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.095e-05/0.173, allocations: 3.938 kB / 0.8362 GB, free: 5.809 MB / 0.5763 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.679e-06/0.173, allocations: 0 / 0.8362 GB, free: 5.809 MB / 0.5763 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000151/0.1732, allocations: 35.91 kB / 0.8362 GB, free: 5.773 MB / 0.5763 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003534/0.1735, allocations: 212.1 kB / 0.8364 GB, free: 5.523 MB / 0.5763 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001398/0.1737, allocations: 50.42 kB / 0.8365 GB, free: 5.465 MB / 0.5763 GB Notification: Performance of preOpt resolveLoops (simulation): time 8.701e-05/0.1737, allocations: 16.91 kB / 0.8365 GB, free: 5.445 MB / 0.5763 GB Notification: Performance of preOpt evalFunc (simulation): time 1.609e-05/0.1738, allocations: 4 kB / 0.8365 GB, free: 5.441 MB / 0.5763 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.028e-05/0.1738, allocations: 38.56 kB / 0.8365 GB, free: 5.395 MB / 0.5763 GB Notification: Performance of pre-optimization done (n=2): time 8.81e-07/0.1738, allocations: 0 / 0.8365 GB, free: 5.395 MB / 0.5763 GB Notification: Performance of matching and sorting (n=2): time 0.0003882/0.1742, allocations: 85.59 kB / 0.8366 GB, free: 5.305 MB / 0.5763 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.234e-05/0.1742, allocations: 55.34 kB / 0.8367 GB, free: 5.238 MB / 0.5763 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.99e-05/0.1743, allocations: 101.8 kB / 0.8368 GB, free: 5.129 MB / 0.5763 GB Notification: Performance of collectPreVariables (initialization): time 1.542e-05/0.1743, allocations: 25.7 kB / 0.8368 GB, free: 5.098 MB / 0.5763 GB Notification: Performance of collectInitialEqns (initialization): time 4.32e-05/0.1744, allocations: 80.14 kB / 0.8369 GB, free: 5.016 MB / 0.5763 GB Notification: Performance of collectInitialBindings (initialization): time 2.178e-05/0.1744, allocations: 11.95 kB / 0.8369 GB, free: 5.004 MB / 0.5763 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.991e-05/0.1744, allocations: 9.719 kB / 0.8369 GB, free: 4.988 MB / 0.5763 GB Notification: Performance of setup shared object (initialization): time 0.0001251/0.1745, allocations: 319 kB / 0.8372 GB, free: 4.668 MB / 0.5763 GB Notification: Performance of preBalanceInitialSystem (initialization): time 8.097e-05/0.1746, allocations: 19.98 kB / 0.8372 GB, free: 4.648 MB / 0.5763 GB Notification: Performance of partitionIndependentBlocks (initialization): time 6.643e-05/0.1747, allocations: 11.98 kB / 0.8372 GB, free: 4.637 MB / 0.5763 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000145/0.1748, allocations: 40.81 kB / 0.8373 GB, free: 4.594 MB / 0.5763 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.442e-06/0.1748, allocations: 0 / 0.8373 GB, free: 4.594 MB / 0.5763 GB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0001915/0.175, allocations: 77.61 kB / 0.8373 GB, free: 4.512 MB / 0.5763 GB Notification: Performance of prepare postOptimizeDAE: time 1.4e-05/0.175, allocations: 4 kB / 0.8373 GB, free: 4.508 MB / 0.5763 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.42e-06/0.175, allocations: 3.984 kB / 0.8373 GB, free: 4.504 MB / 0.5763 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.321e-05/0.1751, allocations: 3.984 kB / 0.8374 GB, free: 4.5 MB / 0.5763 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.666e-05/0.1751, allocations: 8 kB / 0.8374 GB, free: 4.492 MB / 0.5763 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.228e-06/0.1751, allocations: 0 / 0.8374 GB, free: 4.492 MB / 0.5763 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.909e-05/0.1752, allocations: 7.984 kB / 0.8374 GB, free: 4.484 MB / 0.5763 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.127e-06/0.1752, allocations: 4.031 kB / 0.8374 GB, free: 4.48 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 7.327e-05/0.1753, allocations: 110.4 kB / 0.8375 GB, free: 4.363 MB / 0.5763 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.441e-05/0.1753, allocations: 4 kB / 0.8375 GB, free: 4.359 MB / 0.5763 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002327/0.1755, allocations: 76.95 kB / 0.8376 GB, free: 4.273 MB / 0.5763 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.114e-06/0.1755, allocations: 0 / 0.8376 GB, free: 4.273 MB / 0.5763 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.426e-06/0.1755, allocations: 0 / 0.8376 GB, free: 4.273 MB / 0.5763 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.344e-06/0.1755, allocations: 7.938 kB / 0.8376 GB, free: 4.266 MB / 0.5763 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001587/0.1757, allocations: 144.6 kB / 0.8377 GB, free: 4.082 MB / 0.5763 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.935e-06/0.1757, allocations: 4 kB / 0.8377 GB, free: 4.078 MB / 0.5763 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.161e-05/0.1758, allocations: 7.938 kB / 0.8377 GB, free: 4.07 MB / 0.5763 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.783e-06/0.1758, allocations: 0 / 0.8377 GB, free: 4.07 MB / 0.5763 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.69e-06/0.1758, allocations: 4 kB / 0.8377 GB, free: 4.066 MB / 0.5763 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.453e-06/0.1758, allocations: 0 / 0.8377 GB, free: 4.066 MB / 0.5763 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.178e-06/0.1758, allocations: 3.984 kB / 0.8377 GB, free: 4.062 MB / 0.5763 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002374/0.176, allocations: 167.7 kB / 0.8379 GB, free: 3.883 MB / 0.5763 GB Notification: Performance of postOpt removeConstants (simulation): time 1.004e-05/0.176, allocations: 8.031 kB / 0.8379 GB, free: 3.875 MB / 0.5763 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.279e-05/0.176, allocations: 7.938 kB / 0.8379 GB, free: 3.867 MB / 0.5763 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.514e-05/0.1761, allocations: 7.984 kB / 0.8379 GB, free: 3.859 MB / 0.5763 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.688e-05/0.1761, allocations: 0 / 0.8379 GB, free: 3.859 MB / 0.5763 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.915e-06/0.1761, allocations: 0 / 0.8379 GB, free: 3.859 MB / 0.5763 GB Notification: Performance of sorting global known variables: time 4.667e-05/0.1762, allocations: 83.28 kB / 0.838 GB, free: 3.777 MB / 0.5763 GB Notification: Performance of sort global known variables: time 9e-08/0.1762, allocations: 0 / 0.838 GB, free: 3.777 MB / 0.5763 GB Notification: Performance of remove unused functions: time 0.0002072/0.1764, allocations: 11.94 kB / 0.838 GB, free: 3.766 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 9.872e-05/0.1765, allocations: 103.2 kB / 0.8381 GB, free: 3.652 MB / 0.5763 GB Notification: Performance of simCode: created initialization part: time 0.0002007/0.1767, allocations: 35.97 kB / 0.8381 GB, free: 3.617 MB / 0.5763 GB Notification: Performance of simCode: created event and clocks part: time 1.503e-06/0.1767, allocations: 0 / 0.8381 GB, free: 3.617 MB / 0.5763 GB Notification: Performance of simCode: created simulation system equations: time 8.493e-05/0.1768, allocations: 23.97 kB / 0.8381 GB, free: 3.594 MB / 0.5763 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002944/0.1771, allocations: 10.58 kB / 0.8382 GB, free: 3.586 MB / 0.5763 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003449/0.1774, allocations: 144.6 kB / 0.8383 GB, free: 3.414 MB / 0.5763 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003068/0.1777, allocations: 0.6807 MB / 0.839 GB, free: 2.707 MB / 0.5763 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.07e-05/0.1778, allocations: 7.438 kB / 0.839 GB, free: 2.699 MB / 0.5763 GB Notification: Performance of SimCode: time 3.8e-07/0.1778, allocations: 0 / 0.839 GB, free: 2.699 MB / 0.5763 GB Notification: Performance of Templates: time 0.002128/0.1799, allocations: 0.5855 MB / 0.8395 GB, free: 2.121 MB / 0.5763 GB " [Timeout remaining time 660] make -j1 -f BuildingSystems_BuildingSystems.Utilities.Psychrometrics.Examples.SaturationPressureLiquid.makefile [Timeout 660] (rm -f BuildingSystems_BuildingSystems.Utilities.Psychrometrics.Examples.SaturationPressureLiquid.pipe ; mkfifo BuildingSystems_BuildingSystems.Utilities.Psychrometrics.Examples.SaturationPressureLiquid.pipe ; head -c 1048576 < BuildingSystems_BuildingSystems.Utilities.Psychrometrics.Examples.SaturationPressureLiquid.pipe >> ../files/BuildingSystems_BuildingSystems.Utilities.Psychrometrics.Examples.SaturationPressureLiquid.sim & ./BuildingSystems_BuildingSystems.Utilities.Psychrometrics.Examples.SaturationPressureLiquid -abortSlowSimulation -alarm=480 -lv LOG_STATS > BuildingSystems_BuildingSystems.Utilities.Psychrometrics.Examples.SaturationPressureLiquid.pipe 2>&1) [Timeout 480] [Calling sys.exit(0), Time elapsed: 7.998294901102781] Failed to read output from testmodel.py, exit status != 0: 0.18767721904441714 0.20290247199999994 0.027835670000000003 Calling exit ...