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.001157/0.001157, allocations: 80.88 kB / 19.94 MB, free: 4.547 MB / 18.57 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.00138/0.00138, allocations: 181 kB / 23.36 MB, free: 1.133 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.9386/0.9386, allocations: 177.2 MB / 203.8 MB, free: 5.461 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.001584/0.001584, allocations: 250.2 kB / 260.5 MB, free: 12.68 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.6673/0.6673, allocations: 138.4 MB / 402.2 MB, free: 0.5625 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.383e-06/1.383e-06, allocations: 0 / 462.3 MB, free: 0.9023 MB / 410.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.142e-05/2.28e-05, allocations: 4.172 kB / 462.3 MB, free: 0.8984 MB / 410.7 MB Notification: Performance of NFInst.instantiate(BuildingSystems.Fluid.Examples.Performance.Example5): time 0.001333/0.001356, allocations: 0.5379 MB / 462.8 MB, free: 0.6211 MB / 410.7 MB Notification: Performance of NFInst.instExpressions: time 0.0001596/0.001515, allocations: 52.36 kB / 462.9 MB, free: 0.5859 MB / 410.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 4.692e-05/0.001562, allocations: 0.6562 kB / 462.9 MB, free: 0.5859 MB / 410.7 MB Notification: Performance of NFTyping.typeComponents: time 3.085e-05/0.001593, allocations: 4.562 kB / 462.9 MB, free: 0.582 MB / 410.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0001428/0.001736, allocations: 3.562 kB / 462.9 MB, free: 0.582 MB / 410.7 MB Notification: Performance of NFTyping.typeClassSections: time 4.55e-05/0.001781, allocations: 4.844 kB / 462.9 MB, free: 0.582 MB / 410.7 MB Notification: Performance of NFFlatten.flatten: time 5.763e-05/0.001839, allocations: 14.05 kB / 462.9 MB, free: 0.5781 MB / 410.7 MB Notification: Performance of NFFlatten.resolveConnections: time 3.31e-05/0.001872, allocations: 7.562 kB / 462.9 MB, free: 0.5742 MB / 410.7 MB Notification: Performance of NFEvalConstants.evaluate: time 5.947e-05/0.001932, allocations: 5.938 kB / 462.9 MB, free: 0.5742 MB / 410.7 MB Notification: Performance of NFSimplifyModel.simplify: time 8.038e-05/0.002012, allocations: 14.66 kB / 462.9 MB, free: 0.5703 MB / 410.7 MB Notification: Performance of NFPackage.collectConstants: time 1.739e-05/0.002029, allocations: 1.344 kB / 462.9 MB, free: 0.5703 MB / 410.7 MB Notification: Performance of NFFlatten.collectFunctions: time 7.414e-06/0.002037, allocations: 0 / 462.9 MB, free: 0.5703 MB / 410.7 MB Notification: Performance of NFScalarize.scalarize: time 4.441e-05/0.002081, allocations: 9.984 kB / 462.9 MB, free: 0.5664 MB / 410.7 MB Notification: Performance of NFVerifyModel.verify: time 2.052e-05/0.002102, allocations: 4.562 kB / 462.9 MB, free: 0.5664 MB / 410.7 MB Notification: Performance of NFConvertDAE.convert: time 6.965e-05/0.002171, allocations: 8.859 kB / 463 MB, free: 0.5664 MB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.744e-06/0.002173, allocations: 0 / 463 MB, free: 0.5664 MB / 410.7 MB Notification: Performance of FrontEnd: time 1.213e-06/0.002174, allocations: 2.625 kB / 463 MB, free: 0.5664 MB / 410.7 MB Notification: Performance of Transformations before backend: time 2.996e-06/0.002177, allocations: 1.188 kB / 463 MB, free: 0.5664 MB / 410.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.0002224/0.0024, allocations: 232.2 kB / 463.2 MB, free: 340 kB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.441e-05/0.002434, allocations: 11.5 kB / 463.2 MB, free: 340 kB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.24e-05/0.002457, allocations: 3.344 kB / 463.2 MB, free: 340 kB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 8.949e-05/0.002546, allocations: 111.4 kB / 463.3 MB, free: 212 kB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.592e-06/0.002553, allocations: 4.375 kB / 463.3 MB, free: 208 kB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.682e-05/0.002569, allocations: 1.625 kB / 463.3 MB, free: 208 kB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 5.46e-05/0.002624, allocations: 33.09 kB / 463.3 MB, free: 172 kB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 5.02e-06/0.002629, allocations: 2.312 kB / 463.3 MB, free: 172 kB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.23e-06/0.002634, allocations: 1.531 kB / 463.3 MB, free: 172 kB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.258e-06/0.002639, allocations: 384 / 463.3 MB, free: 172 kB / 410.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.989e-06/0.002649, allocations: 10.84 kB / 463.4 MB, free: 164 kB / 410.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 5.748e-05/0.002706, allocations: 65.11 kB / 463.4 MB, free: 88 kB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 3.269e-05/0.002739, allocations: 23.11 kB / 463.4 MB, free: 60 kB / 410.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 8.716e-06/0.002747, allocations: 5.734 kB / 463.5 MB, free: 52 kB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.2e-05/0.002759, allocations: 1.312 kB / 463.5 MB, free: 52 kB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.639e-05/0.002776, allocations: 33.08 kB / 463.5 MB, free: 12 kB / 410.7 MB Notification: Performance of pre-optimization done (n=1): time 5.71e-07/0.002776, allocations: 0 / 463.5 MB, free: 12 kB / 410.7 MB Notification: Performance of matching and sorting (n=1): time 0.0001153/0.002892, allocations: 42.23 kB / 463.5 MB, free: 15.97 MB / 426.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.175e-05/0.002923, allocations: 51.97 kB / 463.6 MB, free: 15.91 MB / 426.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.309e-05/0.002987, allocations: 106.4 kB / 463.7 MB, free: 15.8 MB / 426.7 MB Notification: Performance of collectPreVariables (initialization): time 9.147e-06/0.002996, allocations: 26.86 kB / 463.7 MB, free: 15.77 MB / 426.7 MB Notification: Performance of collectInitialEqns (initialization): time 2.66e-05/0.003022, allocations: 87.48 kB / 463.8 MB, free: 15.69 MB / 426.7 MB Notification: Performance of collectInitialBindings (initialization): time 1.837e-05/0.003041, allocations: 1.594 kB / 463.8 MB, free: 15.69 MB / 426.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.37e-05/0.003074, allocations: 15.05 kB / 463.8 MB, free: 15.67 MB / 426.7 MB Notification: Performance of setup shared object (initialization): time 7.908e-05/0.003153, allocations: 316.6 kB / 464.1 MB, free: 15.36 MB / 426.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.031e-05/0.003164, allocations: 4.656 kB / 464.1 MB, free: 15.35 MB / 426.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 1.492e-05/0.003179, allocations: 13.66 kB / 464.1 MB, free: 15.34 MB / 426.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 3.686e-05/0.003216, allocations: 33.28 kB / 464.2 MB, free: 15.3 MB / 426.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.723e-06/0.003217, allocations: 1.312 kB / 464.2 MB, free: 15.3 MB / 426.7 MB Notification: Performance of matching and sorting (n=2) (initialization): time 4.45e-05/0.003262, allocations: 37.67 kB / 464.2 MB, free: 15.27 MB / 426.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.227e-05/0.003274, allocations: 9.297 kB / 464.2 MB, free: 15.27 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.15e-06/0.003279, allocations: 3.016 kB / 464.2 MB, free: 15.27 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 9.668e-06/0.003289, allocations: 0 / 464.2 MB, free: 15.27 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.203e-05/0.003341, allocations: 5.719 kB / 464.2 MB, free: 15.27 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.166e-06/0.003344, allocations: 1.953 kB / 464.2 MB, free: 15.27 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.156e-05/0.003356, allocations: 1.219 kB / 464.2 MB, free: 15.27 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.5e-06/0.003361, allocations: 1.188 kB / 464.2 MB, free: 15.27 MB / 426.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 4.995e-05/0.003411, allocations: 115.2 kB / 464.3 MB, free: 15.14 MB / 426.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.06e-06/0.003416, allocations: 3.219 kB / 464.3 MB, free: 15.14 MB / 426.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.038e-05/0.003487, allocations: 44.16 kB / 464.4 MB, free: 15.11 MB / 426.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.555e-06/0.003489, allocations: 0.7031 kB / 464.4 MB, free: 15.11 MB / 426.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.274e-06/0.003491, allocations: 3.938 kB / 464.4 MB, free: 15.11 MB / 426.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.585e-06/0.003494, allocations: 0 / 464.4 MB, free: 15.11 MB / 426.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 5.936e-05/0.003553, allocations: 68.28 kB / 464.5 MB, free: 15.03 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.513e-06/0.003555, allocations: 0.6094 kB / 464.5 MB, free: 15.03 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.66e-05/0.003581, allocations: 8.453 kB / 464.5 MB, free: 15.03 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.134e-06/0.003584, allocations: 2.625 kB / 464.5 MB, free: 15.03 MB / 426.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.387e-06/0.003593, allocations: 1.828 kB / 464.5 MB, free: 15.03 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.62e-07/0.003594, allocations: 0 / 464.5 MB, free: 15.03 MB / 426.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.503e-06/0.003595, allocations: 1.406 kB / 464.5 MB, free: 15.03 MB / 426.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 7.85e-05/0.003674, allocations: 76.03 kB / 464.5 MB, free: 14.95 MB / 426.7 MB Notification: Performance of postOpt removeConstants (simulation): time 1.576e-05/0.00369, allocations: 6.141 kB / 464.6 MB, free: 14.95 MB / 426.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.866e-06/0.003698, allocations: 3.203 kB / 464.6 MB, free: 14.95 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.126e-06/0.003707, allocations: 0.6094 kB / 464.6 MB, free: 14.95 MB / 426.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.108e-05/0.003718, allocations: 8.312 kB / 464.6 MB, free: 14.94 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.045e-06/0.003721, allocations: 2.203 kB / 464.6 MB, free: 14.94 MB / 426.7 MB Notification: Performance of sorting global known variables: time 1.642e-05/0.003737, allocations: 13.89 kB / 464.6 MB, free: 14.93 MB / 426.7 MB Notification: Performance of sort global known variables: time 5e-08/0.003737, allocations: 0 / 464.6 MB, free: 14.93 MB / 426.7 MB Notification: Performance of remove unused functions: time 9.029e-05/0.003827, allocations: 2.625 kB / 464.6 MB, free: 14.93 MB / 426.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 8.136e-05/0.003909, allocations: 81.67 kB / 464.7 MB, free: 14.86 MB / 426.7 MB Notification: Performance of simCode: created initialization part: time 5.569e-05/0.003965, allocations: 11.28 kB / 464.7 MB, free: 14.85 MB / 426.7 MB Notification: Performance of simCode: created event and clocks part: time 2.906e-06/0.003967, allocations: 1.531 kB / 464.7 MB, free: 14.85 MB / 426.7 MB Notification: Performance of simCode: created simulation system equations: time 1.028e-05/0.003978, allocations: 9.672 kB / 464.7 MB, free: 14.84 MB / 426.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 5.992e-05/0.004038, allocations: 10.52 kB / 464.7 MB, free: 14.84 MB / 426.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0001945/0.004232, allocations: 110 kB / 464.8 MB, free: 14.72 MB / 426.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 2.703e-05/0.004259, allocations: 61.8 kB / 464.9 MB, free: 14.65 MB / 426.7 MB Notification: Performance of simCode: alias equations: time 1.71e-05/0.004276, allocations: 1.922 kB / 464.9 MB, free: 14.65 MB / 426.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.489e-05/0.004311, allocations: 50.88 kB / 464.9 MB, free: 14.61 MB / 426.7 MB Notification: Performance of SimCode: time 7.32e-07/0.004312, allocations: 0 / 464.9 MB, free: 14.61 MB / 426.7 MB Notification: Performance of Templates: time 0.001753/0.006065, allocations: 378.5 kB / 465.3 MB, free: 14.55 MB / 426.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.2708679977804422]