Running: ./testmodel.py --libraries=/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8_Buildings.Fluid.Examples.Performance.PressureDrop.SeriesFlowOptimised.conf.json loadFile("/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Buildings 8.1.1-maint.8.1.x/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 8.1.1 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Buildings 8.1.1-maint.8.1.x/package.mo) Running command: translateModel(Buildings.Fluid.Examples.Performance.PressureDrop.SeriesFlowOptimised,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_Buildings.Fluid.Examples.Performance.PressureDrop.SeriesFlowOptimised") translateModel(Buildings.Fluid.Examples.Performance.PressureDrop.SeriesFlowOptimised,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_Buildings.Fluid.Examples.Performance.PressureDrop.SeriesFlowOptimised") Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Buildings 8.1.1-maint.8.1.x/package.mo): time 1.599/1.599, allocations: 297.4 MB / 312.6 MB, free: 2.91 MB / 234.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.0009632/0.0009631, allocations: 189.2 kB / 382.3 MB, free: 14.82 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.366/1.366, allocations: 225.7 MB / 0.6617 GB, free: 7.207 MB / 490.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.0007557/0.0007558, allocations: 96.84 kB / 0.7789 GB, free: 46.89 MB / 0.5417 GB Notification: Performance of FrontEnd - loaded program: time 0.0003325/0.0003327, allocations: 12 kB / 0.9058 GB, free: 4.934 MB / 0.6198 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.603/0.6034, allocations: 119.2 MB / 1.022 GB, free: 57.8 MB / 0.698 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Examples.Performance.PressureDrop.SeriesFlowOptimised): time 0.1447/0.7482, allocations: 150.5 MB / 1.169 GB, free: 13.34 MB / 0.7605 GB Notification: Performance of NFInst.instExpressions: time 0.004043/0.7522, allocations: 2.612 MB / 1.172 GB, free: 11.05 MB / 0.7605 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0005075/0.7528, allocations: 13.19 kB / 1.172 GB, free: 11.04 MB / 0.7605 GB Notification: Performance of NFTyping.typeComponents: time 0.0007109/0.7535, allocations: 138.8 kB / 1.172 GB, free: 10.96 MB / 0.7605 GB Notification: Performance of NFTyping.typeBindings: time 0.001801/0.7553, allocations: 0.4887 MB / 1.172 GB, free: 10.71 MB / 0.7605 GB Notification: Performance of NFTyping.typeClassSections: time 0.001332/0.7567, allocations: 345.5 kB / 1.173 GB, free: 10.55 MB / 0.7605 GB Notification: Performance of NFFlatten.flatten: time 0.003882/0.7606, allocations: 3.49 MB / 1.176 GB, free: 9.348 MB / 0.7605 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001345/0.762, allocations: 0.7391 MB / 1.177 GB, free: 9.066 MB / 0.7605 GB Notification: Performance of NFEvalConstants.evaluate: time 0.002061/0.764, allocations: 0.9104 MB / 1.178 GB, free: 8.699 MB / 0.7605 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001295/0.7653, allocations: 0.732 MB / 1.178 GB, free: 8.398 MB / 0.7605 GB Notification: Performance of NFPackage.collectConstants: time 0.0001924/0.7655, allocations: 34.22 kB / 1.179 GB, free: 8.398 MB / 0.7605 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002008/0.7676, allocations: 0.7924 MB / 1.179 GB, free: 8.148 MB / 0.7605 GB Notification: Performance of NFScalarize.scalarize: time 0.0004091/0.768, allocations: 275.3 kB / 1.18 GB, free: 8.043 MB / 0.7605 GB Notification: Performance of NFVerifyModel.verify: time 0.001168/0.7692, allocations: 0.5408 MB / 1.18 GB, free: 7.727 MB / 0.7605 GB Notification: Performance of NFConvertDAE.convert: time 0.002192/0.7714, allocations: 1.396 MB / 1.181 GB, free: 7.297 MB / 0.7605 GB Notification: Performance of FrontEnd - DAE generated: time 4.388e-06/0.7714, allocations: 5.344 kB / 1.181 GB, free: 7.293 MB / 0.7605 GB Notification: Performance of FrontEnd: time 1.122e-06/0.7714, allocations: 0 / 1.181 GB, free: 7.293 MB / 0.7605 GB Notification: Performance of Transformations before backend: time 4.551e-05/0.7714, allocations: 0 / 1.181 GB, free: 7.293 MB / 0.7605 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 126 * Number of variables: 126 Notification: Performance of Generate backend data structure: time 0.002777/0.7742, allocations: 1.3 MB / 1.183 GB, free: 6.391 MB / 0.7605 GB Notification: Performance of prepare preOptimizeDAE: time 3.519e-05/0.7743, allocations: 9.562 kB / 1.183 GB, free: 6.391 MB / 0.7605 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0009513/0.7752, allocations: 182.4 kB / 1.183 GB, free: 6.324 MB / 0.7605 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002043/0.7773, allocations: 0.8363 MB / 1.184 GB, free: 5.836 MB / 0.7605 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.775e-05/0.7774, allocations: 47.67 kB / 1.184 GB, free: 5.816 MB / 0.7605 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001204/0.7775, allocations: 57.53 kB / 1.184 GB, free: 5.801 MB / 0.7605 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001448/0.779, allocations: 0.7967 MB / 1.185 GB, free: 5.379 MB / 0.7605 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.816e-05/0.779, allocations: 5.688 kB / 1.185 GB, free: 5.375 MB / 0.7605 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.592e-05/0.7791, allocations: 21.38 kB / 1.185 GB, free: 5.359 MB / 0.7605 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.5e-05/0.7791, allocations: 13.41 kB / 1.185 GB, free: 5.359 MB / 0.7605 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001107/0.7802, allocations: 0.5434 MB / 1.185 GB, free: 5.207 MB / 0.7605 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.004685/0.7849, allocations: 4.606 MB / 1.19 GB, free: 1.309 MB / 0.7605 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0007571/0.7857, allocations: 432.8 kB / 1.19 GB, free: 1.172 MB / 0.7605 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004137/0.7861, allocations: 250.6 kB / 1.19 GB, free: 1.098 MB / 0.7605 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002901/0.7864, allocations: 198.9 kB / 1.191 GB, free: 0.8984 MB / 0.7605 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0005265/0.7869, allocations: 298.4 kB / 1.191 GB, free: 0.7734 MB / 0.7605 GB Notification: Performance of pre-optimization done (n=31): time 2.254e-06/0.7869, allocations: 0.9062 kB / 1.191 GB, free: 0.7734 MB / 0.7605 GB Notification: Performance of matching and sorting (n=31): time 0.001451/0.7884, allocations: 0.643 MB / 1.191 GB, free: 432 kB / 0.7605 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.958e-05/0.7885, allocations: 85.67 kB / 1.192 GB, free: 328 kB / 0.7605 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001706/0.7902, allocations: 1.116 MB / 1.193 GB, free: 15.4 MB / 0.7761 GB Notification: Performance of collectPreVariables (initialization): time 6.428e-05/0.7903, allocations: 38.41 kB / 1.193 GB, free: 15.36 MB / 0.7761 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004654/0.7907, allocations: 497 kB / 1.193 GB, free: 14.9 MB / 0.7761 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001103/0.7908, allocations: 111.8 kB / 1.193 GB, free: 14.8 MB / 0.7761 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.621e-05/0.7909, allocations: 12 kB / 1.193 GB, free: 14.79 MB / 0.7761 GB Notification: Performance of setup shared object (initialization): time 0.0001435/0.791, allocations: 328.1 kB / 1.194 GB, free: 14.47 MB / 0.7761 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004799/0.7915, allocations: 215.4 kB / 1.194 GB, free: 14.31 MB / 0.7761 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0008109/0.7923, allocations: 0.5202 MB / 1.194 GB, free: 13.72 MB / 0.7761 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001176/0.7935, allocations: 0.6442 MB / 1.195 GB, free: 13.09 MB / 0.7761 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.714e-06/0.7935, allocations: 0 / 1.195 GB, free: 13.09 MB / 0.7761 GB Notification: Performance of matching and sorting (n=54) (initialization): time 0.00156/0.7951, allocations: 0.7303 MB / 1.196 GB, free: 12.45 MB / 0.7761 GB Notification: Performance of prepare postOptimizeDAE: time 0.0002447/0.7954, allocations: 274.7 kB / 1.196 GB, free: 12.1 MB / 0.7761 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.363e-05/0.7954, allocations: 8 kB / 1.196 GB, free: 12.09 MB / 0.7761 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.121e-05/0.7954, allocations: 11.94 kB / 1.196 GB, free: 12.08 MB / 0.7761 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000478/0.7959, allocations: 110.9 kB / 1.196 GB, free: 11.99 MB / 0.7761 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.884e-05/0.7959, allocations: 13.2 kB / 1.196 GB, free: 11.98 MB / 0.7761 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00108/0.797, allocations: 105.9 kB / 1.196 GB, free: 11.89 MB / 0.7761 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.912e-05/0.7971, allocations: 26.28 kB / 1.196 GB, free: 11.87 MB / 0.7761 GB Notification: Performance of prepare postOptimizeDAE: time 7.394e-06/0.7971, allocations: 0 / 1.196 GB, free: 11.87 MB / 0.7761 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.001036/0.7982, allocations: 0.5504 MB / 1.197 GB, free: 11.39 MB / 0.7761 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.06e-05/0.7982, allocations: 4 kB / 1.197 GB, free: 11.39 MB / 0.7761 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.043e-05/0.7982, allocations: 8.797 kB / 1.197 GB, free: 11.38 MB / 0.7761 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003857/0.7986, allocations: 112.9 kB / 1.197 GB, free: 11.29 MB / 0.7761 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.297e-05/0.7986, allocations: 12.7 kB / 1.197 GB, free: 11.28 MB / 0.7761 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0009743/0.7996, allocations: 94.62 kB / 1.197 GB, free: 11.2 MB / 0.7761 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.797e-05/0.7997, allocations: 20.56 kB / 1.197 GB, free: 11.18 MB / 0.7761 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 24 * Number of states: 0 () * Number of discrete variables: 5 ($whenCondition1,$PRE.pulse_p.T_start,pulse_p.T_start,$PRE.pulse_p.count,pulse_p.count) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (53): * Single equations (assignments): 52 * Array equations: 0 * Algorithm blocks: 1 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0007451/0.8004, allocations: 475.1 kB / 1.197 GB, free: 10.78 MB / 0.7761 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002254/0.8007, allocations: 99.39 kB / 1.197 GB, free: 10.68 MB / 0.7761 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001066/0.8017, allocations: 0.4968 MB / 1.198 GB, free: 10.27 MB / 0.7761 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.817e-06/0.8018, allocations: 9.438 kB / 1.198 GB, free: 10.26 MB / 0.7761 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.821e-06/0.8018, allocations: 0 / 1.198 GB, free: 10.26 MB / 0.7761 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.661e-06/0.8018, allocations: 5.531 kB / 1.198 GB, free: 10.26 MB / 0.7761 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002488/0.8043, allocations: 1.395 MB / 1.199 GB, free: 9.027 MB / 0.7761 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.851e-06/0.8043, allocations: 4 kB / 1.199 GB, free: 9.023 MB / 0.7761 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002574/0.8046, allocations: 63.84 kB / 1.199 GB, free: 8.973 MB / 0.7761 GB Notification: Performance of postOpt tearingSystem (simulation): time 9.307e-06/0.8046, allocations: 7.938 kB / 1.199 GB, free: 8.965 MB / 0.7761 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.853e-05/0.8046, allocations: 9.453 kB / 1.199 GB, free: 8.957 MB / 0.7761 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.973e-06/0.8046, allocations: 4.75 kB / 1.199 GB, free: 8.953 MB / 0.7761 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.819e-06/0.8046, allocations: 0 / 1.199 GB, free: 8.953 MB / 0.7761 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008671/0.8055, allocations: 0.619 MB / 1.2 GB, free: 8.367 MB / 0.7761 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0004073/0.8059, allocations: 225.9 kB / 1.2 GB, free: 8.145 MB / 0.7761 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001636/0.8061, allocations: 8.797 kB / 1.2 GB, free: 8.137 MB / 0.7761 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005337/0.8066, allocations: 53.95 kB / 1.2 GB, free: 8.098 MB / 0.7761 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.979e-05/0.8067, allocations: 29.27 kB / 1.2 GB, free: 8.078 MB / 0.7761 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.923e-05/0.8068, allocations: 17.17 kB / 1.2 GB, free: 8.062 MB / 0.7761 GB Notification: Performance of sorting global known variables: time 0.001209/0.808, allocations: 0.7826 MB / 1.201 GB, free: 7.422 MB / 0.7761 GB Notification: Performance of sort global known variables: time 3.1e-07/0.808, allocations: 4 kB / 1.201 GB, free: 7.418 MB / 0.7761 GB Notification: Performance of remove unused functions: time 0.001418/0.8094, allocations: 412.8 kB / 1.201 GB, free: 7.016 MB / 0.7761 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 8 * Number of states: 0 () * Number of discrete variables: 3 ($whenCondition1,pulse_p.T_start,pulse_p.count) * Number of discrete states: 1 (pulse_p.count) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (31): * Single equations (assignments): 29 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 2 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0004716/0.8099, allocations: 178.9 kB / 1.202 GB, free: 6.852 MB / 0.7761 GB Notification: Performance of simCode: created initialization part: time 0.001651/0.8116, allocations: 0.8336 MB / 1.202 GB, free: 6.121 MB / 0.7761 GB Notification: Performance of simCode: created event and clocks part: time 4.118e-06/0.8116, allocations: 0 / 1.202 GB, free: 6.121 MB / 0.7761 GB Notification: Performance of simCode: created simulation system equations: time 0.00041/0.812, allocations: 202.8 kB / 1.203 GB, free: 5.957 MB / 0.7761 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002683/0.8147, allocations: 456.8 kB / 1.203 GB, free: 5.617 MB / 0.7761 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003492/0.8182, allocations: 2.051 MB / 1.205 GB, free: 3.719 MB / 0.7761 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0008484/0.8191, allocations: 1.184 MB / 1.206 GB, free: 2.668 MB / 0.7761 GB Notification: Performance of simCode: alias equations: time 0.001312/0.8204, allocations: 421.1 kB / 1.207 GB, free: 2.387 MB / 0.7761 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002324/0.8206, allocations: 76.08 kB / 1.207 GB, free: 2.316 MB / 0.7761 GB Notification: Performance of SimCode: time 8.02e-07/0.8207, allocations: 0 / 1.207 GB, free: 2.316 MB / 0.7761 GB Notification: Performance of Templates: time 0.02987/0.8505, allocations: 16.48 MB / 1.223 GB, free: 3.148 MB / 0.7917 GB make -j1 -f Buildings_8_Buildings.Fluid.Examples.Performance.PressureDrop.SeriesFlowOptimised.makefile (rm -f Buildings_8_Buildings.Fluid.Examples.Performance.PressureDrop.SeriesFlowOptimised.pipe ; mkfifo Buildings_8_Buildings.Fluid.Examples.Performance.PressureDrop.SeriesFlowOptimised.pipe ; head -c 1048576 < Buildings_8_Buildings.Fluid.Examples.Performance.PressureDrop.SeriesFlowOptimised.pipe >> ../files/Buildings_8_Buildings.Fluid.Examples.Performance.PressureDrop.SeriesFlowOptimised.sim & ./Buildings_8_Buildings.Fluid.Examples.Performance.PressureDrop.SeriesFlowOptimised -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_8_Buildings.Fluid.Examples.Performance.PressureDrop.SeriesFlowOptimised.pipe 2>&1)