Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr BuildingSystems_BuildingSystems.Fluid.Examples.Performance.Example5.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.001599/0.001599, allocations: 100.3 kB / 19.7 MB, free: 2.012 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.001798/0.001798, allocations: 224.4 kB / 23 MB, free: 4.914 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.427/1.427, allocations: 230.6 MB / 256.8 MB, free: 7.828 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.00264/0.00264, allocations: 289.5 kB / 313.5 MB, free: 2.633 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.196/1.196, allocations: 180.6 MB / 0.5377 GB, free: 14.56 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.Fluid.Examples.Performance.Example5,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Fluid.Examples.Performance.Example5") translateModel(BuildingSystems.Fluid.Examples.Performance.Example5,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Fluid.Examples.Performance.Example5") [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.002928/0.002928, allocations: 113.2 kB / 0.7407 GB, free: 27.86 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1707/0.1736, allocations: 95.39 MB / 0.8339 GB, free: 7.816 MB / 0.5762 GB Notification: Performance of NFInst.instantiate(BuildingSystems.Fluid.Examples.Performance.Example5): time 0.001694/0.1753, allocations: 0.5192 MB / 0.8344 GB, free: 7.297 MB / 0.5762 GB Notification: Performance of NFInst.instExpressions: time 0.0001743/0.1755, allocations: 39.81 kB / 0.8344 GB, free: 7.258 MB / 0.5762 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.079e-05/0.1755, allocations: 0 / 0.8344 GB, free: 7.258 MB / 0.5762 GB Notification: Performance of NFTyping.typeComponents: time 2.911e-05/0.1756, allocations: 4 kB / 0.8344 GB, free: 7.254 MB / 0.5762 GB Notification: Performance of NFTyping.typeBindings: time 0.000137/0.1757, allocations: 11.92 kB / 0.8344 GB, free: 7.242 MB / 0.5762 GB Notification: Performance of NFTyping.typeClassSections: time 4.943e-05/0.1757, allocations: 0 / 0.8344 GB, free: 7.242 MB / 0.5762 GB Notification: Performance of NFFlatten.flatten: time 6.764e-05/0.1758, allocations: 11.94 kB / 0.8344 GB, free: 7.23 MB / 0.5762 GB Notification: Performance of NFFlatten.resolveConnections: time 4.965e-05/0.1759, allocations: 8.391 kB / 0.8344 GB, free: 7.223 MB / 0.5762 GB Notification: Performance of NFEvalConstants.evaluate: time 4.121e-05/0.1759, allocations: 7.984 kB / 0.8344 GB, free: 7.215 MB / 0.5762 GB Notification: Performance of NFSimplifyModel.simplify: time 7.394e-05/0.176, allocations: 7.938 kB / 0.8345 GB, free: 7.207 MB / 0.5762 GB Notification: Performance of NFPackage.collectConstants: time 1.552e-05/0.176, allocations: 0 / 0.8345 GB, free: 7.207 MB / 0.5762 GB Notification: Performance of NFFlatten.collectFunctions: time 8.666e-06/0.176, allocations: 0 / 0.8345 GB, free: 7.207 MB / 0.5762 GB Notification: Performance of NFScalarize.scalarize: time 4.965e-05/0.176, allocations: 7.984 kB / 0.8345 GB, free: 7.199 MB / 0.5762 GB Notification: Performance of NFVerifyModel.verify: time 2.389e-05/0.1761, allocations: 7.938 kB / 0.8345 GB, free: 7.191 MB / 0.5762 GB Notification: Performance of NFConvertDAE.convert: time 6.491e-05/0.1761, allocations: 11.92 kB / 0.8345 GB, free: 7.18 MB / 0.5762 GB Notification: Performance of FrontEnd - DAE generated: time 5.681e-06/0.1761, allocations: 4 kB / 0.8345 GB, free: 7.176 MB / 0.5762 GB Notification: Performance of FrontEnd: time 2.064e-06/0.1761, allocations: 0 / 0.8345 GB, free: 7.176 MB / 0.5762 GB Notification: Performance of Transformations before backend: time 5.32e-06/0.1761, allocations: 7.938 kB / 0.8345 GB, free: 7.168 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: 1 * Number of variables: 1 Notification: Performance of Generate backend data structure: time 0.000439/0.1766, allocations: 254.3 kB / 0.8347 GB, free: 6.887 MB / 0.5762 GB Notification: Performance of prepare preOptimizeDAE: time 3.631e-05/0.1766, allocations: 13.34 kB / 0.8347 GB, free: 6.875 MB / 0.5762 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.68e-05/0.1766, allocations: 0.9375 kB / 0.8347 GB, free: 6.875 MB / 0.5762 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001927/0.1768, allocations: 126.5 kB / 0.8349 GB, free: 6.727 MB / 0.5762 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.45e-06/0.1768, allocations: 384 / 0.8349 GB, free: 6.727 MB / 0.5762 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.116e-05/0.1769, allocations: 8.359 kB / 0.8349 GB, free: 6.719 MB / 0.5762 GB Notification: Performance of preOpt clockPartitioning (simulation): time 8.692e-05/0.177, allocations: 38.19 kB / 0.8349 GB, free: 6.676 MB / 0.5762 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.836e-06/0.177, allocations: 192 / 0.8349 GB, free: 6.676 MB / 0.5762 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.768e-06/0.177, allocations: 3.938 kB / 0.8349 GB, free: 6.672 MB / 0.5762 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.727e-06/0.177, allocations: 0 / 0.8349 GB, free: 6.672 MB / 0.5762 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 1.9e-05/0.177, allocations: 4 kB / 0.8349 GB, free: 6.668 MB / 0.5762 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001451/0.1771, allocations: 105.3 kB / 0.835 GB, free: 6.535 MB / 0.5762 GB Notification: Performance of preOpt comSubExp (simulation): time 4.763e-05/0.1772, allocations: 18.58 kB / 0.835 GB, free: 6.508 MB / 0.5762 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.491e-05/0.1772, allocations: 8.922 kB / 0.835 GB, free: 6.496 MB / 0.5762 GB Notification: Performance of preOpt evalFunc (simulation): time 1.3e-05/0.1772, allocations: 0 / 0.835 GB, free: 6.496 MB / 0.5762 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.777e-05/0.1773, allocations: 42.5 kB / 0.8351 GB, free: 6.445 MB / 0.5762 GB Notification: Performance of pre-optimization done (n=1): time 6.82e-07/0.1773, allocations: 0 / 0.8351 GB, free: 6.445 MB / 0.5762 GB Notification: Performance of matching and sorting (n=1): time 0.0001472/0.1774, allocations: 49.61 kB / 0.8351 GB, free: 6.391 MB / 0.5762 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.868e-05/0.1774, allocations: 51.41 kB / 0.8352 GB, free: 6.328 MB / 0.5762 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001033/0.1775, allocations: 109.8 kB / 0.8353 GB, free: 6.211 MB / 0.5762 GB Notification: Performance of collectPreVariables (initialization): time 1.612e-05/0.1776, allocations: 25.7 kB / 0.8353 GB, free: 6.18 MB / 0.5762 GB Notification: Performance of collectInitialEqns (initialization): time 4.781e-05/0.1776, allocations: 84.14 kB / 0.8354 GB, free: 6.094 MB / 0.5762 GB Notification: Performance of collectInitialBindings (initialization): time 1.993e-05/0.1776, allocations: 3.953 kB / 0.8354 GB, free: 6.09 MB / 0.5762 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.237e-05/0.1777, allocations: 13.72 kB / 0.8354 GB, free: 6.07 MB / 0.5762 GB Notification: Performance of setup shared object (initialization): time 0.000141/0.1778, allocations: 318.8 kB / 0.8357 GB, free: 5.75 MB / 0.5762 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.665e-05/0.1778, allocations: 8.125 kB / 0.8357 GB, free: 5.742 MB / 0.5762 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.652e-05/0.1778, allocations: 17.91 kB / 0.8357 GB, free: 5.719 MB / 0.5762 GB Notification: Performance of analyzeInitialSystem (initialization): time 3.976e-05/0.1779, allocations: 21.7 kB / 0.8358 GB, free: 5.691 MB / 0.5762 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.636e-06/0.1779, allocations: 4 kB / 0.8358 GB, free: 5.688 MB / 0.5762 GB Notification: Performance of matching and sorting (n=2) (initialization): time 7.553e-05/0.178, allocations: 49.62 kB / 0.8358 GB, free: 5.633 MB / 0.5762 GB Notification: Performance of prepare postOptimizeDAE: time 1.491e-05/0.178, allocations: 8 kB / 0.8358 GB, free: 5.625 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.048e-06/0.178, allocations: 0 / 0.8358 GB, free: 5.625 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.867e-05/0.178, allocations: 3.938 kB / 0.8358 GB, free: 5.621 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.183e-05/0.1781, allocations: 8.125 kB / 0.8358 GB, free: 5.613 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.943e-06/0.1781, allocations: 0 / 0.8358 GB, free: 5.613 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.259e-05/0.1781, allocations: 3.938 kB / 0.8358 GB, free: 5.609 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.054e-05/0.1781, allocations: 7.984 kB / 0.8358 GB, free: 5.602 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 (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.689e-05/0.1782, allocations: 106.5 kB / 0.8359 GB, free: 5.488 MB / 0.5762 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.287e-06/0.1782, allocations: 7.938 kB / 0.8359 GB, free: 5.48 MB / 0.5762 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001048/0.1783, allocations: 49.09 kB / 0.836 GB, free: 5.422 MB / 0.5762 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.677e-06/0.1783, allocations: 3.938 kB / 0.836 GB, free: 5.418 MB / 0.5762 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.5e-06/0.1783, allocations: 4 kB / 0.836 GB, free: 5.414 MB / 0.5762 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.926e-06/0.1783, allocations: 0 / 0.836 GB, free: 5.414 MB / 0.5762 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001028/0.1784, allocations: 113.3 kB / 0.8361 GB, free: 5.273 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.92e-07/0.1784, allocations: 0 / 0.8361 GB, free: 5.273 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.489e-05/0.1785, allocations: 4 kB / 0.8361 GB, free: 5.27 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.743e-06/0.1785, allocations: 0 / 0.8361 GB, free: 5.27 MB / 0.5762 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.979e-06/0.1785, allocations: 3.984 kB / 0.8361 GB, free: 5.266 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.102e-06/0.1785, allocations: 0 / 0.8361 GB, free: 5.266 MB / 0.5762 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.467e-06/0.1785, allocations: 3.938 kB / 0.8361 GB, free: 5.262 MB / 0.5762 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000126/0.1786, allocations: 77.12 kB / 0.8362 GB, free: 5.168 MB / 0.5762 GB Notification: Performance of postOpt removeConstants (simulation): time 2.186e-05/0.1786, allocations: 8.016 kB / 0.8362 GB, free: 5.16 MB / 0.5762 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.184e-05/0.1786, allocations: 0 / 0.8362 GB, free: 5.16 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.943e-05/0.1787, allocations: 4.094 kB / 0.8362 GB, free: 5.156 MB / 0.5762 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.88e-05/0.1787, allocations: 7.875 kB / 0.8362 GB, free: 5.148 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.298e-06/0.1787, allocations: 4 kB / 0.8362 GB, free: 5.145 MB / 0.5762 GB Notification: Performance of sorting global known variables: time 6.153e-05/0.1787, allocations: 87.27 kB / 0.8363 GB, free: 5.059 MB / 0.5762 GB Notification: Performance of sort global known variables: time 9e-08/0.1787, allocations: 4 kB / 0.8363 GB, free: 5.055 MB / 0.5762 GB Notification: Performance of remove unused functions: time 0.000173/0.1789, allocations: 0 / 0.8363 GB, free: 5.055 MB / 0.5762 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 1 (c) * 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.0001018/0.179, allocations: 91.25 kB / 0.8364 GB, free: 4.957 MB / 0.5762 GB Notification: Performance of simCode: created initialization part: time 8.508e-05/0.1791, allocations: 15.98 kB / 0.8364 GB, free: 4.941 MB / 0.5762 GB Notification: Performance of simCode: created event and clocks part: time 1.723e-06/0.1791, allocations: 128 / 0.8364 GB, free: 4.941 MB / 0.5762 GB Notification: Performance of simCode: created simulation system equations: time 1.876e-05/0.1791, allocations: 15.94 kB / 0.8364 GB, free: 4.926 MB / 0.5762 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001432/0.1793, allocations: 2.344 kB / 0.8364 GB, free: 4.926 MB / 0.5762 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003184/0.1796, allocations: 155.1 kB / 0.8366 GB, free: 4.742 MB / 0.5762 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 5.966e-05/0.1796, allocations: 63.34 kB / 0.8366 GB, free: 4.66 MB / 0.5762 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.453e-05/0.1797, allocations: 7.438 kB / 0.8366 GB, free: 4.652 MB / 0.5762 GB Notification: Performance of SimCode: time 3e-07/0.1797, allocations: 4 kB / 0.8366 GB, free: 4.648 MB / 0.5762 GB Notification: Performance of Templates: time 0.00217/0.1818, allocations: 0.5249 MB / 0.8372 GB, free: 4.125 MB / 0.5762 GB " [Timeout remaining time 660] make -j1 -f BuildingSystems_BuildingSystems.Fluid.Examples.Performance.Example5.makefile [Timeout 660] (rm -f BuildingSystems_BuildingSystems.Fluid.Examples.Performance.Example5.pipe ; mkfifo BuildingSystems_BuildingSystems.Fluid.Examples.Performance.Example5.pipe ; head -c 1048576 < BuildingSystems_BuildingSystems.Fluid.Examples.Performance.Example5.pipe >> ../files/BuildingSystems_BuildingSystems.Fluid.Examples.Performance.Example5.sim & ./BuildingSystems_BuildingSystems.Fluid.Examples.Performance.Example5 -abortSlowSimulation -alarm=480 -lv LOG_STATS > BuildingSystems_BuildingSystems.Fluid.Examples.Performance.Example5.pipe 2>&1) [Timeout 480] [Calling sys.exit(0), Time elapsed: 8.23293724609539] Failed to read output from testmodel.py, exit status != 0: 0.18946421705186367 0.20426715 0.025153829000000003 Calling exit ...