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.001388/0.001388, allocations: 89.06 kB / 19.65 MB, free: 272 kB / 13.93 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.00101/0.00101, allocations: 173 kB / 23.02 MB, free: 1.543 MB / 18.57 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.029/1.029, allocations: 177.1 MB / 203.4 MB, free: 5.625 MB / 186.7 MB " [Timeout remaining time 179] 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.001783/0.001783, allocations: 233.8 kB / 260.2 MB, free: 12.82 MB / 250.7 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 0.7378/0.7378, allocations: 138.4 MB / 455.2 MB, free: 1.555 MB / 362.7 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: Performance of FrontEnd - loaded program: time 2.033e-06/2.033e-06, allocations: 0 / 0.5551 GB, free: 0.5703 MB / 474.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 3.002e-05/3.205e-05, allocations: 2.312 kB / 0.5551 GB, free: 0.5664 MB / 474.7 MB Notification: Performance of NFInst.instantiate(BuildingSystems.Fluid.Examples.Performance.Example8): time 0.0018/0.001832, allocations: 0.5362 MB / 0.5556 GB, free: 28 kB / 474.7 MB Notification: Performance of NFInst.instExpressions: time 0.0001621/0.001994, allocations: 15.92 kB / 0.5556 GB, free: 12 kB / 474.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 2.972e-05/0.002024, allocations: 0 / 0.5556 GB, free: 12 kB / 474.7 MB Notification: Performance of NFTyping.typeComponents: time 2.134e-05/0.002045, allocations: 0 / 0.5556 GB, free: 12 kB / 474.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0001726/0.002218, allocations: 7.938 kB / 0.5556 GB, free: 4 kB / 474.7 MB Notification: Performance of NFTyping.typeClassSections: time 3.727e-06/0.002222, allocations: 7.984 kB / 0.5556 GB, free: 15.99 MB / 490.7 MB Notification: Performance of NFFlatten.flatten: time 5.554e-05/0.002277, allocations: 0 / 0.5556 GB, free: 15.99 MB / 490.7 MB Notification: Performance of NFFlatten.resolveConnections: time 4.645e-05/0.002324, allocations: 7.984 kB / 0.5556 GB, free: 15.98 MB / 490.7 MB Notification: Performance of NFEvalConstants.evaluate: time 5.834e-05/0.002382, allocations: 0 / 0.5556 GB, free: 15.98 MB / 490.7 MB Notification: Performance of NFSimplifyModel.simplify: time 4.054e-05/0.002422, allocations: 4 kB / 0.5557 GB, free: 15.98 MB / 490.7 MB Notification: Performance of NFPackage.collectConstants: time 1.54e-05/0.002438, allocations: 0 / 0.5557 GB, free: 15.98 MB / 490.7 MB Notification: Performance of NFFlatten.collectFunctions: time 6.813e-06/0.002445, allocations: 0 / 0.5557 GB, free: 15.98 MB / 490.7 MB Notification: Performance of NFScalarize.scalarize: time 1.332e-05/0.002458, allocations: 3.938 kB / 0.5557 GB, free: 15.98 MB / 490.7 MB Notification: Performance of NFVerifyModel.verify: time 1.652e-05/0.002474, allocations: 3.984 kB / 0.5557 GB, free: 15.97 MB / 490.7 MB Notification: Performance of NFConvertDAE.convert: time 5.497e-05/0.002529, allocations: 3.938 kB / 0.5557 GB, free: 15.97 MB / 490.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.535e-06/0.002532, allocations: 0 / 0.5557 GB, free: 15.97 MB / 490.7 MB Notification: Performance of FrontEnd: time 7.82e-07/0.002533, allocations: 8 kB / 0.5557 GB, free: 15.96 MB / 490.7 MB Notification: Performance of Transformations before backend: time 4.479e-06/0.002537, allocations: 0 / 0.5557 GB, free: 15.96 MB / 490.7 MB 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.000325/0.002862, allocations: 344.7 kB / 0.556 GB, free: 15.59 MB / 490.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.634e-05/0.002909, allocations: 8.75 kB / 0.556 GB, free: 15.58 MB / 490.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.984e-05/0.002948, allocations: 0.9375 kB / 0.556 GB, free: 15.58 MB / 490.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 8.803e-05/0.003036, allocations: 108.6 kB / 0.5561 GB, free: 15.45 MB / 490.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.27e-05/0.003049, allocations: 384 / 0.5561 GB, free: 15.45 MB / 490.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.334e-05/0.003062, allocations: 384 / 0.5561 GB, free: 15.45 MB / 490.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001201/0.003183, allocations: 57.56 kB / 0.5562 GB, free: 15.38 MB / 490.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.271e-05/0.003195, allocations: 192 / 0.5562 GB, free: 15.38 MB / 490.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.041e-05/0.003206, allocations: 8.375 kB / 0.5562 GB, free: 15.37 MB / 490.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.039e-05/0.003216, allocations: 384 / 0.5562 GB, free: 15.37 MB / 490.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.333e-05/0.003239, allocations: 3.938 kB / 0.5562 GB, free: 15.36 MB / 490.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001479/0.003387, allocations: 120.3 kB / 0.5563 GB, free: 15.21 MB / 490.7 MB Notification: Performance of preOpt comSubExp (simulation): time 7.246e-05/0.00346, allocations: 58.11 kB / 0.5564 GB, free: 15.12 MB / 490.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 2.548e-05/0.003485, allocations: 15.5 kB / 0.5564 GB, free: 15.1 MB / 490.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.635e-05/0.003512, allocations: 4 kB / 0.5564 GB, free: 15.1 MB / 490.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.839e-05/0.00354, allocations: 37.39 kB / 0.5564 GB, free: 15.05 MB / 490.7 MB Notification: Performance of pre-optimization done (n=2): time 1.333e-06/0.003541, allocations: 0 / 0.5564 GB, free: 15.05 MB / 490.7 MB Notification: Performance of matching and sorting (n=2): time 0.0001595/0.003701, allocations: 49.72 kB / 0.5565 GB, free: 15 MB / 490.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.31e-05/0.003744, allocations: 81.05 kB / 0.5565 GB, free: 14.9 MB / 490.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.98e-05/0.003834, allocations: 157.8 kB / 0.5567 GB, free: 14.73 MB / 490.7 MB Notification: Performance of collectPreVariables (initialization): time 1.348e-05/0.003847, allocations: 29.7 kB / 0.5567 GB, free: 14.69 MB / 490.7 MB Notification: Performance of collectInitialEqns (initialization): time 3.736e-05/0.003885, allocations: 130.9 kB / 0.5568 GB, free: 14.56 MB / 490.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.906e-05/0.003914, allocations: 3.953 kB / 0.5568 GB, free: 14.55 MB / 490.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.44e-05/0.003948, allocations: 19.38 kB / 0.5569 GB, free: 14.53 MB / 490.7 MB Notification: Performance of setup shared object (initialization): time 0.0001389/0.004087, allocations: 492.1 kB / 0.5573 GB, free: 14.04 MB / 490.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.504e-05/0.004102, allocations: 3.984 kB / 0.5573 GB, free: 14.03 MB / 490.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 2.182e-05/0.004124, allocations: 23.66 kB / 0.5574 GB, free: 14 MB / 490.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 3.84e-05/0.004162, allocations: 23.44 kB / 0.5574 GB, free: 13.97 MB / 490.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.645e-06/0.004165, allocations: 0 / 0.5574 GB, free: 13.97 MB / 490.7 MB Notification: Performance of matching and sorting (n=2) (initialization): time 7.692e-05/0.004242, allocations: 45.64 kB / 0.5574 GB, free: 13.92 MB / 490.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.808e-05/0.00426, allocations: 11.98 kB / 0.5574 GB, free: 13.91 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.621e-06/0.004265, allocations: 0 / 0.5574 GB, free: 13.91 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.798e-05/0.004283, allocations: 0 / 0.5574 GB, free: 13.91 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.046e-05/0.004364, allocations: 4 kB / 0.5574 GB, free: 13.9 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.681e-06/0.00437, allocations: 0 / 0.5574 GB, free: 13.9 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.833e-05/0.004388, allocations: 8 kB / 0.5574 GB, free: 13.89 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.917e-06/0.004397, allocations: 4 kB / 0.5574 GB, free: 13.89 MB / 490.7 MB 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.036e-05/0.004477, allocations: 160.5 kB / 0.5576 GB, free: 13.72 MB / 490.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.145e-05/0.004489, allocations: 0 / 0.5576 GB, free: 13.72 MB / 490.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001287/0.004617, allocations: 48.69 kB / 0.5576 GB, free: 13.67 MB / 490.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.545e-06/0.00462, allocations: 0 / 0.5576 GB, free: 13.67 MB / 490.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.028e-06/0.004624, allocations: 0 / 0.5576 GB, free: 13.67 MB / 490.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.31e-06/0.004629, allocations: 7.875 kB / 0.5577 GB, free: 13.67 MB / 490.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 8.807e-05/0.004717, allocations: 116.6 kB / 0.5578 GB, free: 13.52 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.204e-06/0.00472, allocations: 4.062 kB / 0.5578 GB, free: 13.52 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.389e-05/0.004753, allocations: 7.938 kB / 0.5578 GB, free: 13.51 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.016e-06/0.004756, allocations: 0 / 0.5578 GB, free: 13.51 MB / 490.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.843e-06/0.004763, allocations: 0 / 0.5578 GB, free: 13.51 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.794e-06/0.004765, allocations: 0 / 0.5578 GB, free: 13.51 MB / 490.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.426e-06/0.004768, allocations: 4 kB / 0.5578 GB, free: 13.5 MB / 490.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 9.404e-05/0.004863, allocations: 84.02 kB / 0.5579 GB, free: 13.39 MB / 490.7 MB Notification: Performance of postOpt removeConstants (simulation): time 4.045e-05/0.004903, allocations: 8 kB / 0.5579 GB, free: 13.39 MB / 490.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.12e-05/0.004914, allocations: 0 / 0.5579 GB, free: 13.39 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.707e-05/0.004931, allocations: 0 / 0.5579 GB, free: 13.39 MB / 490.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.864e-05/0.00495, allocations: 11.95 kB / 0.5579 GB, free: 13.38 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.893e-06/0.004957, allocations: 7.938 kB / 0.5579 GB, free: 13.37 MB / 490.7 MB Notification: Performance of sorting global known variables: time 4.167e-05/0.004998, allocations: 123.1 kB / 0.558 GB, free: 13.25 MB / 490.7 MB Notification: Performance of sort global known variables: time 1e-07/0.004999, allocations: 0 / 0.558 GB, free: 13.25 MB / 490.7 MB Notification: Performance of remove unused functions: time 0.0002097/0.005208, allocations: 0 / 0.558 GB, free: 13.25 MB / 490.7 MB 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.531e-05/0.005304, allocations: 95.25 kB / 0.5581 GB, free: 13.14 MB / 490.7 MB Notification: Performance of simCode: created initialization part: time 8.95e-05/0.005393, allocations: 15.69 kB / 0.5581 GB, free: 13.12 MB / 490.7 MB Notification: Performance of simCode: created event and clocks part: time 1.894e-06/0.005395, allocations: 224 / 0.5581 GB, free: 13.12 MB / 490.7 MB Notification: Performance of simCode: created simulation system equations: time 1.806e-05/0.005413, allocations: 23.61 kB / 0.5581 GB, free: 13.1 MB / 490.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001582/0.005571, allocations: 4 kB / 0.5581 GB, free: 13.09 MB / 490.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000249/0.00582, allocations: 102.1 kB / 0.5582 GB, free: 12.96 MB / 490.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.806e-05/0.005858, allocations: 55.36 kB / 0.5583 GB, free: 12.89 MB / 490.7 MB Notification: Performance of simCode: alias equations: time 2.412e-05/0.005882, allocations: 3.984 kB / 0.5583 GB, free: 12.88 MB / 490.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.414e-05/0.005907, allocations: 8.5 kB / 0.5583 GB, free: 12.88 MB / 490.7 MB Notification: Performance of SimCode: time 8.51e-07/0.005907, allocations: 0 / 0.5583 GB, free: 12.88 MB / 490.7 MB Notification: Performance of Templates: time 0.002286/0.008194, allocations: 224.7 kB / 0.5585 GB, free: 12.66 MB / 490.7 MB " [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=240 -lv LOG_STATS > BuildingSystems_BuildingSystems.Fluid.Examples.Performance.Example8.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 3.7225908068940043]