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.0009159/0.0009159, allocations: 93.06 kB / 19.65 MB, free: 280 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.0009291/0.0009291, allocations: 173 kB / 23.03 MB, free: 1.547 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 0.9949/0.9949, allocations: 177.1 MB / 203.4 MB, free: 5.641 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.001601/0.001601, allocations: 233.1 kB / 260.2 MB, free: 12.83 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.6916/0.6916, allocations: 138.4 MB / 455.2 MB, free: 1.539 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.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: Performance of FrontEnd - loaded program: time 1.172e-06/1.172e-06, allocations: 0 / 0.5551 GB, free: 0.5586 MB / 474.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.349e-05/1.466e-05, allocations: 2.312 kB / 0.5551 GB, free: 0.5547 MB / 474.7 MB Notification: Performance of NFInst.instantiate(BuildingSystems.Fluid.Examples.Performance.Example5): time 0.000921/0.0009357, allocations: 0.5362 MB / 0.5556 GB, free: 16 kB / 474.7 MB Notification: Performance of NFInst.instExpressions: time 0.0001472/0.001083, allocations: 39.81 kB / 0.5557 GB, free: 15.98 MB / 490.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 4.42e-05/0.001127, allocations: 0 / 0.5557 GB, free: 15.98 MB / 490.7 MB Notification: Performance of NFTyping.typeComponents: time 3.712e-05/0.001164, allocations: 0 / 0.5557 GB, free: 15.98 MB / 490.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0001342/0.001298, allocations: 7.875 kB / 0.5557 GB, free: 15.97 MB / 490.7 MB Notification: Performance of NFTyping.typeClassSections: time 4.497e-05/0.001343, allocations: 7.938 kB / 0.5557 GB, free: 15.96 MB / 490.7 MB Notification: Performance of NFFlatten.flatten: time 5.633e-05/0.0014, allocations: 15.98 kB / 0.5557 GB, free: 15.95 MB / 490.7 MB Notification: Performance of NFFlatten.resolveConnections: time 3.771e-05/0.001437, allocations: 7.984 kB / 0.5557 GB, free: 15.94 MB / 490.7 MB Notification: Performance of NFEvalConstants.evaluate: time 4.935e-05/0.001487, allocations: 0 / 0.5557 GB, free: 15.94 MB / 490.7 MB Notification: Performance of NFSimplifyModel.simplify: time 7.374e-05/0.001561, allocations: 15.92 kB / 0.5557 GB, free: 15.92 MB / 490.7 MB Notification: Performance of NFPackage.collectConstants: time 1.974e-05/0.00158, allocations: 0 / 0.5557 GB, free: 15.92 MB / 490.7 MB Notification: Performance of NFFlatten.collectFunctions: time 7.504e-06/0.001588, allocations: 0 / 0.5557 GB, free: 15.92 MB / 490.7 MB Notification: Performance of NFScalarize.scalarize: time 4.12e-05/0.001629, allocations: 8 kB / 0.5557 GB, free: 15.91 MB / 490.7 MB Notification: Performance of NFVerifyModel.verify: time 2.304e-05/0.001652, allocations: 3.984 kB / 0.5557 GB, free: 15.91 MB / 490.7 MB Notification: Performance of NFConvertDAE.convert: time 6.129e-05/0.001713, allocations: 8 kB / 0.5557 GB, free: 15.9 MB / 490.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.823e-06/0.001715, allocations: 0 / 0.5557 GB, free: 15.9 MB / 490.7 MB Notification: Performance of FrontEnd: time 3.8e-07/0.001716, allocations: 0 / 0.5557 GB, free: 15.9 MB / 490.7 MB Notification: Performance of Transformations before backend: time 4.128e-06/0.00172, allocations: 11.92 kB / 0.5557 GB, free: 15.89 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: 1 * Number of variables: 1 Notification: Performance of Generate backend data structure: time 0.0003114/0.002031, allocations: 360.6 kB / 0.5561 GB, free: 15.5 MB / 490.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.378e-05/0.002065, allocations: 8.75 kB / 0.5561 GB, free: 15.49 MB / 490.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.181e-05/0.002097, allocations: 4.891 kB / 0.5561 GB, free: 15.49 MB / 490.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001176/0.002214, allocations: 124.5 kB / 0.5562 GB, free: 15.34 MB / 490.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.276e-06/0.002223, allocations: 384 / 0.5562 GB, free: 15.34 MB / 490.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.459e-05/0.002237, allocations: 384 / 0.5562 GB, free: 15.34 MB / 490.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 5.999e-05/0.002297, allocations: 34.27 kB / 0.5562 GB, free: 15.3 MB / 490.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.603e-06/0.002304, allocations: 4.172 kB / 0.5562 GB, free: 15.3 MB / 490.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.402e-06/0.00231, allocations: 384 / 0.5562 GB, free: 15.3 MB / 490.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.973e-06/0.002317, allocations: 4.375 kB / 0.5563 GB, free: 15.29 MB / 490.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.869e-06/0.002327, allocations: 3.938 kB / 0.5563 GB, free: 15.29 MB / 490.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001105/0.002437, allocations: 116.6 kB / 0.5564 GB, free: 15.14 MB / 490.7 MB Notification: Performance of preOpt comSubExp (simulation): time 3.763e-05/0.002475, allocations: 31.03 kB / 0.5564 GB, free: 15.1 MB / 490.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 1.361e-05/0.002489, allocations: 7.688 kB / 0.5564 GB, free: 15.09 MB / 490.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.012e-05/0.002499, allocations: 0 / 0.5564 GB, free: 15.09 MB / 490.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.915e-05/0.002518, allocations: 37.45 kB / 0.5564 GB, free: 15.04 MB / 490.7 MB Notification: Performance of pre-optimization done (n=1): time 5.61e-07/0.002518, allocations: 0 / 0.5564 GB, free: 15.04 MB / 490.7 MB Notification: Performance of matching and sorting (n=1): time 0.0001096/0.002628, allocations: 41.58 kB / 0.5565 GB, free: 14.99 MB / 490.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.707e-05/0.002655, allocations: 55.53 kB / 0.5565 GB, free: 14.93 MB / 490.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.226e-05/0.002737, allocations: 169.9 kB / 0.5567 GB, free: 14.74 MB / 490.7 MB Notification: Performance of collectPreVariables (initialization): time 1.035e-05/0.002748, allocations: 33.7 kB / 0.5567 GB, free: 14.7 MB / 490.7 MB Notification: Performance of collectInitialEqns (initialization): time 3.402e-05/0.002782, allocations: 126.9 kB / 0.5568 GB, free: 14.57 MB / 490.7 MB Notification: Performance of collectInitialBindings (initialization): time 1.663e-05/0.002798, allocations: 0 / 0.5568 GB, free: 14.57 MB / 490.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.357e-05/0.002822, allocations: 23.38 kB / 0.5569 GB, free: 14.54 MB / 490.7 MB Notification: Performance of setup shared object (initialization): time 9.547e-05/0.002917, allocations: 496.1 kB / 0.5573 GB, free: 14.05 MB / 490.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 8.486e-06/0.002926, allocations: 0 / 0.5573 GB, free: 14.05 MB / 490.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 1.702e-05/0.002943, allocations: 19.38 kB / 0.5574 GB, free: 14.02 MB / 490.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 3.148e-05/0.002974, allocations: 27.44 kB / 0.5574 GB, free: 13.98 MB / 490.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.823e-06/0.002976, allocations: 0 / 0.5574 GB, free: 13.98 MB / 490.7 MB Notification: Performance of matching and sorting (n=2) (initialization): time 4.296e-05/0.003019, allocations: 49.58 kB / 0.5574 GB, free: 13.93 MB / 490.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.054e-05/0.00303, allocations: 4 kB / 0.5574 GB, free: 13.93 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.456e-06/0.003033, allocations: 0 / 0.5574 GB, free: 13.93 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.036e-05/0.003044, allocations: 0 / 0.5574 GB, free: 13.93 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.277e-05/0.003096, allocations: 4 kB / 0.5574 GB, free: 13.92 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.31e-06/0.003102, allocations: 3.984 kB / 0.5574 GB, free: 13.92 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.434e-05/0.003116, allocations: 15.81 kB / 0.5575 GB, free: 13.9 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.93e-06/0.003121, allocations: 0 / 0.5575 GB, free: 13.9 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 5.011e-05/0.003171, allocations: 160.6 kB / 0.5576 GB, free: 13.73 MB / 490.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.829e-06/0.003176, allocations: 4 kB / 0.5576 GB, free: 13.73 MB / 490.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.445e-05/0.00324, allocations: 45.16 kB / 0.5577 GB, free: 13.68 MB / 490.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.82e-07/0.003241, allocations: 0 / 0.5577 GB, free: 13.68 MB / 490.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.858e-06/0.003245, allocations: 3.984 kB / 0.5577 GB, free: 13.68 MB / 490.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.317e-06/0.003248, allocations: 4.188 kB / 0.5577 GB, free: 13.68 MB / 490.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 5.981e-05/0.003308, allocations: 108.6 kB / 0.5578 GB, free: 13.54 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.114e-06/0.00331, allocations: 4 kB / 0.5578 GB, free: 13.53 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.916e-05/0.00334, allocations: 4 kB / 0.5578 GB, free: 13.53 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.823e-06/0.003341, allocations: 4.031 kB / 0.5578 GB, free: 13.52 MB / 490.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.1e-05/0.003352, allocations: 3.984 kB / 0.5578 GB, free: 13.52 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.81e-07/0.003353, allocations: 0 / 0.5578 GB, free: 13.52 MB / 490.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.493e-06/0.003355, allocations: 4 kB / 0.5578 GB, free: 13.52 MB / 490.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 7.767e-05/0.003432, allocations: 88.27 kB / 0.5579 GB, free: 13.41 MB / 490.7 MB Notification: Performance of postOpt removeConstants (simulation): time 1.238e-05/0.003445, allocations: 0 / 0.5579 GB, free: 13.41 MB / 490.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.039e-05/0.003455, allocations: 8 kB / 0.5579 GB, free: 13.4 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.285e-06/0.003463, allocations: 0 / 0.5579 GB, free: 13.4 MB / 490.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.246e-05/0.003476, allocations: 0 / 0.5579 GB, free: 13.4 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.674e-06/0.003477, allocations: 0 / 0.5579 GB, free: 13.4 MB / 490.7 MB Notification: Performance of sorting global known variables: time 3.413e-05/0.003512, allocations: 131.2 kB / 0.558 GB, free: 13.27 MB / 490.7 MB Notification: Performance of sort global known variables: time 5e-08/0.003512, allocations: 4.062 kB / 0.558 GB, free: 13.27 MB / 490.7 MB Notification: Performance of remove unused functions: time 0.0001142/0.003626, allocations: 3.938 kB / 0.558 GB, free: 13.26 MB / 490.7 MB 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 5.699e-05/0.003683, allocations: 99.25 kB / 0.5581 GB, free: 13.16 MB / 490.7 MB Notification: Performance of simCode: created initialization part: time 6.287e-05/0.003746, allocations: 19.61 kB / 0.5581 GB, free: 13.13 MB / 490.7 MB Notification: Performance of simCode: created event and clocks part: time 1.573e-06/0.003747, allocations: 0 / 0.5581 GB, free: 13.13 MB / 490.7 MB Notification: Performance of simCode: created simulation system equations: time 9.718e-06/0.003757, allocations: 11.69 kB / 0.5581 GB, free: 13.12 MB / 490.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 9.738e-05/0.003854, allocations: 4 kB / 0.5581 GB, free: 13.11 MB / 490.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000189/0.004043, allocations: 118.5 kB / 0.5583 GB, free: 12.97 MB / 490.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 2.595e-05/0.004069, allocations: 55.34 kB / 0.5583 GB, free: 12.89 MB / 490.7 MB Notification: Performance of simCode: alias equations: time 1.367e-05/0.004083, allocations: 4 kB / 0.5583 GB, free: 12.89 MB / 490.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.941e-05/0.004102, allocations: 8.5 kB / 0.5583 GB, free: 12.88 MB / 490.7 MB Notification: Performance of SimCode: time 3.4e-07/0.004103, allocations: 0 / 0.5583 GB, free: 12.88 MB / 490.7 MB Notification: Performance of Templates: time 0.001638/0.005741, allocations: 356.9 kB / 0.5587 GB, free: 12.54 MB / 490.7 MB " [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=240 -lv LOG_STATS > BuildingSystems_BuildingSystems.Fluid.Examples.Performance.Example5.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 3.4132108208723366]