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.00138/0.00138, allocations: 95.06 kB / 19.44 MB, free: 464 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.00154/0.00154, allocations: 169.2 kB / 22.75 MB, free: 1.789 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.439/1.439, allocations: 177.1 MB / 203.1 MB, free: 5.332 MB / 186.7 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.002624/0.002624, allocations: 225.2 kB / 259.8 MB, free: 12.73 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 1.072/1.072, allocations: 138.4 MB / 454.7 MB, free: 1.496 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 1.322e-06/1.322e-06, allocations: 0 / 0.5543 GB, free: 0.9102 MB / 474.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.674e-05/2.806e-05, allocations: 6.312 kB / 0.5543 GB, free: 0.9023 MB / 474.7 MB Notification: Performance of NFInst.instantiate(BuildingSystems.Fluid.Examples.Performance.Example8): time 0.001561/0.001589, allocations: 0.5131 MB / 0.5548 GB, free: 396 kB / 474.7 MB Notification: Performance of NFInst.instExpressions: time 0.0001183/0.001707, allocations: 19.91 kB / 0.5548 GB, free: 376 kB / 474.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 2.553e-05/0.001733, allocations: 0 / 0.5548 GB, free: 376 kB / 474.7 MB Notification: Performance of NFTyping.typeComponents: time 1.094e-05/0.001744, allocations: 0 / 0.5548 GB, free: 376 kB / 474.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0001428/0.001887, allocations: 11.94 kB / 0.5548 GB, free: 364 kB / 474.7 MB Notification: Performance of NFTyping.typeClassSections: time 4.028e-06/0.001891, allocations: 3.938 kB / 0.5548 GB, free: 360 kB / 474.7 MB Notification: Performance of NFFlatten.flatten: time 4.459e-05/0.001935, allocations: 0 / 0.5548 GB, free: 360 kB / 474.7 MB Notification: Performance of NFFlatten.resolveConnections: time 3.933e-05/0.001975, allocations: 4 kB / 0.5548 GB, free: 356 kB / 474.7 MB Notification: Performance of NFEvalConstants.evaluate: time 5.731e-05/0.002032, allocations: 7.984 kB / 0.5549 GB, free: 348 kB / 474.7 MB Notification: Performance of NFSimplifyModel.simplify: time 3.196e-05/0.002064, allocations: 0 / 0.5549 GB, free: 348 kB / 474.7 MB Notification: Performance of NFPackage.collectConstants: time 1.444e-05/0.002078, allocations: 4 kB / 0.5549 GB, free: 344 kB / 474.7 MB Notification: Performance of NFFlatten.collectFunctions: time 4.859e-06/0.002083, allocations: 0 / 0.5549 GB, free: 344 kB / 474.7 MB Notification: Performance of NFScalarize.scalarize: time 1.149e-05/0.002095, allocations: 3.938 kB / 0.5549 GB, free: 340 kB / 474.7 MB Notification: Performance of NFVerifyModel.verify: time 1.811e-05/0.002113, allocations: 3.984 kB / 0.5549 GB, free: 336 kB / 474.7 MB Notification: Performance of NFConvertDAE.convert: time 4.042e-05/0.002153, allocations: 4 kB / 0.5549 GB, free: 332 kB / 474.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.674e-06/0.002155, allocations: 0 / 0.5549 GB, free: 332 kB / 474.7 MB Notification: Performance of FrontEnd: time 5.71e-07/0.002155, allocations: 0 / 0.5549 GB, free: 332 kB / 474.7 MB Notification: Performance of Transformations before backend: time 3.527e-06/0.002159, allocations: 4 kB / 0.5549 GB, free: 328 kB / 474.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.0003148/0.002474, allocations: 242.4 kB / 0.5551 GB, free: 52 kB / 474.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.765e-05/0.002511, allocations: 8.75 kB / 0.5551 GB, free: 44 kB / 474.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.537e-05/0.002547, allocations: 0.9375 kB / 0.5551 GB, free: 44 kB / 474.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001244/0.002671, allocations: 109.8 kB / 0.5552 GB, free: 15.91 MB / 490.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.24e-05/0.002684, allocations: 4.375 kB / 0.5552 GB, free: 15.91 MB / 490.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 7.084e-06/0.002691, allocations: 384 / 0.5552 GB, free: 15.91 MB / 490.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001055/0.002796, allocations: 47.92 kB / 0.5553 GB, free: 15.85 MB / 490.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.693e-06/0.002803, allocations: 192 / 0.5553 GB, free: 15.85 MB / 490.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.038e-05/0.002813, allocations: 4.375 kB / 0.5553 GB, free: 15.84 MB / 490.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.726e-06/0.002817, allocations: 384 / 0.5553 GB, free: 15.84 MB / 490.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.566e-05/0.002843, allocations: 7.922 kB / 0.5553 GB, free: 15.84 MB / 490.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001492/0.002992, allocations: 106.2 kB / 0.5554 GB, free: 15.7 MB / 490.7 MB Notification: Performance of preOpt comSubExp (simulation): time 7.084e-05/0.003063, allocations: 37.16 kB / 0.5554 GB, free: 15.64 MB / 490.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 3.012e-05/0.003093, allocations: 17.84 kB / 0.5554 GB, free: 15.62 MB / 490.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.247e-05/0.003115, allocations: 0 / 0.5554 GB, free: 15.62 MB / 490.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001479/0.003263, allocations: 38.48 kB / 0.5555 GB, free: 15.57 MB / 490.7 MB Notification: Performance of pre-optimization done (n=2): time 7.21e-07/0.003264, allocations: 4 kB / 0.5555 GB, free: 15.57 MB / 490.7 MB Notification: Performance of matching and sorting (n=2): time 0.0001699/0.003434, allocations: 41.7 kB / 0.5555 GB, free: 15.52 MB / 490.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.37e-05/0.003497, allocations: 84.98 kB / 0.5556 GB, free: 15.42 MB / 490.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.949e-05/0.003587, allocations: 97.8 kB / 0.5557 GB, free: 15.32 MB / 490.7 MB Notification: Performance of collectPreVariables (initialization): time 1.852e-05/0.003606, allocations: 25.7 kB / 0.5557 GB, free: 15.29 MB / 490.7 MB Notification: Performance of collectInitialEqns (initialization): time 4.81e-05/0.003654, allocations: 84.12 kB / 0.5558 GB, free: 15.2 MB / 490.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.764e-05/0.003681, allocations: 3.953 kB / 0.5558 GB, free: 15.2 MB / 490.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.771e-05/0.003719, allocations: 17.72 kB / 0.5558 GB, free: 15.17 MB / 490.7 MB Notification: Performance of setup shared object (initialization): time 0.0001697/0.003889, allocations: 310.8 kB / 0.5561 GB, free: 14.86 MB / 490.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 9.749e-06/0.003898, allocations: 384 / 0.5561 GB, free: 14.86 MB / 490.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 1.81e-05/0.003917, allocations: 17.72 kB / 0.5561 GB, free: 14.84 MB / 490.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 4.205e-05/0.003959, allocations: 21.72 kB / 0.5561 GB, free: 14.81 MB / 490.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.013e-06/0.003961, allocations: 3.938 kB / 0.5561 GB, free: 14.8 MB / 490.7 MB Notification: Performance of matching and sorting (n=2) (initialization): time 6.965e-05/0.00403, allocations: 37.69 kB / 0.5562 GB, free: 14.76 MB / 490.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.529e-05/0.004046, allocations: 4 kB / 0.5562 GB, free: 14.76 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.042e-05/0.004056, allocations: 7.984 kB / 0.5562 GB, free: 14.75 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.571e-05/0.004072, allocations: 0 / 0.5562 GB, free: 14.75 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.611e-05/0.004128, allocations: 8.125 kB / 0.5562 GB, free: 14.74 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.434e-06/0.004135, allocations: 3.938 kB / 0.5562 GB, free: 14.74 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.187e-05/0.004157, allocations: 7.938 kB / 0.5562 GB, free: 14.73 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.374e-06/0.004164, allocations: 3.984 kB / 0.5562 GB, free: 14.73 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 9.527e-05/0.00426, allocations: 109.8 kB / 0.5563 GB, free: 14.61 MB / 490.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.004e-05/0.00427, allocations: 0 / 0.5563 GB, free: 14.61 MB / 490.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001139/0.004384, allocations: 48.62 kB / 0.5564 GB, free: 14.56 MB / 490.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.298e-06/0.004388, allocations: 4 kB / 0.5564 GB, free: 14.55 MB / 490.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.777e-06/0.004392, allocations: 64 / 0.5564 GB, free: 14.55 MB / 490.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.909e-06/0.004397, allocations: 7.938 kB / 0.5564 GB, free: 14.55 MB / 490.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001096/0.004506, allocations: 105.2 kB / 0.5565 GB, free: 14.41 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.062e-06/0.004507, allocations: 0 / 0.5565 GB, free: 14.41 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.616e-05/0.004534, allocations: 7.984 kB / 0.5565 GB, free: 14.41 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.904e-06/0.004535, allocations: 0 / 0.5565 GB, free: 14.41 MB / 490.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.741e-06/0.004541, allocations: 0 / 0.5565 GB, free: 14.41 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.363e-06/0.004543, allocations: 0 / 0.5565 GB, free: 14.41 MB / 490.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.42e-07/0.004543, allocations: 0 / 0.5565 GB, free: 14.41 MB / 490.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001085/0.004652, allocations: 73.92 kB / 0.5566 GB, free: 14.31 MB / 490.7 MB Notification: Performance of postOpt removeConstants (simulation): time 3.851e-05/0.00469, allocations: 7.984 kB / 0.5566 GB, free: 14.3 MB / 490.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.423e-05/0.004705, allocations: 15.97 kB / 0.5566 GB, free: 14.29 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.565e-05/0.00472, allocations: 0 / 0.5566 GB, free: 14.29 MB / 490.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.248e-05/0.004733, allocations: 3.938 kB / 0.5566 GB, free: 14.29 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.159e-06/0.004738, allocations: 4 kB / 0.5566 GB, free: 14.28 MB / 490.7 MB Notification: Performance of sorting global known variables: time 4.619e-05/0.004784, allocations: 79.22 kB / 0.5567 GB, free: 14.2 MB / 490.7 MB Notification: Performance of sort global known variables: time 6e-08/0.004784, allocations: 0 / 0.5567 GB, free: 14.2 MB / 490.7 MB Notification: Performance of remove unused functions: time 0.0001813/0.004965, allocations: 0 / 0.5567 GB, free: 14.2 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 0.0001099/0.005075, allocations: 99.23 kB / 0.5568 GB, free: 14.1 MB / 490.7 MB Notification: Performance of simCode: created initialization part: time 7.915e-05/0.005154, allocations: 12.09 kB / 0.5568 GB, free: 14.09 MB / 490.7 MB Notification: Performance of simCode: created event and clocks part: time 1.764e-06/0.005156, allocations: 0 / 0.5568 GB, free: 14.09 MB / 490.7 MB Notification: Performance of simCode: created simulation system equations: time 1.066e-05/0.005167, allocations: 7.938 kB / 0.5568 GB, free: 14.08 MB / 490.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001385/0.005305, allocations: 4 kB / 0.5568 GB, free: 14.07 MB / 490.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000244/0.005549, allocations: 97.61 kB / 0.5569 GB, free: 13.95 MB / 490.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 6.095e-05/0.00561, allocations: 55.36 kB / 0.5569 GB, free: 13.88 MB / 490.7 MB Notification: Performance of simCode: alias equations: time 1.976e-05/0.00563, allocations: 4 kB / 0.5569 GB, free: 13.87 MB / 490.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.784e-05/0.005658, allocations: 8.5 kB / 0.5569 GB, free: 13.86 MB / 490.7 MB Notification: Performance of SimCode: time 5.11e-07/0.005658, allocations: 4.25 kB / 0.5569 GB, free: 13.86 MB / 490.7 MB Notification: Performance of Templates: time 0.002268/0.007926, allocations: 215.5 kB / 0.5572 GB, free: 13.65 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=480 -lv LOG_STATS > BuildingSystems_BuildingSystems.Fluid.Examples.Performance.Example8.pipe 2>&1) [Timeout 480] [Calling sys.exit(0), Time elapsed: 5.336789718014188]