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.001347/0.001347, allocations: 103.4 kB / 15.33 MB, free: 0.5078 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.001589/0.001589, allocations: 190.7 kB / 16.25 MB, free: 6.617 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.322/1.322, allocations: 222.9 MB / 239.9 MB, free: 4.5 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.002137/0.002137, allocations: 290.5 kB / 290.4 MB, free: 2.113 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 0.9349/0.9349, allocations: 169.2 MB / 0.4978 GB, free: 14.08 MB / 382.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001639/0.001639, allocations: 89.16 kB / 0.5947 GB, free: 28.2 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1628/0.1645, allocations: 86.99 MB / 0.6796 GB, free: 1.059 MB / 478.1 MB Notification: Performance of NFInst.instantiate(BuildingSystems.Fluid.Examples.Performance.Example4): time 0.5674/0.732, allocations: 234.6 MB / 0.9088 GB, free: 12.88 MB / 0.6231 GB Notification: Performance of NFInst.instExpressions: time 0.02135/0.7533, allocations: 15.68 MB / 0.9241 GB, free: 13.44 MB / 0.6387 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.002974/0.7564, allocations: 59.62 kB / 0.9241 GB, free: 13.38 MB / 0.6387 GB Notification: Performance of NFTyping.typeComponents: time 0.003101/0.7595, allocations: 0.9135 MB / 0.925 GB, free: 12.46 MB / 0.6387 GB Notification: Performance of NFTyping.typeBindings: time 0.008301/0.7678, allocations: 2.794 MB / 0.9277 GB, free: 9.66 MB / 0.6387 GB Notification: Performance of NFTyping.typeClassSections: time 0.004595/0.7724, allocations: 1.542 MB / 0.9293 GB, free: 8.137 MB / 0.6387 GB Notification: Performance of NFFlatten.flatten: time 0.005442/0.7779, allocations: 3.445 MB / 0.9326 GB, free: 4.676 MB / 0.6387 GB Notification: Performance of NFFlatten.resolveConnections: time 0.002044/0.78, allocations: 1.241 MB / 0.9338 GB, free: 3.406 MB / 0.6387 GB Notification: Performance of NFEvalConstants.evaluate: time 0.006956/0.7869, allocations: 2.483 MB / 0.9363 GB, free: 0.9297 MB / 0.6387 GB Notification: Performance of NFSimplifyModel.simplify: time 0.002833/0.7898, allocations: 1.156 MB / 0.9374 GB, free: 15.78 MB / 0.6544 GB Notification: Performance of NFPackage.collectConstants: time 0.0002938/0.7901, allocations: 124 kB / 0.9375 GB, free: 15.66 MB / 0.6544 GB Notification: Performance of NFFlatten.collectFunctions: time 0.006147/0.7963, allocations: 3.265 MB / 0.9407 GB, free: 12.39 MB / 0.6544 GB Notification: Performance of NFScalarize.scalarize: time 0.0006824/0.797, allocations: 482.5 kB / 0.9412 GB, free: 11.91 MB / 0.6544 GB Notification: Performance of NFVerifyModel.verify: time 0.001458/0.7984, allocations: 0.8123 MB / 0.9419 GB, free: 11.1 MB / 0.6544 GB Notification: Performance of NFConvertDAE.convert: time 0.006427/0.8049, allocations: 3.159 MB / 0.945 GB, free: 7.93 MB / 0.6544 GB Notification: Performance of FrontEnd - DAE generated: time 4.919e-06/0.8049, allocations: 0 / 0.945 GB, free: 7.93 MB / 0.6544 GB Notification: Performance of FrontEnd: time 2.044e-06/0.8049, allocations: 4 kB / 0.945 GB, free: 7.926 MB / 0.6544 GB Notification: Performance of Transformations before backend: time 2.885e-05/0.8049, allocations: 0 / 0.945 GB, free: 7.926 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.003948/0.8089, allocations: 2.002 MB / 0.947 GB, free: 5.871 MB / 0.6544 GB Notification: Performance of prepare preOptimizeDAE: time 4.204e-05/0.809, allocations: 12.03 kB / 0.947 GB, free: 5.859 MB / 0.6544 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002846/0.8118, allocations: 0.4949 MB / 0.9475 GB, free: 5.363 MB / 0.6544 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002409/0.8142, allocations: 1.114 MB / 0.9486 GB, free: 4.191 MB / 0.6544 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0009006/0.8151, allocations: 249.8 kB / 0.9488 GB, free: 3.949 MB / 0.6544 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001739/0.8153, allocations: 96 kB / 0.9489 GB, free: 3.855 MB / 0.6544 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002612/0.818, allocations: 1.314 MB / 0.9502 GB, free: 2.449 MB / 0.6544 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.952e-05/0.818, allocations: 4 kB / 0.9502 GB, free: 2.445 MB / 0.6544 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.000112/0.8181, allocations: 39.98 kB / 0.9502 GB, free: 2.406 MB / 0.6544 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.161e-05/0.8182, allocations: 53.92 kB / 0.9503 GB, free: 2.355 MB / 0.6544 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002597/0.8208, allocations: 1.069 MB / 0.9513 GB, free: 1.281 MB / 0.6544 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.008394/0.8292, allocations: 6.629 MB / 0.9578 GB, free: 10.22 MB / 0.67 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001638/0.8309, allocations: 0.566 MB / 0.9583 GB, free: 9.645 MB / 0.67 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006498/0.8315, allocations: 273.2 kB / 0.9586 GB, free: 9.375 MB / 0.67 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0003955/0.8319, allocations: 291.4 kB / 0.9589 GB, free: 9.035 MB / 0.67 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.212e-05/0.832, allocations: 34.84 kB / 0.9589 GB, free: 8.992 MB / 0.67 GB Notification: Performance of pre-optimization done (n=33): time 3.677e-06/0.832, allocations: 4 kB / 0.9589 GB, free: 8.988 MB / 0.67 GB Notification: Performance of matching and sorting (n=33): time 0.002636/0.8346, allocations: 0.864 MB / 0.9598 GB, free: 8.117 MB / 0.67 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.986e-05/0.8347, allocations: 55.41 kB / 0.9598 GB, free: 8.051 MB / 0.67 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002193/0.8369, allocations: 1.362 MB / 0.9612 GB, free: 6.68 MB / 0.67 GB Notification: Performance of collectPreVariables (initialization): time 9.095e-05/0.837, allocations: 33.7 kB / 0.9612 GB, free: 6.641 MB / 0.67 GB Notification: Performance of collectInitialEqns (initialization): time 0.0005574/0.8376, allocations: 0.6834 MB / 0.9618 GB, free: 5.953 MB / 0.67 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001225/0.8377, allocations: 118.3 kB / 0.962 GB, free: 5.836 MB / 0.67 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002612/0.838, allocations: 146.1 kB / 0.9621 GB, free: 5.688 MB / 0.67 GB Notification: Performance of setup shared object (initialization): time 0.0001452/0.8381, allocations: 334 kB / 0.9624 GB, free: 5.355 MB / 0.67 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0008624/0.839, allocations: 315.2 kB / 0.9627 GB, free: 5.043 MB / 0.67 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00109/0.8401, allocations: 0.6184 MB / 0.9633 GB, free: 4.277 MB / 0.67 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001687/0.8418, allocations: 0.8639 MB / 0.9642 GB, free: 3.285 MB / 0.67 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.107e-06/0.8418, allocations: 4 kB / 0.9642 GB, free: 3.281 MB / 0.67 GB Notification: Performance of matching and sorting (n=78) (initialization): time 0.0024/0.8442, allocations: 0.9993 MB / 0.9651 GB, free: 2.273 MB / 0.67 GB Notification: Performance of prepare postOptimizeDAE: time 2.217e-05/0.8443, allocations: 8 kB / 0.9652 GB, free: 2.266 MB / 0.67 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.678e-05/0.8443, allocations: 8 kB / 0.9652 GB, free: 2.258 MB / 0.67 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.517e-05/0.8443, allocations: 19.94 kB / 0.9652 GB, free: 2.238 MB / 0.67 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008276/0.8451, allocations: 189 kB / 0.9654 GB, free: 2.055 MB / 0.67 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.236e-05/0.8452, allocations: 19.92 kB / 0.9654 GB, free: 2.035 MB / 0.67 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001565/0.8467, allocations: 214.7 kB / 0.9656 GB, free: 1.824 MB / 0.67 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.45e-05/0.8468, allocations: 43.98 kB / 0.9656 GB, free: 1.781 MB / 0.67 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.001279/0.8481, allocations: 0.5603 MB / 0.9662 GB, free: 1.215 MB / 0.67 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.001065/0.8492, allocations: 0.6261 MB / 0.9668 GB, free: 460 kB / 0.67 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.00167/0.8509, allocations: 0.847 MB / 0.9676 GB, free: 15.47 MB / 0.6856 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 7.284e-06/0.8509, allocations: 8 kB / 0.9676 GB, free: 15.46 MB / 0.6856 GB Notification: Performance of matching and sorting (n=78) (initialization_lambda0): time 0.002455/0.8534, allocations: 0.9912 MB / 0.9686 GB, free: 14.46 MB / 0.6856 GB Notification: Performance of prepare postOptimizeDAE: time 3.178e-05/0.8534, allocations: 16.7 kB / 0.9686 GB, free: 14.45 MB / 0.6856 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.254e-05/0.8534, allocations: 8 kB / 0.9686 GB, free: 14.44 MB / 0.6856 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.642e-05/0.8535, allocations: 24 kB / 0.9686 GB, free: 14.42 MB / 0.6856 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008064/0.8543, allocations: 191.7 kB / 0.9688 GB, free: 14.23 MB / 0.6856 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.892e-05/0.8543, allocations: 15.94 kB / 0.9688 GB, free: 14.21 MB / 0.6856 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001449/0.8558, allocations: 159.4 kB / 0.969 GB, free: 14.06 MB / 0.6856 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.733e-05/0.8558, allocations: 39.98 kB / 0.969 GB, free: 14.02 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.0002772/0.8561, allocations: 228.7 kB / 0.9692 GB, free: 13.79 MB / 0.6856 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003269/0.8565, allocations: 138.2 kB / 0.9694 GB, free: 13.65 MB / 0.6856 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00175/0.8582, allocations: 0.6557 MB / 0.97 GB, free: 12.97 MB / 0.6856 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.584e-06/0.8582, allocations: 4 kB / 0.97 GB, free: 12.97 MB / 0.6856 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.402e-06/0.8583, allocations: 0 / 0.97 GB, free: 12.97 MB / 0.6856 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.452e-06/0.8583, allocations: 3.984 kB / 0.97 GB, free: 12.96 MB / 0.6856 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004044/0.8623, allocations: 1.94 MB / 0.9719 GB, free: 10.91 MB / 0.6856 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.169e-05/0.8623, allocations: 4 kB / 0.9719 GB, free: 10.91 MB / 0.6856 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005118/0.8629, allocations: 95.95 kB / 0.972 GB, free: 10.82 MB / 0.6856 GB Notification: Performance of postOpt tearingSystem (simulation): time 9.959e-06/0.8629, allocations: 11.98 kB / 0.972 GB, free: 10.8 MB / 0.6856 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.443e-05/0.8629, allocations: 12 kB / 0.972 GB, free: 10.79 MB / 0.6856 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.646e-06/0.8629, allocations: 4 kB / 0.972 GB, free: 10.79 MB / 0.6856 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.282e-06/0.863, allocations: 7.938 kB / 0.972 GB, free: 10.78 MB / 0.6856 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001666/0.8646, allocations: 0.8278 MB / 0.9729 GB, free: 9.887 MB / 0.6856 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0006876/0.8653, allocations: 295.2 kB / 0.9731 GB, free: 9.578 MB / 0.6856 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003251/0.8657, allocations: 11.98 kB / 0.9731 GB, free: 9.566 MB / 0.6856 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0012/0.8669, allocations: 99.75 kB / 0.9732 GB, free: 9.469 MB / 0.6856 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.792e-05/0.867, allocations: 39.83 kB / 0.9733 GB, free: 9.43 MB / 0.6856 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.366e-05/0.867, allocations: 19.98 kB / 0.9733 GB, free: 9.41 MB / 0.6856 GB Notification: Performance of sorting global known variables: time 0.00183/0.8689, allocations: 0.9925 MB / 0.9743 GB, free: 8.422 MB / 0.6856 GB Notification: Performance of sort global known variables: time 1.91e-07/0.8689, allocations: 0 / 0.9743 GB, free: 8.422 MB / 0.6856 GB Notification: Performance of remove unused functions: time 0.002321/0.8712, allocations: 0.5617 MB / 0.9748 GB, free: 7.859 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.0009552/0.8722, allocations: 279.7 kB / 0.9751 GB, free: 7.59 MB / 0.6856 GB Notification: Performance of simCode: created initialization part: time 0.003377/0.8756, allocations: 1.109 MB / 0.9762 GB, free: 6.484 MB / 0.6856 GB Notification: Performance of simCode: created event and clocks part: time 8.466e-06/0.8756, allocations: 0 / 0.9762 GB, free: 6.484 MB / 0.6856 GB Notification: Performance of simCode: created simulation system equations: time 0.000743/0.8763, allocations: 264.1 kB / 0.9764 GB, free: 6.227 MB / 0.6856 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.004141/0.8805, allocations: 0.739 MB / 0.9771 GB, free: 5.496 MB / 0.6856 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005947/0.8865, allocations: 2.687 MB / 0.9798 GB, free: 2.727 MB / 0.6856 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001044/0.8875, allocations: 1.178 MB / 0.9809 GB, free: 1.52 MB / 0.6856 GB Notification: Performance of simCode: alias equations: time 0.001818/0.8894, allocations: 371.4 kB / 0.9813 GB, free: 1.152 MB / 0.6856 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003169/0.8897, allocations: 95.42 kB / 0.9814 GB, free: 1.059 MB / 0.6856 GB Notification: Performance of SimCode: time 9.92e-07/0.8897, allocations: 0 / 0.9814 GB, free: 1.059 MB / 0.6856 GB Notification: Performance of Templates: time 0.04242/0.9321, allocations: 24.7 MB / 1.005 GB, free: 8.715 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)