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.284/2.284, 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.001553/0.001553, allocations: 186.8 kB / 325.6 MB, free: 2.816 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.447/2.447, allocations: 205.4 MB / 0.5766 GB, free: 21.14 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.00187/0.00187, allocations: 107.1 kB / 0.6811 GB, free: 14.01 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.0006096/0.0006097, allocations: 11.62 kB / 0.7951 GB, free: 135.8 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1982/0.1989, allocations: 106.3 MB / 0.8989 GB, free: 65.96 MB / 0.6042 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Examples.Performance.Example1v2): time 0.08388/0.2828, allocations: 67.52 MB / 0.9648 GB, free: 14.27 MB / 0.6198 GB Notification: Performance of NFInst.instExpressions: time 0.04497/0.3278, allocations: 19.62 MB / 0.984 GB, free: 10.62 MB / 0.6355 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.004156/0.332, allocations: 91.31 kB / 0.984 GB, free: 10.53 MB / 0.6355 GB Notification: Performance of NFTyping.typeComponents: time 0.0063/0.3384, allocations: 1.283 MB / 0.9853 GB, free: 9.242 MB / 0.6355 GB Notification: Performance of NFTyping.typeBindings: time 0.01405/0.3525, allocations: 3.128 MB / 0.9884 GB, free: 6.109 MB / 0.6355 GB Notification: Performance of NFTyping.typeClassSections: time 0.02265/0.3752, allocations: 3.899 MB / 0.9922 GB, free: 2.258 MB / 0.6355 GB Notification: Performance of NFFlatten.flatten: time 0.02911/0.4043, allocations: 15.05 MB / 1.007 GB, free: 3.199 MB / 0.6511 GB Notification: Performance of NFFlatten.resolveConnections: time 0.02928/0.4336, allocations: 13.54 MB / 1.02 GB, free: 5.582 MB / 0.6667 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0198/0.4535, allocations: 8.145 MB / 1.028 GB, free: 13.41 MB / 0.6823 GB Notification: Performance of NFSimplifyModel.simplify: time 0.02449/0.478, allocations: 8.665 MB / 1.036 GB, free: 4.723 MB / 0.6823 GB Notification: Performance of NFPackage.collectConstants: time 0.005237/0.4833, allocations: 0.8164 MB / 1.037 GB, free: 3.906 MB / 0.6823 GB Notification: Performance of NFFlatten.collectFunctions: time 0.01122/0.4946, allocations: 1.796 MB / 1.039 GB, free: 2.109 MB / 0.6823 GB Notification: Performance of NFScalarize.scalarize: time 0.007605/0.5023, allocations: 2.933 MB / 1.042 GB, free: 15.17 MB / 0.698 GB Notification: Performance of NFVerifyModel.verify: time 0.005741/0.508, allocations: 1.86 MB / 1.044 GB, free: 13.3 MB / 0.698 GB Notification: Performance of NFConvertDAE.convert: time 1.235/1.743, allocations: 14.06 MB / 1.057 GB, free: 41.32 MB / 0.698 GB Notification: Performance of FrontEnd - DAE generated: time 4.078e-06/1.743, allocations: 0 / 1.057 GB, free: 41.32 MB / 0.698 GB Notification: Performance of FrontEnd: time 2.775e-06/1.743, allocations: 0.8125 kB / 1.057 GB, free: 41.32 MB / 0.698 GB Notification: Performance of Transformations before backend: time 0.0005481/1.743, allocations: 0 / 1.057 GB, free: 41.32 MB / 0.698 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 1434 * Number of variables: 1434 Notification: Performance of Generate backend data structure: time 0.05721/1.8, allocations: 13.19 MB / 1.07 GB, free: 37.2 MB / 0.698 GB Notification: Performance of prepare preOptimizeDAE: time 4.812e-05/1.801, allocations: 9.281 kB / 1.07 GB, free: 37.2 MB / 0.698 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01162/1.812, allocations: 1.291 MB / 1.072 GB, free: 36.67 MB / 0.698 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.03309/1.845, allocations: 9.044 MB / 1.08 GB, free: 35.6 MB / 0.698 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0007074/1.846, allocations: 452.4 kB / 1.081 GB, free: 35.59 MB / 0.698 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.00421/1.85, allocations: 0.593 MB / 1.081 GB, free: 35.58 MB / 0.698 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.04594/1.896, allocations: 14.75 MB / 1.096 GB, free: 34.7 MB / 0.698 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0003563/1.897, allocations: 22.88 kB / 1.096 GB, free: 34.7 MB / 0.698 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.003796/1.9, allocations: 245.2 kB / 1.096 GB, free: 34.7 MB / 0.698 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001471/1.901, allocations: 145.6 kB / 1.096 GB, free: 34.7 MB / 0.698 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.05055/1.951, allocations: 19.93 MB / 1.116 GB, free: 33.42 MB / 0.698 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.1768/2.128, allocations: 67.23 MB / 1.181 GB, free: 14.94 MB / 0.7293 GB Notification: Performance of preOpt comSubExp (simulation): time 0.02316/2.151, allocations: 9.38 MB / 1.191 GB, free: 9.23 MB / 0.7293 GB Notification: Performance of preOpt evalFunc (simulation): time 0.102/2.253, allocations: 31.37 MB / 1.221 GB, free: 9.797 MB / 0.7605 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.02146/2.275, allocations: 7.77 MB / 1.229 GB, free: 1.984 MB / 0.7605 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.05648/2.331, allocations: 11.81 MB / 1.24 GB, free: 6.297 MB / 0.7762 GB Notification: Performance of pre-optimization done (n=308): time 2.836e-05/2.332, allocations: 1.531 kB / 1.24 GB, free: 6.297 MB / 0.7762 GB Notification: Performance of matching and sorting (n=308): time 0.09833/2.43, allocations: 24.53 MB / 1.264 GB, free: 13.67 MB / 0.8074 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001712/2.43, allocations: 236 kB / 1.264 GB, free: 13.39 MB / 0.8074 GB [/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.1/Fluid/Actuators/BaseClasses/ValveParameters.mo:29:3-35:74:writable] Warning: Parameter val.res3.dpValve_nominal has no value, and is fixed during initialization (fixed=true), using available start value (start=0.0) as default value. [/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.1/Fluid/Interfaces/PartialTwoPortInterface.mo:8:3-10:52:writable] Warning: Parameter val.res3.m_flow_nominal has no value, and is fixed during initialization (fixed=true), using available start value (start=0.0) as default value. [/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.1/Fluid/Actuators/BaseClasses/ValveParameters.mo:29:3-35:74:writable] Warning: Parameter val.res1.dpValve_nominal has no value, and is fixed during initialization (fixed=true), using available start value (start=0.0) as default value. [/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.1/Fluid/Interfaces/PartialTwoPortInterface.mo:8:3-10:52:writable] Warning: Parameter val.res1.m_flow_nominal has no value, and is fixed during initialization (fixed=true), using available start value (start=0.0) as default value. Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.02304/2.453, allocations: 8.822 MB / 1.273 GB, free: 4.586 MB / 0.8074 GB Notification: Performance of collectPreVariables (initialization): time 0.002651/2.456, allocations: 104.4 kB / 1.273 GB, free: 4.48 MB / 0.8074 GB Notification: Performance of collectInitialEqns (initialization): time 0.006844/2.463, allocations: 4.091 MB / 1.277 GB, free: 392 kB / 0.8074 GB Notification: Performance of collectInitialBindings (initialization): time 0.00403/2.467, allocations: 1.117 MB / 1.278 GB, free: 15.27 MB / 0.823 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.002324/2.469, allocations: 95.09 kB / 1.278 GB, free: 15.18 MB / 0.823 GB Notification: Performance of setup shared object (initialization): time 0.0005229/2.47, allocations: 0.4884 MB / 1.279 GB, free: 14.68 MB / 0.823 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.01832/2.488, allocations: 6.613 MB / 1.285 GB, free: 8.059 MB / 0.823 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.02106/2.509, allocations: 8.495 MB / 1.294 GB, free: 14.73 MB / 0.8387 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.02155/2.531, allocations: 7.525 MB / 1.301 GB, free: 7.242 MB / 0.8387 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.446e-05/2.531, allocations: 14.62 kB / 1.301 GB, free: 7.23 MB / 0.8387 GB Notification: Performance of matching and sorting (n=599) (initialization): time 0.06464/2.596, allocations: 17.76 MB / 1.318 GB, free: 5.746 MB / 0.8543 GB Notification: Performance of prepare postOptimizeDAE: time 0.01183/2.607, allocations: 25.62 MB / 1.343 GB, free: 10.36 MB / 0.8855 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.000193/2.608, allocations: 48 kB / 1.343 GB, free: 10.31 MB / 0.8855 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.1414/2.749, allocations: 11.5 MB / 1.355 GB, free: 14.85 MB / 0.9012 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0167/2.766, allocations: 1.602 MB / 1.356 GB, free: 13.31 MB / 0.9012 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01749/2.783, allocations: 6.841 MB / 1.363 GB, free: 6.289 MB / 0.9012 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.01975/2.803, allocations: 0.6212 MB / 1.363 GB, free: 5.664 MB / 0.9012 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.003589/2.807, allocations: 0.5499 MB / 1.364 GB, free: 5.113 MB / 0.9012 GB Notification: Performance of prepare postOptimizeDAE: time 1.725e-05/2.807, allocations: 4 kB / 1.364 GB, free: 5.109 MB / 0.9012 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.0612/2.868, allocations: 16.67 MB / 1.38 GB, free: 4.719 MB / 0.9168 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0002659/2.868, allocations: 55.98 kB / 1.38 GB, free: 4.664 MB / 0.9168 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.1549/3.023, allocations: 11.04 MB / 1.391 GB, free: 9.66 MB / 0.9324 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.01699/3.04, allocations: 1.581 MB / 1.393 GB, free: 8.145 MB / 0.9324 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.7768/3.817, allocations: 11.16 MB / 1.404 GB, free: 353.6 MB / 0.9324 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.01861/3.836, allocations: 0.5906 MB / 1.404 GB, free: 353.6 MB / 0.9324 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.003525/3.839, allocations: 0.5432 MB / 1.405 GB, free: 353.6 MB / 0.9324 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 217 * Number of states: 0 () * Number of discrete variables: 8 ($whenCondition1,$PRE.pulse.T_start,pulse.T_start,$PRE.pulse.count,pulse.count,from_dp.y,nRes.y,allowFlowReversal.y) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (543): * Single equations (assignments): 533 * Array equations: 3 * Algorithm blocks: 1 * Record equations: 2 * 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,20 21,1 6} Notification: Performance of prepare postOptimizeDAE: time 0.01045/3.85, allocations: 2.672 MB / 1.407 GB, free: 353.5 MB / 0.9324 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.004658/3.855, allocations: 0.7666 MB / 1.408 GB, free: 353.5 MB / 0.9324 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.05096/3.906, allocations: 14.45 MB / 1.422 GB, free: 351.4 MB / 0.9324 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.874e-05/3.906, allocations: 39.23 kB / 1.422 GB, free: 351.4 MB / 0.9324 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.689e-06/3.906, allocations: 0 / 1.422 GB, free: 351.4 MB / 0.9324 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.02939/3.935, allocations: 10.99 MB / 1.433 GB, free: 346.5 MB / 0.9324 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.06061/3.996, allocations: 25.23 MB / 1.458 GB, free: 333.7 MB / 0.9324 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.182e-05/3.996, allocations: 4.5 kB / 1.458 GB, free: 333.7 MB / 0.9324 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.01003/4.006, allocations: 0.7072 MB / 1.458 GB, free: 333.6 MB / 0.9324 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.1264/4.132, allocations: 10.34 MB / 1.468 GB, free: 323.9 MB / 0.9324 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.001491/4.134, allocations: 107.9 kB / 1.468 GB, free: 323.7 MB / 0.9324 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.007428/4.141, allocations: 4.867 MB / 1.473 GB, free: 318.7 MB / 0.9324 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.873e-06/4.141, allocations: 5.641 kB / 1.473 GB, free: 318.7 MB / 0.9324 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.04712/4.188, allocations: 19.75 MB / 1.492 GB, free: 299.2 MB / 0.9324 GB Notification: Performance of postOpt removeConstants (simulation): time 0.008818/4.197, allocations: 2.135 MB / 1.495 GB, free: 297.1 MB / 0.9324 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.004079/4.201, allocations: 79.97 kB / 1.495 GB, free: 297 MB / 0.9324 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.01361/4.215, allocations: 472.8 kB / 1.495 GB, free: 296.6 MB / 0.9324 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.00202/4.217, allocations: 222.5 kB / 1.495 GB, free: 296.3 MB / 0.9324 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.001072/4.218, allocations: 163.9 kB / 1.495 GB, free: 296.2 MB / 0.9324 GB Notification: Performance of sorting global known variables: time 0.01417/4.232, allocations: 6.108 MB / 1.501 GB, free: 290.1 MB / 0.9324 GB Notification: Performance of sort global known variables: time 5.11e-07/4.232, allocations: 0 / 1.501 GB, free: 290.1 MB / 0.9324 GB Notification: Performance of remove unused functions: time 0.02659/4.259, allocations: 5.096 MB / 1.506 GB, free: 285.2 MB / 0.9324 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 3 * Number of states: 26 (pump.vol.dynBal.U,hea.outCon.T,val.res1.filter.x[1],val.res1.filter.x[2],val.res3.filter.x[1],val.res3.filter.x[2],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 (312): * Single equations (assignments): 302 * 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,1 6,20 21} Notification: Performance of Backend phase and start with SimCode phase: time 0.003295/4.262, allocations: 0.6294 MB / 1.507 GB, free: 284.7 MB / 0.9324 GB Notification: Performance of simCode: created initialization part: time 0.06031/4.323, allocations: 24.51 MB / 1.531 GB, free: 260.1 MB / 0.9324 GB Notification: Performance of simCode: created event and clocks part: time 1.544e-05/4.323, allocations: 13.5 kB / 1.531 GB, free: 260.1 MB / 0.9324 GB Notification: Performance of simCode: created simulation system equations: time 0.01531/4.338, allocations: 6.435 MB / 1.537 GB, free: 253.6 MB / 0.9324 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.04036/4.379, allocations: 5.024 MB / 1.542 GB, free: 248.7 MB / 0.9324 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0504/4.429, allocations: 23.57 MB / 1.565 GB, free: 225.1 MB / 0.9324 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.008431/4.437, allocations: 5.439 MB / 1.57 GB, free: 219.6 MB / 0.9324 GB Notification: Performance of simCode: alias equations: time 0.03076/4.468, allocations: 5.168 MB / 1.576 GB, free: 214.4 MB / 0.9324 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.009095/4.477, allocations: 0.9398 MB / 1.576 GB, free: 213.5 MB / 0.9324 GB Notification: Performance of SimCode: time 1.603e-06/4.477, allocations: 0 / 1.576 GB, free: 213.5 MB / 0.9324 GB Notification: Performance of Templates: time 1.141/5.619, allocations: 225.7 MB / 1.797 GB, free: 326.6 MB / 0.9324 GB