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.001154/0.001154, allocations: 115.1 kB / 16.42 MB, free: 6.496 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.001105/0.001105, allocations: 193.6 kB / 17.35 MB, free: 5.758 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.293/1.293, allocations: 222.9 MB / 241.1 MB, free: 15.16 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.00213/0.00213, allocations: 297.4 kB / 291.5 MB, free: 14.46 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 0.9395/0.9395, allocations: 169.3 MB / 0.499 GB, free: 4.434 MB / 382.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001769/0.001769, allocations: 95.84 kB / 0.6821 GB, free: 6.988 MB / 494.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.357/0.3588, allocations: 86.97 MB / 0.767 GB, free: 3.801 MB / 0.5294 GB Notification: Performance of NFInst.instantiate(BuildingSystems.Fluid.Examples.Performance.Example7): time 0.001385/0.3602, allocations: 0.5348 MB / 0.7676 GB, free: 3.27 MB / 0.5294 GB Notification: Performance of NFInst.instExpressions: time 0.0001745/0.3604, allocations: 43.81 kB / 0.7676 GB, free: 3.227 MB / 0.5294 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.829e-05/0.3605, allocations: 0 / 0.7676 GB, free: 3.227 MB / 0.5294 GB Notification: Performance of NFTyping.typeComponents: time 6.693e-05/0.3605, allocations: 0 / 0.7676 GB, free: 3.227 MB / 0.5294 GB Notification: Performance of NFTyping.typeBindings: time 3.112e-05/0.3606, allocations: 3.938 kB / 0.7676 GB, free: 3.223 MB / 0.5294 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001707/0.3608, allocations: 19.97 kB / 0.7676 GB, free: 3.203 MB / 0.5294 GB Notification: Performance of NFFlatten.flatten: time 0.002575/0.3634, allocations: 3.156 MB / 0.7707 GB, free: 44 kB / 0.5294 GB Notification: Performance of NFFlatten.resolveConnections: time 7.04e-05/0.3634, allocations: 19.94 kB / 0.7707 GB, free: 24 kB / 0.5294 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001468/0.3649, allocations: 1.155 MB / 0.7718 GB, free: 14.87 MB / 0.545 GB Notification: Performance of NFSimplifyModel.simplify: time 0.002299/0.3672, allocations: 1.587 MB / 0.7734 GB, free: 13.28 MB / 0.545 GB Notification: Performance of NFPackage.collectConstants: time 0.0004031/0.3676, allocations: 156 kB / 0.7735 GB, free: 13.12 MB / 0.545 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0003691/0.368, allocations: 156 kB / 0.7737 GB, free: 12.97 MB / 0.545 GB Notification: Performance of NFScalarize.scalarize: time 0.0008504/0.3689, allocations: 1.08 MB / 0.7748 GB, free: 11.89 MB / 0.545 GB Notification: Performance of NFVerifyModel.verify: time 0.001125/0.37, allocations: 1.093 MB / 0.7758 GB, free: 10.79 MB / 0.545 GB Notification: Performance of NFConvertDAE.convert: time 0.001549/0.3715, allocations: 2.029 MB / 0.7778 GB, free: 8.758 MB / 0.545 GB Notification: Performance of FrontEnd - DAE generated: time 3.497e-06/0.3716, allocations: 0 / 0.7778 GB, free: 8.758 MB / 0.545 GB Notification: Performance of FrontEnd: time 1.243e-06/0.3716, allocations: 0 / 0.7778 GB, free: 8.758 MB / 0.545 GB Notification: Performance of Transformations before backend: time 2.201e-05/0.3716, allocations: 0 / 0.7778 GB, free: 8.758 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.01194/0.3835, allocations: 4.87 MB / 0.7826 GB, free: 3.836 MB / 0.545 GB Notification: Performance of prepare preOptimizeDAE: time 3.685e-05/0.3836, allocations: 12.03 kB / 0.7826 GB, free: 3.824 MB / 0.545 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0005008/0.3841, allocations: 223 kB / 0.7828 GB, free: 3.605 MB / 0.545 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002112/0.3862, allocations: 0.908 MB / 0.7837 GB, free: 2.656 MB / 0.545 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001718/0.3864, allocations: 272.3 kB / 0.7839 GB, free: 2.391 MB / 0.545 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0007656/0.3872, allocations: 0.6039 MB / 0.7845 GB, free: 1.785 MB / 0.545 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.004607/0.3918, allocations: 3.006 MB / 0.7875 GB, free: 14.77 MB / 0.5606 GB Notification: Performance of preOpt findStateOrder (simulation): time 4.065e-05/0.3918, allocations: 192 / 0.7875 GB, free: 14.77 MB / 0.5606 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002779/0.3921, allocations: 79.94 kB / 0.7875 GB, free: 14.69 MB / 0.5606 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.317e-05/0.3921, allocations: 44 kB / 0.7876 GB, free: 14.64 MB / 0.5606 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002917/0.3951, allocations: 1.944 MB / 0.7895 GB, free: 12.7 MB / 0.5606 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003444/0.3985, allocations: 2.754 MB / 0.7922 GB, free: 9.895 MB / 0.5606 GB Notification: Performance of preOpt comSubExp (simulation): time 0.06853/0.4671, allocations: 19.36 MB / 0.8111 GB, free: 6.52 MB / 0.5762 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.00362/0.4707, allocations: 2.226 MB / 0.8132 GB, free: 4.289 MB / 0.5762 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0004597/0.4712, allocations: 51.92 kB / 0.8133 GB, free: 4.238 MB / 0.5762 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.678e-05/0.4713, allocations: 82.48 kB / 0.8134 GB, free: 4.148 MB / 0.5762 GB Notification: Performance of pre-optimization done (n=500): time 8.977e-06/0.4713, allocations: 0 / 0.8134 GB, free: 4.148 MB / 0.5762 GB Notification: Performance of matching and sorting (n=500): time 0.01154/0.4828, allocations: 7.08 MB / 0.8203 GB, free: 13.06 MB / 0.5919 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.844e-05/0.4829, allocations: 103.3 kB / 0.8204 GB, free: 12.95 MB / 0.5919 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002286/0.4832, allocations: 261.7 kB / 0.8206 GB, free: 12.68 MB / 0.5919 GB Notification: Performance of collectPreVariables (initialization): time 0.0004035/0.4836, allocations: 189.7 kB / 0.8208 GB, free: 12.49 MB / 0.5919 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001408/0.4837, allocations: 191.9 kB / 0.821 GB, free: 12.3 MB / 0.5919 GB Notification: Performance of collectInitialBindings (initialization): time 0.001566/0.4853, allocations: 2.168 MB / 0.8231 GB, free: 10.1 MB / 0.5919 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001712/0.487, allocations: 1.39 MB / 0.8245 GB, free: 8.707 MB / 0.5919 GB Notification: Performance of setup shared object (initialization): time 9.577e-05/0.4871, allocations: 314 kB / 0.8248 GB, free: 8.395 MB / 0.5919 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.004374/0.4915, allocations: 2.833 MB / 0.8275 GB, free: 5.559 MB / 0.5919 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.004445/0.4959, allocations: 2.953 MB / 0.8304 GB, free: 2.617 MB / 0.5919 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.00927/0.5052, allocations: 6.543 MB / 0.8368 GB, free: 12.07 MB / 0.6075 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.573e-05/0.5053, allocations: 4 kB / 0.8368 GB, free: 12.06 MB / 0.6075 GB Notification: Performance of matching and sorting (n=1000) (initialization): time 0.01096/0.5162, allocations: 7.513 MB / 0.8441 GB, free: 4.539 MB / 0.6075 GB Notification: Performance of prepare postOptimizeDAE: time 2.773e-05/0.5163, allocations: 8 kB / 0.8442 GB, free: 4.531 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.902e-05/0.5163, allocations: 0 / 0.8442 GB, free: 4.531 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (initialization): time 5.164e-05/0.5163, allocations: 35.94 kB / 0.8442 GB, free: 4.496 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.006819/0.5232, allocations: 1.72 MB / 0.8459 GB, free: 2.773 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0001037/0.5233, allocations: 32 kB / 0.8459 GB, free: 2.742 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00288/0.5262, allocations: 0.7555 MB / 0.8466 GB, free: 1.98 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0004234/0.5266, allocations: 216 kB / 0.8468 GB, free: 1.77 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.001069/0.5277, allocations: 0.6157 MB / 0.8474 GB, free: 1.145 MB / 0.6075 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004303/0.5281, allocations: 162.1 kB / 0.8476 GB, free: 0.9844 MB / 0.6075 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.009464/0.5376, allocations: 5.884 MB / 0.8533 GB, free: 11.08 MB / 0.6231 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.896e-05/0.5376, allocations: 27.91 kB / 0.8534 GB, free: 11.05 MB / 0.6231 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.917e-06/0.5377, allocations: 0 / 0.8534 GB, free: 11.05 MB / 0.6231 GB Notification: Performance of postOpt removeConstants (simulation): time 0.00176/0.5394, allocations: 0.7319 MB / 0.8541 GB, free: 10.3 MB / 0.6231 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0006594/0.5401, allocations: 275.7 kB / 0.8543 GB, free: 10.03 MB / 0.6231 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002658/0.5428, allocations: 331.6 kB / 0.8547 GB, free: 9.703 MB / 0.6231 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0006376/0.5434, allocations: 291.5 kB / 0.8549 GB, free: 9.418 MB / 0.6231 GB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.04044/0.5839, allocations: 11.95 MB / 0.8666 GB, free: 13.44 MB / 0.6387 GB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.01348/0.5974, allocations: 9.383 MB / 0.8758 GB, free: 4.039 MB / 0.6387 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.003912/0.6013, allocations: 2.859 MB / 0.8786 GB, free: 1.176 MB / 0.6387 GB Notification: Performance of sorting global known variables: time 4.494e-05/0.6014, allocations: 87.27 kB / 0.8787 GB, free: 1.09 MB / 0.6387 GB Notification: Performance of Backend: time 4.71e-07/0.6014, allocations: 0 / 0.8787 GB, free: 1.09 MB / 0.6387 GB Notification: Performance of simCode: created initialization part: time 0.006855/0.6082, allocations: 4.637 MB / 0.8832 GB, free: 12.45 MB / 0.6544 GB Notification: Performance of SimCode: time 0.01045/0.6187, allocations: 12.25 MB / 0.8951 GB, free: 108 kB / 0.6544 GB Notification: Performance of Templates: time 0.07783/0.6965, allocations: 54.11 MB / 0.948 GB, free: 9.898 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)