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.374/4.374, allocations: 0.5623 GB / 0.5769 GB, free: 66.9 MB / 330.7 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.002495/0.002495, allocations: 357.8 kB / 0.644 GB, free: 21.54 MB / 330.7 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 4.019/4.019, allocations: 410.8 MB / 1.112 GB, free: 15.68 MB / 0.6198 GB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.001839/0.001839, allocations: 186.3 kB / 1.225 GB, free: 11.6 MB / 0.7292 GB Notification: Performance of FrontEnd - loaded program: time 0.0004773/0.0004774, allocations: 17.16 kB / 1.348 GB, free: 321.6 MB / 0.8073 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1475/0.148, allocations: 115.3 MB / 1.461 GB, free: 220.7 MB / 0.8073 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Examples.Performance.Example1v2): time 0.07616/0.2242, allocations: 74.47 MB / 1.533 GB, free: 146.2 MB / 0.8073 GB Notification: Performance of NFInst.instExpressions: time 0.02935/0.2536, allocations: 20.74 MB / 1.554 GB, free: 125.4 MB / 0.8073 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.003572/0.2572, allocations: 91.31 kB / 1.554 GB, free: 125.4 MB / 0.8073 GB Notification: Performance of NFTyping.typeComponents: time 0.005306/0.2625, allocations: 1.137 MB / 1.555 GB, free: 124.2 MB / 0.8073 GB Notification: Performance of NFTyping.typeBindings: time 0.0148/0.2774, allocations: 3.303 MB / 1.558 GB, free: 120.9 MB / 0.8073 GB Notification: Performance of NFTyping.typeClassSections: time 0.01204/0.2894, allocations: 3.938 MB / 1.562 GB, free: 117 MB / 0.8073 GB Notification: Performance of NFFlatten.flatten: time 0.02553/0.315, allocations: 30.02 MB / 1.591 GB, free: 86.92 MB / 0.8073 GB Notification: Performance of NFFlatten.resolveConnections: time 0.01729/0.3323, allocations: 12.93 MB / 1.604 GB, free: 73.92 MB / 0.8073 GB Notification: Performance of NFEvalConstants.evaluate: time 0.01329/0.3456, allocations: 8.915 MB / 1.613 GB, free: 64.97 MB / 0.8073 GB Notification: Performance of NFSimplifyModel.simplify: time 0.01814/0.3638, allocations: 10.74 MB / 1.623 GB, free: 54.2 MB / 0.8073 GB Notification: Performance of NFPackage.collectConstants: time 0.003043/0.3669, allocations: 0.8164 MB / 1.624 GB, free: 53.38 MB / 0.8073 GB Notification: Performance of NFFlatten.collectFunctions: time 0.007213/0.3741, allocations: 1.776 MB / 1.626 GB, free: 51.61 MB / 0.8073 GB Notification: Performance of NFScalarize.scalarize: time 0.004197/0.3784, allocations: 2.975 MB / 1.629 GB, free: 48.62 MB / 0.8073 GB Notification: Performance of NFVerifyModel.verify: time 0.004176/0.3826, allocations: 1.829 MB / 1.63 GB, free: 46.78 MB / 0.8073 GB Notification: Performance of NFConvertDAE.convert: time 0.01517/0.3978, allocations: 13.88 MB / 1.644 GB, free: 32.86 MB / 0.8073 GB Notification: Performance of FrontEnd - DAE generated: time 6.199e-06/0.3979, allocations: 0 / 1.644 GB, free: 32.86 MB / 0.8073 GB Notification: Performance of FrontEnd: time 2.804e-06/0.3979, allocations: 0 / 1.644 GB, free: 32.86 MB / 0.8073 GB Notification: Performance of Transformations before backend: time 0.0003044/0.3982, allocations: 0 / 1.644 GB, free: 32.86 MB / 0.8073 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.03222/0.4304, allocations: 13.07 MB / 1.657 GB, free: 19.69 MB / 0.8073 GB Notification: Performance of prepare preOptimizeDAE: time 3.908e-05/0.4305, allocations: 13.11 kB / 1.657 GB, free: 19.68 MB / 0.8073 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.006901/0.4374, allocations: 1.269 MB / 1.658 GB, free: 18.39 MB / 0.8073 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.02252/0.4599, allocations: 9.621 MB / 1.667 GB, free: 8.695 MB / 0.8073 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.000378/0.4604, allocations: 444 kB / 1.668 GB, free: 8.258 MB / 0.8073 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.002336/0.4627, allocations: 0.5818 MB / 1.668 GB, free: 7.676 MB / 0.8073 GB Notification: Performance of preOpt clockPartitioning (simulation): time 1.096/1.559, allocations: 14.68 MB / 1.683 GB, free: 195.7 MB / 0.8074 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.000222/1.559, allocations: 23.02 kB / 1.683 GB, free: 195.6 MB / 0.8074 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0021/1.561, allocations: 242.7 kB / 1.683 GB, free: 195.5 MB / 0.8074 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001391/1.561, allocations: 134.9 kB / 1.683 GB, free: 195.5 MB / 0.8074 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.04222/1.604, allocations: 19.89 MB / 1.702 GB, free: 188.7 MB / 0.8074 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.121/1.725, allocations: 66.61 MB / 1.767 GB, free: 132.3 MB / 0.8074 GB Notification: Performance of preOpt comSubExp (simulation): time 0.01543/1.74, allocations: 9.321 MB / 1.777 GB, free: 123 MB / 0.8074 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.01353/1.754, allocations: 8.678 MB / 1.785 GB, free: 114.3 MB / 0.8074 GB Notification: Performance of preOpt evalFunc (simulation): time 0.06069/1.814, allocations: 30.99 MB / 1.815 GB, free: 83.1 MB / 0.8074 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.01309/1.828, allocations: 7.745 MB / 1.823 GB, free: 75.31 MB / 0.8074 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.03343/1.861, allocations: 11.76 MB / 1.834 GB, free: 63.67 MB / 0.8074 GB Notification: Performance of pre-optimization done (n=300): time 2.113e-05/1.861, allocations: 7.984 kB / 1.834 GB, free: 63.66 MB / 0.8074 GB Notification: Performance of matching and sorting (n=300): time 0.06071/1.922, allocations: 24.44 MB / 1.858 GB, free: 39.09 MB / 0.8074 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.325e-05/1.922, allocations: 81.77 kB / 1.858 GB, free: 38.99 MB / 0.8074 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.01351/1.935, allocations: 8.104 MB / 1.866 GB, free: 30.9 MB / 0.8074 GB Notification: Performance of collectPreVariables (initialization): time 0.001772/1.937, allocations: 101.7 kB / 1.866 GB, free: 30.8 MB / 0.8074 GB Notification: Performance of collectInitialEqns (initialization): time 0.004068/1.941, allocations: 4.011 MB / 1.87 GB, free: 26.77 MB / 0.8074 GB Notification: Performance of collectInitialBindings (initialization): time 0.00276/1.944, allocations: 1.081 MB / 1.871 GB, free: 25.7 MB / 0.8074 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.00151/1.946, allocations: 88 kB / 1.871 GB, free: 25.62 MB / 0.8074 GB Notification: Performance of setup shared object (initialization): time 0.0003025/1.946, allocations: 495.8 kB / 1.872 GB, free: 25.12 MB / 0.8074 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.01208/1.958, allocations: 6.543 MB / 1.878 GB, free: 18.57 MB / 0.8074 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.01313/1.971, allocations: 8.408 MB / 1.886 GB, free: 9.316 MB / 0.8074 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.01341/1.985, allocations: 7.437 MB / 1.894 GB, free: 1.855 MB / 0.8074 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.553e-05/1.985, allocations: 12 kB / 1.894 GB, free: 1.844 MB / 0.8074 GB Notification: Performance of matching and sorting (n=579) (initialization): time 0.05443/2.039, allocations: 17.8 MB / 1.911 GB, free: 15.98 MB / 0.8387 GB Notification: Performance of prepare postOptimizeDAE: time 0.001543/2.041, allocations: 1.555 MB / 1.913 GB, free: 13.74 MB / 0.8387 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.469e-05/2.041, allocations: 48 kB / 1.913 GB, free: 13.7 MB / 0.8387 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.08853/2.129, allocations: 11.5 MB / 1.924 GB, free: 2.23 MB / 0.8387 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.01037/2.14, allocations: 1.565 MB / 1.925 GB, free: 0.6602 MB / 0.8387 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01309/2.153, allocations: 6.803 MB / 1.932 GB, free: 9.641 MB / 0.8543 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.01242/2.165, allocations: 0.599 MB / 1.933 GB, free: 9.043 MB / 0.8543 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.00254/2.168, allocations: 0.5382 MB / 1.933 GB, free: 8.504 MB / 0.8543 GB Notification: Performance of prepare postOptimizeDAE: time 1.299e-05/2.168, allocations: 6.188 kB / 1.933 GB, free: 8.5 MB / 0.8543 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.04133/2.209, allocations: 16.74 MB / 1.95 GB, free: 7.703 MB / 0.8699 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001188/2.21, allocations: 48 kB / 1.95 GB, free: 7.656 MB / 0.8699 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.07845/2.288, allocations: 11.03 MB / 1.96 GB, free: 12.64 MB / 0.8855 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.01013/2.298, allocations: 1.569 MB / 1.962 GB, free: 11.08 MB / 0.8855 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.02073/2.319, allocations: 11.01 MB / 1.973 GB, free: 15.62 MB / 0.9012 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.01181/2.331, allocations: 0.566 MB / 1.973 GB, free: 15.06 MB / 0.9012 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.003064/2.334, allocations: 0.5343 MB / 1.974 GB, free: 14.52 MB / 0.9012 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 (527): * Single equations (assignments): 521 * 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,20 21,2 5} Notification: Performance of prepare postOptimizeDAE: time 0.008459/2.342, allocations: 2.635 MB / 1.976 GB, free: 11.88 MB / 0.9012 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.003132/2.346, allocations: 0.7563 MB / 1.977 GB, free: 11.11 MB / 0.9012 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.04005/2.386, allocations: 14.35 MB / 1.991 GB, free: 12.72 MB / 0.9168 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.369e-05/2.386, allocations: 32 kB / 1.991 GB, free: 12.69 MB / 0.9168 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.154e-05/2.386, allocations: 0 / 1.991 GB, free: 12.69 MB / 0.9168 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.02537/2.411, allocations: 10.93 MB / 2.002 GB, free: 1.66 MB / 0.9168 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.05613/2.467, allocations: 24.89 MB / 2.026 GB, free: 8.699 MB / 0.948 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.439e-05/2.467, allocations: 7.984 kB / 2.026 GB, free: 8.691 MB / 0.948 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.006962/2.474, allocations: 0.6989 MB / 2.027 GB, free: 7.996 MB / 0.948 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.6895/3.164, allocations: 10.33 MB / 2.037 GB, free: 317.8 MB / 0.948 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.00115/3.165, allocations: 99.89 kB / 2.037 GB, free: 317.8 MB / 0.948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.006608/3.172, allocations: 4.926 MB / 2.042 GB, free: 315 MB / 0.948 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.164e-06/3.172, allocations: 1.891 kB / 2.042 GB, free: 315 MB / 0.948 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0404/3.212, allocations: 19.56 MB / 2.061 GB, free: 308.3 MB / 0.948 GB Notification: Performance of postOpt removeConstants (simulation): time 0.006476/3.219, allocations: 2.001 MB / 2.063 GB, free: 307.6 MB / 0.948 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.00248/3.221, allocations: 75.19 kB / 2.063 GB, free: 307.5 MB / 0.948 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.008615/3.23, allocations: 443.7 kB / 2.063 GB, free: 307.5 MB / 0.948 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.001407/3.231, allocations: 217 kB / 2.064 GB, free: 307.4 MB / 0.948 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.001064/3.232, allocations: 159.8 kB / 2.064 GB, free: 307.4 MB / 0.948 GB Notification: Performance of sorting global known variables: time 0.01209/3.245, allocations: 5.572 MB / 2.069 GB, free: 305.7 MB / 0.948 GB Notification: Performance of sort global known variables: time 1.192e-06/3.245, allocations: 0 / 2.069 GB, free: 305.7 MB / 0.948 GB Notification: Performance of remove unused functions: time 0.02155/3.266, allocations: 4.977 MB / 2.074 GB, free: 305.3 MB / 0.948 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 (304): * Single equations (assignments): 294 * 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,2 5,20 21} Notification: Performance of Backend phase and start with SimCode phase: time 0.002429/3.269, allocations: 0.5708 MB / 2.075 GB, free: 305.1 MB / 0.948 GB Notification: Performance of simCode: created initialization part: time 0.04946/3.318, allocations: 24.2 MB / 2.098 GB, free: 295.4 MB / 0.948 GB Notification: Performance of simCode: created event and clocks part: time 9.127e-06/3.318, allocations: 3.719 kB / 2.098 GB, free: 295.4 MB / 0.948 GB Notification: Performance of simCode: created simulation system equations: time 0.0122/3.33, allocations: 6.457 MB / 2.104 GB, free: 290.4 MB / 0.948 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.02853/3.359, allocations: 5.047 MB / 2.109 GB, free: 286.8 MB / 0.948 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.03773/3.397, allocations: 23.12 MB / 2.132 GB, free: 264 MB / 0.948 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.006228/3.403, allocations: 5.361 MB / 2.137 GB, free: 258.6 MB / 0.948 GB Notification: Performance of simCode: alias equations: time 0.0237/3.427, allocations: 4.965 MB / 2.142 GB, free: 253.6 MB / 0.948 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.01147/3.438, allocations: 0.9164 MB / 2.143 GB, free: 252.7 MB / 0.948 GB Notification: Performance of SimCode: time 2.113e-06/3.438, allocations: 0 / 2.143 GB, free: 252.7 MB / 0.948 GB Notification: Performance of Templates: time 0.4009/3.839, allocations: 219.5 MB / 2.357 GB, free: 34.79 MB / 0.948 GB