Running: ./testmodel.py --libraries=/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_7.0.0_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 7.0.1 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.1/package.mo) Running command: translateModel(Buildings.Fluid.Examples.Performance.Example2,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_7.0.0_Buildings.Fluid.Examples.Performance.Example2") Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.1/package.mo): time 2.13/2.13, 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.001527/0.001526, allocations: 179.4 kB / 325.6 MB, free: 2.84 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.264/2.264, 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.001132/0.001132, allocations: 94.41 kB / 0.6811 GB, free: 13.61 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.0004653/0.0004653, allocations: 15.3 kB / 0.7951 GB, free: 135.6 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1942/0.1947, allocations: 106.3 MB / 0.8989 GB, free: 65.5 MB / 0.6042 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Examples.Performance.Example2): time 0.0332/0.2279, allocations: 24.92 MB / 0.9232 GB, free: 40.49 MB / 0.6042 GB Notification: Performance of NFInst.instExpressions: time 0.02123/0.2492, allocations: 11.1 MB / 0.9341 GB, free: 29.37 MB / 0.6042 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001715/0.251, allocations: 35.75 kB / 0.9341 GB, free: 29.34 MB / 0.6042 GB Notification: Performance of NFTyping.typeComponents: time 0.002788/0.2538, allocations: 0.5677 MB / 0.9346 GB, free: 28.77 MB / 0.6042 GB Notification: Performance of NFTyping.typeBindings: time 0.005186/0.2591, allocations: 1.342 MB / 0.936 GB, free: 27.42 MB / 0.6042 GB Notification: Performance of NFTyping.typeClassSections: time 0.01175/0.2708, allocations: 2.257 MB / 0.9382 GB, free: 25.18 MB / 0.6042 GB Notification: Performance of NFFlatten.flatten: time 0.005914/0.2768, allocations: 2.208 MB / 0.9403 GB, free: 22.98 MB / 0.6042 GB Notification: Performance of NFFlatten.resolveConnections: time 0.002385/0.2792, allocations: 1 MB / 0.9413 GB, free: 21.95 MB / 0.6042 GB Notification: Performance of NFEvalConstants.evaluate: time 0.003171/0.2824, allocations: 1 MB / 0.9423 GB, free: 20.95 MB / 0.6042 GB Notification: Performance of NFSimplifyModel.simplify: time 0.00179/0.2842, allocations: 0.7078 MB / 0.943 GB, free: 20.24 MB / 0.6042 GB Notification: Performance of NFPackage.collectConstants: time 0.0002917/0.2846, allocations: 52 kB / 0.943 GB, free: 20.19 MB / 0.6042 GB Notification: Performance of NFFlatten.collectFunctions: time 0.003126/0.2877, allocations: 0.7295 MB / 0.9437 GB, free: 19.46 MB / 0.6042 GB Notification: Performance of NFScalarize.scalarize: time 0.00073/0.2885, allocations: 302.9 kB / 0.944 GB, free: 19.16 MB / 0.6042 GB Notification: Performance of NFVerifyModel.verify: time 0.0006784/0.2892, allocations: 316.9 kB / 0.9443 GB, free: 18.84 MB / 0.6042 GB Notification: Performance of NFConvertDAE.convert: time 0.004062/0.2933, allocations: 1.726 MB / 0.946 GB, free: 17.11 MB / 0.6042 GB Notification: Performance of FrontEnd - DAE generated: time 5.591e-06/0.2933, allocations: 3.938 kB / 0.946 GB, free: 17.11 MB / 0.6042 GB Notification: Performance of FrontEnd: time 2.645e-06/0.2933, allocations: 7.938 kB / 0.946 GB, free: 17.1 MB / 0.6042 GB Notification: Performance of Transformations before backend: time 4.838e-05/0.2934, allocations: 0 / 0.946 GB, free: 17.1 MB / 0.6042 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.005675/0.2991, allocations: 1.694 MB / 0.9477 GB, free: 15.34 MB / 0.6042 GB Notification: Performance of prepare preOptimizeDAE: time 4.733e-05/0.2992, allocations: 8.031 kB / 0.9477 GB, free: 15.34 MB / 0.6042 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002461/0.3016, allocations: 257.9 kB / 0.9479 GB, free: 15.08 MB / 0.6042 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.004609/0.3063, allocations: 1.25 MB / 0.9491 GB, free: 13.78 MB / 0.6042 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001136/0.3064, allocations: 66 kB / 0.9492 GB, free: 13.71 MB / 0.6042 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002723/0.3067, allocations: 83.95 kB / 0.9493 GB, free: 13.63 MB / 0.6042 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003729/0.3105, allocations: 1.008 MB / 0.9503 GB, free: 12.57 MB / 0.6042 GB Notification: Performance of preOpt findStateOrder (simulation): time 5.27e-05/0.3106, allocations: 4 kB / 0.9503 GB, free: 12.57 MB / 0.6042 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001795/0.3108, allocations: 35.94 kB / 0.9503 GB, free: 12.54 MB / 0.6042 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.703e-05/0.3108, allocations: 16 kB / 0.9503 GB, free: 12.52 MB / 0.6042 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003859/0.3147, allocations: 0.7805 MB / 0.9511 GB, free: 11.73 MB / 0.6042 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.01156/0.3263, allocations: 5.003 MB / 0.956 GB, free: 6.41 MB / 0.6042 GB Notification: Performance of preOpt comSubExp (simulation): time 0.003105/0.3295, allocations: 0.639 MB / 0.9566 GB, free: 5.766 MB / 0.6042 GB Notification: Performance of preOpt evalFunc (simulation): time 0.005449/0.335, allocations: 1.882 MB / 0.9584 GB, free: 3.734 MB / 0.6042 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001659/0.3367, allocations: 367 kB / 0.9588 GB, free: 3.363 MB / 0.6042 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.000939/0.3376, allocations: 99.38 kB / 0.9589 GB, free: 3.266 MB / 0.6042 GB Notification: Performance of pre-optimization done (n=44): time 4.919e-06/0.3377, allocations: 0 / 0.9589 GB, free: 3.266 MB / 0.6042 GB Notification: Performance of matching and sorting (n=44): time 0.008741/0.3464, allocations: 1.36 MB / 0.9602 GB, free: 1.875 MB / 0.6042 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.493e-05/0.3465, allocations: 59.34 kB / 0.9603 GB, free: 1.805 MB / 0.6042 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003274/0.3498, allocations: 1.325 MB / 0.9616 GB, free: 476 kB / 0.6042 GB Notification: Performance of collectPreVariables (initialization): time 0.0001823/0.35, allocations: 41.7 kB / 0.9616 GB, free: 428 kB / 0.6042 GB Notification: Performance of collectInitialEqns (initialization): time 0.0009825/0.351, allocations: 0.6333 MB / 0.9622 GB, free: 15.78 MB / 0.6198 GB Notification: Performance of collectInitialBindings (initialization): time 0.0003045/0.3514, allocations: 157.8 kB / 0.9624 GB, free: 15.62 MB / 0.6198 GB Notification: Performance of simplifyInitialFunctions (initialization): time 8.527e-05/0.3515, allocations: 12 kB / 0.9624 GB, free: 15.61 MB / 0.6198 GB Notification: Performance of setup shared object (initialization): time 0.0002075/0.3517, allocations: 334 kB / 0.9627 GB, free: 15.28 MB / 0.6198 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001536/0.3532, allocations: 261.8 kB / 0.9629 GB, free: 15.02 MB / 0.6198 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002066/0.3553, allocations: 0.6168 MB / 0.9635 GB, free: 14.25 MB / 0.6198 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001793/0.3572, allocations: 366.2 kB / 0.9639 GB, free: 13.88 MB / 0.6198 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.532e-05/0.3572, allocations: 7.953 kB / 0.9639 GB, free: 13.88 MB / 0.6198 GB Notification: Performance of matching and sorting (n=85) (initialization): time 0.005982/0.3632, allocations: 1.133 MB / 0.965 GB, free: 12.73 MB / 0.6198 GB Notification: Performance of prepare postOptimizeDAE: time 0.001822/0.3651, allocations: 3.135 MB / 0.9681 GB, free: 9.391 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.968e-05/0.3651, allocations: 8 kB / 0.9681 GB, free: 9.383 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001959/0.3671, allocations: 216.6 kB / 0.9683 GB, free: 9.168 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001562/0.3687, allocations: 155.7 kB / 0.9684 GB, free: 9.016 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002081/0.3708, allocations: 0.8604 MB / 0.9693 GB, free: 8.125 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002532/0.3734, allocations: 88.55 kB / 0.9694 GB, free: 8.039 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002155/0.3736, allocations: 43.98 kB / 0.9694 GB, free: 7.996 MB / 0.6198 GB Notification: Performance of prepare postOptimizeDAE: time 2.026e-05/0.3736, allocations: 4 kB / 0.9694 GB, free: 7.992 MB / 0.6198 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.003897/0.3776, allocations: 0.8557 MB / 0.9702 GB, free: 7.129 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.397e-05/0.3776, allocations: 15.97 kB / 0.9703 GB, free: 7.113 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0008924/0.3785, allocations: 145.2 kB / 0.9704 GB, free: 6.969 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001184/0.3798, allocations: 143.8 kB / 0.9705 GB, free: 6.828 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.005733/0.3855, allocations: 2.384 MB / 0.9729 GB, free: 4.293 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002211/0.3878, allocations: 84.55 kB / 0.9729 GB, free: 4.211 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001885/0.388, allocations: 43.98 kB / 0.973 GB, free: 4.168 MB / 0.6198 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.001412/0.3894, allocations: 468.8 kB / 0.9734 GB, free: 3.699 MB / 0.6198 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004377/0.3899, allocations: 130.4 kB / 0.9735 GB, free: 3.57 MB / 0.6198 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004872/0.3948, allocations: 0.9432 MB / 0.9745 GB, free: 2.617 MB / 0.6198 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.226e-05/0.3948, allocations: 4 kB / 0.9745 GB, free: 2.613 MB / 0.6198 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.618e-06/0.3949, allocations: 4 kB / 0.9745 GB, free: 2.609 MB / 0.6198 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.003877/0.3988, allocations: 0.931 MB / 0.9754 GB, free: 1.609 MB / 0.6198 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.007878/0.4067, allocations: 1.97 MB / 0.9773 GB, free: 15.55 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.524e-05/0.4068, allocations: 8 kB / 0.9773 GB, free: 15.55 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001036/0.4078, allocations: 87.94 kB / 0.9774 GB, free: 15.46 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0008062/0.4086, allocations: 148.6 kB / 0.9775 GB, free: 15.31 MB / 0.6355 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.04e-05/0.4088, allocations: 15.98 kB / 0.9776 GB, free: 15.3 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001588/0.4104, allocations: 0.8121 MB / 0.9784 GB, free: 14.46 MB / 0.6355 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.687e-06/0.4104, allocations: 4 kB / 0.9784 GB, free: 14.46 MB / 0.6355 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.006172/0.4166, allocations: 1.315 MB / 0.9796 GB, free: 13.1 MB / 0.6355 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001157/0.4178, allocations: 287.4 kB / 0.9799 GB, free: 12.8 MB / 0.6355 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003386/0.4181, allocations: 11.98 kB / 0.9799 GB, free: 12.79 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001905/0.4201, allocations: 95.78 kB / 0.98 GB, free: 12.69 MB / 0.6355 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001891/0.4203, allocations: 48.25 kB / 0.9801 GB, free: 12.64 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001242/0.4204, allocations: 19.98 kB / 0.9801 GB, free: 12.62 MB / 0.6355 GB Notification: Performance of sorting global known variables: time 0.002841/0.4233, allocations: 0.9167 MB / 0.981 GB, free: 11.71 MB / 0.6355 GB Notification: Performance of sort global known variables: time 8.41e-07/0.4233, allocations: 0 / 0.981 GB, free: 11.71 MB / 0.6355 GB Notification: Performance of remove unused functions: time 0.004209/0.4275, allocations: 0.6823 MB / 0.9816 GB, free: 11.02 MB / 0.6355 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.001658/0.4292, allocations: 358.2 kB / 0.982 GB, free: 10.67 MB / 0.6355 GB Notification: Performance of simCode: created initialization part: time 0.006983/0.4362, allocations: 1.398 MB / 0.9834 GB, free: 9.234 MB / 0.6355 GB Notification: Performance of simCode: created event and clocks part: time 6.893e-06/0.4363, allocations: 0 / 0.9834 GB, free: 9.234 MB / 0.6355 GB Notification: Performance of simCode: created simulation system equations: time 0.002043/0.4384, allocations: 351.1 kB / 0.9837 GB, free: 8.895 MB / 0.6355 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.006144/0.4445, allocations: 0.5805 MB / 0.9843 GB, free: 8.32 MB / 0.6355 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.009501/0.4541, allocations: 2.719 MB / 0.9869 GB, free: 5.566 MB / 0.6355 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001698/0.4558, allocations: 1.299 MB / 0.9882 GB, free: 4.238 MB / 0.6355 GB Notification: Performance of simCode: alias equations: time 0.002174/0.458, allocations: 306.5 kB / 0.9885 GB, free: 3.934 MB / 0.6355 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004345/0.4585, allocations: 107.4 kB / 0.9886 GB, free: 3.828 MB / 0.6355 GB Notification: Performance of SimCode: time 1.213e-06/0.4585, allocations: 0 / 0.9886 GB, free: 3.828 MB / 0.6355 GB Notification: Performance of Templates: time 0.07168/0.5302, allocations: 25.44 MB / 1.013 GB, free: 10.6 MB / 0.6667 GB