Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr BuildingSystems_BuildingSystems.Fluid.Examples.Performance.Example8.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.001627/0.001627, 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.001799/0.001799, allocations: 220.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.403/1.403, allocations: 230.6 MB / 256.8 MB, free: 8.035 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.002498/0.002498, allocations: 289 kB / 313.5 MB, free: 2.844 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.203/1.203, 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.Fluid.Examples.Performance.Example8,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Fluid.Examples.Performance.Example8") translateModel(BuildingSystems.Fluid.Examples.Performance.Example8,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Fluid.Examples.Performance.Example8") [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.002851/0.002851, allocations: 101.7 kB / 0.7408 GB, free: 27.95 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1723/0.1752, allocations: 95.38 MB / 0.8339 GB, free: 8.152 MB / 0.5763 GB Notification: Performance of NFInst.instantiate(BuildingSystems.Fluid.Examples.Performance.Example8): time 0.001579/0.1768, allocations: 0.5359 MB / 0.8345 GB, free: 7.613 MB / 0.5763 GB Notification: Performance of NFInst.instExpressions: time 0.0001179/0.1769, allocations: 11.98 kB / 0.8345 GB, free: 7.602 MB / 0.5763 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.638e-05/0.1769, allocations: 0 / 0.8345 GB, free: 7.602 MB / 0.5763 GB Notification: Performance of NFTyping.typeComponents: time 2.272e-05/0.1769, allocations: 3.938 kB / 0.8345 GB, free: 7.598 MB / 0.5763 GB Notification: Performance of NFTyping.typeBindings: time 0.0001489/0.1771, allocations: 0 / 0.8345 GB, free: 7.598 MB / 0.5763 GB Notification: Performance of NFTyping.typeClassSections: time 3.206e-06/0.1771, allocations: 0 / 0.8345 GB, free: 7.598 MB / 0.5763 GB Notification: Performance of NFFlatten.flatten: time 6.338e-05/0.1771, allocations: 19.91 kB / 0.8345 GB, free: 7.578 MB / 0.5763 GB Notification: Performance of NFFlatten.resolveConnections: time 4.225e-05/0.1772, allocations: 0 / 0.8345 GB, free: 7.578 MB / 0.5763 GB Notification: Performance of NFEvalConstants.evaluate: time 3.803e-05/0.1772, allocations: 7.938 kB / 0.8345 GB, free: 7.57 MB / 0.5763 GB Notification: Performance of NFSimplifyModel.simplify: time 3.258e-05/0.1773, allocations: 0 / 0.8345 GB, free: 7.57 MB / 0.5763 GB Notification: Performance of NFPackage.collectConstants: time 1.123e-05/0.1773, allocations: 0 / 0.8345 GB, free: 7.57 MB / 0.5763 GB Notification: Performance of NFFlatten.collectFunctions: time 5.67e-06/0.1773, allocations: 4 kB / 0.8345 GB, free: 7.566 MB / 0.5763 GB Notification: Performance of NFScalarize.scalarize: time 9.868e-06/0.1773, allocations: 0 / 0.8345 GB, free: 7.566 MB / 0.5763 GB Notification: Performance of NFVerifyModel.verify: time 1.435e-05/0.1773, allocations: 3.938 kB / 0.8345 GB, free: 7.562 MB / 0.5763 GB Notification: Performance of NFConvertDAE.convert: time 4.135e-05/0.1773, allocations: 4 kB / 0.8345 GB, free: 7.559 MB / 0.5763 GB Notification: Performance of FrontEnd - DAE generated: time 3.798e-06/0.1773, allocations: 0 / 0.8345 GB, free: 7.559 MB / 0.5763 GB Notification: Performance of FrontEnd: time 1.683e-06/0.1773, allocations: 0 / 0.8345 GB, free: 7.559 MB / 0.5763 GB Notification: Performance of Transformations before backend: time 4.688e-06/0.1774, allocations: 0 / 0.8345 GB, free: 7.559 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: 2 * Number of variables: 2 Notification: Performance of Generate backend data structure: time 0.0002893/0.1776, allocations: 242.4 kB / 0.8347 GB, free: 7.289 MB / 0.5763 GB Notification: Performance of prepare preOptimizeDAE: time 3.563e-05/0.1777, allocations: 13.34 kB / 0.8348 GB, free: 7.277 MB / 0.5763 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.332e-05/0.1777, allocations: 0.9375 kB / 0.8348 GB, free: 7.277 MB / 0.5763 GB Notification: Performance of preOpt evaluateParameters (simulation): time 9.123e-05/0.1778, allocations: 106.5 kB / 0.8349 GB, free: 7.148 MB / 0.5763 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.492e-06/0.1778, allocations: 384 / 0.8349 GB, free: 7.148 MB / 0.5763 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.289e-05/0.1778, allocations: 4.375 kB / 0.8349 GB, free: 7.145 MB / 0.5763 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001021/0.1779, allocations: 43.91 kB / 0.8349 GB, free: 7.09 MB / 0.5763 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.095e-06/0.1779, allocations: 4.188 kB / 0.8349 GB, free: 7.086 MB / 0.5763 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.679e-06/0.1779, allocations: 3.938 kB / 0.8349 GB, free: 7.082 MB / 0.5763 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.058e-06/0.1779, allocations: 0 / 0.8349 GB, free: 7.082 MB / 0.5763 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 1.941e-05/0.178, allocations: 4 kB / 0.8349 GB, free: 7.078 MB / 0.5763 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001556/0.1781, allocations: 138 kB / 0.8351 GB, free: 6.898 MB / 0.5763 GB Notification: Performance of preOpt comSubExp (simulation): time 5.491e-05/0.1782, allocations: 41.16 kB / 0.8351 GB, free: 6.84 MB / 0.5763 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.211e-05/0.1782, allocations: 9.844 kB / 0.8351 GB, free: 6.824 MB / 0.5763 GB Notification: Performance of preOpt evalFunc (simulation): time 1.685e-05/0.1782, allocations: 4 kB / 0.8351 GB, free: 6.82 MB / 0.5763 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.482e-05/0.1782, allocations: 38.56 kB / 0.8351 GB, free: 6.773 MB / 0.5763 GB Notification: Performance of pre-optimization done (n=2): time 8.81e-07/0.1782, allocations: 0 / 0.8351 GB, free: 6.773 MB / 0.5763 GB Notification: Performance of matching and sorting (n=2): time 0.0001411/0.1784, allocations: 45.56 kB / 0.8352 GB, free: 6.723 MB / 0.5763 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.529e-05/0.1784, allocations: 81.11 kB / 0.8353 GB, free: 6.625 MB / 0.5763 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.627e-05/0.1785, allocations: 97.8 kB / 0.8354 GB, free: 6.52 MB / 0.5763 GB Notification: Performance of collectPreVariables (initialization): time 1.844e-05/0.1785, allocations: 29.64 kB / 0.8354 GB, free: 6.484 MB / 0.5763 GB Notification: Performance of collectInitialEqns (initialization): time 3.199e-05/0.1785, allocations: 80.52 kB / 0.8355 GB, free: 6.402 MB / 0.5763 GB Notification: Performance of collectInitialBindings (initialization): time 2.441e-05/0.1786, allocations: 7.953 kB / 0.8355 GB, free: 6.395 MB / 0.5763 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.511e-05/0.1786, allocations: 17.66 kB / 0.8355 GB, free: 6.371 MB / 0.5763 GB Notification: Performance of setup shared object (initialization): time 0.0001236/0.1787, allocations: 314.8 kB / 0.8358 GB, free: 6.055 MB / 0.5763 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.32e-05/0.1787, allocations: 8 kB / 0.8358 GB, free: 6.047 MB / 0.5763 GB Notification: Performance of partitionIndependentBlocks (initialization): time 1.502e-05/0.1787, allocations: 9.719 kB / 0.8358 GB, free: 6.031 MB / 0.5763 GB Notification: Performance of analyzeInitialSystem (initialization): time 3.775e-05/0.1788, allocations: 21.78 kB / 0.8358 GB, free: 6.004 MB / 0.5763 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.503e-06/0.1788, allocations: 0 / 0.8358 GB, free: 6.004 MB / 0.5763 GB Notification: Performance of matching and sorting (n=2) (initialization): time 6.265e-05/0.1788, allocations: 45.62 kB / 0.8359 GB, free: 5.953 MB / 0.5763 GB Notification: Performance of prepare postOptimizeDAE: time 1.245e-05/0.1788, allocations: 6.031 kB / 0.8359 GB, free: 5.949 MB / 0.5763 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.831e-06/0.1789, allocations: 3.938 kB / 0.8359 GB, free: 5.945 MB / 0.5763 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.375e-05/0.1789, allocations: 4 kB / 0.8359 GB, free: 5.941 MB / 0.5763 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.539e-05/0.1789, allocations: 0 / 0.8359 GB, free: 5.941 MB / 0.5763 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.927e-06/0.1789, allocations: 4 kB / 0.8359 GB, free: 5.938 MB / 0.5763 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.067e-05/0.179, allocations: 7.938 kB / 0.8359 GB, free: 5.93 MB / 0.5763 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.63e-06/0.179, allocations: 4.062 kB / 0.8359 GB, free: 5.926 MB / 0.5763 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 6.734e-05/0.179, allocations: 110.5 kB / 0.836 GB, free: 5.809 MB / 0.5763 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.354e-06/0.179, allocations: 0 / 0.836 GB, free: 5.809 MB / 0.5763 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001047/0.1791, allocations: 52.56 kB / 0.8361 GB, free: 5.75 MB / 0.5763 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.236e-06/0.1791, allocations: 3.984 kB / 0.8361 GB, free: 5.746 MB / 0.5763 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.769e-06/0.1791, allocations: 4 kB / 0.8361 GB, free: 5.742 MB / 0.5763 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.827e-06/0.1791, allocations: 4 kB / 0.8361 GB, free: 5.738 MB / 0.5763 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 9.382e-05/0.1792, allocations: 124.8 kB / 0.8362 GB, free: 5.574 MB / 0.5763 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.91e-07/0.1792, allocations: 0 / 0.8362 GB, free: 5.574 MB / 0.5763 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.129e-05/0.1793, allocations: 7.938 kB / 0.8362 GB, free: 5.566 MB / 0.5763 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.373e-06/0.1793, allocations: 0 / 0.8362 GB, free: 5.566 MB / 0.5763 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.376e-06/0.1793, allocations: 11.92 kB / 0.8362 GB, free: 5.555 MB / 0.5763 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.082e-06/0.1793, allocations: 0 / 0.8362 GB, free: 5.555 MB / 0.5763 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.71e-07/0.1793, allocations: 0 / 0.8362 GB, free: 5.555 MB / 0.5763 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 8.099e-05/0.1794, allocations: 66 kB / 0.8363 GB, free: 5.469 MB / 0.5763 GB Notification: Performance of postOpt removeConstants (simulation): time 3.21e-05/0.1794, allocations: 7.984 kB / 0.8363 GB, free: 5.461 MB / 0.5763 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.108e-05/0.1794, allocations: 3.938 kB / 0.8363 GB, free: 5.457 MB / 0.5763 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.432e-05/0.1794, allocations: 0 / 0.8363 GB, free: 5.457 MB / 0.5763 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.814e-05/0.1794, allocations: 8 kB / 0.8363 GB, free: 5.449 MB / 0.5763 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.074e-06/0.1794, allocations: 3.938 kB / 0.8363 GB, free: 5.445 MB / 0.5763 GB Notification: Performance of sorting global known variables: time 3.549e-05/0.1795, allocations: 75.28 kB / 0.8364 GB, free: 5.371 MB / 0.5763 GB Notification: Performance of sort global known variables: time 8e-08/0.1795, allocations: 0 / 0.8364 GB, free: 5.371 MB / 0.5763 GB Notification: Performance of remove unused functions: time 0.000181/0.1797, allocations: 7.938 kB / 0.8364 GB, free: 5.363 MB / 0.5763 GB Notification: Model statistics after passing the back-end for simulation: * 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 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 9.432e-05/0.1797, allocations: 95.38 kB / 0.8365 GB, free: 5.258 MB / 0.5763 GB Notification: Performance of simCode: created initialization part: time 7.432e-05/0.1798, allocations: 7.984 kB / 0.8365 GB, free: 5.25 MB / 0.5763 GB Notification: Performance of simCode: created event and clocks part: time 1.924e-06/0.1798, allocations: 4 kB / 0.8365 GB, free: 5.246 MB / 0.5763 GB Notification: Performance of simCode: created simulation system equations: time 1.086e-05/0.1798, allocations: 11.88 kB / 0.8365 GB, free: 5.234 MB / 0.5763 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001289/0.18, allocations: 6.406 kB / 0.8365 GB, free: 5.23 MB / 0.5763 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002299/0.1802, allocations: 119.8 kB / 0.8366 GB, free: 5.078 MB / 0.5763 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002764/0.1805, allocations: 0.6729 MB / 0.8373 GB, free: 4.379 MB / 0.5763 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.014e-05/0.1805, allocations: 7.438 kB / 0.8373 GB, free: 4.371 MB / 0.5763 GB Notification: Performance of SimCode: time 2.91e-07/0.1805, allocations: 0 / 0.8373 GB, free: 4.371 MB / 0.5763 GB Notification: Performance of Templates: time 0.001581/0.1821, allocations: 359.8 kB / 0.8376 GB, free: 4.02 MB / 0.5763 GB " [Timeout remaining time 660] make -j1 -f BuildingSystems_BuildingSystems.Fluid.Examples.Performance.Example8.makefile [Timeout 660] (rm -f BuildingSystems_BuildingSystems.Fluid.Examples.Performance.Example8.pipe ; mkfifo BuildingSystems_BuildingSystems.Fluid.Examples.Performance.Example8.pipe ; head -c 1048576 < BuildingSystems_BuildingSystems.Fluid.Examples.Performance.Example8.pipe >> ../files/BuildingSystems_BuildingSystems.Fluid.Examples.Performance.Example8.sim & ./BuildingSystems_BuildingSystems.Fluid.Examples.Performance.Example8 -abortSlowSimulation -alarm=480 -lv LOG_STATS > BuildingSystems_BuildingSystems.Fluid.Examples.Performance.Example8.pipe 2>&1) [Timeout 480] [Calling sys.exit(0), Time elapsed: 7.8732019970193505] Failed to read output from testmodel.py, exit status != 0: 0.1893208110705018 0.203696903 0.023452017000000002 Calling exit ...