Running: ./testmodel.py --libraries=/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IBPSA_master_IBPSA.Fluid.Storage.Validation.StratifiedLoadingUnloading.conf.json Using package ModelicaServices with version 3.2.3 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package IBPSA with version 3.0.0 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 3.0.0-master/package.mo) Using package Complex with version 3.2.3 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo) Running command: translateModel(IBPSA.Fluid.Storage.Validation.StratifiedLoadingUnloading,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IBPSA_master_IBPSA.Fluid.Storage.Validation.StratifiedLoadingUnloading") Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.0025/0.002504, allocations: 357.2 kB / 15.94 MB, free: 6.207 MB / 13.93 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 3.0.0-master/package.mo): time 1.392/1.392, allocations: 165.8 MB / 182.5 MB, free: 5.445 MB / 138.7 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 3.694/3.694, allocations: 410.8 MB / 0.5995 GB, free: 15.17 MB / 298.7 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.001771/0.00177, allocations: 197.6 kB / 0.6662 GB, free: 6.938 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0004583/0.0004585, allocations: 12 kB / 0.7423 GB, free: 8.977 MB / 378.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.325/0.3254, allocations: 67.45 MB / 0.8081 GB, free: 28.8 MB / 378.7 MB Notification: Performance of NFInst.instantiate(IBPSA.Fluid.Storage.Validation.StratifiedLoadingUnloading): time 0.05906/0.3845, allocations: 51.51 MB / 0.8584 GB, free: 9.141 MB / 410.7 MB Notification: Performance of NFInst.instExpressions: time 0.02923/0.4138, allocations: 16.59 MB / 0.8747 GB, free: 8.512 MB / 426.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.00274/0.4166, allocations: 67.5 kB / 0.8747 GB, free: 8.445 MB / 426.7 MB Notification: Performance of NFTyping.typeComponents: time 0.003119/0.4197, allocations: 0.7335 MB / 0.8754 GB, free: 7.707 MB / 426.7 MB Notification: Performance of NFTyping.typeBindings: time 0.008467/0.4282, allocations: 2.272 MB / 0.8777 GB, free: 5.422 MB / 426.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.006405/0.4347, allocations: 1.564 MB / 0.8792 GB, free: 3.883 MB / 426.7 MB Notification: Performance of NFFlatten.flatten: time 0.02977/0.4645, allocations: 23.39 MB / 0.902 GB, free: 12.43 MB / 458.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.01303/0.4775, allocations: 7.138 MB / 0.909 GB, free: 5.215 MB / 458.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.01111/0.4887, allocations: 5.144 MB / 0.914 GB, free: 52 kB / 458.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.01077/0.4995, allocations: 5.481 MB / 0.9194 GB, free: 10.54 MB / 474.7 MB Notification: Performance of NFPackage.collectConstants: time 0.001788/0.5013, allocations: 344 kB / 0.9197 GB, free: 10.21 MB / 474.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.005344/0.5067, allocations: 0.7876 MB / 0.9205 GB, free: 9.422 MB / 474.7 MB Notification: Performance of NFScalarize.scalarize: time 0.003215/0.51, allocations: 1.518 MB / 0.9219 GB, free: 7.898 MB / 474.7 MB Notification: Performance of NFVerifyModel.verify: time 0.003954/0.514, allocations: 1.603 MB / 0.9235 GB, free: 6.285 MB / 474.7 MB Notification: Performance of NFConvertDAE.convert: time 0.3545/0.8685, allocations: 10.28 MB / 0.9336 GB, free: 28.89 MB / 474.7 MB Notification: Performance of FrontEnd - DAE generated: time 7.333e-06/0.8685, allocations: 1.094 kB / 0.9336 GB, free: 28.89 MB / 474.7 MB Notification: Performance of FrontEnd: time 3.357e-06/0.8686, allocations: 0 / 0.9336 GB, free: 28.89 MB / 474.7 MB Notification: Performance of Transformations before backend: time 0.0003858/0.869, allocations: 0 / 0.9336 GB, free: 28.89 MB / 474.7 MB 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.0207/0.8897, allocations: 6.919 MB / 0.9403 GB, free: 26.12 MB / 474.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.296e-05/0.8897, allocations: 14.03 kB / 0.9403 GB, free: 26.12 MB / 474.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0055/0.8953, allocations: 0.842 MB / 0.9411 GB, free: 25.73 MB / 474.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01684/0.9122, allocations: 6.343 MB / 0.9473 GB, free: 24.93 MB / 474.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0006699/0.9129, allocations: 457.1 kB / 0.9478 GB, free: 24.91 MB / 474.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.002485/0.9154, allocations: 0.599 MB / 0.9484 GB, free: 24.91 MB / 474.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.02555/0.941, allocations: 8.988 MB / 0.9571 GB, free: 23.93 MB / 474.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0002717/0.9413, allocations: 14.28 kB / 0.9572 GB, free: 23.93 MB / 474.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.002179/0.9435, allocations: 264.2 kB / 0.9574 GB, free: 23.93 MB / 474.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0002075/0.9437, allocations: 182.8 kB / 0.9576 GB, free: 23.93 MB / 474.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.02009/0.9638, allocations: 7.415 MB / 0.9648 GB, free: 23.85 MB / 474.7 MB 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.05889/1.023, allocations: 35.95 MB / 0.9999 GB, free: 1.621 MB / 474.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0088/1.032, allocations: 4.272 MB / 1.004 GB, free: 15.6 MB / 490.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.007468/1.039, allocations: 3.381 MB / 1.007 GB, free: 13.29 MB / 490.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.001863/1.041, allocations: 0.9838 MB / 1.008 GB, free: 12.15 MB / 490.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.006317/1.047, allocations: 2.377 MB / 1.011 GB, free: 10.45 MB / 490.7 MB Notification: Performance of preOpt simplifyInStream (simulation): time 0.003693/1.051, allocations: 443.6 kB / 1.011 GB, free: 10.07 MB / 490.7 MB Notification: Performance of pre-optimization done (n=317): time 1.562e-05/1.051, allocations: 0 / 1.011 GB, free: 10.07 MB / 490.7 MB Notification: Performance of matching and sorting (n=317): time 0.02096/1.072, allocations: 7.09 MB / 1.018 GB, free: 3.516 MB / 490.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.828e-05/1.072, allocations: 85.86 kB / 1.018 GB, free: 3.418 MB / 490.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.01226/1.085, allocations: 5.33 MB / 1.023 GB, free: 14.11 MB / 0.4949 GB Notification: Performance of collectPreVariables (initialization): time 0.0008438/1.085, allocations: 89.7 kB / 1.023 GB, free: 14.01 MB / 0.4949 GB Notification: Performance of collectInitialEqns (initialization): time 0.004722/1.09, allocations: 3.17 MB / 1.026 GB, free: 10.82 MB / 0.4949 GB Notification: Performance of collectInitialBindings (initialization): time 0.002132/1.092, allocations: 1.115 MB / 1.028 GB, free: 9.719 MB / 0.4949 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0004502/1.093, allocations: 88 kB / 1.028 GB, free: 9.633 MB / 0.4949 GB Notification: Performance of setup shared object (initialization): time 0.0004741/1.093, allocations: 495.6 kB / 1.028 GB, free: 9.141 MB / 0.4949 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.005587/1.099, allocations: 2.136 MB / 1.03 GB, free: 6.996 MB / 0.4949 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.007357/1.106, allocations: 3.684 MB / 1.034 GB, free: 2.637 MB / 0.4949 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.007052/1.113, allocations: 2.903 MB / 1.037 GB, free: 15.76 MB / 0.5105 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.521e-05/1.114, allocations: 16 kB / 1.037 GB, free: 15.74 MB / 0.5105 GB Notification: Performance of matching and sorting (n=569) (initialization): time 0.01862/1.132, allocations: 6.718 MB / 1.043 GB, free: 9.273 MB / 0.5105 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001001/1.132, allocations: 60.33 kB / 1.043 GB, free: 9.211 MB / 0.5105 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.568e-05/1.132, allocations: 48 kB / 1.043 GB, free: 9.164 MB / 0.5105 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001494/1.134, allocations: 437.6 kB / 1.044 GB, free: 8.73 MB / 0.5105 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.005949/1.14, allocations: 1.016 MB / 1.045 GB, free: 7.789 MB / 0.5105 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.008601/1.148, allocations: 5.249 MB / 1.05 GB, free: 2.328 MB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.006864/1.155, allocations: 470.8 kB / 1.05 GB, free: 1.867 MB / 0.5105 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001013/1.156, allocations: 216 kB / 1.051 GB, free: 1.656 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 (linear and non-linear blocks): 0 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 2 {(1,100.0%) 14,(1,100.0%) 14} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.006203/1.163, allocations: 2.462 MB / 1.053 GB, free: 15.25 MB / 0.5261 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001641/1.164, allocations: 0.521 MB / 1.053 GB, free: 14.73 MB / 0.5261 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01399/1.178, allocations: 5.228 MB / 1.059 GB, free: 9.453 MB / 0.5261 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.163e-05/1.178, allocations: 35.95 kB / 1.059 GB, free: 9.418 MB / 0.5261 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.541e-05/1.178, allocations: 4 kB / 1.059 GB, free: 9.414 MB / 0.5261 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.01126/1.19, allocations: 4.512 MB / 1.063 GB, free: 4.812 MB / 0.5261 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.03332/1.223, allocations: 11.94 MB / 1.075 GB, free: 8.797 MB / 0.5417 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.585e-05/1.223, allocations: 128 / 1.075 GB, free: 8.797 MB / 0.5417 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.004542/1.228, allocations: 0.6606 MB / 1.075 GB, free: 8.164 MB / 0.5417 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.001308/1.229, allocations: 373.3 kB / 1.076 GB, free: 7.797 MB / 0.5417 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0005846/1.23, allocations: 83.95 kB / 1.076 GB, free: 7.715 MB / 0.5417 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.008021/1.238, allocations: 5.176 MB / 1.081 GB, free: 2.309 MB / 0.5417 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.185e-06/1.238, allocations: 4 kB / 1.081 GB, free: 2.305 MB / 0.5417 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01823/1.256, allocations: 7.577 MB / 1.088 GB, free: 10.64 MB / 0.5574 GB Notification: Performance of postOpt removeConstants (simulation): time 0.004632/1.261, allocations: 1.22 MB / 1.089 GB, free: 9.402 MB / 0.5574 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001533/1.262, allocations: 63.98 kB / 1.089 GB, free: 9.34 MB / 0.5574 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.006006/1.268, allocations: 475.5 kB / 1.09 GB, free: 8.879 MB / 0.5574 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0007857/1.269, allocations: 194.2 kB / 1.09 GB, free: 8.688 MB / 0.5574 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0005404/1.27, allocations: 143.9 kB / 1.09 GB, free: 8.547 MB / 0.5574 GB Notification: Performance of sorting global known variables: time 0.008511/1.278, allocations: 3.703 MB / 1.094 GB, free: 4.863 MB / 0.5574 GB Notification: Performance of sort global known variables: time 1.253e-06/1.278, allocations: 4 kB / 1.094 GB, free: 4.859 MB / 0.5574 GB Notification: Performance of remove unused functions: time 0.008684/1.287, allocations: 1.976 MB / 1.096 GB, free: 2.879 MB / 0.5574 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 (linear and non-linear blocks): 0 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 2 {(1,100.0%) 14,(1,100.0%) 14} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.001734/1.289, allocations: 475.3 kB / 1.096 GB, free: 2.469 MB / 0.5574 GB Notification: Performance of simCode: created initialization part: time 0.0124/1.301, allocations: 5.357 MB / 1.101 GB, free: 13.22 MB / 0.573 GB Notification: Performance of simCode: created event and clocks part: time 6.629e-06/1.301, allocations: 4 kB / 1.101 GB, free: 13.21 MB / 0.573 GB Notification: Performance of simCode: created simulation system equations: time 0.005905/1.307, allocations: 2.506 MB / 1.104 GB, free: 10.74 MB / 0.573 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.01907/1.326, allocations: 3.226 MB / 1.107 GB, free: 7.574 MB / 0.573 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.04797/1.374, allocations: 16.04 MB / 1.123 GB, free: 7.523 MB / 0.5886 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.01495/1.389, allocations: 4.707 MB / 1.127 GB, free: 2.781 MB / 0.5886 GB Notification: Performance of simCode: alias equations: time 0.01815/1.407, allocations: 2.014 MB / 1.129 GB, free: 0.7695 MB / 0.5886 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.004178/1.412, allocations: 458 kB / 1.13 GB, free: 332 kB / 0.5886 GB Notification: Performance of SimCode: time 4.272e-06/1.412, allocations: 0 / 1.13 GB, free: 332 kB / 0.5886 GB Notification: Performance of Templates: time 0.6063/2.018, allocations: 112 MB / 1.239 GB, free: 189.6 MB / 0.6199 GB