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.002464/0.002469, allocations: 354.8 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.539/1.539, allocations: 165.8 MB / 182.5 MB, free: 5.438 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.864/3.864, allocations: 410.8 MB / 0.5995 GB, free: 15.08 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.001678/0.001678, allocations: 189.3 kB / 0.6662 GB, free: 6.941 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0004716/0.0004718, allocations: 11.98 kB / 0.7423 GB, free: 8.973 MB / 378.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3329/0.3334, allocations: 67.44 MB / 0.8081 GB, free: 28.8 MB / 378.7 MB Notification: Performance of NFInst.instantiate(IBPSA.Fluid.Storage.Examples.StratifiedUnloadAtMinimumTemperature): time 0.03883/0.3723, allocations: 34.86 MB / 0.8422 GB, free: 9.84 MB / 394.7 MB Notification: Performance of NFInst.instExpressions: time 0.02297/0.3953, allocations: 11.6 MB / 0.8535 GB, free: 14.21 MB / 410.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.002157/0.3975, allocations: 43.69 kB / 0.8536 GB, free: 14.17 MB / 410.7 MB Notification: Performance of NFTyping.typeComponents: time 0.002469/0.4, allocations: 0.5745 MB / 0.8541 GB, free: 13.59 MB / 410.7 MB Notification: Performance of NFTyping.typeBindings: time 0.006458/0.4065, allocations: 1.588 MB / 0.8557 GB, free: 12 MB / 410.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.009632/0.4162, allocations: 2.613 MB / 0.8582 GB, free: 9.414 MB / 410.7 MB Notification: Performance of NFFlatten.flatten: time 0.01312/0.4293, allocations: 8.852 MB / 0.8669 GB, free: 0.5391 MB / 410.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.005094/0.4345, allocations: 2.755 MB / 0.8696 GB, free: 13.74 MB / 426.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.004809/0.4393, allocations: 2.062 MB / 0.8716 GB, free: 11.67 MB / 426.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.004413/0.4438, allocations: 2.136 MB / 0.8737 GB, free: 9.527 MB / 426.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0006402/0.4445, allocations: 132 kB / 0.8738 GB, free: 9.398 MB / 426.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.002901/0.4474, allocations: 0.6276 MB / 0.8744 GB, free: 8.77 MB / 426.7 MB Notification: Performance of NFScalarize.scalarize: time 0.001127/0.4485, allocations: 0.5914 MB / 0.875 GB, free: 8.176 MB / 426.7 MB Notification: Performance of NFVerifyModel.verify: time 0.001377/0.4499, allocations: 0.6408 MB / 0.8756 GB, free: 7.527 MB / 426.7 MB Notification: Performance of NFConvertDAE.convert: time 0.006442/0.4564, allocations: 3.943 MB / 0.8795 GB, free: 3.574 MB / 426.7 MB Notification: Performance of FrontEnd - DAE generated: time 6.511e-06/0.4565, allocations: 0 / 0.8795 GB, free: 3.574 MB / 426.7 MB Notification: Performance of FrontEnd: time 3.412e-06/0.4565, allocations: 0 / 0.8795 GB, free: 3.574 MB / 426.7 MB Notification: Performance of Transformations before backend: time 0.0001081/0.4566, allocations: 4 kB / 0.8795 GB, free: 3.57 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.007619/0.4642, allocations: 2.992 MB / 0.8824 GB, free: 0.5117 MB / 426.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.252e-05/0.4643, allocations: 8.031 kB / 0.8824 GB, free: 0.5039 MB / 426.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001584/0.4659, allocations: 356 kB / 0.8827 GB, free: 156 kB / 426.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.006768/0.4727, allocations: 2.505 MB / 0.8852 GB, free: 13.6 MB / 442.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002387/0.4729, allocations: 184.5 kB / 0.8854 GB, free: 13.41 MB / 442.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0006966/0.4737, allocations: 231.9 kB / 0.8856 GB, free: 13.19 MB / 442.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.008441/0.4821, allocations: 3.222 MB / 0.8887 GB, free: 9.824 MB / 442.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.63e-05/0.4822, allocations: 4 kB / 0.8887 GB, free: 9.82 MB / 442.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0003615/0.4826, allocations: 96 kB / 0.8888 GB, free: 9.727 MB / 442.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001027/0.4827, allocations: 71.92 kB / 0.8889 GB, free: 9.656 MB / 442.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.007189/0.4899, allocations: 2.562 MB / 0.8914 GB, free: 7.078 MB / 442.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.02551/0.5155, allocations: 13.76 MB / 0.9048 GB, free: 8.242 MB / 458.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.003916/0.5194, allocations: 1.622 MB / 0.9064 GB, free: 6.617 MB / 458.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.002517/0.522, allocations: 1.174 MB / 0.9076 GB, free: 5.441 MB / 458.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.001097/0.5231, allocations: 0.7243 MB / 0.9083 GB, free: 4.57 MB / 458.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.509e-05/0.5232, allocations: 47.56 kB / 0.9083 GB, free: 4.516 MB / 458.7 MB Notification: Performance of preOpt simplifyInStream (simulation): time 0.00162/0.5249, allocations: 187.8 kB / 0.9085 GB, free: 4.332 MB / 458.7 MB Notification: Performance of pre-optimization done (n=126): time 5.319e-06/0.5249, allocations: 3.938 kB / 0.9085 GB, free: 4.328 MB / 458.7 MB Notification: Performance of matching and sorting (n=126): time 0.01229/0.5372, allocations: 3.448 MB / 0.9119 GB, free: 0.8242 MB / 458.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001102/0.5373, allocations: 145.5 kB / 0.912 GB, free: 0.6523 MB / 458.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003971/0.5413, allocations: 1.939 MB / 0.9139 GB, free: 14.67 MB / 474.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0002965/0.5417, allocations: 57.7 kB / 0.9139 GB, free: 14.61 MB / 474.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.001596/0.5433, allocations: 1.257 MB / 0.9152 GB, free: 13.34 MB / 474.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0007343/0.544, allocations: 445.8 kB / 0.9156 GB, free: 12.89 MB / 474.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001388/0.5442, allocations: 32 kB / 0.9156 GB, free: 12.86 MB / 474.7 MB Notification: Performance of setup shared object (initialization): time 0.0002501/0.5444, allocations: 369.9 kB / 0.916 GB, free: 12.5 MB / 474.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001708/0.5462, allocations: 0.73 MB / 0.9167 GB, free: 11.77 MB / 474.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002268/0.5484, allocations: 1.24 MB / 0.9179 GB, free: 10.32 MB / 474.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.00267/0.5511, allocations: 0.9432 MB / 0.9188 GB, free: 9.371 MB / 474.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.884e-05/0.5512, allocations: 4 kB / 0.9188 GB, free: 9.367 MB / 474.7 MB Notification: Performance of matching and sorting (n=213) (initialization): time 0.006534/0.5578, allocations: 2.401 MB / 0.9212 GB, free: 6.949 MB / 474.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.0004985/0.5583, allocations: 0.5152 MB / 0.9217 GB, free: 6.238 MB / 474.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.924e-05/0.5584, allocations: 16 kB / 0.9217 GB, free: 6.223 MB / 474.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.002726/0.5611, allocations: 0.5168 MB / 0.9222 GB, free: 5.699 MB / 474.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00193/0.5631, allocations: 347.4 kB / 0.9225 GB, free: 5.359 MB / 474.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004913/0.568, allocations: 3.138 MB / 0.9256 GB, free: 2.066 MB / 474.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00276/0.5708, allocations: 223.4 kB / 0.9258 GB, free: 1.848 MB / 474.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003717/0.5712, allocations: 87.97 kB / 0.9259 GB, free: 1.762 MB / 474.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.105e-05/0.5712, allocations: 0 / 0.9259 GB, free: 1.762 MB / 474.7 MB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.32/0.8913, allocations: 2.178 MB / 0.928 GB, free: 108.7 MB / 474.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.291e-05/0.8914, allocations: 13.94 kB / 0.928 GB, free: 108.7 MB / 474.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0009931/0.8924, allocations: 249.8 kB / 0.9283 GB, free: 108.6 MB / 474.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002336/0.8948, allocations: 365.4 kB / 0.9286 GB, free: 108.6 MB / 474.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.005775/0.9006, allocations: 4.166 MB / 0.9327 GB, free: 105.9 MB / 474.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002734/0.9034, allocations: 222.2 kB / 0.9329 GB, free: 105.9 MB / 474.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0004027/0.9038, allocations: 77.31 kB / 0.933 GB, free: 105.9 MB / 474.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.002281/0.9061, allocations: 1.007 MB / 0.934 GB, free: 105.4 MB / 474.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0006191/0.9067, allocations: 207.4 kB / 0.9341 GB, free: 105.4 MB / 474.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004931/0.9117, allocations: 2.056 MB / 0.9362 GB, free: 104.6 MB / 474.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.514e-05/0.9118, allocations: 19.27 kB / 0.9362 GB, free: 104.6 MB / 474.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.254e-06/0.9118, allocations: 0 / 0.9362 GB, free: 104.6 MB / 474.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.003587/0.9154, allocations: 1.669 MB / 0.9378 GB, free: 103.9 MB / 474.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01172/0.9272, allocations: 4.684 MB / 0.9424 GB, free: 102 MB / 474.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.164e-05/0.9272, allocations: 2.656 kB / 0.9424 GB, free: 102 MB / 474.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001391/0.9286, allocations: 203.5 kB / 0.9426 GB, free: 102 MB / 474.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.002352/0.931, allocations: 446 kB / 0.943 GB, free: 101.9 MB / 474.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002452/0.9313, allocations: 38.88 kB / 0.943 GB, free: 101.9 MB / 474.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003621/0.9349, allocations: 3.051 MB / 0.946 GB, free: 99.46 MB / 474.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.926e-06/0.935, allocations: 7.781 kB / 0.946 GB, free: 99.46 MB / 474.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.005916/0.9409, allocations: 2.989 MB / 0.9489 GB, free: 97.85 MB / 474.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001561/0.9425, allocations: 0.5072 MB / 0.9494 GB, free: 97.47 MB / 474.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0005238/0.943, allocations: 31.31 kB / 0.9495 GB, free: 97.45 MB / 474.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.00229/0.9454, allocations: 195.5 kB / 0.9497 GB, free: 97.38 MB / 474.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003145/0.9457, allocations: 110.4 kB / 0.9498 GB, free: 97.32 MB / 474.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.000187/0.9459, allocations: 54.17 kB / 0.9498 GB, free: 97.3 MB / 474.7 MB Notification: Performance of sorting global known variables: time 0.002466/0.9484, allocations: 1.338 MB / 0.9511 GB, free: 96.55 MB / 474.7 MB Notification: Performance of sort global known variables: time 1.195e-06/0.9484, allocations: 0 / 0.9511 GB, free: 96.55 MB / 474.7 MB Notification: Performance of remove unused functions: time 0.005423/0.9538, allocations: 1.473 MB / 0.9526 GB, free: 95.58 MB / 474.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.0009568/0.9548, allocations: 374.9 kB / 0.9529 GB, free: 95.27 MB / 474.7 MB Notification: Performance of simCode: created initialization part: time 0.006396/0.9613, allocations: 3.36 MB / 0.9562 GB, free: 91.89 MB / 474.7 MB Notification: Performance of simCode: created event and clocks part: time 7.96e-06/0.9613, allocations: 1.625 kB / 0.9562 GB, free: 91.89 MB / 474.7 MB Notification: Performance of simCode: created simulation system equations: time 0.001868/0.9632, allocations: 1.012 MB / 0.9572 GB, free: 90.88 MB / 474.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.006345/0.9696, allocations: 1.163 MB / 0.9583 GB, free: 89.79 MB / 474.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01004/0.9796, allocations: 6.289 MB / 0.9645 GB, free: 83.5 MB / 474.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002017/0.9817, allocations: 2.203 MB / 0.9666 GB, free: 81.27 MB / 474.7 MB Notification: Performance of simCode: alias equations: time 0.003771/0.9855, allocations: 0.9368 MB / 0.9675 GB, free: 80.34 MB / 474.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000707/0.9862, allocations: 171.4 kB / 0.9677 GB, free: 80.17 MB / 474.7 MB Notification: Performance of SimCode: time 1.971e-06/0.9863, allocations: 0 / 0.9677 GB, free: 80.17 MB / 474.7 MB Notification: Performance of Templates: time 0.0871/1.073, allocations: 44.88 MB / 1.012 GB, free: 35.75 MB / 474.7 MB