Running: ./testmodel.py --libraries=/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_master_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 9.0.0 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.0.0-master/package.mo) Running command: translateModel(Buildings.Fluid.Examples.Performance.Example1v2,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_master_Buildings.Fluid.Examples.Performance.Example1v2") Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.0.0-master/package.mo): time 4.829/4.829, allocations: 0.5623 GB / 0.5775 GB, free: 3.344 MB / 474.7 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.00253/0.00253, allocations: 353 kB / 0.6446 GB, free: 185.6 MB / 474.7 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 4.41/4.41, allocations: 410.7 MB / 1.113 GB, free: 5.973 MB / 0.6042 GB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.001884/0.001884, allocations: 172.3 kB / 1.226 GB, free: 6.125 MB / 0.7136 GB Notification: Performance of FrontEnd - loaded program: time 0.0005108/0.0005113, allocations: 12 kB / 1.349 GB, free: 8.258 MB / 0.8386 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.73/0.7306, allocations: 115.3 MB / 1.461 GB, free: 284.3 MB / 0.8542 GB Notification: Performance of FrontEnd - scodeFlatten: time 1.215/1.945, allocations: 421.6 MB / 1.873 GB, free: 115.8 MB / 0.8542 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002909/1.945, allocations: 97.95 kB / 1.873 GB, free: 115.8 MB / 0.8542 GB Notification: Performance of FrontEnd - DAE generated: time 11.86/13.81, allocations: 2.261 GB / 4.134 GB, free: 127.4 MB / 0.9792 GB Notification: Performance of FrontEnd: time 2.174e-06/13.81, allocations: 0 / 4.134 GB, free: 127.4 MB / 0.9792 GB Notification: Performance of Transformations before backend: time 0.001835/13.81, allocations: 253.8 kB / 4.134 GB, free: 127.4 MB / 0.9792 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.05376/13.86, allocations: 9.483 MB / 4.143 GB, free: 121.9 MB / 0.9792 GB Notification: Performance of prepare preOptimizeDAE: time 4.566e-05/13.86, allocations: 13.88 kB / 4.143 GB, free: 121.9 MB / 0.9792 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01305/13.88, allocations: 1.232 MB / 4.144 GB, free: 121.3 MB / 0.9792 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.06179/13.94, allocations: 11.91 MB / 4.156 GB, free: 114.4 MB / 0.9792 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0007216/13.94, allocations: 436.8 kB / 4.156 GB, free: 114.2 MB / 0.9792 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.003821/13.94, allocations: 0.583 MB / 4.157 GB, free: 114.1 MB / 0.9792 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.04154/13.98, allocations: 13.67 MB / 4.17 GB, free: 103.4 MB / 0.9792 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0004495/13.98, allocations: 31.72 kB / 4.17 GB, free: 103.4 MB / 0.9792 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.003566/13.99, allocations: 243.5 kB / 4.171 GB, free: 103.1 MB / 0.9792 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001302/13.99, allocations: 140 kB / 4.171 GB, free: 103 MB / 0.9792 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.04466/14.03, allocations: 18.34 MB / 4.189 GB, free: 84.64 MB / 0.9792 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.1807/14.21, allocations: 55.15 MB / 4.242 GB, free: 28.74 MB / 0.9792 GB Notification: Performance of preOpt comSubExp (simulation): time 0.02471/14.24, allocations: 8.852 MB / 4.251 GB, free: 19.87 MB / 0.9792 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.01921/14.26, allocations: 9.363 MB / 4.26 GB, free: 10.5 MB / 0.9792 GB Notification: Performance of preOpt evalFunc (simulation): time 0.08168/14.34, allocations: 26.16 MB / 4.286 GB, free: 64 kB / 0.9948 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.8024/15.14, allocations: 7.415 MB / 4.293 GB, free: 152.1 MB / 0.9948 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.09557/15.24, allocations: 21.13 MB / 4.314 GB, free: 151.8 MB / 0.9948 GB Notification: Performance of pre-optimization done (n=301): time 3.389e-05/15.24, allocations: 0 / 4.314 GB, free: 151.8 MB / 0.9948 GB Notification: Performance of matching and sorting (n=301): time 0.08376/15.32, allocations: 22.92 MB / 4.336 GB, free: 151.1 MB / 0.9948 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.845e-05/15.32, allocations: 84.78 kB / 4.336 GB, free: 151 MB / 0.9948 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0203/15.34, allocations: 7.79 MB / 4.344 GB, free: 150.6 MB / 0.9948 GB Notification: Performance of collectPreVariables (initialization): time 0.00255/15.34, allocations: 105.1 kB / 4.344 GB, free: 150.5 MB / 0.9948 GB Notification: Performance of collectInitialEqns (initialization): time 0.00609/15.35, allocations: 3.996 MB / 4.348 GB, free: 149.9 MB / 0.9948 GB Notification: Performance of collectInitialBindings (initialization): time 0.003619/15.35, allocations: 1.08 MB / 4.349 GB, free: 149.4 MB / 0.9948 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.00196/15.36, allocations: 95.45 kB / 4.349 GB, free: 149.4 MB / 0.9948 GB Notification: Performance of setup shared object (initialization): time 0.0004508/15.36, allocations: 494.8 kB / 4.349 GB, free: 149 MB / 0.9948 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.01547/15.37, allocations: 6.187 MB / 4.355 GB, free: 149 MB / 0.9948 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.01804/15.39, allocations: 8.02 MB / 4.363 GB, free: 146.8 MB / 0.9948 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.02015/15.41, allocations: 7.09 MB / 4.37 GB, free: 146.6 MB / 0.9948 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.211e-05/15.41, allocations: 17.44 kB / 4.37 GB, free: 146.6 MB / 0.9948 GB Notification: Performance of matching and sorting (n=578) (initialization): time 0.05464/15.46, allocations: 16.68 MB / 4.387 GB, free: 146 MB / 0.9948 GB Notification: Performance of prepare postOptimizeDAE: time 0.001065/15.47, allocations: 1.547 MB / 4.388 GB, free: 144 MB / 0.9948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.413e-05/15.47, allocations: 50.84 kB / 4.388 GB, free: 144 MB / 0.9948 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.1347/15.6, allocations: 11.04 MB / 4.399 GB, free: 143.2 MB / 0.9948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.01664/15.62, allocations: 1.607 MB / 4.4 GB, free: 143.2 MB / 0.9948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01575/15.63, allocations: 6.326 MB / 4.407 GB, free: 140.2 MB / 0.9948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.01895/15.65, allocations: 0.568 MB / 4.407 GB, free: 140.2 MB / 0.9948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.00338/15.66, allocations: 0.5422 MB / 4.408 GB, free: 140.2 MB / 0.9948 GB Notification: Performance of prepare postOptimizeDAE: time 1.368e-05/15.66, allocations: 6.125 kB / 4.408 GB, free: 140.2 MB / 0.9948 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.04857/15.7, allocations: 15.92 MB / 4.423 GB, free: 139.8 MB / 0.9948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001673/15.7, allocations: 50 kB / 4.423 GB, free: 139.8 MB / 0.9948 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.132/15.84, allocations: 10.62 MB / 4.434 GB, free: 139 MB / 0.9948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.01642/15.85, allocations: 1.6 MB / 4.435 GB, free: 139 MB / 0.9948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.02207/15.87, allocations: 10.23 MB / 4.445 GB, free: 134.3 MB / 0.9948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0181/15.89, allocations: 0.5552 MB / 4.446 GB, free: 134.2 MB / 0.9948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.003383/15.9, allocations: 0.5374 MB / 4.446 GB, free: 134.2 MB / 0.9948 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.01015/15.91, allocations: 2.634 MB / 4.449 GB, free: 134 MB / 0.9948 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.004269/15.91, allocations: 0.7523 MB / 4.45 GB, free: 133.6 MB / 0.9948 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.04555/15.96, allocations: 13.67 MB / 4.463 GB, free: 133.1 MB / 0.9948 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.057e-05/15.96, allocations: 43.31 kB / 4.463 GB, free: 133.1 MB / 0.9948 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.043e-05/15.96, allocations: 0 / 4.463 GB, free: 133.1 MB / 0.9948 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.02634/15.98, allocations: 10.26 MB / 4.473 GB, free: 131.8 MB / 0.9948 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 postOpt removeSimpleEquations (simulation): time 0.05931/16.04, allocations: 23.81 MB / 4.496 GB, free: 120.2 MB / 0.9948 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.448e-05/16.04, allocations: 0 / 4.496 GB, free: 120.2 MB / 0.9948 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.01011/16.05, allocations: 0.7068 MB / 4.497 GB, free: 120.2 MB / 0.9948 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.1274/16.18, allocations: 9.941 MB / 4.507 GB, free: 119.2 MB / 0.9948 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.001458/16.18, allocations: 106.9 kB / 4.507 GB, free: 119.2 MB / 0.9948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.007363/16.19, allocations: 4.315 MB / 4.511 GB, free: 115.8 MB / 0.9948 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.955e-06/16.19, allocations: 0 / 4.511 GB, free: 115.8 MB / 0.9948 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.04669/16.24, allocations: 18.42 MB / 4.529 GB, free: 101.4 MB / 0.9948 GB Notification: Performance of postOpt removeConstants (simulation): time 0.008418/16.24, allocations: 1.903 MB / 4.531 GB, free: 99.78 MB / 0.9948 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.004064/16.25, allocations: 73.44 kB / 4.531 GB, free: 99.71 MB / 0.9948 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.01286/16.26, allocations: 405.7 kB / 4.531 GB, free: 99.43 MB / 0.9948 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.001674/16.26, allocations: 223.9 kB / 4.531 GB, free: 99.3 MB / 0.9948 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.001227/16.26, allocations: 159.4 kB / 4.532 GB, free: 99.18 MB / 0.9948 GB Notification: Performance of sorting global known variables: time 0.01389/16.28, allocations: 5.333 MB / 4.537 GB, free: 94.94 MB / 0.9948 GB Notification: Performance of sort global known variables: time 6.62e-07/16.28, allocations: 0 / 4.537 GB, free: 94.94 MB / 0.9948 GB Notification: Performance of remove unused functions: time 0.02926/16.31, allocations: 4.871 MB / 4.542 GB, free: 90.32 MB / 0.9948 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.004179/16.31, allocations: 1.237 MB / 4.543 GB, free: 89.43 MB / 0.9948 GB Notification: Performance of simCode: created initialization part: time 0.06129/16.37, allocations: 23.58 MB / 4.566 GB, free: 69.76 MB / 0.9948 GB Notification: Performance of simCode: created event and clocks part: time 1.192e-05/16.37, allocations: 4 kB / 4.566 GB, free: 69.76 MB / 0.9948 GB Notification: Performance of simCode: created simulation system equations: time 0.01536/16.39, allocations: 6.204 MB / 4.572 GB, free: 64.21 MB / 0.9948 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0414/16.43, allocations: 4.672 MB / 4.576 GB, free: 60.85 MB / 0.9948 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.05078/16.48, allocations: 22.27 MB / 4.598 GB, free: 41.1 MB / 0.9948 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.009231/16.49, allocations: 5.36 MB / 4.603 GB, free: 37.21 MB / 0.9948 GB Notification: Performance of simCode: alias equations: time 0.03247/16.52, allocations: 4.977 MB / 4.608 GB, free: 33.32 MB / 0.9948 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.009122/16.53, allocations: 0.9111 MB / 4.609 GB, free: 32.66 MB / 0.9948 GB Notification: Performance of SimCode: time 1.513e-06/16.53, allocations: 0 / 4.609 GB, free: 32.66 MB / 0.9948 GB Notification: Performance of Templates: time 1.269/17.8, allocations: 216.8 MB / 4.821 GB, free: 136.7 MB / 1.01 GB