Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr BuildingSystems_BuildingSystems.Fluid.Examples.Performance.Example6.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo", uses=false) Using package BuildingSystems with version 2.0.0-beta (/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo) Using package NcDataReader2 with version 2.5.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: translateModel(BuildingSystems.Fluid.Examples.Performance.Example6,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Fluid.Examples.Performance.Example6") translateModel(BuildingSystems.Fluid.Examples.Performance.Example6,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Fluid.Examples.Performance.Example6") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001347/0.001347, allocations: 112 kB / 16.42 MB, free: 6.512 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001121/0.001121, allocations: 183.9 kB / 17.35 MB, free: 5.738 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.274/1.274, allocations: 222.9 MB / 241.1 MB, free: 15.17 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.00205/0.00205, allocations: 291 kB / 291.5 MB, free: 14.45 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 0.9273/0.9273, allocations: 169.3 MB / 0.499 GB, free: 4.426 MB / 382.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001696/0.001696, allocations: 95.86 kB / 0.6821 GB, free: 7.016 MB / 494.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3732/0.375, allocations: 86.97 MB / 0.767 GB, free: 3.988 MB / 0.5294 GB Notification: Performance of NFInst.instantiate(BuildingSystems.Fluid.Examples.Performance.Example6): time 0.001545/0.3765, allocations: 0.5308 MB / 0.7676 GB, free: 3.461 MB / 0.5294 GB Notification: Performance of NFInst.instExpressions: time 0.0001898/0.3767, allocations: 43.86 kB / 0.7676 GB, free: 3.418 MB / 0.5294 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.976e-05/0.3768, allocations: 0 / 0.7676 GB, free: 3.418 MB / 0.5294 GB Notification: Performance of NFTyping.typeComponents: time 9.703e-05/0.3769, allocations: 4 kB / 0.7676 GB, free: 3.414 MB / 0.5294 GB Notification: Performance of NFTyping.typeBindings: time 1.802e-05/0.3769, allocations: 7.938 kB / 0.7676 GB, free: 3.406 MB / 0.5294 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001866/0.3771, allocations: 15.97 kB / 0.7676 GB, free: 3.391 MB / 0.5294 GB Notification: Performance of NFFlatten.flatten: time 0.003505/0.3806, allocations: 4.584 MB / 0.7721 GB, free: 14.8 MB / 0.545 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001017/0.3807, allocations: 36 kB / 0.7721 GB, free: 14.77 MB / 0.545 GB Notification: Performance of NFEvalConstants.evaluate: time 0.002065/0.3828, allocations: 1.534 MB / 0.7736 GB, free: 13.23 MB / 0.545 GB Notification: Performance of NFSimplifyModel.simplify: time 0.003573/0.3864, allocations: 2.106 MB / 0.7757 GB, free: 11.12 MB / 0.545 GB Notification: Performance of NFPackage.collectConstants: time 0.000904/0.3873, allocations: 248 kB / 0.7759 GB, free: 10.88 MB / 0.545 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0006585/0.388, allocations: 252 kB / 0.7762 GB, free: 10.63 MB / 0.545 GB Notification: Performance of NFScalarize.scalarize: time 0.001134/0.3891, allocations: 1.594 MB / 0.7777 GB, free: 9.035 MB / 0.545 GB Notification: Performance of NFVerifyModel.verify: time 0.001898/0.391, allocations: 1.679 MB / 0.7794 GB, free: 7.348 MB / 0.545 GB Notification: Performance of NFConvertDAE.convert: time 0.002166/0.3932, allocations: 3.029 MB / 0.7823 GB, free: 4.309 MB / 0.545 GB Notification: Performance of FrontEnd - DAE generated: time 3.958e-06/0.3932, allocations: 0 / 0.7823 GB, free: 4.309 MB / 0.545 GB Notification: Performance of FrontEnd: time 1.793e-06/0.3932, allocations: 0 / 0.7823 GB, free: 4.309 MB / 0.545 GB Notification: Performance of Transformations before backend: time 4.322e-05/0.3933, allocations: 0 / 0.7823 GB, free: 4.309 MB / 0.545 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 1001 * Number of variables: 1001 Notification: Performance of Generate backend data structure: time 0.01501/0.4083, allocations: 6.351 MB / 0.7885 GB, free: 13.9 MB / 0.5606 GB Notification: Performance of prepare preOptimizeDAE: time 4.173e-05/0.4083, allocations: 8.031 kB / 0.7885 GB, free: 13.89 MB / 0.5606 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0007008/0.409, allocations: 385.1 kB / 0.7889 GB, free: 13.52 MB / 0.5606 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001923/0.411, allocations: 1.281 MB / 0.7901 GB, free: 12.19 MB / 0.5606 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002535/0.4112, allocations: 416.2 kB / 0.7905 GB, free: 11.78 MB / 0.5606 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0009618/0.4122, allocations: 0.7875 MB / 0.7913 GB, free: 10.99 MB / 0.5606 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.007369/0.4196, allocations: 4.991 MB / 0.7962 GB, free: 5.988 MB / 0.5606 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.595e-05/0.4197, allocations: 4.188 kB / 0.7962 GB, free: 5.984 MB / 0.5606 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0004085/0.4201, allocations: 159.9 kB / 0.7963 GB, free: 5.828 MB / 0.5606 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.023e-05/0.4201, allocations: 96 kB / 0.7964 GB, free: 5.734 MB / 0.5606 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.006505/0.4267, allocations: 4.41 MB / 0.8007 GB, free: 1.32 MB / 0.5606 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0183/0.445, allocations: 10.21 MB / 0.8107 GB, free: 7.051 MB / 0.5762 GB Notification: Performance of preOpt comSubExp (simulation): time 0.08802/0.533, allocations: 31.45 MB / 0.8414 GB, free: 7.582 MB / 0.6075 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.006384/0.5394, allocations: 3.935 MB / 0.8453 GB, free: 3.641 MB / 0.6075 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0004483/0.5399, allocations: 103.8 kB / 0.8454 GB, free: 3.539 MB / 0.6075 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 9.354e-05/0.54, allocations: 134.4 kB / 0.8455 GB, free: 3.398 MB / 0.6075 GB Notification: Performance of pre-optimization done (n=1000): time 1.35e-05/0.54, allocations: 0 / 0.8455 GB, free: 3.398 MB / 0.6075 GB Notification: Performance of matching and sorting (n=1000): time 0.01939/0.5594, allocations: 11.71 MB / 0.8569 GB, free: 7.688 MB / 0.6231 GB Notification: Performance of inlineWhenForInitialization (initialization): time 9.678e-05/0.5595, allocations: 155.2 kB / 0.8571 GB, free: 7.523 MB / 0.6231 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002283/0.5598, allocations: 265.7 kB / 0.8573 GB, free: 7.254 MB / 0.6231 GB Notification: Performance of collectPreVariables (initialization): time 0.0005463/0.5603, allocations: 257.7 kB / 0.8576 GB, free: 6.996 MB / 0.6231 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001719/0.5605, allocations: 199.6 kB / 0.8578 GB, free: 6.797 MB / 0.6231 GB Notification: Performance of collectInitialBindings (initialization): time 0.002669/0.5632, allocations: 3.811 MB / 0.8615 GB, free: 2.93 MB / 0.6231 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.002466/0.5656, allocations: 1.981 MB / 0.8634 GB, free: 0.9414 MB / 0.6231 GB Notification: Performance of setup shared object (initialization): time 9.715e-05/0.5657, allocations: 306 kB / 0.8637 GB, free: 0.6367 MB / 0.6231 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.006753/0.5725, allocations: 4.121 MB / 0.8678 GB, free: 12.51 MB / 0.6387 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.007342/0.5799, allocations: 4.956 MB / 0.8726 GB, free: 7.566 MB / 0.6387 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.01389/0.5938, allocations: 9.319 MB / 0.8817 GB, free: 14.23 MB / 0.6544 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.926e-05/0.5938, allocations: 256 / 0.8817 GB, free: 14.23 MB / 0.6544 GB Notification: Performance of matching and sorting (n=1501) (initialization): time 0.01609/0.6099, allocations: 11 MB / 0.8924 GB, free: 3.219 MB / 0.6544 GB Notification: Performance of prepare postOptimizeDAE: time 3.369e-05/0.61, allocations: 10.66 kB / 0.8924 GB, free: 3.211 MB / 0.6544 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.825e-05/0.61, allocations: 4 kB / 0.8925 GB, free: 3.207 MB / 0.6544 GB Notification: Performance of postOpt tearingSystem (initialization): time 6.808e-05/0.6101, allocations: 48 kB / 0.8925 GB, free: 3.16 MB / 0.6544 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.009672/0.6197, allocations: 2.707 MB / 0.8951 GB, free: 460 kB / 0.6544 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0001722/0.6199, allocations: 48 kB / 0.8952 GB, free: 412 kB / 0.6544 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003708/0.6236, allocations: 1.241 MB / 0.8964 GB, free: 15.15 MB / 0.67 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0005984/0.6242, allocations: 332 kB / 0.8967 GB, free: 14.82 MB / 0.67 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 (1501): * Single equations (assignments): 1501 * 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.001676/0.6259, allocations: 1.009 MB / 0.8977 GB, free: 13.8 MB / 0.67 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000673/0.6266, allocations: 320.2 kB / 0.898 GB, free: 13.49 MB / 0.67 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01553/0.6422, allocations: 9.502 MB / 0.9073 GB, free: 3.969 MB / 0.67 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.89e-05/0.6423, allocations: 47.81 kB / 0.9073 GB, free: 3.922 MB / 0.67 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.546e-05/0.6423, allocations: 0 / 0.9073 GB, free: 3.922 MB / 0.67 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001719/0.644, allocations: 1.166 MB / 0.9085 GB, free: 2.73 MB / 0.67 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0008224/0.6448, allocations: 351.7 kB / 0.9088 GB, free: 2.387 MB / 0.67 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.00347/0.6483, allocations: 0.6477 MB / 0.9094 GB, free: 1.738 MB / 0.67 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0009613/0.6493, allocations: 0.5303 MB / 0.91 GB, free: 1.207 MB / 0.67 GB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.04044/0.6897, allocations: 15.28 MB / 0.9249 GB, free: 1.902 MB / 0.6856 GB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.02365/0.7134, allocations: 16.49 MB / 0.941 GB, free: 1.383 MB / 0.7012 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.006855/0.7203, allocations: 4.998 MB / 0.9459 GB, free: 12.38 MB / 0.7169 GB Notification: Performance of sorting global known variables: time 4.511e-05/0.7204, allocations: 87.28 kB / 0.9459 GB, free: 12.29 MB / 0.7169 GB Notification: Performance of Backend: time 2.71e-07/0.7204, allocations: 0 / 0.9459 GB, free: 12.29 MB / 0.7169 GB Notification: Performance of simCode: created initialization part: time 0.01079/0.7312, allocations: 6.718 MB / 0.9525 GB, free: 5.582 MB / 0.7169 GB Notification: Performance of SimCode: time 0.3035/1.035, allocations: 14.44 MB / 0.9666 GB, free: 174.9 MB / 0.7169 GB Notification: Performance of Templates: time 0.08847/1.123, allocations: 73.43 MB / 1.038 GB, free: 112.2 MB / 0.7169 GB make -j1 -f BuildingSystems_BuildingSystems.Fluid.Examples.Performance.Example6.makefile (rm -f BuildingSystems_BuildingSystems.Fluid.Examples.Performance.Example6.pipe ; mkfifo BuildingSystems_BuildingSystems.Fluid.Examples.Performance.Example6.pipe ; head -c 1048576 < BuildingSystems_BuildingSystems.Fluid.Examples.Performance.Example6.pipe >> ../files/BuildingSystems_BuildingSystems.Fluid.Examples.Performance.Example6.sim & ./BuildingSystems_BuildingSystems.Fluid.Examples.Performance.Example6 -abortSlowSimulation -alarm=480 -lv LOG_STATS > BuildingSystems_BuildingSystems.Fluid.Examples.Performance.Example6.pipe 2>&1)