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.191/2.191, allocations: 251.1 MB / 266.1 MB, free: 11.62 MB / 218.7 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001585/0.001585, allocations: 178.7 kB / 325.6 MB, free: 2.844 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.312/2.312, allocations: 205.4 MB / 0.5766 GB, free: 20.78 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.001154/0.001154, allocations: 94.3 kB / 0.6811 GB, free: 13.6 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.0004555/0.0004556, allocations: 18.97 kB / 0.7951 GB, free: 135.7 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2091/0.2096, allocations: 106.3 MB / 0.8989 GB, free: 65.49 MB / 0.6042 GB Notification: Performance of FrontEnd - scodeFlatten: time 1.21/1.42, allocations: 415.2 MB / 1.304 GB, free: 4.023 MB / 0.8073 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003395/1.42, allocations: 102.5 kB / 1.304 GB, free: 3.969 MB / 0.8073 GB Notification: Performance of FrontEnd - DAE generated: time 12.47/13.89, allocations: 2.281 GB / 3.585 GB, free: 121.7 MB / 0.9167 GB Notification: Performance of FrontEnd: time 2.555e-06/13.89, allocations: 3.656 kB / 3.585 GB, free: 121.7 MB / 0.9167 GB Notification: Performance of Transformations before backend: time 0.001881/13.89, allocations: 258.5 kB / 3.585 GB, free: 121.7 MB / 0.9167 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.05354/13.94, allocations: 9.463 MB / 3.595 GB, free: 118.2 MB / 0.9167 GB Notification: Performance of prepare preOptimizeDAE: time 4.452e-05/13.94, allocations: 12.38 kB / 3.595 GB, free: 118.2 MB / 0.9167 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01128/13.95, allocations: 1.233 MB / 3.596 GB, free: 117.7 MB / 0.9167 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.04817/14, allocations: 12.62 MB / 3.608 GB, free: 116.4 MB / 0.9167 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0007261/14, allocations: 439 kB / 3.608 GB, free: 116.4 MB / 0.9167 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.003817/14.01, allocations: 0.5867 MB / 3.609 GB, free: 116.4 MB / 0.9167 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.04208/14.05, allocations: 13.63 MB / 3.622 GB, free: 115.5 MB / 0.9167 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0004881/14.05, allocations: 23.77 kB / 3.622 GB, free: 115.5 MB / 0.9167 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.00368/14.05, allocations: 245.9 kB / 3.623 GB, free: 115.5 MB / 0.9167 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.000138/14.05, allocations: 137 kB / 3.623 GB, free: 115.5 MB / 0.9167 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.04446/14.1, allocations: 18.34 MB / 3.641 GB, free: 115.5 MB / 0.9167 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.144/14.24, allocations: 55.47 MB / 3.695 GB, free: 86.5 MB / 0.9167 GB Notification: Performance of preOpt comSubExp (simulation): time 0.01957/14.26, allocations: 8.856 MB / 3.703 GB, free: 77.63 MB / 0.9167 GB Notification: Performance of preOpt evalFunc (simulation): time 0.07676/14.34, allocations: 26.35 MB / 3.729 GB, free: 51.01 MB / 0.9167 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.01733/14.35, allocations: 7.402 MB / 3.736 GB, free: 43.56 MB / 0.9167 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.09325/14.45, allocations: 21.18 MB / 3.757 GB, free: 22.5 MB / 0.9167 GB Notification: Performance of pre-optimization done (n=301): time 3.356e-05/14.45, allocations: 0 / 3.757 GB, free: 22.5 MB / 0.9167 GB Notification: Performance of matching and sorting (n=301): time 0.8355/15.28, allocations: 22.54 MB / 3.779 GB, free: 120.3 MB / 0.9167 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.595e-05/15.28, allocations: 86.53 kB / 3.779 GB, free: 120.2 MB / 0.9167 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.02491/15.31, allocations: 7.466 MB / 3.787 GB, free: 119.8 MB / 0.9167 GB Notification: Performance of collectPreVariables (initialization): time 0.002701/15.31, allocations: 100.5 kB / 3.787 GB, free: 119.8 MB / 0.9167 GB Notification: Performance of collectInitialEqns (initialization): time 0.008174/15.32, allocations: 3.999 MB / 3.791 GB, free: 119.7 MB / 0.9167 GB Notification: Performance of collectInitialBindings (initialization): time 0.004107/15.32, allocations: 1.084 MB / 3.792 GB, free: 119.3 MB / 0.9167 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.002887/15.33, allocations: 92.27 kB / 3.792 GB, free: 119.3 MB / 0.9167 GB Notification: Performance of setup shared object (initialization): time 0.000629/15.33, allocations: 495.9 kB / 3.792 GB, free: 119 MB / 0.9167 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.01806/15.35, allocations: 6.184 MB / 3.798 GB, free: 119 MB / 0.9167 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.01795/15.36, allocations: 8 MB / 3.806 GB, free: 116.8 MB / 0.9167 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.01771/15.38, allocations: 7.09 MB / 3.813 GB, free: 116.7 MB / 0.9167 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.786e-05/15.38, allocations: 14.88 kB / 3.813 GB, free: 116.7 MB / 0.9167 GB Notification: Performance of matching and sorting (n=578) (initialization): time 0.053/15.43, allocations: 16.57 MB / 3.829 GB, free: 116.1 MB / 0.9167 GB Notification: Performance of prepare postOptimizeDAE: time 0.006337/15.44, allocations: 25.24 MB / 3.854 GB, free: 89.62 MB / 0.9167 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0002207/15.44, allocations: 50.97 kB / 3.854 GB, free: 89.62 MB / 0.9167 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.1375/15.58, allocations: 10.89 MB / 3.864 GB, free: 89.58 MB / 0.9167 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.01591/15.59, allocations: 1.608 MB / 3.866 GB, free: 89.57 MB / 0.9167 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01575/15.61, allocations: 6.357 MB / 3.872 GB, free: 86.7 MB / 0.9167 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.01925/15.63, allocations: 0.5946 MB / 3.873 GB, free: 86.66 MB / 0.9167 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.003378/15.63, allocations: 0.5465 MB / 3.873 GB, free: 86.66 MB / 0.9167 GB Notification: Performance of prepare postOptimizeDAE: time 1.687e-05/15.63, allocations: 3.969 kB / 3.873 GB, free: 86.66 MB / 0.9167 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.04934/15.68, allocations: 15.91 MB / 3.889 GB, free: 86.36 MB / 0.9167 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001947/15.68, allocations: 48.31 kB / 3.889 GB, free: 86.36 MB / 0.9167 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.1405/15.82, allocations: 10.62 MB / 3.899 GB, free: 86.12 MB / 0.9167 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.01576/15.84, allocations: 1.598 MB / 3.901 GB, free: 86.11 MB / 0.9167 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.02285/15.86, allocations: 10.36 MB / 3.911 GB, free: 81.4 MB / 0.9167 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.01834/15.88, allocations: 0.5737 MB / 3.912 GB, free: 81.33 MB / 0.9167 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.003419/15.88, allocations: 0.5358 MB / 3.912 GB, free: 81.33 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 () * Number of clocked 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.0107/15.89, allocations: 2.641 MB / 3.915 GB, free: 81.13 MB / 0.9167 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.005195/15.9, allocations: 0.7534 MB / 3.915 GB, free: 80.73 MB / 0.9167 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.04805/15.95, allocations: 13.66 MB / 3.929 GB, free: 80.23 MB / 0.9167 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.592e-05/15.95, allocations: 37.33 kB / 3.929 GB, free: 80.23 MB / 0.9167 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.272e-05/15.95, allocations: 0 / 3.929 GB, free: 80.23 MB / 0.9167 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.02734/15.98, allocations: 10.26 MB / 3.939 GB, free: 79.72 MB / 0.9167 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.06322/16.04, allocations: 23.94 MB / 3.962 GB, free: 76.51 MB / 0.9167 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.997e-05/16.04, allocations: 0 / 3.962 GB, free: 76.51 MB / 0.9167 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.009862/16.05, allocations: 0.7033 MB / 3.963 GB, free: 76.49 MB / 0.9167 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.131/16.18, allocations: 9.93 MB / 3.973 GB, free: 75.74 MB / 0.9167 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.001332/16.18, allocations: 101 kB / 3.973 GB, free: 75.74 MB / 0.9167 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.007332/16.19, allocations: 4.321 MB / 3.977 GB, free: 72.89 MB / 0.9167 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.554e-06/16.19, allocations: 0 / 3.977 GB, free: 72.89 MB / 0.9167 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.04555/16.23, allocations: 18.52 MB / 3.995 GB, free: 64.57 MB / 0.9167 GB Notification: Performance of postOpt removeConstants (simulation): time 0.009259/16.24, allocations: 1.997 MB / 3.997 GB, free: 63.67 MB / 0.9167 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.004042/16.25, allocations: 70.39 kB / 3.997 GB, free: 63.62 MB / 0.9167 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.01294/16.26, allocations: 425.8 kB / 3.997 GB, free: 63.52 MB / 0.9167 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.001881/16.26, allocations: 219.1 kB / 3.998 GB, free: 63.5 MB / 0.9167 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.001127/16.26, allocations: 161.9 kB / 3.998 GB, free: 63.47 MB / 0.9167 GB Notification: Performance of sorting global known variables: time 0.01556/16.28, allocations: 5.802 MB / 4.003 GB, free: 61.66 MB / 0.9167 GB Notification: Performance of sort global known variables: time 8.32e-07/16.28, allocations: 0 / 4.003 GB, free: 61.66 MB / 0.9167 GB Notification: Performance of remove unused functions: time 0.02976/16.31, allocations: 4.93 MB / 4.008 GB, free: 61.2 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) * Number of clocked states: 0 () * 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.004349/16.31, allocations: 1.262 MB / 4.009 GB, free: 60.83 MB / 0.9167 GB Notification: Performance of simCode: created initialization part: time 0.06148/16.37, allocations: 23.56 MB / 4.032 GB, free: 51.16 MB / 0.9167 GB Notification: Performance of simCode: created event and clocks part: time 1.559e-05/16.37, allocations: 3.906 kB / 4.032 GB, free: 51.16 MB / 0.9167 GB Notification: Performance of simCode: created simulation system equations: time 0.01537/16.39, allocations: 6.198 MB / 4.039 GB, free: 46.74 MB / 0.9167 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.038/16.43, allocations: 4.612 MB / 4.043 GB, free: 43.43 MB / 0.9167 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.05436/16.48, allocations: 22.32 MB / 4.065 GB, free: 23.62 MB / 0.9167 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.01019/16.49, allocations: 5.368 MB / 4.07 GB, free: 19.71 MB / 0.9167 GB Notification: Performance of simCode: alias equations: time 0.03353/16.53, allocations: 4.947 MB / 4.075 GB, free: 15.84 MB / 0.9167 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.009049/16.54, allocations: 0.9181 MB / 4.076 GB, free: 15.18 MB / 0.9167 GB Notification: Performance of SimCode: time 1.653e-06/16.54, allocations: 0 / 4.076 GB, free: 15.18 MB / 0.9167 GB Notification: Performance of Templates: time 1.252/17.79, allocations: 219.9 MB / 4.29 GB, free: 121.6 MB / 0.948 GB