Running: ./testmodel.py --libraries=/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/ --ompython_omhome=/usr BuildSysPro_BuildSysPro.IBPSA.Fluid.Storage.Validation.StratifiedLoadingUnloading.conf.json loadFile("/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/BuildSysPro 3.5.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 BuildSysPro with version 3.4.0 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/BuildSysPro 3.5.0/package.mo) Running command: translateModel(BuildSysPro.IBPSA.Fluid.Storage.Validation.StratifiedLoadingUnloading,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildSysPro_BuildSysPro.IBPSA.Fluid.Storage.Validation.StratifiedLoadingUnloading") translateModel(BuildSysPro.IBPSA.Fluid.Storage.Validation.StratifiedLoadingUnloading,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildSysPro_BuildSysPro.IBPSA.Fluid.Storage.Validation.StratifiedLoadingUnloading") Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/BuildSysPro 3.5.0/package.mo): time 0.6887/0.6887, allocations: 131 MB / 146.3 MB, free: 1.32 MB / 106.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.0009955/0.0009956, allocations: 179.6 kB / 176.4 MB, free: 4.898 MB / 138.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.446/1.446, allocations: 225.7 MB / 431.9 MB, free: 8.695 MB / 314.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.0007761/0.0007762, allocations: 93.56 kB / 0.5003 GB, free: 9.82 MB / 394.7 MB Notification: Performance of FrontEnd - loaded program: time 0.000336/0.0003359, allocations: 8 kB / 0.5885 GB, free: 72.66 MB / 426.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1445/0.1448, allocations: 79.6 MB / 0.6663 GB, free: 8.891 MB / 442.7 MB Notification: Performance of NFInst.instantiate(BuildSysPro.IBPSA.Fluid.Storage.Validation.StratifiedLoadingUnloading): time 0.3702/0.515, allocations: 62.99 MB / 0.7278 GB, free: 17.45 MB / 490.7 MB Notification: Performance of NFInst.instExpressions: time 0.02256/0.5377, allocations: 21.58 MB / 0.7488 GB, free: 11.6 MB / 490.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.003073/0.5408, allocations: 67.09 kB / 0.7489 GB, free: 11.6 MB / 490.7 MB Notification: Performance of NFTyping.typeComponents: time 0.002486/0.5433, allocations: 0.7157 MB / 0.7496 GB, free: 11.59 MB / 490.7 MB Notification: Performance of NFTyping.typeBindings: time 0.007724/0.5511, allocations: 2.277 MB / 0.7518 GB, free: 11.18 MB / 490.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.003831/0.5549, allocations: 1.257 MB / 0.7531 GB, free: 11.12 MB / 490.7 MB Notification: Performance of NFFlatten.flatten: time 0.02435/0.5793, allocations: 27.3 MB / 0.7797 GB, free: 0.918 MB / 490.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.01204/0.5914, allocations: 8.297 MB / 0.7878 GB, free: 9.25 MB / 0.4948 GB Notification: Performance of NFEvalConstants.evaluate: time 0.01342/0.6048, allocations: 5.27 MB / 0.793 GB, free: 4.141 MB / 0.4948 GB Notification: Performance of NFSimplifyModel.simplify: time 0.01324/0.6181, allocations: 5.731 MB / 0.7986 GB, free: 14.83 MB / 0.5105 GB Notification: Performance of NFPackage.collectConstants: time 0.002249/0.6204, allocations: 344 kB / 0.7989 GB, free: 14.49 MB / 0.5105 GB Notification: Performance of NFFlatten.collectFunctions: time 0.007262/0.6277, allocations: 0.9853 MB / 0.7999 GB, free: 13.56 MB / 0.5105 GB Notification: Performance of NFScalarize.scalarize: time 0.00348/0.6312, allocations: 1.474 MB / 0.8013 GB, free: 12.11 MB / 0.5105 GB Notification: Performance of NFVerifyModel.verify: time 0.009813/0.6411, allocations: 3.801 MB / 0.805 GB, free: 8.312 MB / 0.5105 GB Notification: Performance of NFConvertDAE.convert: time 0.01871/0.6598, allocations: 12.66 MB / 0.8174 GB, free: 11.9 MB / 0.5261 GB Notification: Performance of FrontEnd - DAE generated: time 5.58e-06/0.6599, allocations: 0 / 0.8174 GB, free: 11.9 MB / 0.5261 GB Notification: Performance of FrontEnd: time 1.453e-06/0.6599, allocations: 8 kB / 0.8174 GB, free: 11.89 MB / 0.5261 GB Notification: Performance of Transformations before backend: time 0.0005378/0.6604, allocations: 0 / 0.8174 GB, free: 11.89 MB / 0.5261 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.01868/0.6791, allocations: 6.778 MB / 0.824 GB, free: 5.074 MB / 0.5261 GB Notification: Performance of prepare preOptimizeDAE: time 5.065e-05/0.6792, allocations: 12.03 kB / 0.824 GB, free: 5.062 MB / 0.5261 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004603/0.6838, allocations: 0.8392 MB / 0.8248 GB, free: 4.215 MB / 0.5261 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01405/0.6979, allocations: 6.008 MB / 0.8307 GB, free: 14.25 MB / 0.5417 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0005242/0.6984, allocations: 458.5 kB / 0.8311 GB, free: 13.8 MB / 0.5417 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.002387/0.7009, allocations: 0.6038 MB / 0.8317 GB, free: 13.21 MB / 0.5417 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.02312/0.724, allocations: 8.811 MB / 0.8403 GB, free: 4.105 MB / 0.5417 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0003396/0.7244, allocations: 19.88 kB / 0.8403 GB, free: 4.086 MB / 0.5417 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.001813/0.7262, allocations: 255.1 kB / 0.8406 GB, free: 3.84 MB / 0.5417 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0002152/0.7265, allocations: 179.9 kB / 0.8408 GB, free: 3.664 MB / 0.5417 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01749/0.744, allocations: 7.407 MB / 0.848 GB, free: 12.25 MB / 0.5573 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.05962/0.8036, allocations: 35.32 MB / 0.8825 GB, free: 7.152 MB / 0.5886 GB Notification: Performance of preOpt comSubExp (simulation): time 0.007839/0.8115, allocations: 4.295 MB / 0.8867 GB, free: 2.863 MB / 0.5886 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.005874/0.8174, allocations: 3.386 MB / 0.89 GB, free: 15.49 MB / 0.6042 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001477/0.8189, allocations: 0.9843 MB / 0.891 GB, free: 14.33 MB / 0.6042 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.004717/0.8237, allocations: 2.298 MB / 0.8932 GB, free: 12 MB / 0.6042 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.003447/0.8272, allocations: 443.6 kB / 0.8936 GB, free: 11.56 MB / 0.6042 GB Notification: Performance of pre-optimization done (n=325): time 2.021e-05/0.8272, allocations: 0 / 0.8936 GB, free: 11.56 MB / 0.6042 GB Notification: Performance of matching and sorting (n=325): time 0.01589/0.8431, allocations: 7.119 MB / 0.9006 GB, free: 4.355 MB / 0.6042 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.327e-05/0.8432, allocations: 85.97 kB / 0.9007 GB, free: 4.258 MB / 0.6042 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.01124/0.8545, allocations: 5.205 MB / 0.9057 GB, free: 15.07 MB / 0.6198 GB Notification: Performance of collectPreVariables (initialization): time 0.0008078/0.8553, allocations: 85.7 kB / 0.9058 GB, free: 14.98 MB / 0.6198 GB Notification: Performance of collectInitialEqns (initialization): time 0.003847/0.8592, allocations: 3.13 MB / 0.9089 GB, free: 11.83 MB / 0.6198 GB Notification: Performance of collectInitialBindings (initialization): time 0.001939/0.8612, allocations: 1.142 MB / 0.91 GB, free: 10.7 MB / 0.6198 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0007176/0.8619, allocations: 96 kB / 0.9101 GB, free: 10.6 MB / 0.6198 GB Notification: Performance of setup shared object (initialization): time 0.0004468/0.8624, allocations: 495.7 kB / 0.9106 GB, free: 10.11 MB / 0.6198 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.004093/0.8665, allocations: 2.124 MB / 0.9126 GB, free: 7.977 MB / 0.6198 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00571/0.8722, allocations: 3.689 MB / 0.9162 GB, free: 3.574 MB / 0.6198 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.01118/0.8835, allocations: 6.312 MB / 0.9224 GB, free: 12.54 MB / 0.6355 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.365e-05/0.8836, allocations: 12 kB / 0.9224 GB, free: 12.53 MB / 0.6355 GB Notification: Performance of matching and sorting (n=576) (initialization): time 0.01414/0.8977, allocations: 6.726 MB / 0.929 GB, free: 5.75 MB / 0.6355 GB Notification: Performance of prepare postOptimizeDAE: time 8.201e-05/0.8979, allocations: 53.7 kB / 0.929 GB, free: 5.691 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.365e-05/0.8979, allocations: 52 kB / 0.9291 GB, free: 5.641 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001069/0.899, allocations: 434.3 kB / 0.9295 GB, free: 5.211 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.004037/0.9031, allocations: 1.022 MB / 0.9305 GB, free: 4.188 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.005584/0.9087, allocations: 5.268 MB / 0.9356 GB, free: 14.66 MB / 0.6511 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.005757/0.9145, allocations: 426.9 kB / 0.936 GB, free: 14.24 MB / 0.6511 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0009961/0.9155, allocations: 223.9 kB / 0.9363 GB, free: 14.02 MB / 0.6511 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 226 * 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 (547): * Single equations (assignments): 544 * 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.005845/0.9213, allocations: 2.448 MB / 0.9386 GB, free: 11.56 MB / 0.6511 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.002028/0.9234, allocations: 0.5133 MB / 0.9391 GB, free: 11.04 MB / 0.6511 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01163/0.935, allocations: 5.256 MB / 0.9443 GB, free: 5.734 MB / 0.6511 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.149e-05/0.9352, allocations: 32 kB / 0.9443 GB, free: 5.703 MB / 0.6511 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.239e-05/0.9352, allocations: 8 kB / 0.9443 GB, free: 5.695 MB / 0.6511 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.007992/0.9432, allocations: 4.529 MB / 0.9487 GB, free: 1.062 MB / 0.6511 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.03353/0.9768, allocations: 11.67 MB / 0.9601 GB, free: 5.301 MB / 0.6667 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.641e-05/0.9768, allocations: 0 / 0.9601 GB, free: 5.301 MB / 0.6667 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.00322/0.98, allocations: 0.6592 MB / 0.9608 GB, free: 4.641 MB / 0.6667 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0009168/0.981, allocations: 365.3 kB / 0.9611 GB, free: 4.277 MB / 0.6667 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.000545/0.9816, allocations: 83.95 kB / 0.9612 GB, free: 4.195 MB / 0.6667 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.005407/0.987, allocations: 5.166 MB / 0.9662 GB, free: 14.76 MB / 0.6823 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.684e-06/0.987, allocations: 4.062 kB / 0.9663 GB, free: 14.76 MB / 0.6823 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01357/1.001, allocations: 7.556 MB / 0.9736 GB, free: 7.129 MB / 0.6823 GB Notification: Performance of postOpt removeConstants (simulation): time 0.003564/1.004, allocations: 1.158 MB / 0.9748 GB, free: 5.945 MB / 0.6823 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001633/1.006, allocations: 67.98 kB / 0.9748 GB, free: 5.879 MB / 0.6823 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.004255/1.01, allocations: 419 kB / 0.9752 GB, free: 5.469 MB / 0.6823 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0007293/1.011, allocations: 202.3 kB / 0.9754 GB, free: 5.27 MB / 0.6823 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.000519/1.011, allocations: 115.9 kB / 0.9755 GB, free: 5.156 MB / 0.6823 GB Notification: Performance of sorting global known variables: time 0.007408/1.019, allocations: 3.615 MB / 0.9791 GB, free: 1.559 MB / 0.6823 GB Notification: Performance of sort global known variables: time 5.31e-07/1.019, allocations: 0 / 0.9791 GB, free: 1.559 MB / 0.6823 GB Notification: Performance of remove unused functions: time 0.3149/1.334, allocations: 1.95 MB / 0.981 GB, free: 241.1 MB / 0.6823 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 20 (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,HIn_flow.h_out,HOut_flow.h_out,HInEnh_flow.h_out,HOutEnh_flow.h_out,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 (304): * Single equations (assignments): 297 * 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.001706/1.336, allocations: 485.2 kB / 0.9814 GB, free: 241 MB / 0.6823 GB Notification: Performance of simCode: created initialization part: time 0.009618/1.345, allocations: 5.363 MB / 0.9867 GB, free: 240.1 MB / 0.6823 GB Notification: Performance of simCode: created event and clocks part: time 7.284e-06/1.345, allocations: 4.469 kB / 0.9867 GB, free: 240.1 MB / 0.6823 GB Notification: Performance of simCode: created simulation system equations: time 0.004119/1.349, allocations: 2.508 MB / 0.9891 GB, free: 239 MB / 0.6823 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.01481/1.364, allocations: 3.195 MB / 0.9922 GB, free: 238.4 MB / 0.6823 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02511/1.389, allocations: 16.73 MB / 1.009 GB, free: 229.7 MB / 0.6823 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.003962/1.393, allocations: 4.589 MB / 1.013 GB, free: 228.1 MB / 0.6823 GB Notification: Performance of simCode: alias equations: time 0.006937/1.4, allocations: 2.124 MB / 1.015 GB, free: 227.8 MB / 0.6823 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.00182/1.402, allocations: 453 kB / 1.016 GB, free: 227.8 MB / 0.6823 GB Notification: Performance of SimCode: time 1.422e-06/1.402, allocations: 0 / 1.016 GB, free: 227.8 MB / 0.6823 GB Notification: Performance of Templates: time 0.1511/1.553, allocations: 111.5 MB / 1.124 GB, free: 123.1 MB / 0.6823 GB make -j1 -f BuildSysPro_BuildSysPro.IBPSA.Fluid.Storage.Validation.StratifiedLoadingUnloading.makefile (rm -f BuildSysPro_BuildSysPro.IBPSA.Fluid.Storage.Validation.StratifiedLoadingUnloading.pipe ; mkfifo BuildSysPro_BuildSysPro.IBPSA.Fluid.Storage.Validation.StratifiedLoadingUnloading.pipe ; head -c 1048576 < BuildSysPro_BuildSysPro.IBPSA.Fluid.Storage.Validation.StratifiedLoadingUnloading.pipe >> ../files/BuildSysPro_BuildSysPro.IBPSA.Fluid.Storage.Validation.StratifiedLoadingUnloading.sim & ./BuildSysPro_BuildSysPro.IBPSA.Fluid.Storage.Validation.StratifiedLoadingUnloading -abortSlowSimulation -alarm=480 -lv LOG_STATS > BuildSysPro_BuildSysPro.IBPSA.Fluid.Storage.Validation.StratifiedLoadingUnloading.pipe 2>&1)