Running: ./testmodel.py --libraries=/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8.0.0_Buildings.Fluid.Interfaces.Examples.HeaterCooler_u.conf.json loadFile("/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Buildings 8.0.0/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.0.0 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Buildings 8.0.0/package.mo) Running command: translateModel(Buildings.Fluid.Interfaces.Examples.HeaterCooler_u,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8.0.0_Buildings.Fluid.Interfaces.Examples.HeaterCooler_u") translateModel(Buildings.Fluid.Interfaces.Examples.HeaterCooler_u,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8.0.0_Buildings.Fluid.Interfaces.Examples.HeaterCooler_u") Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Buildings 8.0.0/package.mo): time 1.683/1.683, allocations: 291.7 MB / 306.8 MB, free: 7.711 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.001032/0.001032, allocations: 189.6 kB / 375.4 MB, free: 5.113 MB / 298.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.351/1.351, allocations: 225.7 MB / 0.6538 GB, free: 13.64 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.0007788/0.000779, allocations: 97.7 kB / 0.7699 GB, free: 50.3 MB / 0.5417 GB Notification: Performance of FrontEnd - loaded program: time 0.0003958/0.0003958, allocations: 14.66 kB / 0.8956 GB, free: 11.89 MB / 0.6198 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.6474/0.6479, allocations: 118.1 MB / 1.011 GB, free: 57.45 MB / 0.7136 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Interfaces.Examples.HeaterCooler_u): time 0.2406/0.8885, allocations: 277.5 MB / 1.282 GB, free: 4.941 MB / 0.8542 GB Notification: Performance of NFInst.instExpressions: time 0.06733/0.9559, allocations: 46.56 MB / 1.327 GB, free: 6.367 MB / 0.9011 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.01239/0.9684, allocations: 250.3 kB / 1.328 GB, free: 6.121 MB / 0.9011 GB Notification: Performance of NFTyping.typeComponents: time 0.01112/0.9795, allocations: 2.372 MB / 1.33 GB, free: 3.734 MB / 0.9011 GB Notification: Performance of NFTyping.typeBindings: time 0.02831/1.008, allocations: 7.234 MB / 1.337 GB, free: 12.48 MB / 0.9167 GB Notification: Performance of NFTyping.typeClassSections: time 0.01911/1.027, allocations: 4.811 MB / 1.342 GB, free: 7.711 MB / 0.9167 GB Notification: Performance of NFFlatten.flatten: time 0.5853/1.612, allocations: 21.06 MB / 1.362 GB, free: 70.54 MB / 0.9167 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0106/1.623, allocations: 4.658 MB / 1.367 GB, free: 70.04 MB / 0.9167 GB Notification: Performance of NFEvalConstants.evaluate: time 0.01559/1.639, allocations: 5.908 MB / 1.373 GB, free: 70.03 MB / 0.9167 GB Notification: Performance of NFSimplifyModel.simplify: time 0.009631/1.648, allocations: 4.608 MB / 1.377 GB, free: 70.01 MB / 0.9167 GB Notification: Performance of NFPackage.collectConstants: time 0.002388/1.651, allocations: 229.6 kB / 1.377 GB, free: 70.01 MB / 0.9167 GB Notification: Performance of NFFlatten.collectFunctions: time 0.01149/1.662, allocations: 2.641 MB / 1.38 GB, free: 70 MB / 0.9167 GB Notification: Performance of NFScalarize.scalarize: time 0.003059/1.665, allocations: 1.068 MB / 1.381 GB, free: 70 MB / 0.9167 GB Notification: Performance of NFVerifyModel.verify: time 0.004231/1.67, allocations: 1.367 MB / 1.382 GB, free: 69.97 MB / 0.9167 GB Notification: Performance of NFConvertDAE.convert: time 0.01168/1.681, allocations: 7.437 MB / 1.389 GB, free: 69.61 MB / 0.9167 GB Notification: Performance of FrontEnd - DAE generated: time 6.863e-06/1.681, allocations: 0 / 1.389 GB, free: 69.61 MB / 0.9167 GB Notification: Performance of FrontEnd: time 1.803e-06/1.681, allocations: 0 / 1.389 GB, free: 69.61 MB / 0.9167 GB Notification: Performance of Transformations before backend: time 0.0003369/1.682, allocations: 0 / 1.389 GB, free: 69.61 MB / 0.9167 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 1035 * Number of variables: 1035 Notification: Performance of Generate backend data structure: time 0.01375/1.696, allocations: 6.184 MB / 1.396 GB, free: 66.44 MB / 0.9167 GB Notification: Performance of prepare preOptimizeDAE: time 4.276e-05/1.696, allocations: 13.59 kB / 1.396 GB, free: 66.44 MB / 0.9167 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002833/1.698, allocations: 0.777 MB / 1.396 GB, free: 66.07 MB / 0.9167 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01025/1.709, allocations: 5.165 MB / 1.401 GB, free: 64.99 MB / 0.9167 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002526/1.709, allocations: 320 kB / 1.402 GB, free: 64.98 MB / 0.9167 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0006784/1.71, allocations: 442.7 kB / 1.402 GB, free: 64.97 MB / 0.9167 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.007503/1.717, allocations: 4.351 MB / 1.406 GB, free: 64.17 MB / 0.9167 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.324e-05/1.717, allocations: 18.38 kB / 1.406 GB, free: 64.16 MB / 0.9167 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0003672/1.718, allocations: 178 kB / 1.407 GB, free: 64.16 MB / 0.9167 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001108/1.718, allocations: 115.2 kB / 1.407 GB, free: 64.16 MB / 0.9167 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.004977/1.723, allocations: 2.947 MB / 1.41 GB, free: 64.13 MB / 0.9167 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.03242/1.755, allocations: 25.03 MB / 1.434 GB, free: 48.21 MB / 0.9167 GB Notification: Performance of preOpt comSubExp (simulation): time 0.003418/1.759, allocations: 2.748 MB / 1.437 GB, free: 47.04 MB / 0.9167 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001594/1.76, allocations: 0.9942 MB / 1.438 GB, free: 47.02 MB / 0.9167 GB Notification: Performance of preOpt evalFunc (simulation): time 0.002353/1.763, allocations: 3.919 MB / 1.441 GB, free: 42.6 MB / 0.9167 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 7.074e-05/1.763, allocations: 64.56 kB / 1.441 GB, free: 42.56 MB / 0.9167 GB Notification: Performance of pre-optimization done (n=217): time 5.21e-06/1.763, allocations: 0 / 1.441 GB, free: 42.56 MB / 0.9167 GB Notification: Performance of matching and sorting (n=217): time 0.01149/1.774, allocations: 4.103 MB / 1.445 GB, free: 41.72 MB / 0.9167 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.495e-05/1.774, allocations: 74.64 kB / 1.446 GB, free: 41.66 MB / 0.9167 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.008511/1.783, allocations: 4.156 MB / 1.45 GB, free: 41.3 MB / 0.9167 GB Notification: Performance of collectPreVariables (initialization): time 0.0006931/1.784, allocations: 81.52 kB / 1.45 GB, free: 41.27 MB / 0.9167 GB Notification: Performance of collectInitialEqns (initialization): time 0.002104/1.786, allocations: 2.775 MB / 1.452 GB, free: 40.4 MB / 0.9167 GB Notification: Performance of collectInitialBindings (initialization): time 0.001022/1.787, allocations: 0.7577 MB / 1.453 GB, free: 39.91 MB / 0.9167 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001221/1.787, allocations: 63.03 kB / 1.453 GB, free: 39.91 MB / 0.9167 GB Notification: Performance of setup shared object (initialization): time 0.0001513/1.787, allocations: 414.2 kB / 1.454 GB, free: 39.6 MB / 0.9167 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.00141/1.788, allocations: 0.7873 MB / 1.454 GB, free: 39.59 MB / 0.9167 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002064/1.791, allocations: 1.802 MB / 1.456 GB, free: 38.43 MB / 0.9167 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.003483/1.794, allocations: 2.472 MB / 1.459 GB, free: 37.55 MB / 0.9167 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.893e-05/1.794, allocations: 7.469 kB / 1.459 GB, free: 37.55 MB / 0.9167 GB Notification: Performance of matching and sorting (n=365) (initialization): time 0.008298/1.802, allocations: 3.498 MB / 1.462 GB, free: 37.1 MB / 0.9167 GB Notification: Performance of prepare postOptimizeDAE: time 0.0004279/1.803, allocations: 0.743 MB / 1.463 GB, free: 36.18 MB / 0.9167 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.296e-05/1.803, allocations: 28.17 kB / 1.463 GB, free: 36.18 MB / 0.9167 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.002452/1.805, allocations: 0.5604 MB / 1.463 GB, free: 36.13 MB / 0.9167 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002/1.807, allocations: 0.5543 MB / 1.464 GB, free: 36.13 MB / 0.9167 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001972/1.809, allocations: 2.693 MB / 1.466 GB, free: 34.03 MB / 0.9167 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.006015/1.815, allocations: 0.6217 MB / 1.467 GB, free: 33.85 MB / 0.9167 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0004576/1.816, allocations: 135.2 kB / 1.467 GB, free: 33.85 MB / 0.9167 GB Notification: Performance of prepare postOptimizeDAE: time 1.923e-05/1.816, allocations: 4.906 kB / 1.467 GB, free: 33.85 MB / 0.9167 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.005089/1.821, allocations: 2.803 MB / 1.47 GB, free: 33.69 MB / 0.9167 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.381e-05/1.821, allocations: 26.7 kB / 1.47 GB, free: 33.69 MB / 0.9167 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0009343/1.822, allocations: 363.9 kB / 1.47 GB, free: 33.65 MB / 0.9167 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001638/1.824, allocations: 0.5555 MB / 1.471 GB, free: 33.65 MB / 0.9167 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.006996/1.831, allocations: 7.709 MB / 1.478 GB, free: 27.98 MB / 0.9167 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.005452/1.836, allocations: 0.5723 MB / 1.479 GB, free: 27.84 MB / 0.9167 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0005089/1.837, allocations: 134 kB / 1.479 GB, free: 27.84 MB / 0.9167 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 97 * 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 (323): * Single equations (assignments): 319 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 4 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 4 {1 12,1 9,1 12,1 9} Notification: Performance of prepare postOptimizeDAE: time 0.003449/1.84, allocations: 1 MB / 1.48 GB, free: 27.64 MB / 0.9167 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001874/1.842, allocations: 0.512 MB / 1.481 GB, free: 27.37 MB / 0.9167 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.007585/1.85, allocations: 3.557 MB / 1.484 GB, free: 27.03 MB / 0.9167 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.169e-05/1.85, allocations: 35.81 kB / 1.484 GB, free: 27.03 MB / 0.9167 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.883e-05/1.85, allocations: 7.938 kB / 1.484 GB, free: 27.02 MB / 0.9167 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.003806/1.854, allocations: 2.434 MB / 1.486 GB, free: 26.77 MB / 0.9167 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.01695/1.871, allocations: 8.195 MB / 1.494 GB, free: 25.19 MB / 0.9167 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.474e-05/1.871, allocations: 4.469 kB / 1.494 GB, free: 25.19 MB / 0.9167 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001387/1.872, allocations: 366.6 kB / 1.495 GB, free: 25.19 MB / 0.9167 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0007045/1.873, allocations: 300.7 kB / 1.495 GB, free: 25.13 MB / 0.9167 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002384/1.873, allocations: 69.05 kB / 1.495 GB, free: 25.12 MB / 0.9167 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.00137/1.874, allocations: 2.496 MB / 1.498 GB, free: 23.04 MB / 0.9167 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.667e-06/1.874, allocations: 3.562 kB / 1.498 GB, free: 23.04 MB / 0.9167 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.007921/1.882, allocations: 4.329 MB / 1.502 GB, free: 22.2 MB / 0.9167 GB Notification: Performance of postOpt removeConstants (simulation): time 0.003511/1.886, allocations: 0.9729 MB / 1.503 GB, free: 21.63 MB / 0.9167 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.002043/1.888, allocations: 44.47 kB / 1.503 GB, free: 21.63 MB / 0.9167 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.004783/1.893, allocations: 432.2 kB / 1.503 GB, free: 21.46 MB / 0.9167 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003456/1.893, allocations: 145.6 kB / 1.503 GB, free: 21.41 MB / 0.9167 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0004193/1.894, allocations: 113 kB / 1.503 GB, free: 21.38 MB / 0.9167 GB Notification: Performance of sorting global known variables: time 0.006233/1.9, allocations: 2.727 MB / 1.506 GB, free: 20.74 MB / 0.9167 GB Notification: Performance of sort global known variables: time 2.765e-06/1.9, allocations: 192 / 1.506 GB, free: 20.74 MB / 0.9167 GB Notification: Performance of remove unused functions: time 0.01446/1.914, allocations: 3.267 MB / 1.509 GB, free: 18.43 MB / 0.9167 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 4 * Number of states: 10 (hea1.vol.dynBal.U,hea2.vol.dynBal.U,hea3.vol.dynBal.U,hea4.vol.dynBal.U,mix1.dynBal.U,hea5.vol.dynBal.U,hea6.vol.dynBal.U,hea7.vol.dynBal.U,hea8.vol.dynBal.U,mix2.dynBal.U) * 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 (219): * Single equations (assignments): 181 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 34 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 4 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 4 {1 9,1 7,1 9,1 7} Notification: Performance of Backend phase and start with SimCode phase: time 0.003183/1.917, allocations: 1.432 MB / 1.511 GB, free: 17.23 MB / 0.9167 GB Notification: Performance of simCode: created initialization part: time 0.008336/1.926, allocations: 4.397 MB / 1.515 GB, free: 14.04 MB / 0.9167 GB Notification: Performance of simCode: created event and clocks part: time 1.065e-05/1.926, allocations: 0 / 1.515 GB, free: 14.04 MB / 0.9167 GB Notification: Performance of simCode: created simulation system equations: time 0.002193/1.928, allocations: 1.234 MB / 1.516 GB, free: 13.2 MB / 0.9167 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.01683/1.945, allocations: 2.638 MB / 1.519 GB, free: 11.03 MB / 0.9167 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01919/1.964, allocations: 11.01 MB / 1.53 GB, free: 0.832 MB / 0.9167 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.004321/1.969, allocations: 2.865 MB / 1.532 GB, free: 14.01 MB / 0.9323 GB Notification: Performance of simCode: alias equations: time 0.005849/1.974, allocations: 1.163 MB / 1.533 GB, free: 12.89 MB / 0.9323 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001419/1.976, allocations: 416.4 kB / 1.534 GB, free: 12.51 MB / 0.9323 GB Notification: Performance of SimCode: time 6.71e-07/1.976, allocations: 6.625 kB / 1.534 GB, free: 12.51 MB / 0.9323 GB Notification: Performance of Templates: time 0.171/2.147, allocations: 101.3 MB / 1.633 GB, free: 9.266 MB / 1.026 GB make -j1 -f Buildings_8.0.0_Buildings.Fluid.Interfaces.Examples.HeaterCooler_u.makefile (rm -f Buildings_8.0.0_Buildings.Fluid.Interfaces.Examples.HeaterCooler_u.pipe ; mkfifo Buildings_8.0.0_Buildings.Fluid.Interfaces.Examples.HeaterCooler_u.pipe ; head -c 1048576 < Buildings_8.0.0_Buildings.Fluid.Interfaces.Examples.HeaterCooler_u.pipe >> ../files/Buildings_8.0.0_Buildings.Fluid.Interfaces.Examples.HeaterCooler_u.sim & ./Buildings_8.0.0_Buildings.Fluid.Interfaces.Examples.HeaterCooler_u -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_8.0.0_Buildings.Fluid.Interfaces.Examples.HeaterCooler_u.pipe 2>&1)