Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr BuildingSystems_BuildingSystems.Fluid.Examples.Performance.Example7.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.Example7,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Fluid.Examples.Performance.Example7") translateModel(BuildingSystems.Fluid.Examples.Performance.Example7,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Fluid.Examples.Performance.Example7") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001089/0.001089, allocations: 115.5 kB / 16.42 MB, free: 5.988 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.001083/0.001083, allocations: 184.5 kB / 17.35 MB, free: 5.602 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 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.002184/0.002185, allocations: 293.6 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.9199/0.9199, allocations: 169.3 MB / 0.499 GB, free: 4.422 MB / 382.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001791/0.001791, allocations: 104.3 kB / 0.6821 GB, free: 6.984 MB / 494.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3625/0.3643, allocations: 86.97 MB / 0.767 GB, free: 3.969 MB / 0.5294 GB Notification: Performance of NFInst.instantiate(BuildingSystems.Fluid.Examples.Performance.Example7): time 0.001377/0.3657, allocations: 0.5457 MB / 0.7676 GB, free: 3.43 MB / 0.5294 GB Notification: Performance of NFInst.instExpressions: time 0.0001698/0.3659, allocations: 35.81 kB / 0.7676 GB, free: 3.395 MB / 0.5294 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.791e-05/0.3659, allocations: 0 / 0.7676 GB, free: 3.395 MB / 0.5294 GB Notification: Performance of NFTyping.typeComponents: time 6.905e-05/0.366, allocations: 8 kB / 0.7676 GB, free: 3.387 MB / 0.5294 GB Notification: Performance of NFTyping.typeBindings: time 2.921e-05/0.366, allocations: 0 / 0.7676 GB, free: 3.387 MB / 0.5294 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001646/0.3662, allocations: 23.89 kB / 0.7676 GB, free: 3.363 MB / 0.5294 GB Notification: Performance of NFFlatten.flatten: time 0.002531/0.3687, allocations: 3.156 MB / 0.7707 GB, free: 208 kB / 0.5294 GB Notification: Performance of NFFlatten.resolveConnections: time 5.969e-05/0.3688, allocations: 23.94 kB / 0.7707 GB, free: 184 kB / 0.5294 GB Notification: Performance of NFEvalConstants.evaluate: time 0.00117/0.37, allocations: 1.151 MB / 0.7719 GB, free: 15.03 MB / 0.545 GB Notification: Performance of NFSimplifyModel.simplify: time 0.002428/0.3724, allocations: 1.587 MB / 0.7734 GB, free: 13.44 MB / 0.545 GB Notification: Performance of NFPackage.collectConstants: time 0.0004874/0.3729, allocations: 156 kB / 0.7736 GB, free: 13.29 MB / 0.545 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0003755/0.3733, allocations: 159.9 kB / 0.7737 GB, free: 13.13 MB / 0.545 GB Notification: Performance of NFScalarize.scalarize: time 0.0007914/0.3741, allocations: 1.072 MB / 0.7748 GB, free: 12.05 MB / 0.545 GB Notification: Performance of NFVerifyModel.verify: time 0.001161/0.3753, allocations: 1.101 MB / 0.7758 GB, free: 10.95 MB / 0.545 GB Notification: Performance of NFConvertDAE.convert: time 0.001502/0.3768, allocations: 2.025 MB / 0.7778 GB, free: 8.918 MB / 0.545 GB Notification: Performance of FrontEnd - DAE generated: time 5.982e-06/0.3768, allocations: 4 kB / 0.7778 GB, free: 8.914 MB / 0.545 GB Notification: Performance of FrontEnd: time 1.403e-06/0.3768, allocations: 0 / 0.7778 GB, free: 8.914 MB / 0.545 GB Notification: Performance of Transformations before backend: time 2.393e-05/0.3768, allocations: 0 / 0.7778 GB, free: 8.914 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: 500 * Number of variables: 500 Notification: Performance of Generate backend data structure: time 0.01277/0.3896, allocations: 4.87 MB / 0.7826 GB, free: 3.992 MB / 0.545 GB Notification: Performance of prepare preOptimizeDAE: time 4.344e-05/0.3897, allocations: 8.031 kB / 0.7826 GB, free: 3.984 MB / 0.545 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0005082/0.3902, allocations: 223.1 kB / 0.7828 GB, free: 3.766 MB / 0.545 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001498/0.3917, allocations: 0.9002 MB / 0.7837 GB, free: 2.824 MB / 0.545 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001737/0.3919, allocations: 272.3 kB / 0.7839 GB, free: 2.559 MB / 0.545 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0007969/0.3927, allocations: 0.6078 MB / 0.7845 GB, free: 1.949 MB / 0.545 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.004662/0.3973, allocations: 3.002 MB / 0.7875 GB, free: 14.94 MB / 0.5606 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.846e-05/0.3974, allocations: 192 / 0.7875 GB, free: 14.94 MB / 0.5606 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002878/0.3977, allocations: 83.94 kB / 0.7875 GB, free: 14.86 MB / 0.5606 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.469e-05/0.3977, allocations: 48 kB / 0.7876 GB, free: 14.81 MB / 0.5606 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002953/0.4007, allocations: 1.936 MB / 0.7895 GB, free: 12.87 MB / 0.5606 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003563/0.4043, allocations: 2.75 MB / 0.7922 GB, free: 10.07 MB / 0.5606 GB Notification: Performance of preOpt comSubExp (simulation): time 0.06968/0.4739, allocations: 19.36 MB / 0.8111 GB, free: 6.688 MB / 0.5762 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.003624/0.4776, allocations: 2.23 MB / 0.8132 GB, free: 4.453 MB / 0.5762 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0003208/0.4779, allocations: 51.92 kB / 0.8133 GB, free: 4.402 MB / 0.5762 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.329e-05/0.478, allocations: 82.48 kB / 0.8134 GB, free: 4.312 MB / 0.5762 GB Notification: Performance of pre-optimization done (n=500): time 7.834e-06/0.478, allocations: 3.938 kB / 0.8134 GB, free: 4.309 MB / 0.5762 GB Notification: Performance of matching and sorting (n=500): time 0.01075/0.4888, allocations: 7.077 MB / 0.8203 GB, free: 13.23 MB / 0.5919 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.948e-05/0.4889, allocations: 103.3 kB / 0.8204 GB, free: 13.11 MB / 0.5919 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002113/0.4891, allocations: 261.7 kB / 0.8206 GB, free: 12.85 MB / 0.5919 GB Notification: Performance of collectPreVariables (initialization): time 0.0003734/0.4895, allocations: 181.7 kB / 0.8208 GB, free: 12.66 MB / 0.5919 GB Notification: Performance of collectInitialEqns (initialization): time 0.000133/0.4896, allocations: 191.9 kB / 0.821 GB, free: 12.47 MB / 0.5919 GB Notification: Performance of collectInitialBindings (initialization): time 0.00144/0.491, allocations: 2.175 MB / 0.8231 GB, free: 10.27 MB / 0.5919 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001557/0.4926, allocations: 1.394 MB / 0.8245 GB, free: 8.867 MB / 0.5919 GB Notification: Performance of setup shared object (initialization): time 9.338e-05/0.4927, allocations: 306 kB / 0.8248 GB, free: 8.562 MB / 0.5919 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.004074/0.4968, allocations: 2.841 MB / 0.8275 GB, free: 5.719 MB / 0.5919 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.004088/0.5009, allocations: 2.949 MB / 0.8304 GB, free: 2.781 MB / 0.5919 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.008578/0.5095, allocations: 6.543 MB / 0.8368 GB, free: 12.23 MB / 0.6075 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.105e-05/0.5095, allocations: 0 / 0.8368 GB, free: 12.23 MB / 0.6075 GB Notification: Performance of matching and sorting (n=1000) (initialization): time 0.01033/0.5198, allocations: 7.517 MB / 0.8442 GB, free: 4.699 MB / 0.6075 GB Notification: Performance of prepare postOptimizeDAE: time 2.577e-05/0.5199, allocations: 4 kB / 0.8442 GB, free: 4.695 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.946e-05/0.5199, allocations: 3.938 kB / 0.8442 GB, free: 4.691 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (initialization): time 4.561e-05/0.52, allocations: 35.94 kB / 0.8442 GB, free: 4.656 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.006817/0.5268, allocations: 1.724 MB / 0.8459 GB, free: 2.93 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.236e-05/0.5269, allocations: 31.94 kB / 0.8459 GB, free: 2.898 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002803/0.5297, allocations: 0.7518 MB / 0.8466 GB, free: 2.141 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003679/0.53, allocations: 228 kB / 0.8469 GB, free: 1.918 MB / 0.6075 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 1 * 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 (1000): * Single equations (assignments): 1000 * 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.001033/0.5311, allocations: 0.6134 MB / 0.8475 GB, free: 1.293 MB / 0.6075 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003991/0.5315, allocations: 158.1 kB / 0.8476 GB, free: 1.137 MB / 0.6075 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.009109/0.5406, allocations: 5.88 MB / 0.8534 GB, free: 11.23 MB / 0.6231 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.706e-05/0.5407, allocations: 23.91 kB / 0.8534 GB, free: 11.21 MB / 0.6231 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.666e-06/0.5407, allocations: 4 kB / 0.8534 GB, free: 11.21 MB / 0.6231 GB Notification: Performance of postOpt removeConstants (simulation): time 0.00121/0.5419, allocations: 0.7397 MB / 0.8541 GB, free: 10.45 MB / 0.6231 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0006372/0.5425, allocations: 271.7 kB / 0.8544 GB, free: 10.18 MB / 0.6231 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002656/0.5452, allocations: 327.6 kB / 0.8547 GB, free: 9.859 MB / 0.6231 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0006423/0.5458, allocations: 295.5 kB / 0.855 GB, free: 9.57 MB / 0.6231 GB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.04032/0.5862, allocations: 11.94 MB / 0.8666 GB, free: 13.61 MB / 0.6387 GB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.01353/0.5997, allocations: 9.387 MB / 0.8758 GB, free: 4.207 MB / 0.6387 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.004082/0.6039, allocations: 2.867 MB / 0.8786 GB, free: 1.336 MB / 0.6387 GB Notification: Performance of sorting global known variables: time 5.198e-05/0.6039, allocations: 79.28 kB / 0.8787 GB, free: 1.258 MB / 0.6387 GB Notification: Performance of Backend: time 1.783e-06/0.6039, allocations: 0 / 0.8787 GB, free: 1.258 MB / 0.6387 GB Notification: Performance of simCode: created initialization part: time 0.006985/0.6109, allocations: 4.638 MB / 0.8832 GB, free: 12.62 MB / 0.6544 GB Notification: Performance of SimCode: time 0.01105/0.622, allocations: 12.26 MB / 0.8952 GB, free: 272 kB / 0.6544 GB Notification: Performance of Templates: time 0.07709/0.6991, allocations: 54.1 MB / 0.948 GB, free: 10.07 MB / 0.7169 GB make -j1 -f BuildingSystems_BuildingSystems.Fluid.Examples.Performance.Example7.makefile (rm -f BuildingSystems_BuildingSystems.Fluid.Examples.Performance.Example7.pipe ; mkfifo BuildingSystems_BuildingSystems.Fluid.Examples.Performance.Example7.pipe ; head -c 1048576 < BuildingSystems_BuildingSystems.Fluid.Examples.Performance.Example7.pipe >> ../files/BuildingSystems_BuildingSystems.Fluid.Examples.Performance.Example7.sim & ./BuildingSystems_BuildingSystems.Fluid.Examples.Performance.Example7 -abortSlowSimulation -alarm=480 -lv LOG_STATS > BuildingSystems_BuildingSystems.Fluid.Examples.Performance.Example7.pipe 2>&1)