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.002396/0.002396, allocations: 81.48 kB / 19.44 MB, free: 348 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.003018/0.003018, allocations: 173.2 kB / 22.76 MB, free: 1.664 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.617/1.617, allocations: 177.1 MB / 203.1 MB, free: 5.609 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.003273/0.003273, allocations: 229.2 kB / 259.8 MB, free: 12.85 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.195/1.195, allocations: 138.4 MB / 454.7 MB, free: 1.492 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.664e-06/1.664e-06, allocations: 0 / 0.5543 GB, free: 0.9023 MB / 474.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.574e-05/2.74e-05, allocations: 2.312 kB / 0.5543 GB, free: 0.8984 MB / 474.7 MB Notification: Performance of NFInst.instantiate(BuildingSystems.Fluid.Examples.Performance.Example8): time 0.001738/0.001766, allocations: 0.5209 MB / 0.5548 GB, free: 384 kB / 474.7 MB Notification: Performance of NFInst.instExpressions: time 0.0001582/0.001924, allocations: 11.92 kB / 0.5548 GB, free: 372 kB / 474.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 3.619e-05/0.00196, allocations: 0 / 0.5548 GB, free: 372 kB / 474.7 MB Notification: Performance of NFTyping.typeComponents: time 1.626e-05/0.001977, allocations: 0 / 0.5548 GB, free: 372 kB / 474.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0001861/0.002163, allocations: 4 kB / 0.5548 GB, free: 368 kB / 474.7 MB Notification: Performance of NFTyping.typeClassSections: time 4.89e-06/0.002168, allocations: 3.938 kB / 0.5548 GB, free: 364 kB / 474.7 MB Notification: Performance of NFFlatten.flatten: time 6.945e-05/0.002237, allocations: 8 kB / 0.5548 GB, free: 356 kB / 474.7 MB Notification: Performance of NFFlatten.resolveConnections: time 5.589e-05/0.002293, allocations: 7.984 kB / 0.5548 GB, free: 348 kB / 474.7 MB Notification: Performance of NFEvalConstants.evaluate: time 6.845e-05/0.002361, allocations: 3.984 kB / 0.5548 GB, free: 344 kB / 474.7 MB Notification: Performance of NFSimplifyModel.simplify: time 4.332e-05/0.002405, allocations: 0 / 0.5548 GB, free: 344 kB / 474.7 MB Notification: Performance of NFPackage.collectConstants: time 2.021e-05/0.002425, allocations: 4 kB / 0.5549 GB, free: 340 kB / 474.7 MB Notification: Performance of NFFlatten.collectFunctions: time 8.176e-06/0.002433, allocations: 0 / 0.5549 GB, free: 340 kB / 474.7 MB Notification: Performance of NFScalarize.scalarize: time 2.422e-05/0.002457, allocations: 3.938 kB / 0.5549 GB, free: 336 kB / 474.7 MB Notification: Performance of NFVerifyModel.verify: time 1.645e-05/0.002474, allocations: 0 / 0.5549 GB, free: 336 kB / 474.7 MB Notification: Performance of NFConvertDAE.convert: time 5.426e-05/0.002528, allocations: 3.938 kB / 0.5549 GB, free: 332 kB / 474.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.345e-06/0.00253, allocations: 0 / 0.5549 GB, free: 332 kB / 474.7 MB Notification: Performance of FrontEnd: time 8.12e-07/0.002531, allocations: 0 / 0.5549 GB, free: 332 kB / 474.7 MB Notification: Performance of Transformations before backend: time 4.799e-06/0.002536, allocations: 8 kB / 0.5549 GB, free: 324 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.0004671/0.003003, allocations: 348.3 kB / 0.5552 GB, free: 15.94 MB / 490.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.584e-05/0.003059, allocations: 8.75 kB / 0.5552 GB, free: 15.93 MB / 490.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.917e-05/0.003108, allocations: 0.9375 kB / 0.5552 GB, free: 15.93 MB / 490.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001222/0.00323, allocations: 108.6 kB / 0.5553 GB, free: 15.8 MB / 490.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.507e-05/0.003245, allocations: 384 / 0.5553 GB, free: 15.8 MB / 490.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.087e-05/0.003256, allocations: 384 / 0.5553 GB, free: 15.8 MB / 490.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001521/0.003408, allocations: 49.62 kB / 0.5554 GB, free: 15.73 MB / 490.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.033e-05/0.003419, allocations: 192 / 0.5554 GB, free: 15.73 MB / 490.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.747e-05/0.003436, allocations: 8.359 kB / 0.5554 GB, free: 15.73 MB / 490.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.179e-06/0.003441, allocations: 4.375 kB / 0.5554 GB, free: 15.72 MB / 490.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.54e-05/0.003477, allocations: 11.88 kB / 0.5554 GB, free: 15.71 MB / 490.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001955/0.003672, allocations: 116.3 kB / 0.5555 GB, free: 15.56 MB / 490.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001069/0.003779, allocations: 58.12 kB / 0.5555 GB, free: 15.48 MB / 490.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.214e-05/0.003821, allocations: 23.48 kB / 0.5556 GB, free: 15.45 MB / 490.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.85e-05/0.00385, allocations: 0 / 0.5556 GB, free: 15.45 MB / 490.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.054e-05/0.00389, allocations: 33.39 kB / 0.5556 GB, free: 15.4 MB / 490.7 MB Notification: Performance of pre-optimization done (n=2): time 8.12e-07/0.003891, allocations: 0 / 0.5556 GB, free: 15.4 MB / 490.7 MB Notification: Performance of matching and sorting (n=2): time 0.0001856/0.004077, allocations: 45.86 kB / 0.5556 GB, free: 15.35 MB / 490.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.263e-05/0.004149, allocations: 89.06 kB / 0.5557 GB, free: 15.25 MB / 490.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001368/0.004286, allocations: 157.9 kB / 0.5559 GB, free: 15.07 MB / 490.7 MB Notification: Performance of collectPreVariables (initialization): time 3.316e-05/0.004319, allocations: 25.7 kB / 0.5559 GB, free: 15.04 MB / 490.7 MB Notification: Performance of collectInitialEqns (initialization): time 7.763e-05/0.004397, allocations: 126.9 kB / 0.556 GB, free: 14.91 MB / 490.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.241e-05/0.004429, allocations: 7.953 kB / 0.556 GB, free: 14.91 MB / 490.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.182e-05/0.004471, allocations: 19.38 kB / 0.5561 GB, free: 14.88 MB / 490.7 MB Notification: Performance of setup shared object (initialization): time 0.0002838/0.004755, allocations: 492.1 kB / 0.5565 GB, free: 14.39 MB / 490.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.701e-05/0.004772, allocations: 4 kB / 0.5565 GB, free: 14.38 MB / 490.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 3.366e-05/0.004806, allocations: 27.3 kB / 0.5566 GB, free: 14.35 MB / 490.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 5.491e-05/0.004861, allocations: 31.56 kB / 0.5566 GB, free: 14.31 MB / 490.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.156e-06/0.004864, allocations: 0 / 0.5566 GB, free: 14.31 MB / 490.7 MB Notification: Performance of matching and sorting (n=2) (initialization): time 7.719e-05/0.004941, allocations: 41.64 kB / 0.5566 GB, free: 14.26 MB / 490.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.597e-05/0.004957, allocations: 4 kB / 0.5566 GB, free: 14.26 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.708e-06/0.004967, allocations: 7.984 kB / 0.5566 GB, free: 14.25 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.165e-05/0.004988, allocations: 3.984 kB / 0.5566 GB, free: 14.25 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.195e-05/0.00506, allocations: 4 kB / 0.5566 GB, free: 14.24 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.602e-06/0.005067, allocations: 0 / 0.5566 GB, free: 14.24 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.921e-05/0.005086, allocations: 3.938 kB / 0.5566 GB, free: 14.24 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.983e-06/0.005093, allocations: 4.062 kB / 0.5567 GB, free: 14.23 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 0.000139/0.005232, allocations: 156.6 kB / 0.5568 GB, free: 14.07 MB / 490.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.779e-05/0.00525, allocations: 0 / 0.5568 GB, free: 14.07 MB / 490.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001387/0.005388, allocations: 48.62 kB / 0.5568 GB, free: 14.02 MB / 490.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.643e-06/0.00539, allocations: 4 kB / 0.5569 GB, free: 14.02 MB / 490.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.599e-06/0.005395, allocations: 0 / 0.5569 GB, free: 14.02 MB / 490.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.662e-06/0.005401, allocations: 3.938 kB / 0.5569 GB, free: 14.01 MB / 490.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001353/0.005537, allocations: 124.5 kB / 0.557 GB, free: 13.86 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.202e-06/0.005538, allocations: 4.062 kB / 0.557 GB, free: 13.85 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.453e-05/0.005562, allocations: 4 kB / 0.557 GB, free: 13.85 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.503e-06/0.005564, allocations: 0 / 0.557 GB, free: 13.85 MB / 490.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.775e-06/0.005572, allocations: 0 / 0.557 GB, free: 13.85 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.102e-06/0.005573, allocations: 0 / 0.557 GB, free: 13.85 MB / 490.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.11e-07/0.005574, allocations: 0 / 0.557 GB, free: 13.85 MB / 490.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001175/0.005691, allocations: 92 kB / 0.5571 GB, free: 13.73 MB / 490.7 MB Notification: Performance of postOpt removeConstants (simulation): time 3.421e-05/0.005725, allocations: 4 kB / 0.5571 GB, free: 13.73 MB / 490.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.023e-05/0.005736, allocations: 0 / 0.5571 GB, free: 13.73 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.486e-05/0.00575, allocations: 0 / 0.5571 GB, free: 13.73 MB / 490.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.812e-05/0.005769, allocations: 3.938 kB / 0.5571 GB, free: 13.72 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.933e-06/0.005776, allocations: 12.02 kB / 0.5571 GB, free: 13.71 MB / 490.7 MB Notification: Performance of sorting global known variables: time 6.871e-05/0.005844, allocations: 123.1 kB / 0.5572 GB, free: 13.59 MB / 490.7 MB Notification: Performance of sort global known variables: time 7e-08/0.005844, allocations: 0 / 0.5572 GB, free: 13.59 MB / 490.7 MB Notification: Performance of remove unused functions: time 0.0001782/0.006023, allocations: 4 kB / 0.5572 GB, free: 13.59 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.0001244/0.006147, allocations: 91.25 kB / 0.5573 GB, free: 13.49 MB / 490.7 MB Notification: Performance of simCode: created initialization part: time 9.551e-05/0.006242, allocations: 19.62 kB / 0.5573 GB, free: 13.46 MB / 490.7 MB Notification: Performance of simCode: created event and clocks part: time 1.664e-06/0.006244, allocations: 4 kB / 0.5573 GB, free: 13.46 MB / 490.7 MB Notification: Performance of simCode: created simulation system equations: time 1.935e-05/0.006263, allocations: 15.91 kB / 0.5573 GB, free: 13.44 MB / 490.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001396/0.006403, allocations: 3.984 kB / 0.5573 GB, free: 13.44 MB / 490.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000264/0.006667, allocations: 106 kB / 0.5574 GB, free: 13.3 MB / 490.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 6.063e-05/0.006728, allocations: 59.34 kB / 0.5575 GB, free: 13.22 MB / 490.7 MB Notification: Performance of simCode: alias equations: time 1.973e-05/0.006747, allocations: 4 kB / 0.5575 GB, free: 13.22 MB / 490.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.379e-05/0.006771, allocations: 8.5 kB / 0.5575 GB, free: 13.21 MB / 490.7 MB Notification: Performance of SimCode: time 4.11e-07/0.006772, allocations: 0 / 0.5575 GB, free: 13.21 MB / 490.7 MB Notification: Performance of Templates: time 0.002576/0.009348, allocations: 219.8 kB / 0.5577 GB, free: 13 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: 5.940140146994963]