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.001365/0.001365, allocations: 78.64 kB / 19.18 MB, free: 2.527 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.001496/0.001496, allocations: 165.6 kB / 22.46 MB, free: 5.363 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.436/1.436, allocations: 177.2 MB / 202.8 MB, free: 9.168 MB / 190.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.0024/0.0024, allocations: 245.6 kB / 259.4 MB, free: 464 kB / 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.084/1.084, allocations: 138.4 MB / 454.3 MB, free: 1.973 MB / 366.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.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.653e-06/1.653e-06, allocations: 0 / 0.6468 GB, free: 5.047 MB / 0.5606 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.732e-05/2.898e-05, allocations: 6.219 kB / 0.6468 GB, free: 5.039 MB / 0.5606 GB Notification: Performance of NFInst.instantiate(BuildingSystems.Fluid.Examples.Performance.Example5): time 0.001802/0.001831, allocations: 0.5476 MB / 0.6473 GB, free: 4.492 MB / 0.5606 GB Notification: Performance of NFInst.instExpressions: time 0.0002541/0.002085, allocations: 35.83 kB / 0.6473 GB, free: 4.457 MB / 0.5606 GB Notification: Performance of NFInst.updateImplicitVariability: time 7.279e-05/0.002158, allocations: 0 / 0.6473 GB, free: 4.457 MB / 0.5606 GB Notification: Performance of NFTyping.typeComponents: time 4.219e-05/0.0022, allocations: 0 / 0.6473 GB, free: 4.457 MB / 0.5606 GB Notification: Performance of NFTyping.typeBindings: time 0.0002135/0.002414, allocations: 15.92 kB / 0.6473 GB, free: 4.441 MB / 0.5606 GB Notification: Performance of NFTyping.typeClassSections: time 8.724e-05/0.002501, allocations: 7.875 kB / 0.6474 GB, free: 4.434 MB / 0.5606 GB Notification: Performance of NFFlatten.flatten: time 9.778e-05/0.002599, allocations: 7.984 kB / 0.6474 GB, free: 4.426 MB / 0.5606 GB Notification: Performance of NFFlatten.resolveConnections: time 6.956e-05/0.002668, allocations: 7.938 kB / 0.6474 GB, free: 4.418 MB / 0.5606 GB Notification: Performance of NFEvalConstants.evaluate: time 7.398e-05/0.002742, allocations: 11.94 kB / 0.6474 GB, free: 4.406 MB / 0.5606 GB Notification: Performance of NFSimplifyModel.simplify: time 9.225e-05/0.002835, allocations: 7.984 kB / 0.6474 GB, free: 4.398 MB / 0.5606 GB Notification: Performance of NFPackage.collectConstants: time 3.733e-05/0.002872, allocations: 4 kB / 0.6474 GB, free: 4.395 MB / 0.5606 GB Notification: Performance of NFFlatten.collectFunctions: time 1.008e-05/0.002882, allocations: 0 / 0.6474 GB, free: 4.395 MB / 0.5606 GB Notification: Performance of NFScalarize.scalarize: time 6.633e-05/0.002948, allocations: 7.984 kB / 0.6474 GB, free: 4.387 MB / 0.5606 GB Notification: Performance of NFVerifyModel.verify: time 3.111e-05/0.00298, allocations: 0 / 0.6474 GB, free: 4.387 MB / 0.5606 GB Notification: Performance of NFConvertDAE.convert: time 0.0001018/0.003081, allocations: 11.92 kB / 0.6474 GB, free: 4.375 MB / 0.5606 GB Notification: Performance of FrontEnd - DAE generated: time 5.59e-06/0.003087, allocations: 0 / 0.6474 GB, free: 4.375 MB / 0.5606 GB Notification: Performance of FrontEnd: time 1.172e-06/0.003088, allocations: 0 / 0.6474 GB, free: 4.375 MB / 0.5606 GB Notification: Performance of Transformations before backend: time 1.054e-05/0.003099, allocations: 0 / 0.6474 GB, free: 4.375 MB / 0.5606 GB 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.0006271/0.003726, allocations: 258.3 kB / 0.6477 GB, free: 4.09 MB / 0.5606 GB Notification: Performance of prepare preOptimizeDAE: time 7.841e-05/0.003804, allocations: 13.34 kB / 0.6477 GB, free: 4.078 MB / 0.5606 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.214e-05/0.003856, allocations: 4.938 kB / 0.6477 GB, free: 4.074 MB / 0.5606 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002857/0.004142, allocations: 117.8 kB / 0.6478 GB, free: 3.934 MB / 0.5606 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.581e-05/0.004158, allocations: 384 / 0.6478 GB, free: 3.934 MB / 0.5606 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.329e-05/0.004191, allocations: 384 / 0.6478 GB, free: 3.934 MB / 0.5606 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001324/0.004324, allocations: 38.19 kB / 0.6478 GB, free: 3.891 MB / 0.5606 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.266e-05/0.004336, allocations: 192 / 0.6478 GB, free: 3.891 MB / 0.5606 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.348e-05/0.00435, allocations: 384 / 0.6478 GB, free: 3.891 MB / 0.5606 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.35e-06/0.004355, allocations: 384 / 0.6478 GB, free: 3.891 MB / 0.5606 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.068e-05/0.004386, allocations: 11.92 kB / 0.6478 GB, free: 3.879 MB / 0.5606 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002477/0.004633, allocations: 105.3 kB / 0.6479 GB, free: 3.746 MB / 0.5606 GB Notification: Performance of preOpt comSubExp (simulation): time 7.534e-05/0.004709, allocations: 22.58 kB / 0.648 GB, free: 3.715 MB / 0.5606 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.286e-05/0.004742, allocations: 8.844 kB / 0.648 GB, free: 3.703 MB / 0.5606 GB Notification: Performance of preOpt evalFunc (simulation): time 2.316e-05/0.004765, allocations: 4.062 kB / 0.648 GB, free: 3.699 MB / 0.5606 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.664e-05/0.004801, allocations: 34.5 kB / 0.648 GB, free: 3.656 MB / 0.5606 GB Notification: Performance of pre-optimization done (n=1): time 1.082e-06/0.004802, allocations: 0 / 0.648 GB, free: 3.656 MB / 0.5606 GB Notification: Performance of matching and sorting (n=1): time 0.0002019/0.005004, allocations: 41.69 kB / 0.648 GB, free: 3.609 MB / 0.5606 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.727e-05/0.005072, allocations: 55.41 kB / 0.6481 GB, free: 3.543 MB / 0.5606 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001697/0.005241, allocations: 109.8 kB / 0.6482 GB, free: 3.426 MB / 0.5606 GB Notification: Performance of collectPreVariables (initialization): time 2.04e-05/0.005262, allocations: 29.7 kB / 0.6482 GB, free: 3.391 MB / 0.5606 GB Notification: Performance of collectInitialEqns (initialization): time 5.603e-05/0.005318, allocations: 80.14 kB / 0.6483 GB, free: 3.309 MB / 0.5606 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001003/0.005418, allocations: 16.02 kB / 0.6483 GB, free: 3.293 MB / 0.5606 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.675e-05/0.005455, allocations: 17.7 kB / 0.6483 GB, free: 3.27 MB / 0.5606 GB Notification: Performance of setup shared object (initialization): time 0.000246/0.005701, allocations: 310.8 kB / 0.6486 GB, free: 2.957 MB / 0.5606 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.84e-05/0.005719, allocations: 4 kB / 0.6486 GB, free: 2.953 MB / 0.5606 GB Notification: Performance of partitionIndependentBlocks (initialization): time 3.615e-05/0.005755, allocations: 25.64 kB / 0.6487 GB, free: 2.922 MB / 0.5606 GB Notification: Performance of analyzeInitialSystem (initialization): time 5.097e-05/0.005806, allocations: 17.72 kB / 0.6487 GB, free: 2.898 MB / 0.5606 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.615e-06/0.005809, allocations: 0 / 0.6487 GB, free: 2.898 MB / 0.5606 GB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0001067/0.005916, allocations: 49.75 kB / 0.6487 GB, free: 2.844 MB / 0.5606 GB Notification: Performance of prepare postOptimizeDAE: time 1.407e-05/0.00593, allocations: 8 kB / 0.6487 GB, free: 2.836 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.137e-06/0.005939, allocations: 11.88 kB / 0.6487 GB, free: 2.824 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.705e-05/0.005956, allocations: 0 / 0.6487 GB, free: 2.824 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.507e-05/0.006041, allocations: 7.984 kB / 0.6488 GB, free: 2.816 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.611e-06/0.006047, allocations: 0 / 0.6488 GB, free: 2.816 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.821e-05/0.006075, allocations: 3.938 kB / 0.6488 GB, free: 2.812 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.044e-06/0.006082, allocations: 256 / 0.6488 GB, free: 2.812 MB / 0.5606 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 9.146e-05/0.006173, allocations: 110.5 kB / 0.6489 GB, free: 2.695 MB / 0.5606 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.045e-05/0.006184, allocations: 3.953 kB / 0.6489 GB, free: 2.691 MB / 0.5606 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001247/0.006309, allocations: 61.08 kB / 0.6489 GB, free: 2.621 MB / 0.5606 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.293e-06/0.00631, allocations: 0 / 0.6489 GB, free: 2.621 MB / 0.5606 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.442e-06/0.006316, allocations: 4 kB / 0.6489 GB, free: 2.617 MB / 0.5606 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.414e-06/0.006324, allocations: 3.938 kB / 0.6489 GB, free: 2.613 MB / 0.5606 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001288/0.006453, allocations: 109.3 kB / 0.649 GB, free: 2.477 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.82e-07/0.006453, allocations: 0 / 0.649 GB, free: 2.477 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.974e-05/0.006503, allocations: 4 kB / 0.649 GB, free: 2.473 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.663e-06/0.006505, allocations: 0 / 0.649 GB, free: 2.473 MB / 0.5606 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.704e-06/0.006513, allocations: 0 / 0.649 GB, free: 2.473 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.032e-06/0.006514, allocations: 0 / 0.649 GB, free: 2.473 MB / 0.5606 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.11e-07/0.006514, allocations: 0 / 0.649 GB, free: 2.473 MB / 0.5606 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001521/0.006666, allocations: 85.08 kB / 0.6491 GB, free: 2.371 MB / 0.5606 GB Notification: Performance of postOpt removeConstants (simulation): time 1.802e-05/0.006684, allocations: 0 / 0.6491 GB, free: 2.371 MB / 0.5606 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.394e-05/0.006698, allocations: 4.031 kB / 0.6491 GB, free: 2.367 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.188e-05/0.00672, allocations: 0 / 0.6491 GB, free: 2.367 MB / 0.5606 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.905e-05/0.006739, allocations: 0 / 0.6491 GB, free: 2.367 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.985e-06/0.006747, allocations: 11.92 kB / 0.6491 GB, free: 2.355 MB / 0.5606 GB Notification: Performance of sorting global known variables: time 6.347e-05/0.006811, allocations: 83.28 kB / 0.6492 GB, free: 2.273 MB / 0.5606 GB Notification: Performance of sort global known variables: time 8e-08/0.006811, allocations: 0 / 0.6492 GB, free: 2.273 MB / 0.5606 GB Notification: Performance of remove unused functions: time 0.0002123/0.007023, allocations: 11.94 kB / 0.6492 GB, free: 2.262 MB / 0.5606 GB 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 0.0001277/0.007151, allocations: 95.34 kB / 0.6493 GB, free: 2.16 MB / 0.5606 GB Notification: Performance of simCode: created initialization part: time 9.107e-05/0.007242, allocations: 15.98 kB / 0.6493 GB, free: 2.145 MB / 0.5606 GB Notification: Performance of simCode: created event and clocks part: time 1.753e-06/0.007244, allocations: 0 / 0.6493 GB, free: 2.145 MB / 0.5606 GB Notification: Performance of simCode: created simulation system equations: time 1.583e-05/0.007259, allocations: 7.984 kB / 0.6493 GB, free: 2.137 MB / 0.5606 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001472/0.007407, allocations: 0 / 0.6493 GB, free: 2.137 MB / 0.5606 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003167/0.007723, allocations: 126 kB / 0.6495 GB, free: 1.988 MB / 0.5606 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 6.252e-05/0.007786, allocations: 59.34 kB / 0.6495 GB, free: 1.91 MB / 0.5606 GB Notification: Performance of simCode: alias equations: time 2.038e-05/0.007806, allocations: 7.938 kB / 0.6495 GB, free: 1.902 MB / 0.5606 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.565e-05/0.007832, allocations: 8.5 kB / 0.6495 GB, free: 1.895 MB / 0.5606 GB Notification: Performance of SimCode: time 4.41e-07/0.007832, allocations: 4.188 kB / 0.6495 GB, free: 1.891 MB / 0.5606 GB Notification: Performance of Templates: time 0.002766/0.0106, allocations: 341 kB / 0.6499 GB, free: 1.562 MB / 0.5606 GB " [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=480 -lv LOG_STATS > BuildingSystems_BuildingSystems.Fluid.Examples.Performance.Example5.pipe 2>&1) [Timeout 480] [Calling sys.exit(0), Time elapsed: 5.735010281205177] Failed to read output from testmodel.py, exit status != 0: 0.29545100033283234 0.305386937 0.300055297 Calling exit ...