Running: ./testmodel.py --libraries=/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_7.0.0_Buildings.Fluid.Examples.Performance.Example3.conf.json loadFile("/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Buildings 7.0.1/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 7.0.1 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Buildings 7.0.1/package.mo) Running command: translateModel(Buildings.Fluid.Examples.Performance.Example3,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_7.0.0_Buildings.Fluid.Examples.Performance.Example3") translateModel(Buildings.Fluid.Examples.Performance.Example3,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_7.0.0_Buildings.Fluid.Examples.Performance.Example3") Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Buildings 7.0.1/package.mo): time 2.2/2.2, allocations: 254.9 MB / 269.9 MB, free: 9.629 MB / 218.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.001384/0.001384, allocations: 185 kB / 329.5 MB, free: 1.145 MB / 250.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 2.459/2.459, allocations: 225.6 MB / 0.6001 GB, free: 2.18 MB / 426.7 MB Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0009425/0.0009423, allocations: 113.6 kB / 0.7074 GB, free: 7.875 MB / 0.5261 GB Notification: Performance of FrontEnd - loaded program: time 0.0004731/0.0004733, allocations: 11.69 kB / 0.8242 GB, free: 124.4 MB / 0.5886 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2468/0.2473, allocations: 109.1 MB / 0.9308 GB, free: 25.14 MB / 0.5886 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Examples.Performance.Example3): time 0.04182/0.2891, allocations: 30.14 MB / 0.9602 GB, free: 10.91 MB / 0.6042 GB Notification: Performance of NFInst.instExpressions: time 0.02799/0.3172, allocations: 12.26 MB / 0.9722 GB, free: 14.62 MB / 0.6198 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001774/0.319, allocations: 43.69 kB / 0.9722 GB, free: 14.58 MB / 0.6198 GB Notification: Performance of NFTyping.typeComponents: time 0.002684/0.3218, allocations: 497 kB / 0.9727 GB, free: 14.09 MB / 0.6198 GB Notification: Performance of NFTyping.typeBindings: time 0.0054/0.3273, allocations: 1.283 MB / 0.9739 GB, free: 12.8 MB / 0.6198 GB Notification: Performance of NFTyping.typeClassSections: time 0.004842/0.3321, allocations: 1.064 MB / 0.975 GB, free: 11.74 MB / 0.6198 GB Notification: Performance of NFFlatten.flatten: time 0.009924/0.3421, allocations: 5.536 MB / 0.9804 GB, free: 6.188 MB / 0.6198 GB Notification: Performance of NFFlatten.resolveConnections: time 0.003979/0.3461, allocations: 1.662 MB / 0.982 GB, free: 4.496 MB / 0.6198 GB Notification: Performance of NFEvalConstants.evaluate: time 0.004807/0.351, allocations: 1.556 MB / 0.9835 GB, free: 2.934 MB / 0.6198 GB Notification: Performance of NFSimplifyModel.simplify: time 0.003546/0.3546, allocations: 1.295 MB / 0.9848 GB, free: 1.633 MB / 0.6198 GB Notification: Performance of NFPackage.collectConstants: time 0.000683/0.3553, allocations: 72 kB / 0.9849 GB, free: 1.562 MB / 0.6198 GB Notification: Performance of NFFlatten.collectFunctions: time 0.003888/0.3592, allocations: 0.8815 MB / 0.9857 GB, free: 0.6797 MB / 0.6198 GB Notification: Performance of NFScalarize.scalarize: time 0.001053/0.3603, allocations: 382.3 kB / 0.9861 GB, free: 312 kB / 0.6198 GB Notification: Performance of NFVerifyModel.verify: time 0.001019/0.3614, allocations: 396.8 kB / 0.9865 GB, free: 15.91 MB / 0.6355 GB Notification: Performance of NFConvertDAE.convert: time 0.004804/0.3662, allocations: 2.166 MB / 0.9886 GB, free: 13.74 MB / 0.6355 GB Notification: Performance of FrontEnd - DAE generated: time 7.955e-06/0.3663, allocations: 4 kB / 0.9886 GB, free: 13.73 MB / 0.6355 GB Notification: Performance of FrontEnd: time 3.026e-06/0.3663, allocations: 0 / 0.9886 GB, free: 13.73 MB / 0.6355 GB Notification: Performance of Transformations before backend: time 0.0001073/0.3664, allocations: 0 / 0.9886 GB, free: 13.73 MB / 0.6355 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 235 * Number of variables: 235 Notification: Performance of Generate backend data structure: time 0.006568/0.373, allocations: 2.093 MB / 0.9906 GB, free: 11.57 MB / 0.6355 GB Notification: Performance of prepare preOptimizeDAE: time 4.598e-05/0.3731, allocations: 12.03 kB / 0.9906 GB, free: 11.56 MB / 0.6355 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002374/0.3755, allocations: 314.2 kB / 0.9909 GB, free: 11.25 MB / 0.6355 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.005517/0.381, allocations: 1.576 MB / 0.9925 GB, free: 9.633 MB / 0.6355 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001493/0.3812, allocations: 78 kB / 0.9925 GB, free: 9.555 MB / 0.6355 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003549/0.3816, allocations: 107.9 kB / 0.9926 GB, free: 9.449 MB / 0.6355 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.004332/0.386, allocations: 1.33 MB / 0.9939 GB, free: 8.047 MB / 0.6355 GB Notification: Performance of preOpt findStateOrder (simulation): time 5.244e-05/0.3861, allocations: 3.938 kB / 0.9939 GB, free: 8.043 MB / 0.6355 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001866/0.3863, allocations: 40 kB / 0.994 GB, free: 8.004 MB / 0.6355 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.705e-05/0.3863, allocations: 27.94 kB / 0.994 GB, free: 7.977 MB / 0.6355 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.004375/0.3907, allocations: 1.058 MB / 0.995 GB, free: 6.914 MB / 0.6355 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.0147/0.4055, allocations: 6.976 MB / 1.002 GB, free: 15.44 MB / 0.6511 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002816/0.4083, allocations: 0.6721 MB / 1.003 GB, free: 14.76 MB / 0.6511 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001527/0.4099, allocations: 431.4 kB / 1.003 GB, free: 14.34 MB / 0.6511 GB Notification: Performance of preOpt evalFunc (simulation): time 0.005158/0.4151, allocations: 1.823 MB / 1.005 GB, free: 12.38 MB / 0.6511 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001536/0.4167, allocations: 413 kB / 1.005 GB, free: 11.96 MB / 0.6511 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.001142/0.4179, allocations: 103.3 kB / 1.005 GB, free: 11.86 MB / 0.6511 GB Notification: Performance of pre-optimization done (n=46): time 8.035e-06/0.4179, allocations: 0 / 1.005 GB, free: 11.86 MB / 0.6511 GB Notification: Performance of matching and sorting (n=46): time 0.008332/0.4263, allocations: 1.534 MB / 1.007 GB, free: 10.29 MB / 0.6511 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.93e-05/0.4264, allocations: 63.34 kB / 1.007 GB, free: 10.22 MB / 0.6511 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.004192/0.4306, allocations: 1.843 MB / 1.009 GB, free: 8.332 MB / 0.6511 GB Notification: Performance of collectPreVariables (initialization): time 0.000196/0.4308, allocations: 37.7 kB / 1.009 GB, free: 8.289 MB / 0.6511 GB Notification: Performance of collectInitialEqns (initialization): time 0.001184/0.432, allocations: 0.8499 MB / 1.009 GB, free: 7.43 MB / 0.6511 GB Notification: Performance of collectInitialBindings (initialization): time 0.0003057/0.4324, allocations: 169.7 kB / 1.01 GB, free: 7.262 MB / 0.6511 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.202e-05/0.4325, allocations: 12 kB / 1.01 GB, free: 7.25 MB / 0.6511 GB Notification: Performance of setup shared object (initialization): time 0.0001589/0.4326, allocations: 334 kB / 1.01 GB, free: 6.918 MB / 0.6511 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001342/0.434, allocations: 325.8 kB / 1.01 GB, free: 6.602 MB / 0.6511 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00176/0.4358, allocations: 0.7816 MB / 1.011 GB, free: 5.613 MB / 0.6511 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001562/0.4374, allocations: 458.1 kB / 1.011 GB, free: 5.16 MB / 0.6511 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.068e-05/0.4374, allocations: 4 kB / 1.011 GB, free: 5.156 MB / 0.6511 GB Notification: Performance of matching and sorting (n=99) (initialization): time 0.005186/0.4426, allocations: 1.343 MB / 1.013 GB, free: 3.793 MB / 0.6511 GB Notification: Performance of prepare postOptimizeDAE: time 0.0003905/0.443, allocations: 427.3 kB / 1.013 GB, free: 3.227 MB / 0.6511 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.049e-05/0.4431, allocations: 8 kB / 1.013 GB, free: 3.219 MB / 0.6511 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001609/0.4447, allocations: 228.5 kB / 1.013 GB, free: 2.992 MB / 0.6511 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001376/0.4461, allocations: 175.6 kB / 1.014 GB, free: 2.82 MB / 0.6511 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001341/0.4475, allocations: 0.8488 MB / 1.014 GB, free: 1.945 MB / 0.6511 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002467/0.4499, allocations: 124.5 kB / 1.014 GB, free: 1.824 MB / 0.6511 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001675/0.4501, allocations: 47.98 kB / 1.015 GB, free: 1.777 MB / 0.6511 GB Notification: Performance of prepare postOptimizeDAE: time 1.57e-05/0.4502, allocations: 7.906 kB / 1.015 GB, free: 1.77 MB / 0.6511 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.003208/0.4534, allocations: 1.035 MB / 1.016 GB, free: 0.7227 MB / 0.6511 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.128e-05/0.4535, allocations: 8 kB / 1.016 GB, free: 0.7148 MB / 0.6511 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0007045/0.4542, allocations: 156.7 kB / 1.016 GB, free: 0.5586 MB / 0.6511 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001084/0.4553, allocations: 164 kB / 1.016 GB, free: 408 kB / 0.6511 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004262/0.4595, allocations: 2.353 MB / 1.018 GB, free: 13.91 MB / 0.6667 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002198/0.4618, allocations: 112.5 kB / 1.018 GB, free: 13.8 MB / 0.6667 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001414/0.462, allocations: 47.98 kB / 1.018 GB, free: 13.75 MB / 0.6667 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 46 * Number of states: 0 () * Number of discrete variables: 8 ($whenCondition1,$PRE.pulse.T_start,pulse.T_start,$PRE.pulse.count,pulse.count,nRes.y,from_dp.y,mergeDp.y) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (85): * Single equations (assignments): 82 * 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 {1 12} Notification: Performance of prepare postOptimizeDAE: time 0.001353/0.4633, allocations: 0.5751 MB / 1.019 GB, free: 13.16 MB / 0.6667 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004704/0.4638, allocations: 177.8 kB / 1.019 GB, free: 12.99 MB / 0.6667 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003939/0.4678, allocations: 1.074 MB / 1.02 GB, free: 11.91 MB / 0.6667 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.777e-05/0.4678, allocations: 8 kB / 1.02 GB, free: 11.9 MB / 0.6667 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.042e-06/0.4679, allocations: 4 kB / 1.02 GB, free: 11.89 MB / 0.6667 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.00311/0.471, allocations: 1.027 MB / 1.021 GB, free: 10.8 MB / 0.6667 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.00798/0.479, allocations: 2.331 MB / 1.023 GB, free: 8.383 MB / 0.6667 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.917e-06/0.4791, allocations: 0 / 1.023 GB, free: 8.383 MB / 0.6667 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001135/0.4802, allocations: 95.86 kB / 1.023 GB, free: 8.289 MB / 0.6667 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0007687/0.481, allocations: 148.8 kB / 1.024 GB, free: 8.141 MB / 0.6667 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.887e-05/0.4811, allocations: 19.92 kB / 1.024 GB, free: 8.121 MB / 0.6667 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001443/0.4826, allocations: 0.8097 MB / 1.024 GB, free: 7.285 MB / 0.6667 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.617e-06/0.4826, allocations: 0 / 1.024 GB, free: 7.285 MB / 0.6667 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.007001/0.4896, allocations: 1.48 MB / 1.026 GB, free: 5.773 MB / 0.6667 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001566/0.4912, allocations: 346.7 kB / 1.026 GB, free: 5.414 MB / 0.6667 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000477/0.4917, allocations: 12.06 kB / 1.026 GB, free: 5.402 MB / 0.6667 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002645/0.4944, allocations: 95.83 kB / 1.026 GB, free: 5.309 MB / 0.6667 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002259/0.4946, allocations: 56.23 kB / 1.026 GB, free: 5.254 MB / 0.6667 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001182/0.4948, allocations: 23.98 kB / 1.026 GB, free: 5.23 MB / 0.6667 GB Notification: Performance of sorting global known variables: time 0.003941/0.4987, allocations: 1.27 MB / 1.028 GB, free: 3.938 MB / 0.6667 GB Notification: Performance of sort global known variables: time 1.403e-06/0.4988, allocations: 0 / 1.028 GB, free: 3.938 MB / 0.6667 GB Notification: Performance of remove unused functions: time 0.005264/0.5041, allocations: 0.8384 MB / 1.028 GB, free: 3.098 MB / 0.6667 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 3 * Number of states: 1 (pump.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 (40): * Single equations (assignments): 34 * 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 {1 12} Notification: Performance of Backend phase and start with SimCode phase: time 0.001671/0.5058, allocations: 366.8 kB / 1.029 GB, free: 2.738 MB / 0.6667 GB Notification: Performance of simCode: created initialization part: time 0.006784/0.5127, allocations: 1.533 MB / 1.03 GB, free: 1.172 MB / 0.6667 GB Notification: Performance of simCode: created event and clocks part: time 7.865e-06/0.5127, allocations: 3.938 kB / 1.03 GB, free: 1.168 MB / 0.6667 GB Notification: Performance of simCode: created simulation system equations: time 0.001923/0.5147, allocations: 370.4 kB / 1.031 GB, free: 0.8047 MB / 0.6667 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.6373/1.152, allocations: 0.8421 MB / 1.031 GB, free: 99.13 MB / 0.6667 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.009028/1.161, allocations: 3.453 MB / 1.035 GB, free: 97.71 MB / 0.6667 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001975/1.163, allocations: 1.492 MB / 1.036 GB, free: 97 MB / 0.6667 GB Notification: Performance of simCode: alias equations: time 0.002914/1.166, allocations: 437 kB / 1.037 GB, free: 96.98 MB / 0.6667 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0006316/1.167, allocations: 131.8 kB / 1.037 GB, free: 96.98 MB / 0.6667 GB Notification: Performance of SimCode: time 1.092e-06/1.167, allocations: 0 / 1.037 GB, free: 96.98 MB / 0.6667 GB Notification: Performance of Templates: time 0.1/1.267, allocations: 32.15 MB / 1.068 GB, free: 86.18 MB / 0.6667 GB make -j1 -f Buildings_7.0.0_Buildings.Fluid.Examples.Performance.Example3.makefile (rm -f Buildings_7.0.0_Buildings.Fluid.Examples.Performance.Example3.pipe ; mkfifo Buildings_7.0.0_Buildings.Fluid.Examples.Performance.Example3.pipe ; head -c 1048576 < Buildings_7.0.0_Buildings.Fluid.Examples.Performance.Example3.pipe >> ../files/Buildings_7.0.0_Buildings.Fluid.Examples.Performance.Example3.sim & ./Buildings_7.0.0_Buildings.Fluid.Examples.Performance.Example3 -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_7.0.0_Buildings.Fluid.Examples.Performance.Example3.pipe 2>&1)