Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr BuildingSystems_BuildingSystems.Fluid.Examples.Performance.Example4.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.Example4,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Fluid.Examples.Performance.Example4") translateModel(BuildingSystems.Fluid.Examples.Performance.Example4,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Fluid.Examples.Performance.Example4") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001206/0.001206, allocations: 111.4 kB / 16.37 MB, free: 6.469 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.001018/0.001018, allocations: 196.6 kB / 17.31 MB, free: 5.824 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.239/1.239, allocations: 222.9 MB / 241 MB, free: 15.18 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.002004/0.002004, allocations: 279.5 kB / 291.4 MB, free: 14.49 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 0.8852/0.8852, allocations: 169.3 MB / 0.4989 GB, free: 4.469 MB / 382.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001685/0.001685, allocations: 90.98 kB / 0.5967 GB, free: 14.46 MB / 414.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1477/0.1494, allocations: 86.97 MB / 0.6816 GB, free: 7.477 MB / 494.1 MB Notification: Performance of NFInst.instantiate(BuildingSystems.Fluid.Examples.Performance.Example4): time 0.4616/0.611, allocations: 237.5 MB / 0.9136 GB, free: 0.75 MB / 0.67 GB Notification: Performance of NFInst.instExpressions: time 0.01885/0.6299, allocations: 15.78 MB / 0.929 GB, free: 0.9297 MB / 0.6856 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001716/0.6316, allocations: 59.62 kB / 0.929 GB, free: 0.8711 MB / 0.6856 GB Notification: Performance of NFTyping.typeComponents: time 0.002223/0.6338, allocations: 1.037 MB / 0.93 GB, free: 15.83 MB / 0.7012 GB Notification: Performance of NFTyping.typeBindings: time 0.006383/0.6403, allocations: 2.978 MB / 0.9329 GB, free: 12.84 MB / 0.7012 GB Notification: Performance of NFTyping.typeClassSections: time 0.003667/0.6439, allocations: 1.679 MB / 0.9346 GB, free: 11.17 MB / 0.7012 GB Notification: Performance of NFFlatten.flatten: time 0.003745/0.6477, allocations: 3.445 MB / 0.938 GB, free: 7.707 MB / 0.7012 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001476/0.6492, allocations: 1.287 MB / 0.9392 GB, free: 6.391 MB / 0.7012 GB Notification: Performance of NFEvalConstants.evaluate: time 0.004834/0.654, allocations: 2.499 MB / 0.9417 GB, free: 3.898 MB / 0.7012 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001601/0.6556, allocations: 1.088 MB / 0.9427 GB, free: 2.82 MB / 0.7012 GB Notification: Performance of NFPackage.collectConstants: time 0.0001779/0.6558, allocations: 120 kB / 0.9428 GB, free: 2.703 MB / 0.7012 GB Notification: Performance of NFFlatten.collectFunctions: time 0.004802/0.6606, allocations: 3.098 MB / 0.9459 GB, free: 15.6 MB / 0.7169 GB Notification: Performance of NFScalarize.scalarize: time 0.000425/0.6611, allocations: 474.5 kB / 0.9463 GB, free: 15.13 MB / 0.7169 GB Notification: Performance of NFVerifyModel.verify: time 0.0007877/0.6619, allocations: 0.8084 MB / 0.9471 GB, free: 14.32 MB / 0.7169 GB Notification: Performance of NFConvertDAE.convert: time 0.003593/0.6655, allocations: 2.976 MB / 0.95 GB, free: 11.34 MB / 0.7169 GB Notification: Performance of FrontEnd - DAE generated: time 3.416e-06/0.6655, allocations: 0 / 0.95 GB, free: 11.34 MB / 0.7169 GB Notification: Performance of FrontEnd: time 1.303e-06/0.6655, allocations: 4 kB / 0.95 GB, free: 11.33 MB / 0.7169 GB Notification: Performance of Transformations before backend: time 1.638e-05/0.6655, allocations: 0 / 0.95 GB, free: 11.33 MB / 0.7169 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 251 * Number of variables: 251 Notification: Performance of Generate backend data structure: time 0.003098/0.6686, allocations: 1.999 MB / 0.952 GB, free: 9.281 MB / 0.7169 GB Notification: Performance of prepare preOptimizeDAE: time 3.275e-05/0.6687, allocations: 12.03 kB / 0.952 GB, free: 9.27 MB / 0.7169 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002594/0.6713, allocations: 0.4975 MB / 0.9525 GB, free: 8.77 MB / 0.7169 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002144/0.6734, allocations: 1.172 MB / 0.9536 GB, free: 7.539 MB / 0.7169 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.406e-05/0.6735, allocations: 78 kB / 0.9537 GB, free: 7.465 MB / 0.7169 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001341/0.6736, allocations: 100 kB / 0.9538 GB, free: 7.367 MB / 0.7169 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002106/0.6757, allocations: 1.354 MB / 0.9551 GB, free: 5.891 MB / 0.7169 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.308e-05/0.6758, allocations: 7.938 kB / 0.9551 GB, free: 5.883 MB / 0.7169 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.945e-05/0.6759, allocations: 44 kB / 0.9551 GB, free: 5.84 MB / 0.7169 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.45e-05/0.6759, allocations: 38 kB / 0.9552 GB, free: 5.805 MB / 0.7169 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002159/0.6781, allocations: 1.057 MB / 0.9562 GB, free: 4.742 MB / 0.7169 GB Warning: The model contains alias variables with redundant start and/or conflicting nominal values. It is recommended to resolve the conflicts, because otherwise the system could be hard to solve. To print the conflicting alias sets and the chosen candidates please use -d=aliasConflicts. Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.249/0.9271, allocations: 7.376 MB / 0.9634 GB, free: 247.1 MB / 0.7169 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001548/0.9287, allocations: 0.5351 MB / 0.9639 GB, free: 247.1 MB / 0.7169 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005979/0.9293, allocations: 263.5 kB / 0.9642 GB, free: 247.1 MB / 0.7169 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0003115/0.9296, allocations: 288.3 kB / 0.9645 GB, free: 246.8 MB / 0.7169 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.158e-05/0.9297, allocations: 38.11 kB / 0.9645 GB, free: 246.7 MB / 0.7169 GB Notification: Performance of pre-optimization done (n=33): time 2.324e-06/0.9297, allocations: 1.156 kB / 0.9645 GB, free: 246.7 MB / 0.7169 GB Notification: Performance of matching and sorting (n=33): time 0.002297/0.932, allocations: 0.8333 MB / 0.9653 GB, free: 246.7 MB / 0.7169 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.609e-05/0.932, allocations: 55.84 kB / 0.9654 GB, free: 246.6 MB / 0.7169 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00184/0.9339, allocations: 1.397 MB / 0.9667 GB, free: 246.3 MB / 0.7169 GB Notification: Performance of collectPreVariables (initialization): time 6.156e-05/0.9339, allocations: 31.95 kB / 0.9668 GB, free: 246.3 MB / 0.7169 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004038/0.9344, allocations: 0.704 MB / 0.9674 GB, free: 245.8 MB / 0.7169 GB Notification: Performance of collectInitialBindings (initialization): time 7.814e-05/0.9344, allocations: 118.1 kB / 0.9676 GB, free: 245.7 MB / 0.7169 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002327/0.9347, allocations: 163.1 kB / 0.9677 GB, free: 245.7 MB / 0.7169 GB Notification: Performance of setup shared object (initialization): time 5.499e-05/0.9347, allocations: 340.3 kB / 0.968 GB, free: 245.3 MB / 0.7169 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000751/0.9355, allocations: 314.8 kB / 0.9683 GB, free: 245.3 MB / 0.7169 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0009094/0.9364, allocations: 0.6881 MB / 0.969 GB, free: 244.7 MB / 0.7169 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001434/0.9379, allocations: 0.9301 MB / 0.9699 GB, free: 244.1 MB / 0.7169 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.514e-06/0.9379, allocations: 2.844 kB / 0.9699 GB, free: 244.1 MB / 0.7169 GB Notification: Performance of matching and sorting (n=88) (initialization): time 0.002132/0.94, allocations: 1.053 MB / 0.971 GB, free: 243.7 MB / 0.7169 GB Notification: Performance of prepare postOptimizeDAE: time 2.018e-05/0.94, allocations: 10.47 kB / 0.971 GB, free: 243.7 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.508e-05/0.9401, allocations: 13.44 kB / 0.971 GB, free: 243.7 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.776e-05/0.9401, allocations: 15.69 kB / 0.971 GB, free: 243.7 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008132/0.9409, allocations: 204.3 kB / 0.9712 GB, free: 243.7 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.242e-05/0.941, allocations: 25.03 kB / 0.9712 GB, free: 243.7 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001186/0.9421, allocations: 181.9 kB / 0.9714 GB, free: 243.6 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.574e-05/0.9422, allocations: 44.8 kB / 0.9714 GB, free: 243.6 MB / 0.7169 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.001039/0.9433, allocations: 0.5677 MB / 0.972 GB, free: 243.4 MB / 0.7169 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.000875/0.9442, allocations: 0.6862 MB / 0.9727 GB, free: 242.8 MB / 0.7169 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.00142/0.9456, allocations: 0.9308 MB / 0.9736 GB, free: 242.2 MB / 0.7169 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 6.492e-06/0.9456, allocations: 7.156 kB / 0.9736 GB, free: 242.2 MB / 0.7169 GB Notification: Performance of matching and sorting (n=88) (initialization_lambda0): time 0.002052/0.9477, allocations: 1.048 MB / 0.9746 GB, free: 241.8 MB / 0.7169 GB Notification: Performance of prepare postOptimizeDAE: time 1.44e-05/0.9477, allocations: 9.281 kB / 0.9746 GB, free: 241.8 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.179e-05/0.9477, allocations: 12.53 kB / 0.9746 GB, free: 241.8 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.469e-05/0.9477, allocations: 15.88 kB / 0.9746 GB, free: 241.8 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000788/0.9485, allocations: 203.3 kB / 0.9748 GB, free: 241.8 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.821e-05/0.9485, allocations: 23.92 kB / 0.9748 GB, free: 241.8 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001131/0.9497, allocations: 127 kB / 0.975 GB, free: 241.8 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.093e-05/0.9498, allocations: 45.66 kB / 0.975 GB, free: 241.7 MB / 0.7169 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 52 * 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 (88): * Single equations (assignments): 88 * 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.0001796/0.9499, allocations: 240.5 kB / 0.9752 GB, free: 241.5 MB / 0.7169 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001807/0.9501, allocations: 137 kB / 0.9754 GB, free: 241.4 MB / 0.7169 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001472/0.9516, allocations: 0.648 MB / 0.976 GB, free: 241.2 MB / 0.7169 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.169e-06/0.9516, allocations: 2.812 kB / 0.976 GB, free: 241.2 MB / 0.7169 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.529e-06/0.9516, allocations: 1.125 kB / 0.976 GB, free: 241.2 MB / 0.7169 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.819e-06/0.9516, allocations: 2 kB / 0.976 GB, free: 241.2 MB / 0.7169 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003202/0.9549, allocations: 1.897 MB / 0.9779 GB, free: 240.3 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.06e-06/0.9549, allocations: 2.875 kB / 0.9779 GB, free: 240.3 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004779/0.9554, allocations: 88.95 kB / 0.9779 GB, free: 240.3 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (simulation): time 7.665e-06/0.9554, allocations: 8.625 kB / 0.978 GB, free: 240.3 MB / 0.7169 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.534e-05/0.9554, allocations: 14.31 kB / 0.978 GB, free: 240.3 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.813e-06/0.9554, allocations: 9.938 kB / 0.978 GB, free: 240.2 MB / 0.7169 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.448e-06/0.9554, allocations: 4.188 kB / 0.978 GB, free: 240.2 MB / 0.7169 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001356/0.9568, allocations: 0.8026 MB / 0.9788 GB, free: 239.8 MB / 0.7169 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0004342/0.9572, allocations: 296 kB / 0.979 GB, free: 239.6 MB / 0.7169 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000177/0.9574, allocations: 13.7 kB / 0.9791 GB, free: 239.6 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0009483/0.9584, allocations: 66.27 kB / 0.9791 GB, free: 239.6 MB / 0.7169 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.447e-05/0.9585, allocations: 34.56 kB / 0.9792 GB, free: 239.5 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.084e-05/0.9585, allocations: 23.59 kB / 0.9792 GB, free: 239.5 MB / 0.7169 GB Notification: Performance of sorting global known variables: time 0.00136/0.9599, allocations: 1.008 MB / 0.9802 GB, free: 239.2 MB / 0.7169 GB Notification: Performance of sort global known variables: time 1.012e-06/0.9599, allocations: 0 / 0.9802 GB, free: 239.2 MB / 0.7169 GB Notification: Performance of remove unused functions: time 0.001697/0.9616, allocations: 0.5782 MB / 0.9807 GB, free: 239.1 MB / 0.7169 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 16 * 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 simulation (32): * Single equations (assignments): 32 * 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.000474/0.9621, allocations: 274.4 kB / 0.981 GB, free: 238.9 MB / 0.7169 GB Notification: Performance of simCode: created initialization part: time 0.002481/0.9646, allocations: 1.127 MB / 0.9821 GB, free: 238.6 MB / 0.7169 GB Notification: Performance of simCode: created event and clocks part: time 4.258e-06/0.9646, allocations: 5.312 kB / 0.9821 GB, free: 238.6 MB / 0.7169 GB Notification: Performance of simCode: created simulation system equations: time 0.0005913/0.9652, allocations: 255.6 kB / 0.9823 GB, free: 238.6 MB / 0.7169 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002797/0.968, allocations: 0.7543 MB / 0.9831 GB, free: 238.3 MB / 0.7169 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003958/0.972, allocations: 2.238 MB / 0.9853 GB, free: 237.2 MB / 0.7169 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006013/0.9726, allocations: 1.181 MB / 0.9864 GB, free: 236.4 MB / 0.7169 GB Notification: Performance of simCode: alias equations: time 0.001205/0.9738, allocations: 390.2 kB / 0.9868 GB, free: 236.3 MB / 0.7169 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002355/0.974, allocations: 95.94 kB / 0.9869 GB, free: 236.3 MB / 0.7169 GB Notification: Performance of SimCode: time 5.21e-07/0.974, allocations: 0 / 0.9869 GB, free: 236.3 MB / 0.7169 GB Notification: Performance of Templates: time 0.03381/1.008, allocations: 25 MB / 1.011 GB, free: 224.7 MB / 0.7169 GB make -j1 -f BuildingSystems_BuildingSystems.Fluid.Examples.Performance.Example4.makefile (rm -f BuildingSystems_BuildingSystems.Fluid.Examples.Performance.Example4.pipe ; mkfifo BuildingSystems_BuildingSystems.Fluid.Examples.Performance.Example4.pipe ; head -c 1048576 < BuildingSystems_BuildingSystems.Fluid.Examples.Performance.Example4.pipe >> ../files/BuildingSystems_BuildingSystems.Fluid.Examples.Performance.Example4.sim & ./BuildingSystems_BuildingSystems.Fluid.Examples.Performance.Example4 -abortSlowSimulation -alarm=480 -s cvode -lv LOG_STATS > BuildingSystems_BuildingSystems.Fluid.Examples.Performance.Example4.pipe 2>&1)