Running: ./testmodel.py --libraries=/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_latest_Buildings.Fluid.Storage.Validation.StratifiedLoadingUnloading.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.Storage.Validation.StratifiedLoadingUnloading,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_latest_Buildings.Fluid.Storage.Validation.StratifiedLoadingUnloading") translateModel(Buildings.Fluid.Storage.Validation.StratifiedLoadingUnloading,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_latest_Buildings.Fluid.Storage.Validation.StratifiedLoadingUnloading") Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Buildings 9.0.0-master/package.mo): time 1.765/1.765, allocations: 306.1 MB / 321.4 MB, free: 10.74 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.0009667/0.0009667, allocations: 179.5 kB / 393.1 MB, free: 4.094 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.436/1.436, allocations: 225.7 MB / 0.6743 GB, free: 12.61 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.0007779/0.0007781, allocations: 95.92 kB / 0.7935 GB, free: 40.05 MB / 0.5417 GB Notification: Performance of FrontEnd - loaded program: time 0.0003482/0.0003482, allocations: 10.09 kB / 0.9224 GB, free: 8.688 MB / 0.6355 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.6091/0.6095, allocations: 121.3 MB / 1.041 GB, free: 58.44 MB / 0.698 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Storage.Validation.StratifiedLoadingUnloading): time 0.04283/0.6523, allocations: 55.48 MB / 1.095 GB, free: 17.32 MB / 0.698 GB Notification: Performance of NFInst.instExpressions: time 0.02772/0.6801, allocations: 21.68 MB / 1.116 GB, free: 15.55 MB / 0.7136 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.004861/0.6851, allocations: 65.41 kB / 1.116 GB, free: 15.53 MB / 0.7136 GB Notification: Performance of NFTyping.typeComponents: time 0.003863/0.689, allocations: 0.7218 MB / 1.117 GB, free: 15.11 MB / 0.7136 GB Notification: Performance of NFTyping.typeBindings: time 0.008673/0.6977, allocations: 2.315 MB / 1.119 GB, free: 13.75 MB / 0.7136 GB Notification: Performance of NFTyping.typeClassSections: time 0.00441/0.7021, allocations: 1.371 MB / 1.121 GB, free: 12.95 MB / 0.7136 GB Notification: Performance of NFFlatten.flatten: time 0.03388/0.736, allocations: 27.72 MB / 1.148 GB, free: 2.953 MB / 0.7136 GB Notification: Performance of NFFlatten.resolveConnections: time 0.01426/0.7503, allocations: 8.412 MB / 1.156 GB, free: 11.89 MB / 0.7292 GB Notification: Performance of NFEvalConstants.evaluate: time 0.01508/0.7655, allocations: 5.405 MB / 1.161 GB, free: 7.102 MB / 0.7292 GB Notification: Performance of NFSimplifyModel.simplify: time 0.01419/0.7797, allocations: 5.767 MB / 1.167 GB, free: 2.293 MB / 0.7292 GB Notification: Performance of NFPackage.collectConstants: time 0.003085/0.7828, allocations: 352 kB / 1.167 GB, free: 1.949 MB / 0.7292 GB Notification: Performance of NFFlatten.collectFunctions: time 0.00831/0.7912, allocations: 0.9876 MB / 1.168 GB, free: 1.066 MB / 0.7292 GB Notification: Performance of NFScalarize.scalarize: time 0.004653/0.7959, allocations: 1.543 MB / 1.17 GB, free: 15.87 MB / 0.7448 GB Notification: Performance of NFVerifyModel.verify: time 0.01223/0.8081, allocations: 3.872 MB / 1.173 GB, free: 12.2 MB / 0.7448 GB Notification: Performance of NFConvertDAE.convert: time 0.02067/0.8288, allocations: 12.25 MB / 1.185 GB, free: 164 kB / 0.7448 GB Notification: Performance of FrontEnd - DAE generated: time 7.735e-06/0.8289, allocations: 3.938 kB / 1.185 GB, free: 160 kB / 0.7448 GB Notification: Performance of FrontEnd: time 3.316e-06/0.8289, allocations: 4 kB / 1.185 GB, free: 156 kB / 0.7448 GB Notification: Performance of Transformations before backend: time 0.000597/0.8295, allocations: 0 / 1.185 GB, free: 156 kB / 0.7448 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 1564 * Number of variables: 1564 Notification: Performance of Generate backend data structure: time 0.01878/0.8483, allocations: 6.835 MB / 1.192 GB, free: 9.227 MB / 0.7605 GB Notification: Performance of prepare preOptimizeDAE: time 5.054e-05/0.8484, allocations: 12.03 kB / 1.192 GB, free: 9.215 MB / 0.7605 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004861/0.8533, allocations: 0.847 MB / 1.193 GB, free: 8.359 MB / 0.7605 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01699/0.8703, allocations: 6.501 MB / 1.199 GB, free: 1.797 MB / 0.7605 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0005576/0.8709, allocations: 460.4 kB / 1.2 GB, free: 1.344 MB / 0.7605 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.002628/0.8735, allocations: 0.5975 MB / 1.2 GB, free: 0.7461 MB / 0.7605 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.02353/0.8971, allocations: 8.989 MB / 1.209 GB, free: 7.434 MB / 0.7761 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0003441/0.8975, allocations: 15.88 kB / 1.209 GB, free: 7.418 MB / 0.7761 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.001883/0.8994, allocations: 263.9 kB / 1.209 GB, free: 7.16 MB / 0.7761 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0002414/0.8996, allocations: 187.9 kB / 1.209 GB, free: 6.977 MB / 0.7761 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01682/0.9165, allocations: 7.41 MB / 1.217 GB, free: 15.56 MB / 0.7917 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.059/0.9755, allocations: 35.95 MB / 1.252 GB, free: 9.539 MB / 0.823 GB Notification: Performance of preOpt comSubExp (simulation): time 0.007879/0.9835, allocations: 4.276 MB / 1.256 GB, free: 5.266 MB / 0.823 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.005715/0.9892, allocations: 3.383 MB / 1.259 GB, free: 1.875 MB / 0.823 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001544/0.9908, allocations: 0.9934 MB / 1.26 GB, free: 0.6953 MB / 0.823 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.004994/0.9958, allocations: 2.382 MB / 1.263 GB, free: 14.28 MB / 0.8386 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.003682/0.9996, allocations: 447.8 kB / 1.263 GB, free: 13.84 MB / 0.8386 GB Notification: Performance of pre-optimization done (n=317): time 1.887e-05/0.9996, allocations: 0 / 1.263 GB, free: 13.84 MB / 0.8386 GB Notification: Performance of matching and sorting (n=317): time 0.01646/1.016, allocations: 7.105 MB / 1.27 GB, free: 6.641 MB / 0.8386 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.065e-05/1.016, allocations: 81.91 kB / 1.27 GB, free: 6.547 MB / 0.8386 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.01195/1.028, allocations: 5.338 MB / 1.275 GB, free: 1.227 MB / 0.8386 GB Notification: Performance of collectPreVariables (initialization): time 0.0009282/1.029, allocations: 89.7 kB / 1.275 GB, free: 1.133 MB / 0.8386 GB Notification: Performance of collectInitialEqns (initialization): time 0.003975/1.033, allocations: 3.168 MB / 1.278 GB, free: 13.93 MB / 0.8542 GB Notification: Performance of collectInitialBindings (initialization): time 0.002039/1.035, allocations: 1.117 MB / 1.279 GB, free: 12.8 MB / 0.8542 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0007671/1.036, allocations: 84 kB / 1.28 GB, free: 12.71 MB / 0.8542 GB Notification: Performance of setup shared object (initialization): time 0.0004611/1.037, allocations: 499.5 kB / 1.28 GB, free: 12.22 MB / 0.8542 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.00438/1.041, allocations: 2.136 MB / 1.282 GB, free: 10.07 MB / 0.8542 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.005251/1.046, allocations: 3.677 MB / 1.286 GB, free: 5.699 MB / 0.8542 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.009607/1.056, allocations: 6.288 MB / 1.292 GB, free: 14.7 MB / 0.8698 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.109e-05/1.056, allocations: 20 kB / 1.292 GB, free: 14.68 MB / 0.8698 GB Notification: Performance of matching and sorting (n=569) (initialization): time 0.01459/1.071, allocations: 6.717 MB / 1.298 GB, free: 7.906 MB / 0.8698 GB Notification: Performance of prepare postOptimizeDAE: time 9.842e-05/1.071, allocations: 57.83 kB / 1.298 GB, free: 7.844 MB / 0.8698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001001/1.071, allocations: 52 kB / 1.299 GB, free: 7.793 MB / 0.8698 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001081/1.072, allocations: 434.3 kB / 1.299 GB, free: 7.363 MB / 0.8698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.004114/1.076, allocations: 1.01 MB / 1.3 GB, free: 6.352 MB / 0.8698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.005631/1.082, allocations: 5.257 MB / 1.305 GB, free: 0.8242 MB / 0.8698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.005845/1.088, allocations: 470.8 kB / 1.306 GB, free: 372 kB / 0.8698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0009764/1.089, allocations: 216 kB / 1.306 GB, free: 156 kB / 0.8698 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 222 * Number of states: 0 () * Number of discrete variables: 7 ($whenCondition1,$PRE.pulse.T_start,pulse.T_start,$PRE.pulse.count,pulse.count,dHTan.local_reset,dHTanEnh.local_reset) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (540): * Single equations (assignments): 537 * Array equations: 0 * Algorithm blocks: 1 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 2 systems {(1,14,100.0%), (1,14,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.005692/1.094, allocations: 2.459 MB / 1.308 GB, free: 13.68 MB / 0.8855 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.002021/1.096, allocations: 0.5328 MB / 1.309 GB, free: 13.14 MB / 0.8855 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01107/1.107, allocations: 5.223 MB / 1.314 GB, free: 7.855 MB / 0.8855 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.714e-05/1.107, allocations: 35.98 kB / 1.314 GB, free: 7.82 MB / 0.8855 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.632e-05/1.107, allocations: 7.938 kB / 1.314 GB, free: 7.812 MB / 0.8855 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.007297/1.115, allocations: 4.511 MB / 1.318 GB, free: 3.195 MB / 0.8855 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.5834/1.698, allocations: 11.92 MB / 1.33 GB, free: 173.9 MB / 0.8855 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.729e-05/1.698, allocations: 0.8125 kB / 1.33 GB, free: 173.9 MB / 0.8855 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.003326/1.702, allocations: 0.6575 MB / 1.33 GB, free: 173.9 MB / 0.8855 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0009276/1.703, allocations: 367.4 kB / 1.331 GB, free: 173.9 MB / 0.8855 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0003058/1.703, allocations: 83.52 kB / 1.331 GB, free: 173.9 MB / 0.8855 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.00452/1.707, allocations: 5.174 MB / 1.336 GB, free: 171.2 MB / 0.8855 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.126e-06/1.707, allocations: 3.5 kB / 1.336 GB, free: 171.2 MB / 0.8855 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01201/1.719, allocations: 7.599 MB / 1.343 GB, free: 170.9 MB / 0.8855 GB Notification: Performance of postOpt removeConstants (simulation): time 0.003606/1.723, allocations: 1.208 MB / 1.345 GB, free: 170.8 MB / 0.8855 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001316/1.724, allocations: 66.36 kB / 1.345 GB, free: 170.8 MB / 0.8855 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.004749/1.729, allocations: 470.5 kB / 1.345 GB, free: 170.8 MB / 0.8855 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000522/1.73, allocations: 209.9 kB / 1.345 GB, free: 170.8 MB / 0.8855 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0003504/1.73, allocations: 138 kB / 1.345 GB, free: 170.8 MB / 0.8855 GB Notification: Performance of sorting global known variables: time 0.00657/1.737, allocations: 3.704 MB / 1.349 GB, free: 170.6 MB / 0.8855 GB Notification: Performance of sort global known variables: time 9.22e-07/1.737, allocations: 0 / 1.349 GB, free: 170.6 MB / 0.8855 GB Notification: Performance of remove unused functions: time 0.009474/1.746, allocations: 1.984 MB / 1.351 GB, free: 170.5 MB / 0.8855 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 5 * Number of states: 16 (tanEnh.vol[1].dynBal.U,tanEnh.vol[2].dynBal.U,tanEnh.vol[3].dynBal.U,tanEnh.vol[4].dynBal.U,tanEnh.vol[5].dynBal.U,tanEnh.vol[6].dynBal.U,tanEnh.vol[7].dynBal.U,tan.vol[1].dynBal.U,tan.vol[2].dynBal.U,tan.vol[3].dynBal.U,tan.vol[4].dynBal.U,tan.vol[5].dynBal.U,tan.vol[6].dynBal.U,tan.vol[7].dynBal.U,dHTanEnh.y,dHTan.y) * 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 (296): * Single equations (assignments): 289 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 3 * When equations: 2 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 2 systems {(1,14,100.0%), (1,14,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.00203/1.748, allocations: 489.3 kB / 1.351 GB, free: 170.4 MB / 0.8855 GB Notification: Performance of simCode: created initialization part: time 0.01065/1.759, allocations: 5.348 MB / 1.357 GB, free: 170 MB / 0.8855 GB Notification: Performance of simCode: created event and clocks part: time 1.377e-05/1.759, allocations: 5.562 kB / 1.357 GB, free: 170 MB / 0.8855 GB Notification: Performance of simCode: created simulation system equations: time 0.004199/1.763, allocations: 2.503 MB / 1.359 GB, free: 169.7 MB / 0.8855 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0189/1.782, allocations: 3.244 MB / 1.362 GB, free: 169.5 MB / 0.8855 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02933/1.811, allocations: 16.56 MB / 1.378 GB, free: 162.7 MB / 0.8855 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.006421/1.818, allocations: 4.592 MB / 1.383 GB, free: 161.8 MB / 0.8855 GB Notification: Performance of simCode: alias equations: time 0.008764/1.827, allocations: 2.008 MB / 1.385 GB, free: 161.5 MB / 0.8855 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001619/1.828, allocations: 454.5 kB / 1.385 GB, free: 161.5 MB / 0.8855 GB Notification: Performance of SimCode: time 2.014e-06/1.828, allocations: 0 / 1.385 GB, free: 161.5 MB / 0.8855 GB Notification: Performance of Templates: time 0.1603/1.989, allocations: 115 MB / 1.498 GB, free: 61.79 MB / 0.8855 GB make -j1 -f Buildings_latest_Buildings.Fluid.Storage.Validation.StratifiedLoadingUnloading.makefile (rm -f Buildings_latest_Buildings.Fluid.Storage.Validation.StratifiedLoadingUnloading.pipe ; mkfifo Buildings_latest_Buildings.Fluid.Storage.Validation.StratifiedLoadingUnloading.pipe ; head -c 1048576 < Buildings_latest_Buildings.Fluid.Storage.Validation.StratifiedLoadingUnloading.pipe >> ../files/Buildings_latest_Buildings.Fluid.Storage.Validation.StratifiedLoadingUnloading.sim & ./Buildings_latest_Buildings.Fluid.Storage.Validation.StratifiedLoadingUnloading -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_latest_Buildings.Fluid.Storage.Validation.StratifiedLoadingUnloading.pipe 2>&1)