Running: ./testmodel.py --libraries=/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_latest_Buildings.Fluid.Examples.Performance.PressureDrop.SeriesFlowOptimised.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.PressureDrop.SeriesFlowOptimised,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_latest_Buildings.Fluid.Examples.Performance.PressureDrop.SeriesFlowOptimised") translateModel(Buildings.Fluid.Examples.Performance.PressureDrop.SeriesFlowOptimised,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_latest_Buildings.Fluid.Examples.Performance.PressureDrop.SeriesFlowOptimised") Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Buildings 9.0.0-master/package.mo): time 1.716/1.716, allocations: 306.1 MB / 321.3 MB, free: 10.72 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.0009963/0.0009964, allocations: 191.2 kB / 393.1 MB, free: 4.086 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.334/1.334, allocations: 225.7 MB / 0.6743 GB, free: 12.6 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.0007698/0.0007698, allocations: 93.22 kB / 0.7935 GB, free: 40.18 MB / 0.5417 GB Notification: Performance of FrontEnd - loaded program: time 0.0003364/0.0003365, allocations: 8 kB / 0.9224 GB, free: 8.668 MB / 0.6355 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5809/0.5812, allocations: 121.3 MB / 1.041 GB, free: 58.71 MB / 0.698 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Examples.Performance.PressureDrop.SeriesFlowOptimised): time 0.1637/0.745, allocations: 150.5 MB / 1.188 GB, free: 10.88 MB / 0.7605 GB Notification: Performance of NFInst.instExpressions: time 0.00334/0.7484, allocations: 2.631 MB / 1.19 GB, free: 8.211 MB / 0.7605 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003525/0.7487, allocations: 7.938 kB / 1.19 GB, free: 8.203 MB / 0.7605 GB Notification: Performance of NFTyping.typeComponents: time 0.0005044/0.7493, allocations: 131.5 kB / 1.191 GB, free: 8.105 MB / 0.7605 GB Notification: Performance of NFTyping.typeBindings: time 0.001313/0.7506, allocations: 0.4949 MB / 1.191 GB, free: 7.723 MB / 0.7605 GB Notification: Performance of NFTyping.typeClassSections: time 0.001119/0.7517, allocations: 348.9 kB / 1.191 GB, free: 7.457 MB / 0.7605 GB Notification: Performance of NFFlatten.flatten: time 0.003856/0.7556, allocations: 3.484 MB / 1.195 GB, free: 4.633 MB / 0.7605 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001191/0.7568, allocations: 0.7381 MB / 1.195 GB, free: 4.016 MB / 0.7605 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001761/0.7586, allocations: 0.9049 MB / 1.196 GB, free: 3.23 MB / 0.7605 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001229/0.7598, allocations: 0.7423 MB / 1.197 GB, free: 2.598 MB / 0.7605 GB Notification: Performance of NFPackage.collectConstants: time 0.0001545/0.76, allocations: 36 kB / 1.197 GB, free: 2.562 MB / 0.7605 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001786/0.7618, allocations: 0.7906 MB / 1.198 GB, free: 1.953 MB / 0.7605 GB Notification: Performance of NFScalarize.scalarize: time 0.0005894/0.7624, allocations: 277.9 kB / 1.198 GB, free: 1.758 MB / 0.7605 GB Notification: Performance of NFVerifyModel.verify: time 0.001168/0.7636, allocations: 0.5417 MB / 1.199 GB, free: 1.234 MB / 0.7605 GB Notification: Performance of NFConvertDAE.convert: time 0.002208/0.7658, allocations: 1.397 MB / 1.2 GB, free: 248 kB / 0.7605 GB Notification: Performance of FrontEnd - DAE generated: time 6.352e-06/0.7658, allocations: 0 / 1.2 GB, free: 248 kB / 0.7605 GB Notification: Performance of FrontEnd: time 2.345e-06/0.7658, allocations: 0 / 1.2 GB, free: 248 kB / 0.7605 GB Notification: Performance of Transformations before backend: time 5.212e-05/0.7659, allocations: 4 kB / 1.2 GB, free: 244 kB / 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.002715/0.7686, allocations: 1.299 MB / 1.201 GB, free: 15 MB / 0.7761 GB Notification: Performance of prepare preOptimizeDAE: time 3.923e-05/0.7686, allocations: 12.69 kB / 1.201 GB, free: 14.98 MB / 0.7761 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0008311/0.7695, allocations: 181.3 kB / 1.202 GB, free: 14.82 MB / 0.7761 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001689/0.7712, allocations: 0.8395 MB / 1.202 GB, free: 14.05 MB / 0.7761 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.129e-05/0.7712, allocations: 45.56 kB / 1.202 GB, free: 14.01 MB / 0.7761 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001046/0.7713, allocations: 60 kB / 1.202 GB, free: 13.95 MB / 0.7761 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00152/0.7729, allocations: 0.7939 MB / 1.203 GB, free: 13.23 MB / 0.7761 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.774e-05/0.7729, allocations: 3.938 kB / 1.203 GB, free: 13.23 MB / 0.7761 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.395e-05/0.773, allocations: 24 kB / 1.203 GB, free: 13.21 MB / 0.7761 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.867e-05/0.773, allocations: 12.75 kB / 1.203 GB, free: 13.2 MB / 0.7761 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001091/0.7741, allocations: 0.5428 MB / 1.204 GB, free: 12.76 MB / 0.7761 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.005228/0.7793, allocations: 4.597 MB / 1.208 GB, free: 8.199 MB / 0.7761 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000783/0.7801, allocations: 437.7 kB / 1.209 GB, free: 7.84 MB / 0.7761 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.000471/0.7806, allocations: 250.3 kB / 1.209 GB, free: 7.637 MB / 0.7761 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0003404/0.781, allocations: 198.5 kB / 1.209 GB, free: 7.414 MB / 0.7761 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0006117/0.7816, allocations: 301.3 kB / 1.209 GB, free: 7.168 MB / 0.7761 GB Notification: Performance of pre-optimization done (n=31): time 1.683e-06/0.7816, allocations: 0 / 1.209 GB, free: 7.168 MB / 0.7761 GB Notification: Performance of matching and sorting (n=31): time 0.00148/0.7831, allocations: 0.6466 MB / 1.21 GB, free: 6.617 MB / 0.7761 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.544e-05/0.7832, allocations: 82.28 kB / 1.21 GB, free: 6.52 MB / 0.7761 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001764/0.7849, allocations: 1.105 MB / 1.211 GB, free: 5.602 MB / 0.7761 GB Notification: Performance of collectPreVariables (initialization): time 5.386e-05/0.785, allocations: 41.7 kB / 1.211 GB, free: 5.555 MB / 0.7761 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004435/0.7855, allocations: 497.4 kB / 1.212 GB, free: 5.102 MB / 0.7761 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001063/0.7856, allocations: 108.5 kB / 1.212 GB, free: 5.004 MB / 0.7761 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.404e-05/0.7856, allocations: 8 kB / 1.212 GB, free: 4.996 MB / 0.7761 GB Notification: Performance of setup shared object (initialization): time 0.0001463/0.7858, allocations: 330.9 kB / 1.212 GB, free: 4.672 MB / 0.7761 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000409/0.7862, allocations: 211.8 kB / 1.212 GB, free: 4.508 MB / 0.7761 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006822/0.7869, allocations: 0.524 MB / 1.213 GB, free: 3.918 MB / 0.7761 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001024/0.7879, allocations: 0.6489 MB / 1.213 GB, free: 3.277 MB / 0.7761 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.767e-06/0.7879, allocations: 0 / 1.213 GB, free: 3.277 MB / 0.7761 GB Notification: Performance of matching and sorting (n=54) (initialization): time 0.001436/0.7894, allocations: 0.7287 MB / 1.214 GB, free: 2.637 MB / 0.7761 GB Notification: Performance of prepare postOptimizeDAE: time 0.000217/0.7896, allocations: 279.7 kB / 1.214 GB, free: 2.285 MB / 0.7761 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.373e-05/0.7896, allocations: 4 kB / 1.214 GB, free: 2.281 MB / 0.7761 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.881e-05/0.7896, allocations: 15.94 kB / 1.214 GB, free: 2.266 MB / 0.7761 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004584/0.7901, allocations: 102.8 kB / 1.215 GB, free: 2.184 MB / 0.7761 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.624e-05/0.7901, allocations: 13.16 kB / 1.215 GB, free: 2.172 MB / 0.7761 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007478/0.7909, allocations: 110.2 kB / 1.215 GB, free: 2.082 MB / 0.7761 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.857e-05/0.791, allocations: 21.73 kB / 1.215 GB, free: 2.062 MB / 0.7761 GB Notification: Performance of prepare postOptimizeDAE: time 8.707e-06/0.791, allocations: 4 kB / 1.215 GB, free: 2.059 MB / 0.7761 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.0009747/0.7919, allocations: 0.5456 MB / 1.215 GB, free: 1.586 MB / 0.7761 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.826e-06/0.792, allocations: 4 kB / 1.215 GB, free: 1.582 MB / 0.7761 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.002e-05/0.792, allocations: 8 kB / 1.215 GB, free: 1.574 MB / 0.7761 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004309/0.7924, allocations: 108.9 kB / 1.215 GB, free: 1.484 MB / 0.7761 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.21e-05/0.7924, allocations: 8.75 kB / 1.215 GB, free: 1.477 MB / 0.7761 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006998/0.7931, allocations: 98.8 kB / 1.215 GB, free: 1.398 MB / 0.7761 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.697e-05/0.7932, allocations: 24.91 kB / 1.216 GB, free: 1.375 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.0006059/0.7938, allocations: 477 kB / 1.216 GB, free: 0.957 MB / 0.7761 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001443/0.794, allocations: 98.78 kB / 1.216 GB, free: 0.8594 MB / 0.7761 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0009259/0.7949, allocations: 0.5012 MB / 1.217 GB, free: 364 kB / 0.7761 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.234e-06/0.7949, allocations: 4 kB / 1.217 GB, free: 360 kB / 0.7761 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.701e-06/0.7949, allocations: 0 / 1.217 GB, free: 360 kB / 0.7761 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.001e-06/0.7949, allocations: 3.984 kB / 1.217 GB, free: 356 kB / 0.7761 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002198/0.7971, allocations: 1.391 MB / 1.218 GB, free: 14.88 MB / 0.7917 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.798e-06/0.7972, allocations: 4.219 kB / 1.218 GB, free: 14.88 MB / 0.7917 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002587/0.7974, allocations: 75.83 kB / 1.218 GB, free: 14.8 MB / 0.7917 GB Notification: Performance of postOpt tearingSystem (simulation): time 7.905e-06/0.7975, allocations: 7.938 kB / 1.218 GB, free: 14.79 MB / 0.7917 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.519e-05/0.7975, allocations: 8 kB / 1.218 GB, free: 14.79 MB / 0.7917 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.531e-06/0.7975, allocations: 4 kB / 1.218 GB, free: 14.78 MB / 0.7917 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.615e-06/0.7975, allocations: 0 / 1.218 GB, free: 14.78 MB / 0.7917 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008263/0.7983, allocations: 0.6041 MB / 1.219 GB, free: 14.14 MB / 0.7917 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003327/0.7987, allocations: 227.7 kB / 1.219 GB, free: 13.9 MB / 0.7917 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001223/0.7988, allocations: 12 kB / 1.219 GB, free: 13.89 MB / 0.7917 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004926/0.7993, allocations: 59.78 kB / 1.219 GB, free: 13.83 MB / 0.7917 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.323e-05/0.7994, allocations: 27.91 kB / 1.219 GB, free: 13.8 MB / 0.7917 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.193e-05/0.7994, allocations: 8 kB / 1.219 GB, free: 13.79 MB / 0.7917 GB Notification: Performance of sorting global known variables: time 0.001095/0.8005, allocations: 0.7875 MB / 1.22 GB, free: 13 MB / 0.7917 GB Notification: Performance of sort global known variables: time 2.11e-07/0.8005, allocations: 0 / 1.22 GB, free: 13 MB / 0.7917 GB Notification: Performance of remove unused functions: time 0.001196/0.8017, allocations: 415.4 kB / 1.22 GB, free: 12.59 MB / 0.7917 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.0004602/0.8022, allocations: 180 kB / 1.22 GB, free: 12.42 MB / 0.7917 GB Notification: Performance of simCode: created initialization part: time 0.001434/0.8037, allocations: 0.8315 MB / 1.221 GB, free: 11.57 MB / 0.7917 GB Notification: Performance of simCode: created event and clocks part: time 4.749e-06/0.8037, allocations: 4.125 kB / 1.221 GB, free: 11.56 MB / 0.7917 GB Notification: Performance of simCode: created simulation system equations: time 0.000372/0.8041, allocations: 203.7 kB / 1.221 GB, free: 11.36 MB / 0.7917 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002188/0.8063, allocations: 453.2 kB / 1.222 GB, free: 10.92 MB / 0.7917 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002836/0.8091, allocations: 2.056 MB / 1.224 GB, free: 8.809 MB / 0.7917 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007855/0.8099, allocations: 1.173 MB / 1.225 GB, free: 7.602 MB / 0.7917 GB Notification: Performance of simCode: alias equations: time 0.001115/0.811, allocations: 431.4 kB / 1.225 GB, free: 7.176 MB / 0.7917 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001738/0.8112, allocations: 75.36 kB / 1.225 GB, free: 7.102 MB / 0.7917 GB Notification: Performance of SimCode: time 4.21e-07/0.8112, allocations: 4 kB / 1.225 GB, free: 7.098 MB / 0.7917 GB Notification: Performance of Templates: time 0.02808/0.8393, allocations: 16.47 MB / 1.241 GB, free: 6.891 MB / 0.8073 GB make -j1 -f Buildings_latest_Buildings.Fluid.Examples.Performance.PressureDrop.SeriesFlowOptimised.makefile (rm -f Buildings_latest_Buildings.Fluid.Examples.Performance.PressureDrop.SeriesFlowOptimised.pipe ; mkfifo Buildings_latest_Buildings.Fluid.Examples.Performance.PressureDrop.SeriesFlowOptimised.pipe ; head -c 1048576 < Buildings_latest_Buildings.Fluid.Examples.Performance.PressureDrop.SeriesFlowOptimised.pipe >> ../files/Buildings_latest_Buildings.Fluid.Examples.Performance.PressureDrop.SeriesFlowOptimised.sim & ./Buildings_latest_Buildings.Fluid.Examples.Performance.PressureDrop.SeriesFlowOptimised -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_latest_Buildings.Fluid.Examples.Performance.PressureDrop.SeriesFlowOptimised.pipe 2>&1)