Running: ./testmodel.py --libraries=/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.7.0.x_Buildings.Fluid.Examples.Performance.Example4.conf.json loadFile("/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.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 7.0.3 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo) Running command: translateModel(Buildings.Fluid.Examples.Performance.Example4,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_maint.7.0.x_Buildings.Fluid.Examples.Performance.Example4") translateModel(Buildings.Fluid.Examples.Performance.Example4,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_maint.7.0.x_Buildings.Fluid.Examples.Performance.Example4") Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo): time 1.411/1.411, allocations: 255.9 MB / 271.2 MB, free: 8.926 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.0009596/0.0009596, allocations: 186.4 kB / 330.8 MB, free: 492 kB / 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 1.571/1.571, allocations: 225.7 MB / 0.6016 GB, free: 1.648 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.0008059/0.0008058, allocations: 95.58 kB / 0.709 GB, free: 7.113 MB / 0.5261 GB Notification: Performance of FrontEnd - loaded program: time 0.0003816/0.0003817, allocations: 12 kB / 0.8261 GB, free: 115.7 MB / 0.573 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1866/0.187, allocations: 109.2 MB / 0.9327 GB, free: 6.281 MB / 0.573 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Examples.Performance.Example4): time 0.5993/0.7863, allocations: 233.3 MB / 1.161 GB, free: 11.05 MB / 0.7292 GB Notification: Performance of NFInst.instExpressions: time 0.02192/0.8083, allocations: 20.52 MB / 1.181 GB, free: 5.23 MB / 0.7448 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001979/0.8103, allocations: 51.62 kB / 1.181 GB, free: 5.18 MB / 0.7448 GB Notification: Performance of NFTyping.typeComponents: time 0.00241/0.8127, allocations: 0.8705 MB / 1.181 GB, free: 4.305 MB / 0.7448 GB Notification: Performance of NFTyping.typeBindings: time 0.007224/0.82, allocations: 2.98 MB / 1.184 GB, free: 1.312 MB / 0.7448 GB Notification: Performance of NFTyping.typeClassSections: time 0.00381/0.8238, allocations: 1.513 MB / 1.186 GB, free: 15.8 MB / 0.7605 GB Notification: Performance of NFFlatten.flatten: time 0.005279/0.8291, allocations: 4.662 MB / 1.19 GB, free: 11.12 MB / 0.7605 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001567/0.8307, allocations: 1.035 MB / 1.191 GB, free: 10.06 MB / 0.7605 GB Notification: Performance of NFEvalConstants.evaluate: time 0.00585/0.8365, allocations: 2.066 MB / 1.193 GB, free: 7.988 MB / 0.7605 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0034/0.84, allocations: 1.135 MB / 1.195 GB, free: 6.852 MB / 0.7605 GB Notification: Performance of NFPackage.collectConstants: time 0.0003836/0.8404, allocations: 48 kB / 1.195 GB, free: 6.805 MB / 0.7605 GB Notification: Performance of NFFlatten.collectFunctions: time 0.008016/0.8484, allocations: 3.53 MB / 1.198 GB, free: 3.266 MB / 0.7605 GB Notification: Performance of NFScalarize.scalarize: time 0.0007799/0.8492, allocations: 402.4 kB / 1.198 GB, free: 2.871 MB / 0.7605 GB Notification: Performance of NFVerifyModel.verify: time 0.001387/0.8506, allocations: 0.7437 MB / 1.199 GB, free: 2.117 MB / 0.7605 GB Notification: Performance of NFConvertDAE.convert: time 0.005157/0.8558, allocations: 3.061 MB / 1.202 GB, free: 15.04 MB / 0.7761 GB Notification: Performance of FrontEnd - DAE generated: time 7.554e-06/0.8558, allocations: 8 kB / 1.202 GB, free: 15.04 MB / 0.7761 GB Notification: Performance of FrontEnd: time 2.074e-06/0.8558, allocations: 3.938 kB / 1.202 GB, free: 15.03 MB / 0.7761 GB Notification: Performance of Transformations before backend: time 1.77e-05/0.8558, allocations: 0 / 1.202 GB, free: 15.03 MB / 0.7761 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 251 * Number of variables: 251 Notification: Performance of Generate backend data structure: time 0.002818/0.8587, allocations: 1.713 MB / 1.204 GB, free: 13.27 MB / 0.7761 GB Notification: Performance of prepare preOptimizeDAE: time 3.507e-05/0.8587, allocations: 15.98 kB / 1.204 GB, free: 13.25 MB / 0.7761 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002364/0.8611, allocations: 0.5172 MB / 1.204 GB, free: 12.73 MB / 0.7761 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001848/0.8629, allocations: 1.121 MB / 1.205 GB, free: 11.55 MB / 0.7761 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0008723/0.8638, allocations: 277.8 kB / 1.206 GB, free: 11.28 MB / 0.7761 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001396/0.864, allocations: 100 kB / 1.206 GB, free: 11.18 MB / 0.7761 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002355/0.8663, allocations: 1.326 MB / 1.207 GB, free: 9.77 MB / 0.7761 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.562e-05/0.8664, allocations: 7.938 kB / 1.207 GB, free: 9.762 MB / 0.7761 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001045/0.8665, allocations: 43.98 kB / 1.207 GB, free: 9.719 MB / 0.7761 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.376e-05/0.8665, allocations: 50 kB / 1.207 GB, free: 9.668 MB / 0.7761 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002492/0.869, allocations: 1.104 MB / 1.208 GB, free: 8.562 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.00761/0.8767, allocations: 6.722 MB / 1.215 GB, free: 1.379 MB / 0.7761 GB Notification: Performance of preOpt comSubExp (simulation): time 0.00159/0.8783, allocations: 0.5972 MB / 1.215 GB, free: 0.7734 MB / 0.7761 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.000637/0.8789, allocations: 293.2 kB / 1.216 GB, free: 496 kB / 0.7761 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0003696/0.8793, allocations: 283.5 kB / 1.216 GB, free: 156 kB / 0.7761 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.928e-05/0.8794, allocations: 42.78 kB / 1.216 GB, free: 104 kB / 0.7761 GB Notification: Performance of pre-optimization done (n=33): time 2.144e-06/0.8794, allocations: 3.938 kB / 1.216 GB, free: 100 kB / 0.7761 GB Notification: Performance of matching and sorting (n=33): time 0.002402/0.8818, allocations: 0.9061 MB / 1.217 GB, free: 15.18 MB / 0.7917 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.345e-05/0.8818, allocations: 59.41 kB / 1.217 GB, free: 15.11 MB / 0.7917 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001781/0.8836, allocations: 1.346 MB / 1.218 GB, free: 13.76 MB / 0.7917 GB Notification: Performance of collectPreVariables (initialization): time 6.2e-05/0.8837, allocations: 33.7 kB / 1.218 GB, free: 13.72 MB / 0.7917 GB Notification: Performance of collectInitialEqns (initialization): time 0.0005523/0.8842, allocations: 0.6794 MB / 1.219 GB, free: 13.04 MB / 0.7917 GB Notification: Performance of collectInitialBindings (initialization): time 0.000116/0.8844, allocations: 126.3 kB / 1.219 GB, free: 12.91 MB / 0.7917 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.738e-05/0.8844, allocations: 12 kB / 1.219 GB, free: 12.9 MB / 0.7917 GB Notification: Performance of setup shared object (initialization): time 0.000127/0.8845, allocations: 334 kB / 1.219 GB, free: 12.57 MB / 0.7917 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0008204/0.8854, allocations: 329.1 kB / 1.22 GB, free: 12.24 MB / 0.7917 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001029/0.8864, allocations: 0.6638 MB / 1.22 GB, free: 11.42 MB / 0.7917 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001688/0.8881, allocations: 0.906 MB / 1.221 GB, free: 10.38 MB / 0.7917 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.393e-06/0.8881, allocations: 4 kB / 1.221 GB, free: 10.38 MB / 0.7917 GB Notification: Performance of matching and sorting (n=81) (initialization): time 0.002289/0.8904, allocations: 1.05 MB / 1.222 GB, free: 9.316 MB / 0.7917 GB Notification: Performance of prepare postOptimizeDAE: time 0.0002229/0.8907, allocations: 375 kB / 1.223 GB, free: 8.816 MB / 0.7917 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.411e-05/0.8907, allocations: 8 kB / 1.223 GB, free: 8.809 MB / 0.7917 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.174e-05/0.8907, allocations: 16 kB / 1.223 GB, free: 8.793 MB / 0.7917 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008282/0.8915, allocations: 207.7 kB / 1.223 GB, free: 8.59 MB / 0.7917 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.759e-05/0.8916, allocations: 15.94 kB / 1.223 GB, free: 8.574 MB / 0.7917 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001402/0.893, allocations: 230.8 kB / 1.223 GB, free: 8.348 MB / 0.7917 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.401e-05/0.8931, allocations: 35.98 kB / 1.223 GB, free: 8.312 MB / 0.7917 GB Notification: Performance of prepare postOptimizeDAE: time 7.324e-06/0.8931, allocations: 4 kB / 1.223 GB, free: 8.309 MB / 0.7917 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.001961/0.8951, allocations: 0.9134 MB / 1.224 GB, free: 7.395 MB / 0.7917 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.222e-05/0.8951, allocations: 12 kB / 1.224 GB, free: 7.383 MB / 0.7917 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.4e-05/0.8951, allocations: 15.94 kB / 1.224 GB, free: 7.367 MB / 0.7917 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008009/0.8959, allocations: 203.9 kB / 1.224 GB, free: 7.168 MB / 0.7917 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.829e-05/0.8959, allocations: 23.91 kB / 1.224 GB, free: 7.145 MB / 0.7917 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001235/0.8972, allocations: 202.9 kB / 1.224 GB, free: 6.945 MB / 0.7917 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.634e-05/0.8973, allocations: 39.98 kB / 1.225 GB, free: 6.906 MB / 0.7917 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 43 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (81): * Single equations (assignments): 81 * Array equations: 0 * Algorithm blocks: 0 * 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.0006129/0.8979, allocations: 413.5 kB / 1.225 GB, free: 6.492 MB / 0.7917 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001806/0.8981, allocations: 142.2 kB / 1.225 GB, free: 6.352 MB / 0.7917 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001595/0.8997, allocations: 0.6864 MB / 1.226 GB, free: 5.652 MB / 0.7917 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.62e-06/0.8997, allocations: 4 kB / 1.226 GB, free: 5.648 MB / 0.7917 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.801e-06/0.8997, allocations: 0 / 1.226 GB, free: 5.648 MB / 0.7917 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.948e-06/0.8997, allocations: 3.938 kB / 1.226 GB, free: 5.645 MB / 0.7917 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003462/0.9032, allocations: 1.968 MB / 1.228 GB, free: 3.566 MB / 0.7917 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.392e-06/0.9032, allocations: 4 kB / 1.228 GB, free: 3.562 MB / 0.7917 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005055/0.9037, allocations: 104 kB / 1.228 GB, free: 3.461 MB / 0.7917 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.186e-05/0.9038, allocations: 11.98 kB / 1.228 GB, free: 3.449 MB / 0.7917 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.012e-05/0.9038, allocations: 19.92 kB / 1.228 GB, free: 3.43 MB / 0.7917 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.381e-05/0.9038, allocations: 7.938 kB / 1.228 GB, free: 3.422 MB / 0.7917 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.877e-06/0.9038, allocations: 4 kB / 1.228 GB, free: 3.418 MB / 0.7917 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001575/0.9054, allocations: 0.8345 MB / 1.229 GB, free: 2.516 MB / 0.7917 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0004868/0.9059, allocations: 303.1 kB / 1.229 GB, free: 2.199 MB / 0.7917 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001995/0.9061, allocations: 11.98 kB / 1.229 GB, free: 2.188 MB / 0.7917 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001046/0.9072, allocations: 115.8 kB / 1.229 GB, free: 2.074 MB / 0.7917 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.855e-05/0.9073, allocations: 35.84 kB / 1.229 GB, free: 2.039 MB / 0.7917 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.155e-05/0.9073, allocations: 23.97 kB / 1.229 GB, free: 2.016 MB / 0.7917 GB Notification: Performance of sorting global known variables: time 0.001421/0.9088, allocations: 0.9844 MB / 1.23 GB, free: 1.035 MB / 0.7917 GB Notification: Performance of sort global known variables: time 1.7e-07/0.9088, allocations: 0 / 1.23 GB, free: 1.035 MB / 0.7917 GB Notification: Performance of remove unused functions: time 0.001644/0.9104, allocations: 0.5695 MB / 1.231 GB, free: 476 kB / 0.7917 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 16 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (32): * Single equations (assignments): 32 * Array equations: 0 * Algorithm blocks: 0 * 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 Backend phase and start with SimCode phase: time 0.0005427/0.911, allocations: 277.5 kB / 1.231 GB, free: 200 kB / 0.7917 GB Notification: Performance of simCode: created initialization part: time 0.002867/0.9139, allocations: 1.15 MB / 1.232 GB, free: 15.05 MB / 0.8073 GB Notification: Performance of simCode: created event and clocks part: time 5.29e-06/0.9139, allocations: 0 / 1.232 GB, free: 15.05 MB / 0.8073 GB Notification: Performance of simCode: created simulation system equations: time 0.00069/0.9146, allocations: 276.8 kB / 1.232 GB, free: 14.78 MB / 0.8073 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.004138/0.9187, allocations: 0.7657 MB / 1.233 GB, free: 14.01 MB / 0.8073 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004924/0.9237, allocations: 2.719 MB / 1.236 GB, free: 11.21 MB / 0.8073 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007305/0.9245, allocations: 1.186 MB / 1.237 GB, free: 9.996 MB / 0.8073 GB Notification: Performance of simCode: alias equations: time 0.002153/0.9266, allocations: 363.4 kB / 1.237 GB, free: 9.637 MB / 0.8073 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003277/0.927, allocations: 99.41 kB / 1.237 GB, free: 9.539 MB / 0.8073 GB Notification: Performance of SimCode: time 1.022e-06/0.927, allocations: 0 / 1.237 GB, free: 9.539 MB / 0.8073 GB Notification: Performance of Templates: time 0.04247/0.9695, allocations: 25 MB / 1.262 GB, free: 0.9023 MB / 0.823 GB make -j1 -f Buildings_maint.7.0.x_Buildings.Fluid.Examples.Performance.Example4.makefile (rm -f Buildings_maint.7.0.x_Buildings.Fluid.Examples.Performance.Example4.pipe ; mkfifo Buildings_maint.7.0.x_Buildings.Fluid.Examples.Performance.Example4.pipe ; head -c 1048576 < Buildings_maint.7.0.x_Buildings.Fluid.Examples.Performance.Example4.pipe >> ../files/Buildings_maint.7.0.x_Buildings.Fluid.Examples.Performance.Example4.sim & ./Buildings_maint.7.0.x_Buildings.Fluid.Examples.Performance.Example4 -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_maint.7.0.x_Buildings.Fluid.Examples.Performance.Example4.pipe 2>&1)