Running: ./testmodel.py --libraries=/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/ --ompython_omhome=/usr IBPSA_latest_IBPSA.Fluid.Storage.Validation.StratifiedLoadingUnloading.conf.json 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/IBPSA 3.0.0-master/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 IBPSA with version 3.0.0 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/IBPSA 3.0.0-master/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) Running command: translateModel(IBPSA.Fluid.Storage.Validation.StratifiedLoadingUnloading,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IBPSA_latest_IBPSA.Fluid.Storage.Validation.StratifiedLoadingUnloading") translateModel(IBPSA.Fluid.Storage.Validation.StratifiedLoadingUnloading,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IBPSA_latest_IBPSA.Fluid.Storage.Validation.StratifiedLoadingUnloading") Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.0009645/0.0009645, allocations: 180.7 kB / 16.08 MB, free: 5.125 MB / 13.93 MB Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/IBPSA 3.0.0-master/package.mo): time 0.461/0.461, allocations: 89.07 MB / 105.9 MB, free: 12.4 MB / 90.72 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.262/1.262, allocations: 225.7 MB / 353.2 MB, free: 1.062 MB / 282.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.0007234/0.0007232, allocations: 99.67 kB / 425.4 MB, free: 6.637 MB / 314.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0004384/0.0004385, allocations: 8 kB / 0.4955 GB, free: 4.527 MB / 394.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3191/0.3195, allocations: 71.33 MB / 0.5652 GB, free: 42.34 MB / 410.7 MB Notification: Performance of NFInst.instantiate(IBPSA.Fluid.Storage.Validation.StratifiedLoadingUnloading): time 0.0386/0.3582, allocations: 55.46 MB / 0.6194 GB, free: 1.91 MB / 426.7 MB Notification: Performance of NFInst.instExpressions: time 0.02387/0.3821, allocations: 21.67 MB / 0.6405 GB, free: 11.09 MB / 458.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.002552/0.3847, allocations: 67.62 kB / 0.6406 GB, free: 11.02 MB / 458.7 MB Notification: Performance of NFTyping.typeComponents: time 0.002093/0.3868, allocations: 0.7224 MB / 0.6413 GB, free: 10.29 MB / 458.7 MB Notification: Performance of NFTyping.typeBindings: time 0.006003/0.3929, allocations: 2.31 MB / 0.6435 GB, free: 7.973 MB / 458.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.003205/0.3961, allocations: 1.377 MB / 0.6449 GB, free: 6.594 MB / 458.7 MB Notification: Performance of NFFlatten.flatten: time 0.02477/0.4209, allocations: 27.71 MB / 0.6719 GB, free: 10.82 MB / 490.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.01089/0.4318, allocations: 8.417 MB / 0.6802 GB, free: 2.293 MB / 490.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.009805/0.4416, allocations: 5.4 MB / 0.6854 GB, free: 12.87 MB / 0.4948 GB Notification: Performance of NFSimplifyModel.simplify: time 0.009143/0.4508, allocations: 5.768 MB / 0.6911 GB, free: 7.078 MB / 0.4948 GB Notification: Performance of NFPackage.collectConstants: time 0.001466/0.4523, allocations: 348 kB / 0.6914 GB, free: 6.738 MB / 0.4948 GB Notification: Performance of NFFlatten.collectFunctions: time 0.004696/0.457, allocations: 0.9944 MB / 0.6924 GB, free: 5.742 MB / 0.4948 GB Notification: Performance of NFScalarize.scalarize: time 0.002433/0.4595, allocations: 1.541 MB / 0.6939 GB, free: 4.195 MB / 0.4948 GB Notification: Performance of NFVerifyModel.verify: time 0.009185/0.4687, allocations: 3.881 MB / 0.6977 GB, free: 296 kB / 0.4948 GB Notification: Performance of NFConvertDAE.convert: time 0.01585/0.4846, allocations: 12.26 MB / 0.7096 GB, free: 3.992 MB / 0.5105 GB Notification: Performance of FrontEnd - DAE generated: time 6.622e-06/0.4846, allocations: 0 / 0.7096 GB, free: 3.992 MB / 0.5105 GB Notification: Performance of FrontEnd: time 2.425e-06/0.4846, allocations: 0 / 0.7096 GB, free: 3.992 MB / 0.5105 GB Notification: Performance of Transformations before backend: time 0.00044/0.4851, allocations: 0 / 0.7096 GB, free: 3.992 MB / 0.5105 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.4605/0.9456, allocations: 6.831 MB / 0.7163 GB, free: 136.1 MB / 0.5105 GB Notification: Performance of prepare preOptimizeDAE: time 4.951e-05/0.9457, allocations: 9.781 kB / 0.7163 GB, free: 136.1 MB / 0.5105 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004469/0.9501, allocations: 0.8501 MB / 0.7172 GB, free: 135.7 MB / 0.5105 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01292/0.9631, allocations: 6.499 MB / 0.7235 GB, free: 131.9 MB / 0.5105 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0006288/0.9638, allocations: 458.8 kB / 0.7239 GB, free: 131.7 MB / 0.5105 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.002001/0.9658, allocations: 0.5984 MB / 0.7245 GB, free: 131.5 MB / 0.5105 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0164/0.9822, allocations: 8.98 MB / 0.7333 GB, free: 123.4 MB / 0.5105 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0003154/0.9825, allocations: 23.81 kB / 0.7333 GB, free: 123.4 MB / 0.5105 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.001524/0.9841, allocations: 262 kB / 0.7336 GB, free: 123.1 MB / 0.5105 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001645/0.9843, allocations: 183.3 kB / 0.7337 GB, free: 122.9 MB / 0.5105 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01388/0.9981, allocations: 7.41 MB / 0.741 GB, free: 115.5 MB / 0.5105 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.0447/1.043, allocations: 35.96 MB / 0.7761 GB, free: 77.95 MB / 0.5105 GB Notification: Performance of preOpt comSubExp (simulation): time 0.005994/1.049, allocations: 4.275 MB / 0.7803 GB, free: 73.68 MB / 0.5105 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.004486/1.053, allocations: 3.395 MB / 0.7836 GB, free: 70.3 MB / 0.5105 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001303/1.055, allocations: 0.9805 MB / 0.7845 GB, free: 69.14 MB / 0.5105 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.004188/1.059, allocations: 2.382 MB / 0.7869 GB, free: 66.73 MB / 0.5105 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.003335/1.062, allocations: 443.8 kB / 0.7873 GB, free: 66.29 MB / 0.5105 GB Notification: Performance of pre-optimization done (n=317): time 1.777e-05/1.062, allocations: 4 kB / 0.7873 GB, free: 66.29 MB / 0.5105 GB Notification: Performance of matching and sorting (n=317): time 0.01227/1.075, allocations: 7.103 MB / 0.7942 GB, free: 59.1 MB / 0.5105 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.842e-05/1.075, allocations: 89.89 kB / 0.7943 GB, free: 59 MB / 0.5105 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.008819/1.084, allocations: 5.336 MB / 0.7995 GB, free: 53.68 MB / 0.5105 GB Notification: Performance of collectPreVariables (initialization): time 0.0006828/1.084, allocations: 85.7 kB / 0.7996 GB, free: 53.59 MB / 0.5105 GB Notification: Performance of collectInitialEqns (initialization): time 0.002633/1.087, allocations: 3.175 MB / 0.8027 GB, free: 50.4 MB / 0.5105 GB Notification: Performance of collectInitialBindings (initialization): time 0.001479/1.088, allocations: 1.108 MB / 0.8038 GB, free: 49.3 MB / 0.5105 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0005409/1.089, allocations: 92 kB / 0.8039 GB, free: 49.21 MB / 0.5105 GB Notification: Performance of setup shared object (initialization): time 0.0002823/1.089, allocations: 499.5 kB / 0.8044 GB, free: 48.71 MB / 0.5105 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.003329/1.093, allocations: 2.14 MB / 0.8064 GB, free: 46.56 MB / 0.5105 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.003812/1.097, allocations: 3.673 MB / 0.81 GB, free: 42.19 MB / 0.5105 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.007241/1.104, allocations: 6.288 MB / 0.8162 GB, free: 35.18 MB / 0.5105 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.68e-05/1.104, allocations: 12 kB / 0.8162 GB, free: 35.17 MB / 0.5105 GB Notification: Performance of matching and sorting (n=569) (initialization): time 0.01084/1.115, allocations: 6.725 MB / 0.8227 GB, free: 28.39 MB / 0.5105 GB Notification: Performance of prepare postOptimizeDAE: time 6.936e-05/1.115, allocations: 57.69 kB / 0.8228 GB, free: 28.33 MB / 0.5105 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.387e-05/1.115, allocations: 48.05 kB / 0.8228 GB, free: 28.29 MB / 0.5105 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0009506/1.116, allocations: 435.6 kB / 0.8233 GB, free: 27.86 MB / 0.5105 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003388/1.119, allocations: 1.014 MB / 0.8243 GB, free: 26.84 MB / 0.5105 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004367/1.124, allocations: 5.255 MB / 0.8294 GB, free: 21.32 MB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.005473/1.129, allocations: 466.9 kB / 0.8298 GB, free: 20.87 MB / 0.5105 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0008363/1.13, allocations: 219.9 kB / 0.83 GB, free: 20.65 MB / 0.5105 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.004592/1.135, allocations: 2.459 MB / 0.8324 GB, free: 18.18 MB / 0.5105 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001616/1.136, allocations: 0.5249 MB / 0.833 GB, free: 17.65 MB / 0.5105 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.008523/1.145, allocations: 5.223 MB / 0.8381 GB, free: 12.37 MB / 0.5105 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.795e-05/1.145, allocations: 35.98 kB / 0.8381 GB, free: 12.33 MB / 0.5105 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.695e-05/1.145, allocations: 4 kB / 0.8381 GB, free: 12.33 MB / 0.5105 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.00549/1.15, allocations: 4.519 MB / 0.8425 GB, free: 7.703 MB / 0.5105 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.02211/1.172, allocations: 11.94 MB / 0.8542 GB, free: 11.65 MB / 0.5262 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.575e-05/1.172, allocations: 8.031 kB / 0.8542 GB, free: 11.64 MB / 0.5262 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002791/1.175, allocations: 0.6515 MB / 0.8548 GB, free: 10.99 MB / 0.5262 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0009204/1.176, allocations: 369.5 kB / 0.8552 GB, free: 10.62 MB / 0.5262 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.000362/1.177, allocations: 95.88 kB / 0.8553 GB, free: 10.53 MB / 0.5262 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.005375/1.182, allocations: 5.176 MB / 0.8603 GB, free: 5.09 MB / 0.5262 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.715e-06/1.182, allocations: 4 kB / 0.8603 GB, free: 5.086 MB / 0.5262 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01327/1.195, allocations: 7.584 MB / 0.8677 GB, free: 13.41 MB / 0.5418 GB Notification: Performance of postOpt removeConstants (simulation): time 0.004442/1.2, allocations: 1.213 MB / 0.8689 GB, free: 12.17 MB / 0.5418 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.002154/1.202, allocations: 75.92 kB / 0.869 GB, free: 12.1 MB / 0.5418 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.005608/1.208, allocations: 459 kB / 0.8694 GB, free: 11.65 MB / 0.5418 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0006277/1.208, allocations: 202.2 kB / 0.8696 GB, free: 11.45 MB / 0.5418 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0004577/1.209, allocations: 135.9 kB / 0.8697 GB, free: 11.32 MB / 0.5418 GB Notification: Performance of sorting global known variables: time 0.007671/1.216, allocations: 3.703 MB / 0.8734 GB, free: 7.637 MB / 0.5418 GB Notification: Performance of sort global known variables: time 4.71e-07/1.216, allocations: 3.938 kB / 0.8734 GB, free: 7.633 MB / 0.5418 GB Notification: Performance of remove unused functions: time 0.007523/1.224, allocations: 1.986 MB / 0.8753 GB, free: 5.66 MB / 0.5418 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.001435/1.225, allocations: 0.491 MB / 0.8758 GB, free: 5.199 MB / 0.5418 GB Notification: Performance of simCode: created initialization part: time 0.0088/1.234, allocations: 5.346 MB / 0.881 GB, free: 15.8 MB / 0.5574 GB Notification: Performance of simCode: created event and clocks part: time 1.248e-05/1.234, allocations: 11.72 kB / 0.881 GB, free: 15.79 MB / 0.5574 GB Notification: Performance of simCode: created simulation system equations: time 0.003889/1.238, allocations: 2.502 MB / 0.8835 GB, free: 13.26 MB / 0.5574 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.01907/1.257, allocations: 3.235 MB / 0.8866 GB, free: 10.05 MB / 0.5574 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02778/1.285, allocations: 16.57 MB / 0.9028 GB, free: 9.43 MB / 0.573 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.006269/1.291, allocations: 4.602 MB / 0.9073 GB, free: 4.793 MB / 0.573 GB Notification: Performance of simCode: alias equations: time 0.007765/1.299, allocations: 1.999 MB / 0.9092 GB, free: 2.789 MB / 0.573 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001986/1.301, allocations: 459.2 kB / 0.9097 GB, free: 2.34 MB / 0.573 GB Notification: Performance of SimCode: time 1.032e-06/1.301, allocations: 0 / 0.9097 GB, free: 2.34 MB / 0.573 GB Notification: Performance of Templates: time 0.3944/1.696, allocations: 114.9 MB / 1.022 GB, free: 147.9 MB / 0.6043 GB make -j1 -f IBPSA_latest_IBPSA.Fluid.Storage.Validation.StratifiedLoadingUnloading.makefile (rm -f IBPSA_latest_IBPSA.Fluid.Storage.Validation.StratifiedLoadingUnloading.pipe ; mkfifo IBPSA_latest_IBPSA.Fluid.Storage.Validation.StratifiedLoadingUnloading.pipe ; head -c 1048576 < IBPSA_latest_IBPSA.Fluid.Storage.Validation.StratifiedLoadingUnloading.pipe >> ../files/IBPSA_latest_IBPSA.Fluid.Storage.Validation.StratifiedLoadingUnloading.sim & ./IBPSA_latest_IBPSA.Fluid.Storage.Validation.StratifiedLoadingUnloading -abortSlowSimulation -alarm=480 -lv LOG_STATS > IBPSA_latest_IBPSA.Fluid.Storage.Validation.StratifiedLoadingUnloading.pipe 2>&1)