Running: ./testmodel.py --libraries=/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_7.0.0_Buildings.Fluid.Examples.Performance.Example1v2.conf.json Using package ModelicaServices with version 3.2.3 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package Complex with version 3.2.3 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo) Using package Buildings with version 7.0.1 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.1/package.mo) Running command: translateModel(Buildings.Fluid.Examples.Performance.Example1v2,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_7.0.0_Buildings.Fluid.Examples.Performance.Example1v2") Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.1/package.mo): time 2.293/2.293, allocations: 253.2 MB / 260.6 MB, free: 7.559 MB / 202.7 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001579/0.001578, allocations: 185.9 kB / 319.9 MB, free: 3.086 MB / 250.7 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 2.026/2.026, allocations: 205.5 MB / 0.5708 GB, free: 15.27 MB / 426.7 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.001041/0.00104, allocations: 82.78 kB / 0.6751 GB, free: 4.613 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 1.946e-05/1.967e-05, allocations: 4 kB / 0.7849 GB, free: 102.2 MB / 0.5417 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2086/0.2086, allocations: 106.3 MB / 0.8887 GB, free: 11.85 MB / 0.5573 GB Notification: Performance of FrontEnd - scodeFlatten: time 1.933/2.141, allocations: 415.4 MB / 1.294 GB, free: 254.4 MB / 0.8698 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003299/2.142, allocations: 90.91 kB / 1.294 GB, free: 254.4 MB / 0.8698 GB Notification: Performance of FrontEnd - DAE generated: time 11.96/14.11, allocations: 2.26 GB / 3.555 GB, free: 76.68 MB / 0.9011 GB Notification: Performance of FrontEnd: time 1.993e-06/14.11, allocations: 0 / 3.555 GB, free: 76.68 MB / 0.9011 GB Notification: Performance of Transformations before backend: time 0.001897/14.11, allocations: 255 kB / 3.555 GB, free: 76.62 MB / 0.9011 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 1418 * Number of variables: 1418 Notification: Performance of Generate backend data structure: time 0.04077/14.15, allocations: 7.311 MB / 3.562 GB, free: 71.91 MB / 0.9011 GB Notification: Performance of prepare preOptimizeDAE: time 4.621e-05/14.15, allocations: 11.31 kB / 3.562 GB, free: 71.91 MB / 0.9011 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01087/14.16, allocations: 1.23 MB / 3.563 GB, free: 71.32 MB / 0.9011 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0486/14.21, allocations: 12.54 MB / 3.576 GB, free: 59.45 MB / 0.9011 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0004269/14.21, allocations: 176 kB / 3.576 GB, free: 59.28 MB / 0.9011 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.003474/14.21, allocations: 352.6 kB / 3.576 GB, free: 58.94 MB / 0.9011 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.03932/14.25, allocations: 17.76 MB / 3.594 GB, free: 41.16 MB / 0.9011 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.03656/14.29, allocations: 12.55 MB / 3.606 GB, free: 28.36 MB / 0.9011 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0003846/14.29, allocations: 19.84 kB / 3.606 GB, free: 28.34 MB / 0.9011 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.003226/14.29, allocations: 14 kB / 3.606 GB, free: 28.32 MB / 0.9011 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001285/14.29, allocations: 136 kB / 3.606 GB, free: 28.19 MB / 0.9011 GB Warning: The model contains alias variables with conflicting start and/or 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.8666/15.16, allocations: 54.55 MB / 3.659 GB, free: 101.9 MB / 0.9167 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0213/15.18, allocations: 8.645 MB / 3.668 GB, free: 101.9 MB / 0.9167 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.02049/15.2, allocations: 9.194 MB / 3.677 GB, free: 101.6 MB / 0.9167 GB Notification: Performance of preOpt evalFunc (simulation): time 0.08419/15.28, allocations: 26.28 MB / 3.702 GB, free: 94.5 MB / 0.9167 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.01633/15.3, allocations: 7.206 MB / 3.709 GB, free: 94.41 MB / 0.9167 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.1314/15.43, allocations: 21.05 MB / 3.73 GB, free: 94.07 MB / 0.9167 GB Notification: Performance of pre-optimization done (n=301): time 5.707e-05/15.43, allocations: 0 / 3.73 GB, free: 94.07 MB / 0.9167 GB Notification: Performance of matching and sorting (n=301): time 0.07972/15.51, allocations: 15.05 MB / 3.745 GB, free: 93.79 MB / 0.9167 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.429e-05/15.51, allocations: 84.28 kB / 3.745 GB, free: 93.73 MB / 0.9167 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.025/15.54, allocations: 6.395 MB / 3.751 GB, free: 93.34 MB / 0.9167 GB Notification: Performance of collectPreVariables (initialization): time 0.003341/15.54, allocations: 33.27 kB / 3.751 GB, free: 93.31 MB / 0.9167 GB Notification: Performance of collectInitialEqns (initialization): time 0.008358/15.55, allocations: 3.999 MB / 3.755 GB, free: 92.36 MB / 0.9167 GB Notification: Performance of collectInitialBindings (initialization): time 0.004896/15.55, allocations: 1.042 MB / 3.756 GB, free: 91.83 MB / 0.9167 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.003142/15.56, allocations: 0 / 3.756 GB, free: 91.83 MB / 0.9167 GB Notification: Performance of setup shared object (initialization): time 0.000711/15.56, allocations: 0.4898 MB / 3.756 GB, free: 91.51 MB / 0.9167 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.01938/15.58, allocations: 6.024 MB / 3.762 GB, free: 91.49 MB / 0.9167 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.02163/15.6, allocations: 7.797 MB / 3.77 GB, free: 89.25 MB / 0.9167 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.03554/15.64, allocations: 7.541 MB / 3.777 GB, free: 89.09 MB / 0.9167 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001213/15.64, allocations: 13.97 kB / 3.777 GB, free: 89.09 MB / 0.9167 GB Notification: Performance of matching and sorting (n=578) (initialization): time 0.07773/15.71, allocations: 16.56 MB / 3.793 GB, free: 88.47 MB / 0.9167 GB Notification: Performance of prepare postOptimizeDAE: time 0.005306/15.72, allocations: 24.56 MB / 3.817 GB, free: 62.66 MB / 0.9167 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0002156/15.72, allocations: 47.03 kB / 3.817 GB, free: 62.66 MB / 0.9167 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.007664/15.73, allocations: 1.546 MB / 3.819 GB, free: 62.55 MB / 0.9167 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.01603/15.74, allocations: 1.616 MB / 3.82 GB, free: 62.54 MB / 0.9167 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.02262/15.77, allocations: 6.954 MB / 3.827 GB, free: 59.54 MB / 0.9167 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.01875/15.78, allocations: 0.5109 MB / 3.828 GB, free: 59.46 MB / 0.9167 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.003503/15.79, allocations: 0.5397 MB / 3.828 GB, free: 59.46 MB / 0.9167 GB Notification: Performance of prepare postOptimizeDAE: time 1.705e-05/15.79, allocations: 3.344 kB / 3.828 GB, free: 59.46 MB / 0.9167 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.05266/15.84, allocations: 15.75 MB / 3.844 GB, free: 59.09 MB / 0.9167 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.000193/15.84, allocations: 52.12 kB / 3.844 GB, free: 59.09 MB / 0.9167 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.007323/15.85, allocations: 1.413 MB / 3.845 GB, free: 58.99 MB / 0.9167 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.01592/15.86, allocations: 1.601 MB / 3.847 GB, free: 58.98 MB / 0.9167 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0293/15.89, allocations: 10.5 MB / 3.857 GB, free: 54.34 MB / 0.9167 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.01828/15.91, allocations: 493.9 kB / 3.857 GB, free: 54.27 MB / 0.9167 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.003578/15.92, allocations: 0.5314 MB / 3.858 GB, free: 54.27 MB / 0.9167 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 215 * Number of states: 0 () * Number of discrete variables: 7 ($whenCondition1,$PRE.pulse.T_start,pulse.T_start,$PRE.pulse.count,pulse.count,from_dp.y,allowFlowReversal.y) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (526): * Single equations (assignments): 520 * Array equations: 1 * Algorithm blocks: 1 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 4 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 1 {(1,100.0%) 1} * Non-linear torn systems: 3 {1 3,2 5,20 21} Notification: Performance of prepare postOptimizeDAE: time 0.005064/15.92, allocations: 259.3 kB / 3.858 GB, free: 54.16 MB / 0.9167 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.005396/15.93, allocations: 0.6958 MB / 3.859 GB, free: 53.79 MB / 0.9167 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.052/15.98, allocations: 13.75 MB / 3.872 GB, free: 53.25 MB / 0.9167 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.175e-05/15.98, allocations: 33.16 kB / 3.872 GB, free: 53.25 MB / 0.9167 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.425e-05/15.98, allocations: 6.656 kB / 3.872 GB, free: 53.25 MB / 0.9167 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.03124/16.01, allocations: 10.46 MB / 3.883 GB, free: 51.57 MB / 0.9167 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.06338/16.07, allocations: 23.49 MB / 3.905 GB, free: 40.38 MB / 0.9167 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.731e-05/16.07, allocations: 2.938 kB / 3.905 GB, free: 40.38 MB / 0.9167 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.01004/16.08, allocations: 0.6969 MB / 3.906 GB, free: 40.34 MB / 0.9167 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0031/16.09, allocations: 0.7016 MB / 3.907 GB, free: 40.18 MB / 0.9167 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.001237/16.09, allocations: 67.7 kB / 3.907 GB, free: 40.16 MB / 0.9167 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01363/16.1, allocations: 4.997 MB / 3.912 GB, free: 36.7 MB / 0.9167 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.725e-06/16.1, allocations: 6.641 kB / 3.912 GB, free: 36.7 MB / 0.9167 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.04767/16.15, allocations: 18.46 MB / 3.93 GB, free: 27.98 MB / 0.9167 GB Notification: Performance of postOpt removeConstants (simulation): time 0.00937/16.16, allocations: 1.929 MB / 3.932 GB, free: 27.12 MB / 0.9167 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.003893/16.16, allocations: 18.75 kB / 3.932 GB, free: 27.12 MB / 0.9167 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.01309/16.17, allocations: 364.2 kB / 3.932 GB, free: 27.06 MB / 0.9167 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.001682/16.18, allocations: 222.2 kB / 3.932 GB, free: 26.96 MB / 0.9167 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.00118/16.18, allocations: 158.8 kB / 3.932 GB, free: 26.84 MB / 0.9167 GB Notification: Performance of sorting global known variables: time 0.01271/16.19, allocations: 4.849 MB / 3.937 GB, free: 22.78 MB / 0.9167 GB Notification: Performance of sort global known variables: time 1.282e-06/16.19, allocations: 0 / 3.937 GB, free: 22.78 MB / 0.9167 GB Notification: Performance of remove unused functions: time 0.03313/16.22, allocations: 5.01 MB / 3.942 GB, free: 18.08 MB / 0.9167 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 3 * Number of states: 22 (pump.vol.dynBal.U,hea.outCon.T,vol[1].dynBal.U,vol[2].dynBal.U,vol[3].dynBal.U,vol[4].dynBal.U,vol[5].dynBal.U,vol[6].dynBal.U,vol[7].dynBal.U,vol[8].dynBal.U,vol[9].dynBal.U,vol[10].dynBal.U,vol[11].dynBal.U,vol[12].dynBal.U,vol[13].dynBal.U,vol[14].dynBal.U,vol[15].dynBal.U,vol[16].dynBal.U,vol[17].dynBal.U,vol[18].dynBal.U,vol[19].dynBal.U,vol[20].dynBal.U) * Number of discrete variables: 3 ($whenCondition1,pulse.T_start,pulse.count) * Number of discrete states: 1 (pulse.count) * Top-level inputs: 0 Notification: Strong component statistics for simulation (305): * Single equations (assignments): 295 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 4 * When equations: 2 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 4 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 1 {(1,100.0%) 1} * Non-linear torn systems: 3 {1 3,20 21,2 5} Notification: Performance of Backend phase and start with SimCode phase: time 0.004288/16.23, allocations: 1.187 MB / 3.943 GB, free: 17.22 MB / 0.9167 GB Notification: Performance of simCode: created initialization part: time 0.06214/16.29, allocations: 23.37 MB / 3.966 GB, free: 14.26 MB / 0.9323 GB Notification: Performance of simCode: created event and clocks part: time 1.987e-05/16.29, allocations: 7.781 kB / 3.966 GB, free: 14.25 MB / 0.9323 GB Notification: Performance of simCode: created simulation system equations: time 0.01585/16.31, allocations: 6.005 MB / 3.972 GB, free: 8.691 MB / 0.9323 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0349/16.34, allocations: 4.002 MB / 3.976 GB, free: 5.855 MB / 0.9323 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.04988/16.39, allocations: 16.76 MB / 3.992 GB, free: 7.27 MB / 0.948 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.01058/16.4, allocations: 5.376 MB / 3.997 GB, free: 3.359 MB / 0.948 GB Notification: Performance of simCode: alias equations: time 0.7886/17.19, allocations: 7.613 MB / 4.005 GB, free: 123.6 MB / 0.948 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.007908/17.2, allocations: 0.7481 MB / 4.006 GB, free: 123.6 MB / 0.948 GB Notification: Performance of SimCode: time 1.603e-06/17.2, allocations: 0 / 4.006 GB, free: 123.6 MB / 0.948 GB Notification: Performance of Templates: time 0.4601/17.66, allocations: 198.4 MB / 4.199 GB, free: 95.94 MB / 0.948 GB