Running: ./testmodel.py --libraries=/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_master_Buildings.Fluid.Examples.Performance.Example2.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.Example2,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_master_Buildings.Fluid.Examples.Performance.Example2") Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.0.0-master/package.mo): time 2.438/2.438, allocations: 287.9 MB / 302.9 MB, free: 8.289 MB / 234.7 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001421/0.001421, allocations: 177.2 kB / 371.4 MB, free: 10.68 MB / 298.7 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.982/1.982, allocations: 205.4 MB / 0.6301 GB, free: 10.32 MB / 458.7 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.00103/0.00103, allocations: 90.42 kB / 0.7434 GB, free: 6.34 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.0004806/0.0004807, allocations: 16.56 kB / 0.8662 GB, free: 141.4 MB / 0.6198 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1609/0.1614, allocations: 115.2 MB / 0.9787 GB, free: 28.2 MB / 0.6198 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Examples.Performance.Example2): time 0.02558/0.187, allocations: 24.9 MB / 1.003 GB, free: 3.219 MB / 0.6198 GB Notification: Performance of NFInst.instExpressions: time 0.02002/0.2071, allocations: 11.13 MB / 1.014 GB, free: 8.07 MB / 0.6355 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001542/0.2087, allocations: 35.75 kB / 1.014 GB, free: 8.035 MB / 0.6355 GB Notification: Performance of NFTyping.typeComponents: time 0.002427/0.2111, allocations: 0.5638 MB / 1.015 GB, free: 7.469 MB / 0.6355 GB Notification: Performance of NFTyping.typeBindings: time 0.005222/0.2164, allocations: 1.338 MB / 1.016 GB, free: 6.129 MB / 0.6355 GB Notification: Performance of NFTyping.typeClassSections: time 0.008729/0.2251, allocations: 2.258 MB / 1.018 GB, free: 3.891 MB / 0.6355 GB Notification: Performance of NFFlatten.flatten: time 0.004734/0.2299, allocations: 2.209 MB / 1.02 GB, free: 1.68 MB / 0.6355 GB Notification: Performance of NFFlatten.resolveConnections: time 0.002064/0.232, allocations: 0.9924 MB / 1.021 GB, free: 0.668 MB / 0.6355 GB Notification: Performance of NFEvalConstants.evaluate: time 0.002584/0.2347, allocations: 1.008 MB / 1.022 GB, free: 15.66 MB / 0.6511 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001544/0.2362, allocations: 0.6922 MB / 1.023 GB, free: 14.96 MB / 0.6511 GB Notification: Performance of NFPackage.collectConstants: time 0.000238/0.2365, allocations: 56 kB / 1.023 GB, free: 14.91 MB / 0.6511 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002405/0.2389, allocations: 0.7373 MB / 1.024 GB, free: 14.17 MB / 0.6511 GB Notification: Performance of NFScalarize.scalarize: time 0.0005649/0.2395, allocations: 294.9 kB / 1.024 GB, free: 13.88 MB / 0.6511 GB Notification: Performance of NFVerifyModel.verify: time 0.0006131/0.2401, allocations: 316.9 kB / 1.024 GB, free: 13.56 MB / 0.6511 GB Notification: Performance of NFConvertDAE.convert: time 0.003229/0.2434, allocations: 1.738 MB / 1.026 GB, free: 11.82 MB / 0.6511 GB Notification: Performance of FrontEnd - DAE generated: time 3.607e-06/0.2434, allocations: 0 / 1.026 GB, free: 11.82 MB / 0.6511 GB Notification: Performance of FrontEnd: time 2.565e-06/0.2435, allocations: 0 / 1.026 GB, free: 11.82 MB / 0.6511 GB Notification: Performance of Transformations before backend: time 3.378e-05/0.2435, allocations: 0 / 1.026 GB, free: 11.82 MB / 0.6511 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 188 * Number of variables: 188 Notification: Performance of Generate backend data structure: time 0.003997/0.2475, allocations: 1.69 MB / 1.028 GB, free: 10.07 MB / 0.6511 GB Notification: Performance of prepare preOptimizeDAE: time 4.328e-05/0.2476, allocations: 8.031 kB / 1.028 GB, free: 10.06 MB / 0.6511 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001486/0.2491, allocations: 261.8 kB / 1.028 GB, free: 9.805 MB / 0.6511 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003467/0.2526, allocations: 1.261 MB / 1.029 GB, free: 8.492 MB / 0.6511 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001003/0.2527, allocations: 62 kB / 1.029 GB, free: 8.43 MB / 0.6511 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001977/0.2529, allocations: 88 kB / 1.029 GB, free: 8.344 MB / 0.6511 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002657/0.2556, allocations: 1.007 MB / 1.03 GB, free: 7.285 MB / 0.6511 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.145e-05/0.2556, allocations: 4 kB / 1.03 GB, free: 7.281 MB / 0.6511 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001251/0.2558, allocations: 32 kB / 1.03 GB, free: 7.25 MB / 0.6511 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.405e-05/0.2558, allocations: 20 kB / 1.03 GB, free: 7.23 MB / 0.6511 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002539/0.2584, allocations: 0.7727 MB / 1.031 GB, free: 6.457 MB / 0.6511 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.009419/0.2678, allocations: 4.999 MB / 1.036 GB, free: 1.133 MB / 0.6511 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002065/0.2699, allocations: 0.6453 MB / 1.036 GB, free: 492 kB / 0.6511 GB Notification: Performance of preOpt evalFunc (simulation): time 0.004217/0.2742, allocations: 1.882 MB / 1.038 GB, free: 14.45 MB / 0.6667 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001088/0.2753, allocations: 359 kB / 1.039 GB, free: 14.09 MB / 0.6667 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.0006298/0.276, allocations: 107.4 kB / 1.039 GB, free: 13.98 MB / 0.6667 GB Notification: Performance of pre-optimization done (n=44): time 4.396e-06/0.276, allocations: 3.938 kB / 1.039 GB, free: 13.98 MB / 0.6667 GB Notification: Performance of matching and sorting (n=44): time 0.005377/0.2814, allocations: 1.344 MB / 1.04 GB, free: 12.6 MB / 0.6667 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.967e-05/0.2815, allocations: 59.39 kB / 1.04 GB, free: 12.53 MB / 0.6667 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002566/0.2841, allocations: 1.332 MB / 1.041 GB, free: 11.18 MB / 0.6667 GB Notification: Performance of collectPreVariables (initialization): time 0.0001594/0.2843, allocations: 49.61 kB / 1.041 GB, free: 11.13 MB / 0.6667 GB Notification: Performance of collectInitialEqns (initialization): time 0.0007906/0.2851, allocations: 0.6333 MB / 1.042 GB, free: 10.49 MB / 0.6667 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002158/0.2853, allocations: 153.9 kB / 1.042 GB, free: 10.34 MB / 0.6667 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.647e-05/0.2854, allocations: 16 kB / 1.042 GB, free: 10.32 MB / 0.6667 GB Notification: Performance of setup shared object (initialization): time 0.0001881/0.2856, allocations: 334 kB / 1.043 GB, free: 9.988 MB / 0.6667 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0009148/0.2865, allocations: 261.8 kB / 1.043 GB, free: 9.734 MB / 0.6667 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001275/0.2878, allocations: 0.6091 MB / 1.043 GB, free: 8.965 MB / 0.6667 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001078/0.2889, allocations: 370.2 kB / 1.044 GB, free: 8.598 MB / 0.6667 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.78e-06/0.2889, allocations: 7.938 kB / 1.044 GB, free: 8.59 MB / 0.6667 GB Notification: Performance of matching and sorting (n=85) (initialization): time 0.003713/0.2926, allocations: 1.141 MB / 1.045 GB, free: 7.43 MB / 0.6667 GB Notification: Performance of prepare postOptimizeDAE: time 0.001752/0.2944, allocations: 3.134 MB / 1.048 GB, free: 4.098 MB / 0.6667 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.392e-05/0.2945, allocations: 8 kB / 1.048 GB, free: 4.09 MB / 0.6667 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001173/0.2957, allocations: 216.6 kB / 1.048 GB, free: 3.875 MB / 0.6667 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008564/0.2965, allocations: 159.7 kB / 1.048 GB, free: 3.719 MB / 0.6667 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001336/0.2979, allocations: 0.8643 MB / 1.049 GB, free: 2.828 MB / 0.6667 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001471/0.2994, allocations: 96.48 kB / 1.049 GB, free: 2.73 MB / 0.6667 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001194/0.2995, allocations: 35.98 kB / 1.049 GB, free: 2.695 MB / 0.6667 GB Notification: Performance of prepare postOptimizeDAE: time 1.447e-05/0.2996, allocations: 5.406 kB / 1.049 GB, free: 2.691 MB / 0.6667 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.002383/0.302, allocations: 0.8599 MB / 1.05 GB, free: 1.82 MB / 0.6667 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.805e-05/0.302, allocations: 8 kB / 1.05 GB, free: 1.812 MB / 0.6667 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.000558/0.3026, allocations: 140.7 kB / 1.05 GB, free: 1.672 MB / 0.6667 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006656/0.3033, allocations: 140.1 kB / 1.05 GB, free: 1.535 MB / 0.6667 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003807/0.3071, allocations: 2.38 MB / 1.053 GB, free: 15 MB / 0.6823 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001311/0.3084, allocations: 84.67 kB / 1.053 GB, free: 14.92 MB / 0.6823 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001064/0.3086, allocations: 36 kB / 1.053 GB, free: 14.89 MB / 0.6823 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 35 * Number of states: 0 () * Number of discrete variables: 7 ($whenCondition1,$PRE.pulse.T_start,pulse.T_start,$PRE.pulse.count,pulse.count,nRes.y,from_dp.y) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (72): * Single equations (assignments): 69 * 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: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 1 {5 7} Notification: Performance of prepare postOptimizeDAE: time 0.0009876/0.3096, allocations: 486.2 kB / 1.053 GB, free: 14.4 MB / 0.6823 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002842/0.3099, allocations: 126.5 kB / 1.053 GB, free: 14.28 MB / 0.6823 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002928/0.3128, allocations: 0.9468 MB / 1.054 GB, free: 13.32 MB / 0.6823 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.588e-05/0.3129, allocations: 8 kB / 1.054 GB, free: 13.31 MB / 0.6823 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.572e-06/0.3129, allocations: 0 / 1.054 GB, free: 13.31 MB / 0.6823 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.002289/0.3152, allocations: 0.935 MB / 1.055 GB, free: 12.3 MB / 0.6823 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004938/0.3201, allocations: 1.963 MB / 1.057 GB, free: 10.26 MB / 0.6823 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.348e-06/0.3202, allocations: 0 / 1.057 GB, free: 10.26 MB / 0.6823 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006073/0.3208, allocations: 87.88 kB / 1.057 GB, free: 10.17 MB / 0.6823 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004791/0.3213, allocations: 148.7 kB / 1.057 GB, free: 10.02 MB / 0.6823 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.965e-05/0.3214, allocations: 20 kB / 1.057 GB, free: 10 MB / 0.6823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001062/0.3225, allocations: 0.8174 MB / 1.058 GB, free: 9.16 MB / 0.6823 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.768e-06/0.3225, allocations: 4 kB / 1.058 GB, free: 9.156 MB / 0.6823 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003716/0.3262, allocations: 1.303 MB / 1.059 GB, free: 7.809 MB / 0.6823 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0008115/0.3271, allocations: 299.3 kB / 1.06 GB, free: 7.496 MB / 0.6823 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001867/0.3273, allocations: 7.984 kB / 1.06 GB, free: 7.488 MB / 0.6823 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.00105/0.3283, allocations: 79.83 kB / 1.06 GB, free: 7.41 MB / 0.6823 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001291/0.3285, allocations: 40.34 kB / 1.06 GB, free: 7.371 MB / 0.6823 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.044e-05/0.3286, allocations: 23.97 kB / 1.06 GB, free: 7.348 MB / 0.6823 GB Notification: Performance of sorting global known variables: time 0.001796/0.3304, allocations: 0.9206 MB / 1.061 GB, free: 6.426 MB / 0.6823 GB Notification: Performance of sort global known variables: time 9.85e-07/0.3304, allocations: 3.938 kB / 1.061 GB, free: 6.422 MB / 0.6823 GB Notification: Performance of remove unused functions: time 0.002612/0.333, allocations: 0.6785 MB / 1.061 GB, free: 5.742 MB / 0.6823 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 3 * Number of states: 1 (pump_dp.vol.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 (39): * Single equations (assignments): 33 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 3 * When equations: 2 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 1 {5 7} Notification: Performance of Backend phase and start with SimCode phase: time 0.001047/0.3341, allocations: 381.7 kB / 1.062 GB, free: 5.367 MB / 0.6823 GB Notification: Performance of simCode: created initialization part: time 0.004094/0.3382, allocations: 1.394 MB / 1.063 GB, free: 3.938 MB / 0.6823 GB Notification: Performance of simCode: created event and clocks part: time 6.105e-06/0.3383, allocations: 256 / 1.063 GB, free: 3.938 MB / 0.6823 GB Notification: Performance of simCode: created simulation system equations: time 0.001201/0.3395, allocations: 354.4 kB / 1.064 GB, free: 3.594 MB / 0.6823 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003261/0.3428, allocations: 0.5823 MB / 1.064 GB, free: 3.016 MB / 0.6823 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005436/0.3482, allocations: 2.704 MB / 1.067 GB, free: 284 kB / 0.6823 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.4951/0.8434, allocations: 1.294 MB / 1.068 GB, free: 86.77 MB / 0.6823 GB Notification: Performance of simCode: alias equations: time 0.00178/0.8452, allocations: 310.8 kB / 1.068 GB, free: 86.75 MB / 0.6823 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003747/0.8456, allocations: 105.3 kB / 1.068 GB, free: 86.75 MB / 0.6823 GB Notification: Performance of SimCode: time 1.577e-06/0.8456, allocations: 0 / 1.068 GB, free: 86.75 MB / 0.6823 GB Notification: Performance of Templates: time 0.06289/0.9085, allocations: 25.43 MB / 1.093 GB, free: 79.62 MB / 0.6823 GB