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.001311/0.001311, allocations: 111.3 kB / 15.23 MB, free: 0.6406 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.001187/0.001187, allocations: 193.4 kB / 16.14 MB, free: 6.707 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.346/1.346, allocations: 222.9 MB / 239.8 MB, free: 4.605 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.002158/0.002159, allocations: 278.9 kB / 290.2 MB, free: 2.227 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 0.9676/0.9676, allocations: 169.2 MB / 0.4977 GB, free: 14.15 MB / 382.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001668/0.001668, allocations: 91.73 kB / 0.5945 GB, free: 28.4 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1605/0.1622, allocations: 86.99 MB / 0.6794 GB, free: 1.203 MB / 478.1 MB Notification: Performance of NFInst.instantiate(BuildingSystems.Fluid.Examples.Performance.Example4): time 0.5386/0.7008, allocations: 235.4 MB / 0.9093 GB, free: 12.38 MB / 0.6231 GB Notification: Performance of NFInst.instExpressions: time 0.02008/0.7209, allocations: 15.91 MB / 0.9248 GB, free: 12.55 MB / 0.6387 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.00245/0.7234, allocations: 55.62 kB / 0.9249 GB, free: 12.49 MB / 0.6387 GB Notification: Performance of NFTyping.typeComponents: time 0.002667/0.7262, allocations: 0.8705 MB / 0.9257 GB, free: 11.62 MB / 0.6387 GB Notification: Performance of NFTyping.typeBindings: time 0.007097/0.7333, allocations: 2.807 MB / 0.9285 GB, free: 8.801 MB / 0.6387 GB Notification: Performance of NFTyping.typeClassSections: time 0.003815/0.7371, allocations: 1.501 MB / 0.9299 GB, free: 7.312 MB / 0.6387 GB Notification: Performance of NFFlatten.flatten: time 0.005118/0.7422, allocations: 4.658 MB / 0.9345 GB, free: 2.637 MB / 0.6387 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001704/0.744, allocations: 1.078 MB / 0.9355 GB, free: 1.527 MB / 0.6387 GB Notification: Performance of NFEvalConstants.evaluate: time 0.005984/0.75, allocations: 2.262 MB / 0.9378 GB, free: 15.27 MB / 0.6544 GB Notification: Performance of NFSimplifyModel.simplify: time 0.002573/0.7525, allocations: 1.111 MB / 0.9388 GB, free: 14.16 MB / 0.6544 GB Notification: Performance of NFPackage.collectConstants: time 0.0003429/0.7529, allocations: 64 kB / 0.9389 GB, free: 14.09 MB / 0.6544 GB Notification: Performance of NFFlatten.collectFunctions: time 0.006238/0.7591, allocations: 3.597 MB / 0.9424 GB, free: 10.49 MB / 0.6544 GB Notification: Performance of NFScalarize.scalarize: time 0.0006779/0.7598, allocations: 434.4 kB / 0.9428 GB, free: 10.06 MB / 0.6544 GB Notification: Performance of NFVerifyModel.verify: time 0.001339/0.7612, allocations: 0.7459 MB / 0.9436 GB, free: 9.312 MB / 0.6544 GB Notification: Performance of NFConvertDAE.convert: time 0.005685/0.7669, allocations: 3.1 MB / 0.9466 GB, free: 6.203 MB / 0.6544 GB Notification: Performance of FrontEnd - DAE generated: time 6.331e-06/0.7669, allocations: 0 / 0.9466 GB, free: 6.203 MB / 0.6544 GB Notification: Performance of FrontEnd: time 1.373e-06/0.7669, allocations: 0 / 0.9466 GB, free: 6.203 MB / 0.6544 GB Notification: Performance of Transformations before backend: time 8.301e-05/0.767, allocations: 0 / 0.9466 GB, free: 6.203 MB / 0.6544 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.004668/0.7717, allocations: 2.006 MB / 0.9485 GB, free: 4.141 MB / 0.6544 GB Notification: Performance of prepare preOptimizeDAE: time 4.28e-05/0.7718, allocations: 8.031 kB / 0.9486 GB, free: 4.133 MB / 0.6544 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003006/0.7748, allocations: 0.5014 MB / 0.949 GB, free: 3.629 MB / 0.6544 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002362/0.7772, allocations: 1.116 MB / 0.9501 GB, free: 2.461 MB / 0.6544 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0009152/0.7781, allocations: 245.8 kB / 0.9504 GB, free: 2.219 MB / 0.6544 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001862/0.7783, allocations: 96 kB / 0.9505 GB, free: 2.125 MB / 0.6544 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002587/0.7809, allocations: 1.314 MB / 0.9517 GB, free: 0.7227 MB / 0.6544 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.39e-05/0.7809, allocations: 7.938 kB / 0.9517 GB, free: 0.7148 MB / 0.6544 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001089/0.781, allocations: 43.98 kB / 0.9518 GB, free: 0.6719 MB / 0.6544 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.991e-05/0.7811, allocations: 42 kB / 0.9518 GB, free: 0.6289 MB / 0.6544 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002557/0.7837, allocations: 1.077 MB / 0.9529 GB, free: 15.55 MB / 0.67 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.008016/0.7917, allocations: 6.631 MB / 0.9594 GB, free: 8.48 MB / 0.67 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001633/0.7933, allocations: 0.5649 MB / 0.9599 GB, free: 7.91 MB / 0.67 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006347/0.794, allocations: 277.1 kB / 0.9602 GB, free: 7.637 MB / 0.67 GB Notification: Performance of preOpt evalFunc (simulation): time 0.000371/0.7944, allocations: 287.5 kB / 0.9604 GB, free: 7.301 MB / 0.67 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.881e-05/0.7944, allocations: 38.84 kB / 0.9605 GB, free: 7.254 MB / 0.67 GB Notification: Performance of pre-optimization done (n=33): time 2.284e-06/0.7944, allocations: 4 kB / 0.9605 GB, free: 7.25 MB / 0.67 GB Notification: Performance of matching and sorting (n=33): time 0.002521/0.797, allocations: 0.8562 MB / 0.9613 GB, free: 6.387 MB / 0.67 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.459e-05/0.797, allocations: 55.41 kB / 0.9614 GB, free: 6.32 MB / 0.67 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002195/0.7992, allocations: 1.362 MB / 0.9627 GB, free: 4.949 MB / 0.67 GB Notification: Performance of collectPreVariables (initialization): time 9.961e-05/0.7993, allocations: 33.7 kB / 0.9627 GB, free: 4.91 MB / 0.67 GB Notification: Performance of collectInitialEqns (initialization): time 0.0005614/0.7999, allocations: 0.6873 MB / 0.9634 GB, free: 4.219 MB / 0.67 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001228/0.8, allocations: 122.3 kB / 0.9635 GB, free: 4.098 MB / 0.67 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002569/0.8003, allocations: 154 kB / 0.9637 GB, free: 3.941 MB / 0.67 GB Notification: Performance of setup shared object (initialization): time 0.0001122/0.8004, allocations: 326 kB / 0.964 GB, free: 3.617 MB / 0.67 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0008519/0.8013, allocations: 315.2 kB / 0.9643 GB, free: 3.305 MB / 0.67 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001043/0.8023, allocations: 0.6223 MB / 0.9649 GB, free: 2.535 MB / 0.67 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001758/0.8041, allocations: 0.86 MB / 0.9657 GB, free: 1.547 MB / 0.67 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.115e-06/0.8041, allocations: 7.938 kB / 0.9657 GB, free: 1.539 MB / 0.67 GB Notification: Performance of matching and sorting (n=78) (initialization): time 0.002474/0.8066, allocations: 0.9993 MB / 0.9667 GB, free: 0.5312 MB / 0.67 GB Notification: Performance of prepare postOptimizeDAE: time 2.225e-05/0.8066, allocations: 9.875 kB / 0.9667 GB, free: 0.5234 MB / 0.67 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.425e-05/0.8067, allocations: 8 kB / 0.9667 GB, free: 0.5156 MB / 0.67 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.45e-05/0.8067, allocations: 16 kB / 0.9667 GB, free: 0.5 MB / 0.67 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008511/0.8075, allocations: 188.2 kB / 0.9669 GB, free: 324 kB / 0.67 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.059e-05/0.8076, allocations: 19.92 kB / 0.9669 GB, free: 304 kB / 0.67 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0015/0.8091, allocations: 214.7 kB / 0.9672 GB, free: 88 kB / 0.67 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.981e-05/0.8092, allocations: 43.98 kB / 0.9672 GB, free: 44 kB / 0.67 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.001265/0.8105, allocations: 0.5643 MB / 0.9677 GB, free: 15.47 MB / 0.6856 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.001082/0.8115, allocations: 0.6223 MB / 0.9684 GB, free: 14.71 MB / 0.6856 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.001677/0.8132, allocations: 0.8509 MB / 0.9692 GB, free: 13.73 MB / 0.6856 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 5.931e-06/0.8133, allocations: 4 kB / 0.9692 GB, free: 13.73 MB / 0.6856 GB Notification: Performance of matching and sorting (n=78) (initialization_lambda0): time 0.002423/0.8157, allocations: 0.9919 MB / 0.9702 GB, free: 12.73 MB / 0.6856 GB Notification: Performance of prepare postOptimizeDAE: time 1.683e-05/0.8157, allocations: 11.94 kB / 0.9702 GB, free: 12.71 MB / 0.6856 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.924e-05/0.8157, allocations: 16.06 kB / 0.9702 GB, free: 12.7 MB / 0.6856 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.382e-05/0.8158, allocations: 12 kB / 0.9702 GB, free: 12.69 MB / 0.6856 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008214/0.8166, allocations: 191.7 kB / 0.9704 GB, free: 12.5 MB / 0.6856 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.069e-05/0.8166, allocations: 23.92 kB / 0.9704 GB, free: 12.48 MB / 0.6856 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001389/0.818, allocations: 151.4 kB / 0.9705 GB, free: 12.33 MB / 0.6856 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.142e-05/0.8181, allocations: 43.98 kB / 0.9706 GB, free: 12.29 MB / 0.6856 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 42 * 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 (78): * Single equations (assignments): 78 * 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.0002488/0.8184, allocations: 224.7 kB / 0.9708 GB, free: 12.06 MB / 0.6856 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002942/0.8187, allocations: 142.2 kB / 0.9709 GB, free: 11.92 MB / 0.6856 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001785/0.8205, allocations: 0.6595 MB / 0.9716 GB, free: 11.24 MB / 0.6856 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.5e-06/0.8205, allocations: 4 kB / 0.9716 GB, free: 11.23 MB / 0.6856 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.21e-06/0.8205, allocations: 0 / 0.9716 GB, free: 11.23 MB / 0.6856 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.539e-06/0.8205, allocations: 4 kB / 0.9716 GB, free: 11.23 MB / 0.6856 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003746/0.8243, allocations: 1.933 MB / 0.9735 GB, free: 9.188 MB / 0.6856 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.053e-06/0.8243, allocations: 4 kB / 0.9735 GB, free: 9.184 MB / 0.6856 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005311/0.8248, allocations: 99.95 kB / 0.9736 GB, free: 9.086 MB / 0.6856 GB Notification: Performance of postOpt tearingSystem (simulation): time 7.544e-06/0.8248, allocations: 7.938 kB / 0.9736 GB, free: 9.078 MB / 0.6856 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.352e-05/0.8249, allocations: 12 kB / 0.9736 GB, free: 9.066 MB / 0.6856 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.758e-06/0.8249, allocations: 15.92 kB / 0.9736 GB, free: 9.051 MB / 0.6856 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.967e-06/0.8249, allocations: 4 kB / 0.9736 GB, free: 9.047 MB / 0.6856 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001596/0.8265, allocations: 0.8318 MB / 0.9744 GB, free: 8.148 MB / 0.6856 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0004797/0.827, allocations: 295.2 kB / 0.9747 GB, free: 7.84 MB / 0.6856 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003094/0.8273, allocations: 8 kB / 0.9747 GB, free: 7.832 MB / 0.6856 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001143/0.8285, allocations: 103.7 kB / 0.9748 GB, free: 7.73 MB / 0.6856 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.53e-05/0.8286, allocations: 35.84 kB / 0.9748 GB, free: 7.695 MB / 0.6856 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.885e-05/0.8286, allocations: 19.98 kB / 0.9749 GB, free: 7.676 MB / 0.6856 GB Notification: Performance of sorting global known variables: time 0.001672/0.8303, allocations: 0.9964 MB / 0.9758 GB, free: 6.684 MB / 0.6856 GB Notification: Performance of sort global known variables: time 2.61e-07/0.8303, allocations: 0 / 0.9758 GB, free: 6.684 MB / 0.6856 GB Notification: Performance of remove unused functions: time 0.001776/0.8321, allocations: 0.5617 MB / 0.9764 GB, free: 6.121 MB / 0.6856 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.0006441/0.8328, allocations: 278.7 kB / 0.9767 GB, free: 5.852 MB / 0.6856 GB Notification: Performance of simCode: created initialization part: time 0.002917/0.8357, allocations: 1.086 MB / 0.9777 GB, free: 4.77 MB / 0.6856 GB Notification: Performance of simCode: created event and clocks part: time 6.463e-06/0.8357, allocations: 4.125 kB / 0.9777 GB, free: 4.766 MB / 0.6856 GB Notification: Performance of simCode: created simulation system equations: time 0.0007943/0.8365, allocations: 264 kB / 0.978 GB, free: 4.508 MB / 0.6856 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.004047/0.8406, allocations: 0.7504 MB / 0.9787 GB, free: 3.762 MB / 0.6856 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005329/0.8459, allocations: 2.683 MB / 0.9813 GB, free: 0.9961 MB / 0.6856 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0009066/0.8469, allocations: 1.182 MB / 0.9825 GB, free: 15.79 MB / 0.7012 GB Notification: Performance of simCode: alias equations: time 0.001756/0.8486, allocations: 359.5 kB / 0.9828 GB, free: 15.43 MB / 0.7012 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002865/0.8489, allocations: 99.36 kB / 0.9829 GB, free: 15.33 MB / 0.7012 GB Notification: Performance of SimCode: time 9.52e-07/0.8489, allocations: 0 / 0.9829 GB, free: 15.33 MB / 0.7012 GB Notification: Performance of Templates: time 0.03972/0.8887, allocations: 24.12 MB / 1.006 GB, free: 7.543 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 -lv LOG_STATS > BuildingSystems_BuildingSystems.Fluid.Examples.Performance.Example4.pipe 2>&1)