Running: ./testmodel.py --libraries=/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_latest_Buildings.Fluid.Examples.Performance.Example2.conf.json loadFile("/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Buildings 9.0.0-master/package.mo", uses=false) loadFile("/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) Using package ModelicaServices with version 4.0.0 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Using package Modelica with version 4.0.0 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package Buildings with version 9.0.0 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-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_latest_Buildings.Fluid.Examples.Performance.Example2") translateModel(Buildings.Fluid.Examples.Performance.Example2,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_latest_Buildings.Fluid.Examples.Performance.Example2") Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Buildings 9.0.0-master/package.mo): time 1.71/1.71, allocations: 306.1 MB / 321.4 MB, free: 10.74 MB / 250.7 MB Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.0008945/0.0008946, allocations: 175.5 kB / 393.1 MB, free: 4.09 MB / 314.7 MB Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.385/1.385, allocations: 225.7 MB / 0.6743 GB, free: 12.62 MB / 0.4948 GB Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0007265/0.0007264, allocations: 93.38 kB / 0.7935 GB, free: 40 MB / 0.5417 GB Notification: Performance of FrontEnd - loaded program: time 0.0003672/0.0003674, allocations: 8 kB / 0.9224 GB, free: 8.734 MB / 0.6355 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5933/0.5936, allocations: 121.3 MB / 1.041 GB, free: 57.99 MB / 0.698 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Examples.Performance.Example2): time 0.02292/0.6166, allocations: 29.18 MB / 1.069 GB, free: 36.43 MB / 0.698 GB Notification: Performance of NFInst.instExpressions: time 0.01248/0.6291, allocations: 13.64 MB / 1.083 GB, free: 24.73 MB / 0.698 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001662/0.6308, allocations: 36.34 kB / 1.083 GB, free: 24.72 MB / 0.698 GB Notification: Performance of NFTyping.typeComponents: time 0.001844/0.6327, allocations: 0.5965 MB / 1.083 GB, free: 24.43 MB / 0.698 GB Notification: Performance of NFTyping.typeBindings: time 0.003658/0.6364, allocations: 1.344 MB / 1.085 GB, free: 23.68 MB / 0.698 GB Notification: Performance of NFTyping.typeClassSections: time 0.003275/0.6397, allocations: 1.249 MB / 1.086 GB, free: 23.02 MB / 0.698 GB Notification: Performance of NFFlatten.flatten: time 0.004945/0.6446, allocations: 4.997 MB / 1.091 GB, free: 21.21 MB / 0.698 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001672/0.6463, allocations: 1.12 MB / 1.092 GB, free: 20.78 MB / 0.698 GB Notification: Performance of NFEvalConstants.evaluate: time 0.002464/0.6488, allocations: 1.27 MB / 1.093 GB, free: 20.28 MB / 0.698 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001368/0.6502, allocations: 1.049 MB / 1.094 GB, free: 19.83 MB / 0.698 GB Notification: Performance of NFPackage.collectConstants: time 0.0001432/0.6503, allocations: 53.28 kB / 1.094 GB, free: 19.83 MB / 0.698 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002269/0.6526, allocations: 1.02 MB / 1.095 GB, free: 19.54 MB / 0.698 GB Notification: Performance of NFScalarize.scalarize: time 0.000359/0.653, allocations: 325.1 kB / 1.095 GB, free: 19.39 MB / 0.698 GB Notification: Performance of NFVerifyModel.verify: time 0.0008546/0.6539, allocations: 0.7441 MB / 1.096 GB, free: 18.94 MB / 0.698 GB Notification: Performance of NFConvertDAE.convert: time 0.003042/0.6569, allocations: 2.364 MB / 1.098 GB, free: 18.23 MB / 0.698 GB Notification: Performance of FrontEnd - DAE generated: time 5.54e-06/0.6569, allocations: 0 / 1.098 GB, free: 18.23 MB / 0.698 GB Notification: Performance of FrontEnd: time 1.964e-06/0.6569, allocations: 0 / 1.098 GB, free: 18.23 MB / 0.698 GB Notification: Performance of Transformations before backend: time 2.324e-05/0.657, allocations: 1.469 kB / 1.098 GB, free: 18.23 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: 188 * Number of variables: 188 Notification: Performance of Generate backend data structure: time 0.002914/0.6599, allocations: 1.699 MB / 1.1 GB, free: 17.11 MB / 0.698 GB Notification: Performance of prepare preOptimizeDAE: time 5.286e-05/0.6599, allocations: 9.469 kB / 1.1 GB, free: 17.11 MB / 0.698 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001004/0.661, allocations: 259.3 kB / 1.1 GB, free: 17.02 MB / 0.698 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002211/0.6632, allocations: 1.311 MB / 1.102 GB, free: 16.27 MB / 0.698 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.974e-05/0.6633, allocations: 72.05 kB / 1.102 GB, free: 16.24 MB / 0.698 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001451/0.6634, allocations: 86.09 kB / 1.102 GB, free: 16.21 MB / 0.698 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001786/0.6652, allocations: 1.021 MB / 1.103 GB, free: 15.74 MB / 0.698 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.084e-05/0.6652, allocations: 1.5 kB / 1.103 GB, free: 15.74 MB / 0.698 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.479e-05/0.6653, allocations: 31.91 kB / 1.103 GB, free: 15.71 MB / 0.698 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.134e-05/0.6653, allocations: 19.16 kB / 1.103 GB, free: 15.71 MB / 0.698 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001632/0.667, allocations: 0.7841 MB / 1.104 GB, free: 15.46 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.005559/0.6726, allocations: 5.159 MB / 1.109 GB, free: 11.64 MB / 0.698 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001363/0.6739, allocations: 0.6474 MB / 1.109 GB, free: 11.43 MB / 0.698 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0007051/0.6747, allocations: 352.6 kB / 1.11 GB, free: 11.32 MB / 0.698 GB Notification: Performance of preOpt evalFunc (simulation): time 0.002329/0.677, allocations: 1.679 MB / 1.111 GB, free: 10.07 MB / 0.698 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0007855/0.6778, allocations: 375.9 kB / 1.112 GB, free: 9.93 MB / 0.698 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.0004692/0.6783, allocations: 108.5 kB / 1.112 GB, free: 9.883 MB / 0.698 GB Notification: Performance of pre-optimization done (n=44): time 2.875e-06/0.6783, allocations: 0 / 1.112 GB, free: 9.883 MB / 0.698 GB Notification: Performance of matching and sorting (n=44): time 0.003916/0.6822, allocations: 1.387 MB / 1.113 GB, free: 9.41 MB / 0.698 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.114e-05/0.6823, allocations: 60.75 kB / 1.113 GB, free: 9.344 MB / 0.698 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001863/0.6841, allocations: 1.317 MB / 1.114 GB, free: 8.844 MB / 0.698 GB Notification: Performance of collectPreVariables (initialization): time 6.27e-05/0.6842, allocations: 40.2 kB / 1.114 GB, free: 8.805 MB / 0.698 GB Notification: Performance of collectInitialEqns (initialization): time 0.0005021/0.6847, allocations: 0.6425 MB / 1.115 GB, free: 8.297 MB / 0.698 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001213/0.6848, allocations: 160.3 kB / 1.115 GB, free: 8.172 MB / 0.698 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.486e-05/0.6849, allocations: 10.25 kB / 1.115 GB, free: 8.164 MB / 0.698 GB Notification: Performance of setup shared object (initialization): time 7.81e-05/0.685, allocations: 332.1 kB / 1.116 GB, free: 7.848 MB / 0.698 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0007004/0.6857, allocations: 305.5 kB / 1.116 GB, free: 7.762 MB / 0.698 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0009435/0.6866, allocations: 0.6445 MB / 1.116 GB, free: 7.23 MB / 0.698 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001583/0.6882, allocations: 0.8971 MB / 1.117 GB, free: 6.652 MB / 0.698 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.436e-06/0.6882, allocations: 2.75 kB / 1.117 GB, free: 6.652 MB / 0.698 GB Notification: Performance of matching and sorting (n=85) (initialization): time 0.00283/0.6911, allocations: 1.209 MB / 1.119 GB, free: 6.195 MB / 0.698 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001936/0.6913, allocations: 347.5 kB / 1.119 GB, free: 5.762 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.833e-05/0.6913, allocations: 12 kB / 1.119 GB, free: 5.758 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0009273/0.6922, allocations: 245.3 kB / 1.119 GB, free: 5.711 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006125/0.6929, allocations: 154.7 kB / 1.119 GB, free: 5.691 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0009202/0.6938, allocations: 0.864 MB / 1.12 GB, free: 5.07 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001277/0.6951, allocations: 109.2 kB / 1.12 GB, free: 5.039 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.422e-05/0.6952, allocations: 37.73 kB / 1.12 GB, free: 5.035 MB / 0.698 GB Notification: Performance of prepare postOptimizeDAE: time 1.148e-05/0.6952, allocations: 4.406 kB / 1.12 GB, free: 5.035 MB / 0.698 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.00161/0.6968, allocations: 0.8719 MB / 1.121 GB, free: 4.695 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.456e-05/0.6969, allocations: 12.75 kB / 1.121 GB, free: 4.691 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003529/0.6972, allocations: 145.7 kB / 1.121 GB, free: 4.66 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000466/0.6977, allocations: 137.9 kB / 1.121 GB, free: 4.645 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002206/0.6999, allocations: 2.349 MB / 1.124 GB, free: 2.859 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001069/0.701, allocations: 79.27 kB / 1.124 GB, free: 2.84 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.293e-05/0.7011, allocations: 39.94 kB / 1.124 GB, free: 2.832 MB / 0.698 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 (not torn): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 0 systems * Non-linear torn systems (#iteration vars, #inner vars): 1 system {(5,7)} Notification: Performance of prepare postOptimizeDAE: time 0.0008274/0.7019, allocations: 480.6 kB / 1.124 GB, free: 2.52 MB / 0.698 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000185/0.7021, allocations: 130.5 kB / 1.124 GB, free: 2.449 MB / 0.698 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002007/0.7041, allocations: 0.9372 MB / 1.125 GB, free: 2.098 MB / 0.698 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.221e-05/0.7041, allocations: 11.67 kB / 1.125 GB, free: 2.094 MB / 0.698 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.485e-06/0.7041, allocations: 0.9375 kB / 1.125 GB, free: 2.094 MB / 0.698 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.001452/0.7056, allocations: 0.9449 MB / 1.126 GB, free: 1.531 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 postOpt removeSimpleEquations (simulation): time 0.003449/0.7091, allocations: 1.998 MB / 1.128 GB, free: 0.5625 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.651e-06/0.7091, allocations: 1.156 kB / 1.128 GB, free: 0.5625 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004251/0.7095, allocations: 91.89 kB / 1.128 GB, free: 0.5508 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0003144/0.7098, allocations: 135.5 kB / 1.128 GB, free: 0.5195 MB / 0.698 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.881e-05/0.7099, allocations: 15.73 kB / 1.128 GB, free: 0.5117 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0006554/0.7105, allocations: 0.8163 MB / 1.129 GB, free: 15.9 MB / 0.7136 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.805e-06/0.7106, allocations: 1.219 kB / 1.129 GB, free: 15.9 MB / 0.7136 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002644/0.7132, allocations: 1.31 MB / 1.131 GB, free: 15.31 MB / 0.7136 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0005826/0.7138, allocations: 282.8 kB / 1.131 GB, free: 15.11 MB / 0.7136 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001446/0.714, allocations: 14.06 kB / 1.131 GB, free: 15.1 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000738/0.7147, allocations: 89.33 kB / 1.131 GB, free: 15.07 MB / 0.7136 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001161/0.7148, allocations: 35.23 kB / 1.131 GB, free: 15.07 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.532e-05/0.7149, allocations: 25.06 kB / 1.131 GB, free: 15.07 MB / 0.7136 GB Notification: Performance of sorting global known variables: time 0.001452/0.7163, allocations: 0.9103 MB / 1.132 GB, free: 14.71 MB / 0.7136 GB Notification: Performance of sort global known variables: time 1.31e-07/0.7164, allocations: 0 / 1.132 GB, free: 14.71 MB / 0.7136 GB Notification: Performance of remove unused functions: time 0.002536/0.7189, allocations: 0.6795 MB / 1.132 GB, free: 14.59 MB / 0.7136 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 (not torn): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 0 systems * Non-linear torn systems (#iteration vars, #inner vars): 1 system {(5,7)} Notification: Performance of Backend phase and start with SimCode phase: time 0.0009589/0.7199, allocations: 382.6 kB / 1.133 GB, free: 14.42 MB / 0.7136 GB Notification: Performance of simCode: created initialization part: time 0.003157/0.723, allocations: 1.456 MB / 1.134 GB, free: 13.82 MB / 0.7136 GB Notification: Performance of simCode: created event and clocks part: time 3.216e-06/0.7231, allocations: 0.9688 kB / 1.134 GB, free: 13.82 MB / 0.7136 GB Notification: Performance of simCode: created simulation system equations: time 0.000871/0.7239, allocations: 358.3 kB / 1.135 GB, free: 13.72 MB / 0.7136 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002971/0.7269, allocations: 0.5894 MB / 1.135 GB, free: 13.55 MB / 0.7136 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004747/0.7317, allocations: 2.741 MB / 1.138 GB, free: 11.87 MB / 0.7136 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001045/0.7327, allocations: 1.268 MB / 1.139 GB, free: 10.77 MB / 0.7136 GB Notification: Performance of simCode: alias equations: time 0.001415/0.7342, allocations: 299.1 kB / 1.139 GB, free: 10.54 MB / 0.7136 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002766/0.7344, allocations: 101.8 kB / 1.139 GB, free: 10.45 MB / 0.7136 GB Notification: Performance of SimCode: time 1.773e-06/0.7345, allocations: 0 / 1.139 GB, free: 10.45 MB / 0.7136 GB Notification: Performance of Templates: time 0.04904/0.7835, allocations: 25.85 MB / 1.165 GB, free: 4.719 MB / 0.7292 GB make -j1 -f Buildings_latest_Buildings.Fluid.Examples.Performance.Example2.makefile (rm -f Buildings_latest_Buildings.Fluid.Examples.Performance.Example2.pipe ; mkfifo Buildings_latest_Buildings.Fluid.Examples.Performance.Example2.pipe ; head -c 1048576 < Buildings_latest_Buildings.Fluid.Examples.Performance.Example2.pipe >> ../files/Buildings_latest_Buildings.Fluid.Examples.Performance.Example2.sim & ./Buildings_latest_Buildings.Fluid.Examples.Performance.Example2 -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_latest_Buildings.Fluid.Examples.Performance.Example2.pipe 2>&1)