Running: ./testmodel.py --libraries=/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8_Buildings.Fluid.Storage.Validation.StratifiedLoadingUnloading.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.Storage.Validation.StratifiedLoadingUnloading,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_Buildings.Fluid.Storage.Validation.StratifiedLoadingUnloading") translateModel(Buildings.Fluid.Storage.Validation.StratifiedLoadingUnloading,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_Buildings.Fluid.Storage.Validation.StratifiedLoadingUnloading") 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.684/1.684, 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.00111/0.001111, allocations: 189.5 kB / 382.3 MB, free: 14.81 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.537/1.537, allocations: 225.7 MB / 0.6617 GB, free: 7.223 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.0008667/0.0008671, allocations: 94.73 kB / 0.7789 GB, free: 46.75 MB / 0.5417 GB Notification: Performance of FrontEnd - loaded program: time 0.0003711/0.0003711, allocations: 8 kB / 0.9058 GB, free: 4.895 MB / 0.6198 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7714/0.7718, allocations: 119.2 MB / 1.022 GB, free: 57.6 MB / 0.698 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Storage.Validation.StratifiedLoadingUnloading): time 0.04463/0.8165, allocations: 55.49 MB / 1.076 GB, free: 16.86 MB / 0.698 GB Notification: Performance of NFInst.instExpressions: time 0.02183/0.8384, allocations: 21.63 MB / 1.098 GB, free: 15.14 MB / 0.7136 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.003568/0.842, allocations: 66.91 kB / 1.098 GB, free: 15.11 MB / 0.7136 GB Notification: Performance of NFTyping.typeComponents: time 0.003131/0.8451, allocations: 0.7138 MB / 1.098 GB, free: 14.7 MB / 0.7136 GB Notification: Performance of NFTyping.typeBindings: time 0.008436/0.8536, allocations: 2.305 MB / 1.101 GB, free: 13.34 MB / 0.7136 GB Notification: Performance of NFTyping.typeClassSections: time 0.004727/0.8583, allocations: 1.375 MB / 1.102 GB, free: 12.55 MB / 0.7136 GB Notification: Performance of NFFlatten.flatten: time 0.03601/0.8944, allocations: 27.7 MB / 1.129 GB, free: 2.559 MB / 0.7136 GB Notification: Performance of NFFlatten.resolveConnections: time 0.01864/0.9131, allocations: 8.411 MB / 1.137 GB, free: 15.39 MB / 0.7292 GB Notification: Performance of NFEvalConstants.evaluate: time 0.01571/0.9288, allocations: 5.394 MB / 1.142 GB, free: 13.33 MB / 0.7292 GB Notification: Performance of NFSimplifyModel.simplify: time 0.01694/0.9458, allocations: 5.766 MB / 1.148 GB, free: 10.95 MB / 0.7292 GB Notification: Performance of NFPackage.collectConstants: time 0.005098/0.9509, allocations: 345.6 kB / 1.148 GB, free: 10.95 MB / 0.7292 GB Notification: Performance of NFFlatten.collectFunctions: time 0.01135/0.9623, allocations: 0.9987 MB / 1.149 GB, free: 10.61 MB / 0.7292 GB Notification: Performance of NFScalarize.scalarize: time 0.00567/0.968, allocations: 1.546 MB / 1.151 GB, free: 9.406 MB / 0.7292 GB Notification: Performance of NFVerifyModel.verify: time 0.01355/0.9816, allocations: 3.869 MB / 1.155 GB, free: 5.734 MB / 0.7292 GB Notification: Performance of NFConvertDAE.convert: time 0.02443/1.006, allocations: 12.25 MB / 1.167 GB, free: 12.44 MB / 0.7448 GB Notification: Performance of FrontEnd - DAE generated: time 8.256e-06/1.006, allocations: 4 kB / 1.167 GB, free: 12.43 MB / 0.7448 GB Notification: Performance of FrontEnd: time 3.907e-06/1.006, allocations: 0 / 1.167 GB, free: 12.43 MB / 0.7448 GB Notification: Performance of Transformations before backend: time 0.000648/1.007, allocations: 0 / 1.167 GB, free: 12.43 MB / 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.02267/1.03, allocations: 6.842 MB / 1.173 GB, free: 5.504 MB / 0.7448 GB Notification: Performance of prepare preOptimizeDAE: time 5.351e-05/1.03, allocations: 8.031 kB / 1.173 GB, free: 5.496 MB / 0.7448 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.005412/1.035, allocations: 0.8509 MB / 1.174 GB, free: 4.637 MB / 0.7448 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01666/1.052, allocations: 6.488 MB / 1.181 GB, free: 14.09 MB / 0.7605 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.000639/1.052, allocations: 468.3 kB / 1.181 GB, free: 13.63 MB / 0.7605 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.002913/1.055, allocations: 0.5975 MB / 1.182 GB, free: 13.03 MB / 0.7605 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0284/1.084, allocations: 8.97 MB / 1.19 GB, free: 3.738 MB / 0.7605 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0004379/1.084, allocations: 23.78 kB / 1.19 GB, free: 3.715 MB / 0.7605 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.00268/1.087, allocations: 260 kB / 1.191 GB, free: 3.461 MB / 0.7605 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0002565/1.087, allocations: 183.9 kB / 1.191 GB, free: 3.281 MB / 0.7605 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.02108/1.108, allocations: 7.41 MB / 1.198 GB, free: 11.86 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.06821/1.177, allocations: 35.96 MB / 1.233 GB, free: 5.832 MB / 0.8073 GB Notification: Performance of preOpt comSubExp (simulation): time 0.008237/1.185, allocations: 4.268 MB / 1.237 GB, free: 1.562 MB / 0.8073 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.006042/1.191, allocations: 3.386 MB / 1.241 GB, free: 14.16 MB / 0.823 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001586/1.193, allocations: 0.9818 MB / 1.242 GB, free: 13 MB / 0.823 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.00524/1.198, allocations: 2.39 MB / 1.244 GB, free: 10.57 MB / 0.823 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.003964/1.202, allocations: 443.8 kB / 1.244 GB, free: 10.13 MB / 0.823 GB Notification: Performance of pre-optimization done (n=317): time 1.622e-05/1.202, allocations: 0 / 1.244 GB, free: 10.13 MB / 0.823 GB Notification: Performance of matching and sorting (n=317): time 0.01652/1.218, allocations: 7.101 MB / 1.251 GB, free: 2.941 MB / 0.823 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.26e-05/1.219, allocations: 85.91 kB / 1.251 GB, free: 2.844 MB / 0.823 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.01262/1.231, allocations: 5.338 MB / 1.257 GB, free: 13.52 MB / 0.8386 GB Notification: Performance of collectPreVariables (initialization): time 0.001042/1.232, allocations: 85.7 kB / 1.257 GB, free: 13.43 MB / 0.8386 GB Notification: Performance of collectInitialEqns (initialization): time 0.004113/1.236, allocations: 3.176 MB / 1.26 GB, free: 10.22 MB / 0.8386 GB Notification: Performance of collectInitialBindings (initialization): time 0.002308/1.239, allocations: 1.113 MB / 1.261 GB, free: 9.094 MB / 0.8386 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0007825/1.24, allocations: 92 kB / 1.261 GB, free: 9.004 MB / 0.8386 GB Notification: Performance of setup shared object (initialization): time 0.0004721/1.24, allocations: 495.6 kB / 1.261 GB, free: 8.512 MB / 0.8386 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.004423/1.244, allocations: 2.144 MB / 1.263 GB, free: 6.359 MB / 0.8386 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00553/1.25, allocations: 3.67 MB / 1.267 GB, free: 1.988 MB / 0.8386 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.01021/1.26, allocations: 6.288 MB / 1.273 GB, free: 10.98 MB / 0.8542 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.573e-05/1.26, allocations: 12 kB / 1.273 GB, free: 10.97 MB / 0.8542 GB Notification: Performance of matching and sorting (n=569) (initialization): time 0.01522/1.276, allocations: 6.721 MB / 1.28 GB, free: 4.195 MB / 0.8542 GB Notification: Performance of prepare postOptimizeDAE: time 9.522e-05/1.276, allocations: 53.7 kB / 1.28 GB, free: 4.137 MB / 0.8542 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.603e-05/1.276, allocations: 48 kB / 1.28 GB, free: 4.09 MB / 0.8542 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001156/1.277, allocations: 440.2 kB / 1.28 GB, free: 3.656 MB / 0.8542 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.004274/1.281, allocations: 1.014 MB / 1.281 GB, free: 2.641 MB / 0.8542 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.006019/1.287, allocations: 5.268 MB / 1.286 GB, free: 13.12 MB / 0.8698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.006429/1.294, allocations: 466.6 kB / 1.287 GB, free: 12.66 MB / 0.8698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001106/1.295, allocations: 216 kB / 1.287 GB, free: 12.45 MB / 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.006691/1.302, allocations: 2.464 MB / 1.289 GB, free: 9.973 MB / 0.8698 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.002237/1.304, allocations: 0.5172 MB / 1.29 GB, free: 9.449 MB / 0.8698 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01249/1.316, allocations: 5.223 MB / 1.295 GB, free: 4.168 MB / 0.8698 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.912e-05/1.316, allocations: 32 kB / 1.295 GB, free: 4.137 MB / 0.8698 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.415e-05/1.316, allocations: 7.938 kB / 1.295 GB, free: 4.129 MB / 0.8698 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.007294/1.324, allocations: 4.519 MB / 1.3 GB, free: 15.5 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.03002/1.354, allocations: 11.95 MB / 1.311 GB, free: 3.359 MB / 0.8855 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.938e-05/1.354, allocations: 4 kB / 1.311 GB, free: 3.355 MB / 0.8855 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.003178/1.357, allocations: 0.6515 MB / 1.312 GB, free: 2.703 MB / 0.8855 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0009606/1.358, allocations: 365.6 kB / 1.312 GB, free: 2.34 MB / 0.8855 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0005397/1.359, allocations: 87.95 kB / 1.312 GB, free: 2.254 MB / 0.8855 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.00565/1.364, allocations: 5.172 MB / 1.317 GB, free: 12.81 MB / 0.9011 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.013e-06/1.364, allocations: 7.938 kB / 1.317 GB, free: 12.8 MB / 0.9011 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01466/1.379, allocations: 7.6 MB / 1.325 GB, free: 5.105 MB / 0.9011 GB Notification: Performance of postOpt removeConstants (simulation): time 0.004351/1.383, allocations: 1.205 MB / 1.326 GB, free: 3.875 MB / 0.9011 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001844/1.385, allocations: 67.98 kB / 1.326 GB, free: 3.809 MB / 0.9011 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.005139/1.39, allocations: 470.9 kB / 1.326 GB, free: 3.348 MB / 0.9011 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000657/1.391, allocations: 198.2 kB / 1.327 GB, free: 3.152 MB / 0.9011 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0005632/1.392, allocations: 139.9 kB / 1.327 GB, free: 3.016 MB / 0.9011 GB Notification: Performance of sorting global known variables: time 0.5888/1.981, allocations: 3.701 MB / 1.33 GB, free: 234.3 MB / 0.9011 GB Notification: Performance of sort global known variables: time 1.382e-06/1.981, allocations: 4.594 kB / 1.33 GB, free: 234.3 MB / 0.9011 GB Notification: Performance of remove unused functions: time 0.01062/1.991, allocations: 1.98 MB / 1.332 GB, free: 234.3 MB / 0.9011 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.002274/1.994, allocations: 486.5 kB / 1.333 GB, free: 234.2 MB / 0.9011 GB Notification: Performance of simCode: created initialization part: time 0.01197/2.006, allocations: 5.36 MB / 1.338 GB, free: 232.8 MB / 0.9011 GB Notification: Performance of simCode: created event and clocks part: time 1.422e-05/2.006, allocations: 3.625 kB / 1.338 GB, free: 232.8 MB / 0.9011 GB Notification: Performance of simCode: created simulation system equations: time 0.004889/2.011, allocations: 2.507 MB / 1.34 GB, free: 231.7 MB / 0.9011 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.02121/2.032, allocations: 3.232 MB / 1.344 GB, free: 231.2 MB / 0.9011 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.03507/2.067, allocations: 16.57 MB / 1.36 GB, free: 222.7 MB / 0.9011 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.005833/2.073, allocations: 4.597 MB / 1.364 GB, free: 221 MB / 0.9011 GB Notification: Performance of simCode: alias equations: time 0.007766/2.081, allocations: 2.007 MB / 1.366 GB, free: 220.8 MB / 0.9011 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.002195/2.083, allocations: 450.4 kB / 1.367 GB, free: 220.7 MB / 0.9011 GB Notification: Performance of SimCode: time 1.042e-06/2.083, allocations: 0 / 1.367 GB, free: 220.7 MB / 0.9011 GB Notification: Performance of Templates: time 0.1916/2.274, allocations: 115 MB / 1.479 GB, free: 154 MB / 0.9011 GB make -j1 -f Buildings_8_Buildings.Fluid.Storage.Validation.StratifiedLoadingUnloading.makefile (rm -f Buildings_8_Buildings.Fluid.Storage.Validation.StratifiedLoadingUnloading.pipe ; mkfifo Buildings_8_Buildings.Fluid.Storage.Validation.StratifiedLoadingUnloading.pipe ; head -c 1048576 < Buildings_8_Buildings.Fluid.Storage.Validation.StratifiedLoadingUnloading.pipe >> ../files/Buildings_8_Buildings.Fluid.Storage.Validation.StratifiedLoadingUnloading.sim & ./Buildings_8_Buildings.Fluid.Storage.Validation.StratifiedLoadingUnloading -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_8_Buildings.Fluid.Storage.Validation.StratifiedLoadingUnloading.pipe 2>&1)