Running: ./testmodel.py --libraries=/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IBPSA_master_IBPSA.Fluid.Storage.Examples.StratifiedUnloadAtMinimumTemperature.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.Examples.StratifiedUnloadAtMinimumTemperature,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IBPSA_master_IBPSA.Fluid.Storage.Examples.StratifiedUnloadAtMinimumTemperature") Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001463/0.001467, allocations: 189 kB / 15.77 MB, free: 6 MB / 13.93 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 3.0.0-master/package.mo): time 0.6901/0.6901, allocations: 82.92 MB / 99.41 MB, free: 3.227 MB / 74.72 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 2.293/2.293, allocations: 205.4 MB / 325.4 MB, free: 3.328 MB / 250.7 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.00106/0.001059, allocations: 102 kB / 393.6 MB, free: 15.09 MB / 330.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0007816/0.0007819, allocations: 12 kB / 471.5 MB, free: 66.56 MB / 362.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.117/0.1178, allocations: 67.45 MB / 0.5263 GB, free: 15.07 MB / 378.7 MB Notification: Performance of NFInst.instantiate(IBPSA.Fluid.Storage.Examples.StratifiedUnloadAtMinimumTemperature): time 0.07424/0.1921, allocations: 31.82 MB / 0.5574 GB, free: 15.16 MB / 410.7 MB Notification: Performance of NFInst.instExpressions: time 0.03255/0.2247, allocations: 11.06 MB / 0.5682 GB, free: 4.078 MB / 410.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.002411/0.2271, allocations: 43.62 kB / 0.5683 GB, free: 4.035 MB / 410.7 MB Notification: Performance of NFTyping.typeComponents: time 0.002787/0.23, allocations: 0.657 MB / 0.5689 GB, free: 3.375 MB / 410.7 MB Notification: Performance of NFTyping.typeBindings: time 0.005939/0.2359, allocations: 1.558 MB / 0.5704 GB, free: 1.816 MB / 410.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.009625/0.2456, allocations: 2.563 MB / 0.5729 GB, free: 15.28 MB / 426.7 MB Notification: Performance of NFFlatten.flatten: time 0.008013/0.2536, allocations: 4.45 MB / 0.5773 GB, free: 10.82 MB / 426.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.004881/0.2585, allocations: 2.751 MB / 0.58 GB, free: 8.027 MB / 426.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.00425/0.2628, allocations: 1.837 MB / 0.5818 GB, free: 6.184 MB / 426.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.003118/0.266, allocations: 1.54 MB / 0.5833 GB, free: 4.637 MB / 426.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0004853/0.2665, allocations: 136 kB / 0.5834 GB, free: 4.504 MB / 426.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.002624/0.2691, allocations: 0.671 MB / 0.584 GB, free: 3.832 MB / 426.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0008656/0.27, allocations: 0.5682 MB / 0.5846 GB, free: 3.262 MB / 426.7 MB Notification: Performance of NFVerifyModel.verify: time 0.001174/0.2712, allocations: 0.6447 MB / 0.5852 GB, free: 2.609 MB / 426.7 MB Notification: Performance of NFConvertDAE.convert: time 0.3931/0.6643, allocations: 3.922 MB / 0.5891 GB, free: 16.38 MB / 426.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.086e-06/0.6644, allocations: 0 / 0.5891 GB, free: 16.38 MB / 426.7 MB Notification: Performance of FrontEnd: time 3.267e-06/0.6644, allocations: 0.7188 kB / 0.5891 GB, free: 16.38 MB / 426.7 MB Notification: Performance of Transformations before backend: time 0.0001174/0.6645, allocations: 0 / 0.5891 GB, free: 16.38 MB / 426.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 586 * Number of variables: 586 Notification: Performance of Generate backend data structure: time 0.00982/0.6743, allocations: 2.976 MB / 0.592 GB, free: 15.02 MB / 426.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.444e-05/0.6744, allocations: 13.09 kB / 0.592 GB, free: 15.02 MB / 426.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002822/0.6773, allocations: 359.1 kB / 0.5923 GB, free: 14.85 MB / 426.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.009816/0.6871, allocations: 2.361 MB / 0.5946 GB, free: 14.41 MB / 426.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003617/0.6875, allocations: 178.7 kB / 0.5948 GB, free: 14.41 MB / 426.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001262/0.6888, allocations: 234.9 kB / 0.595 GB, free: 14.41 MB / 426.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0134/0.7022, allocations: 3.198 MB / 0.5981 GB, free: 14.05 MB / 426.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001207/0.7024, allocations: 10.88 kB / 0.5982 GB, free: 14.05 MB / 426.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0006035/0.703, allocations: 100.3 kB / 0.5983 GB, free: 14.05 MB / 426.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.00014/0.7032, allocations: 66.2 kB / 0.5983 GB, free: 14.05 MB / 426.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01077/0.714, allocations: 2.568 MB / 0.6008 GB, free: 14.02 MB / 426.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.02852/0.7425, allocations: 13.84 MB / 0.6143 GB, free: 6.809 MB / 426.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.004117/0.7467, allocations: 1.624 MB / 0.6159 GB, free: 6.766 MB / 426.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.001072/0.7478, allocations: 0.7159 MB / 0.6166 GB, free: 6.016 MB / 426.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.756e-05/0.7479, allocations: 54.78 kB / 0.6167 GB, free: 5.973 MB / 426.7 MB Notification: Performance of preOpt simplifyInStream (simulation): time 0.002086/0.75, allocations: 193.4 kB / 0.6169 GB, free: 5.902 MB / 426.7 MB Notification: Performance of pre-optimization done (n=126): time 6.783e-06/0.75, allocations: 0.9062 kB / 0.6169 GB, free: 5.902 MB / 426.7 MB Notification: Performance of matching and sorting (n=126): time 0.01162/0.7617, allocations: 3.49 MB / 0.6203 GB, free: 5.496 MB / 426.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.174e-05/0.7618, allocations: 143.3 kB / 0.6204 GB, free: 5.34 MB / 426.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003549/0.7653, allocations: 2.086 MB / 0.6224 GB, free: 5.102 MB / 426.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0003564/0.7657, allocations: 63.91 kB / 0.6225 GB, free: 5.066 MB / 426.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.001118/0.7668, allocations: 1.245 MB / 0.6237 GB, free: 4.547 MB / 426.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0005488/0.7674, allocations: 450.5 kB / 0.6241 GB, free: 4.273 MB / 426.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001222/0.7675, allocations: 30.5 kB / 0.6242 GB, free: 4.273 MB / 426.7 MB Notification: Performance of setup shared object (initialization): time 0.0001294/0.7677, allocations: 379.2 kB / 0.6245 GB, free: 3.965 MB / 426.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.00152/0.7692, allocations: 0.7307 MB / 0.6253 GB, free: 3.961 MB / 426.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001776/0.771, allocations: 1.237 MB / 0.6265 GB, free: 3.254 MB / 426.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001741/0.7728, allocations: 0.9583 MB / 0.6274 GB, free: 3.102 MB / 426.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.223e-05/0.7728, allocations: 5.75 kB / 0.6274 GB, free: 3.102 MB / 426.7 MB Notification: Performance of matching and sorting (n=213) (initialization): time 0.004942/0.7778, allocations: 2.417 MB / 0.6298 GB, free: 2.605 MB / 426.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.002384/0.7802, allocations: 5.704 MB / 0.6353 GB, free: 12.59 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.142e-05/0.7802, allocations: 15.47 kB / 0.6353 GB, free: 12.59 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.002596/0.7829, allocations: 0.5116 MB / 0.6358 GB, free: 12.44 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001766/0.7847, allocations: 348.7 kB / 0.6362 GB, free: 12.39 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004531/0.7892, allocations: 3.17 MB / 0.6393 GB, free: 10.26 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002934/0.7922, allocations: 231 kB / 0.6395 GB, free: 10.17 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000283/0.7925, allocations: 82.47 kB / 0.6396 GB, free: 10.16 MB / 442.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.156e-05/0.7925, allocations: 4.094 kB / 0.6396 GB, free: 10.16 MB / 442.7 MB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.004975/0.7975, allocations: 2.193 MB / 0.6417 GB, free: 9.797 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.144e-05/0.7976, allocations: 14.98 kB / 0.6417 GB, free: 9.797 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001362/0.799, allocations: 250.7 kB / 0.642 GB, free: 9.727 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002665/0.8017, allocations: 371.4 kB / 0.6423 GB, free: 9.668 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.005946/0.8077, allocations: 4.222 MB / 0.6465 GB, free: 6.641 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002757/0.8105, allocations: 220 kB / 0.6467 GB, free: 6.562 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002148/0.8107, allocations: 76.02 kB / 0.6467 GB, free: 6.559 MB / 442.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 63 * Number of states: 0 () * Number of discrete variables: 8 ($PRE.onOffBot.y,onOffBot.y,$PRE.onOffMid.y,onOffMid.y,and2.y,yTop.u,$PRE.onOffHea.y,onOffHea.y) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (179): * Single equations (assignments): 177 * Array equations: 0 * Algorithm blocks: 0 * 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: 1 {(1,100.0%) 10} * Non-linear torn systems: 1 {3 22} Notification: Performance of prepare postOptimizeDAE: time 0.001992/0.8127, allocations: 1.01 MB / 0.6477 GB, free: 6.207 MB / 442.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0005899/0.8133, allocations: 202.4 kB / 0.6479 GB, free: 6.102 MB / 442.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.007468/0.8208, allocations: 2.081 MB / 0.6499 GB, free: 5.617 MB / 442.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.042e-05/0.8209, allocations: 12.66 kB / 0.65 GB, free: 5.617 MB / 442.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.213e-05/0.8209, allocations: 6.562 kB / 0.65 GB, free: 5.617 MB / 442.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.005869/0.8268, allocations: 1.676 MB / 0.6516 GB, free: 5.156 MB / 442.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0201/0.8469, allocations: 4.689 MB / 0.6562 GB, free: 0.9609 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.335e-05/0.847, allocations: 4.25 kB / 0.6562 GB, free: 0.957 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002468/0.8495, allocations: 201.8 kB / 0.6564 GB, free: 0.7695 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.003949/0.8535, allocations: 444.7 kB / 0.6568 GB, free: 340 kB / 442.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0003565/0.8539, allocations: 39.94 kB / 0.6568 GB, free: 300 kB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.007657/0.8616, allocations: 3.082 MB / 0.6598 GB, free: 13.08 MB / 458.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.338e-06/0.8616, allocations: 0 / 0.6598 GB, free: 13.08 MB / 458.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01215/0.8738, allocations: 3.071 MB / 0.6628 GB, free: 9.953 MB / 458.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.002976/0.8768, allocations: 0.5453 MB / 0.6634 GB, free: 9.387 MB / 458.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0009651/0.8778, allocations: 31.47 kB / 0.6634 GB, free: 9.359 MB / 458.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.004594/0.8825, allocations: 203.8 kB / 0.6636 GB, free: 9.16 MB / 458.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0008175/0.8834, allocations: 99.27 kB / 0.6637 GB, free: 9.066 MB / 458.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0004988/0.8839, allocations: 59.95 kB / 0.6638 GB, free: 9.008 MB / 458.7 MB Notification: Performance of sorting global known variables: time 0.007349/0.8913, allocations: 1.447 MB / 0.6652 GB, free: 7.539 MB / 458.7 MB Notification: Performance of sort global known variables: time 2.02e-06/0.8913, allocations: 0 / 0.6652 GB, free: 7.539 MB / 458.7 MB Notification: Performance of remove unused functions: time 0.007936/0.8993, allocations: 1.495 MB / 0.6666 GB, free: 6.039 MB / 458.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 4 * Number of states: 5 (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) * Number of discrete variables: 5 (onOffBot.y,onOffMid.y,and2.y,yTop.u,onOffHea.y) * Number of discrete states: 3 (onOffBot.y,onOffMid.y,onOffHea.y) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (102): * Single equations (assignments): 96 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 4 * 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: 1 {(1,100.0%) 10} * Non-linear torn systems: 1 {3 20} Notification: Performance of Backend phase and start with SimCode phase: time 0.001111/0.9004, allocations: 380.5 kB / 0.667 GB, free: 5.695 MB / 458.7 MB Notification: Performance of simCode: created initialization part: time 0.007979/0.9084, allocations: 3.378 MB / 0.6703 GB, free: 2.387 MB / 458.7 MB Notification: Performance of simCode: created event and clocks part: time 8.428e-06/0.9085, allocations: 0 / 0.6703 GB, free: 2.387 MB / 458.7 MB Notification: Performance of simCode: created simulation system equations: time 0.002359/0.9109, allocations: 1.033 MB / 0.6713 GB, free: 1.363 MB / 458.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00863/0.9195, allocations: 1.133 MB / 0.6724 GB, free: 252 kB / 458.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02724/0.9468, allocations: 6.281 MB / 0.6785 GB, free: 9.957 MB / 474.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.006182/0.9531, allocations: 2.209 MB / 0.6807 GB, free: 7.719 MB / 474.7 MB Notification: Performance of simCode: alias equations: time 0.009636/0.9628, allocations: 0.9548 MB / 0.6816 GB, free: 6.773 MB / 474.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001713/0.9645, allocations: 167.4 kB / 0.6818 GB, free: 6.609 MB / 474.7 MB Notification: Performance of SimCode: time 3.258e-06/0.9646, allocations: 0 / 0.6818 GB, free: 6.609 MB / 474.7 MB Notification: Performance of Templates: time 0.1347/1.099, allocations: 45.49 MB / 0.7262 GB, free: 9.652 MB / 0.5105 GB