Running: ./testmodel.py --libraries=/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IBPSA_master_IBPSA.Fluid.Storage.Examples.StratifiedEnhancedInternalHex.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.StratifiedEnhancedInternalHex,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IBPSA_master_IBPSA.Fluid.Storage.Examples.StratifiedEnhancedInternalHex") Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.003925/0.003924, allocations: 355 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.502/1.502, allocations: 165.8 MB / 182.5 MB, free: 5.43 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.928/3.928, allocations: 410.8 MB / 0.5995 GB, free: 15.11 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.001686/0.001686, allocations: 190.9 kB / 0.6662 GB, free: 6.93 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0004507/0.0004509, allocations: 16 kB / 0.7423 GB, free: 8.961 MB / 378.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3295/0.33, allocations: 67.44 MB / 0.8081 GB, free: 28.8 MB / 378.7 MB Notification: Performance of NFInst.instantiate(IBPSA.Fluid.Storage.Examples.StratifiedEnhancedInternalHex): time 0.5655/0.8955, allocations: 140 MB / 0.9449 GB, free: 8.27 MB / 474.7 MB Notification: Performance of NFInst.instExpressions: time 0.06/0.9556, allocations: 40.85 MB / 0.9848 GB, free: 7.824 MB / 474.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.007992/0.9636, allocations: 175.4 kB / 0.9849 GB, free: 7.824 MB / 474.7 MB Notification: Performance of NFTyping.typeComponents: time 0.007798/0.9714, allocations: 1.975 MB / 0.9869 GB, free: 7.82 MB / 474.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0264/0.9979, allocations: 5.966 MB / 0.9927 GB, free: 6.523 MB / 474.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.01513/1.013, allocations: 4.11 MB / 0.9967 GB, free: 5.398 MB / 474.7 MB Notification: Performance of NFFlatten.flatten: time 0.06159/1.075, allocations: 46.54 MB / 1.042 GB, free: 0.8359 MB / 0.4948 GB Notification: Performance of NFFlatten.resolveConnections: time 0.03135/1.106, allocations: 15.31 MB / 1.057 GB, free: 1.691 MB / 0.5105 GB Notification: Performance of NFEvalConstants.evaluate: time 0.02502/1.131, allocations: 10.83 MB / 1.068 GB, free: 7.207 MB / 0.5261 GB Notification: Performance of NFSimplifyModel.simplify: time 0.02251/1.154, allocations: 10.97 MB / 1.078 GB, free: 13 MB / 0.5417 GB Notification: Performance of NFPackage.collectConstants: time 0.004759/1.158, allocations: 0.7344 MB / 1.079 GB, free: 12.27 MB / 0.5417 GB Notification: Performance of NFFlatten.collectFunctions: time 0.01347/1.172, allocations: 2.252 MB / 1.081 GB, free: 10.11 MB / 0.5417 GB Notification: Performance of NFScalarize.scalarize: time 0.00691/1.179, allocations: 3.117 MB / 1.084 GB, free: 7.055 MB / 0.5417 GB Notification: Performance of NFVerifyModel.verify: time 0.009198/1.188, allocations: 3.646 MB / 1.088 GB, free: 3.395 MB / 0.5417 GB Notification: Performance of NFConvertDAE.convert: time 0.03914/1.227, allocations: 25.21 MB / 1.113 GB, free: 10.78 MB / 0.573 GB Notification: Performance of FrontEnd - DAE generated: time 6.84e-06/1.227, allocations: 0 / 1.113 GB, free: 10.78 MB / 0.573 GB Notification: Performance of FrontEnd: time 2.817e-06/1.227, allocations: 0 / 1.113 GB, free: 10.78 MB / 0.573 GB Notification: Performance of Transformations before backend: time 0.0006832/1.228, allocations: 0 / 1.113 GB, free: 10.78 MB / 0.573 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 3221 * Number of variables: 3221 Notification: Performance of Generate backend data structure: time 0.04617/1.274, allocations: 15.82 MB / 1.128 GB, free: 11 MB / 0.5886 GB Notification: Performance of prepare preOptimizeDAE: time 4.45e-05/1.274, allocations: 12.03 kB / 1.128 GB, free: 10.99 MB / 0.5886 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.009588/1.284, allocations: 1.918 MB / 1.13 GB, free: 9.051 MB / 0.5886 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.04076/1.325, allocations: 14.67 MB / 1.144 GB, free: 10.64 MB / 0.6042 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.00137/1.326, allocations: 0.9733 MB / 1.145 GB, free: 9.668 MB / 0.6042 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.004368/1.331, allocations: 1.299 MB / 1.146 GB, free: 8.375 MB / 0.6042 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.9188/2.249, allocations: 19.1 MB / 1.165 GB, free: 102.1 MB / 0.6043 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0006525/2.25, allocations: 49.23 kB / 1.165 GB, free: 102.1 MB / 0.6043 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.003182/2.253, allocations: 0.5247 MB / 1.166 GB, free: 102.1 MB / 0.6043 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0005643/2.254, allocations: 350.2 kB / 1.166 GB, free: 102.1 MB / 0.6043 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0427/2.297, allocations: 16.56 MB / 1.182 GB, free: 102 MB / 0.6043 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.1394/2.436, allocations: 85.13 MB / 1.265 GB, free: 44.69 MB / 0.6043 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0219/2.458, allocations: 12.19 MB / 1.277 GB, free: 32.53 MB / 0.6043 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.01144/2.469, allocations: 6.245 MB / 1.283 GB, free: 26.28 MB / 0.6043 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0668/2.536, allocations: 28.3 MB / 1.311 GB, free: 13.11 MB / 0.6199 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001455/2.537, allocations: 124.7 kB / 1.311 GB, free: 12.98 MB / 0.6199 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.007489/2.544, allocations: 0.7368 MB / 1.312 GB, free: 12.23 MB / 0.6199 GB Notification: Performance of pre-optimization done (n=651): time 2.307e-05/2.544, allocations: 0 / 1.312 GB, free: 12.23 MB / 0.6199 GB Notification: Performance of matching and sorting (n=651): time 0.05599/2.6, allocations: 17.88 MB / 1.329 GB, free: 9.977 MB / 0.6355 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001216/2.6, allocations: 122.2 kB / 1.329 GB, free: 9.844 MB / 0.6355 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.03069/2.631, allocations: 12.59 MB / 1.342 GB, free: 13.3 MB / 0.6512 GB Notification: Performance of collectPreVariables (initialization): time 0.001708/2.633, allocations: 181.7 kB / 1.342 GB, free: 13.12 MB / 0.6512 GB Notification: Performance of collectInitialEqns (initialization): time 0.01009/2.643, allocations: 7.203 MB / 1.349 GB, free: 5.914 MB / 0.6512 GB Notification: Performance of collectInitialBindings (initialization): time 0.004066/2.647, allocations: 2.298 MB / 1.351 GB, free: 3.633 MB / 0.6512 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001607/2.649, allocations: 232 kB / 1.351 GB, free: 3.406 MB / 0.6512 GB Notification: Performance of setup shared object (initialization): time 0.001151/2.65, allocations: 0.7818 MB / 1.352 GB, free: 2.617 MB / 0.6512 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.01473/2.664, allocations: 5.782 MB / 1.358 GB, free: 12.83 MB / 0.6668 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.01915/2.684, allocations: 9.736 MB / 1.367 GB, free: 1.406 MB / 0.6668 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.01813/2.702, allocations: 7.719 MB / 1.375 GB, free: 9.793 MB / 0.6824 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001531/2.702, allocations: 32 kB / 1.375 GB, free: 9.762 MB / 0.6824 GB Notification: Performance of matching and sorting (n=1488) (initialization): time 0.05073/2.753, allocations: 18.82 MB / 1.393 GB, free: 7.641 MB / 0.698 GB Notification: Performance of prepare postOptimizeDAE: time 0.003947/2.757, allocations: 3.781 MB / 1.397 GB, free: 2.199 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0003126/2.757, allocations: 130 kB / 1.397 GB, free: 2.074 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.1195/2.877, allocations: 11.93 MB / 1.409 GB, free: 6.105 MB / 0.7137 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.01277/2.889, allocations: 2.418 MB / 1.411 GB, free: 3.855 MB / 0.7137 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.7825/3.672, allocations: 20.34 MB / 1.431 GB, free: 291.3 MB / 0.7138 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.01577/3.688, allocations: 1.12 MB / 1.432 GB, free: 291.1 MB / 0.7138 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.002908/3.691, allocations: 0.5482 MB / 1.432 GB, free: 291 MB / 0.7138 GB Notification: Performance of prepare postOptimizeDAE: time 1.803e-05/3.691, allocations: 3.438 kB / 1.432 GB, free: 291 MB / 0.7138 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.04226/3.733, allocations: 17.8 MB / 1.45 GB, free: 284.4 MB / 0.7138 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0003478/3.734, allocations: 120.7 kB / 1.45 GB, free: 284.4 MB / 0.7138 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.1183/3.852, allocations: 11.94 MB / 1.462 GB, free: 283.2 MB / 0.7138 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.01135/3.863, allocations: 2.371 MB / 1.464 GB, free: 282.9 MB / 0.7138 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01977/3.883, allocations: 18.55 MB / 1.482 GB, free: 266.5 MB / 0.7138 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.01445/3.898, allocations: 1.068 MB / 1.483 GB, free: 265.5 MB / 0.7138 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.002725/3.9, allocations: 0.5429 MB / 1.484 GB, free: 265 MB / 0.7138 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 561 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (1254): * Single equations (assignments): 1236 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 3 * Torn equation systems: 15 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details: * Constant Jacobian: 0 * Linear Jacobian (size,density): 0 * Non-linear Jacobian: 3 {1,1,1} * Without analytic Jacobian: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 3 {(1,100.0%) 8,(1,100.0%) 8,(1,100.0%) 8} * Non-linear torn systems: 12 {2 16,2 16,2 16,2 16,2 16,2 16,2 17,2 17,2 17,2 17,2 17,2 17} Notification: Performance of prepare postOptimizeDAE: time 0.01287/3.913, allocations: 5.785 MB / 1.489 GB, free: 259.3 MB / 0.7138 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.00391/3.917, allocations: 1.154 MB / 1.49 GB, free: 258.7 MB / 0.7138 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0282/3.945, allocations: 11.6 MB / 1.502 GB, free: 247.1 MB / 0.7138 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.741e-05/3.945, allocations: 67.98 kB / 1.502 GB, free: 247 MB / 0.7138 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.841e-05/3.946, allocations: 6.297 kB / 1.502 GB, free: 247 MB / 0.7138 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.02196/3.968, allocations: 9.611 MB / 1.511 GB, free: 237.3 MB / 0.7138 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.05844/4.026, allocations: 25.65 MB / 1.536 GB, free: 211.4 MB / 0.7138 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.762e-05/4.026, allocations: 17.52 kB / 1.536 GB, free: 211.4 MB / 0.7138 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.007007/4.033, allocations: 1.157 MB / 1.537 GB, free: 210.3 MB / 0.7138 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.05928/4.092, allocations: 6.466 MB / 1.544 GB, free: 203.8 MB / 0.7138 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.001339/4.094, allocations: 191.1 kB / 1.544 GB, free: 203.6 MB / 0.7138 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01593/4.11, allocations: 17.88 MB / 1.561 GB, free: 185 MB / 0.7138 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.482e-05/4.11, allocations: 24 kB / 1.561 GB, free: 185 MB / 0.7138 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.03523/4.145, allocations: 17.59 MB / 1.579 GB, free: 167 MB / 0.7138 GB Notification: Performance of postOpt removeConstants (simulation): time 0.008867/4.154, allocations: 2.721 MB / 1.581 GB, free: 164.2 MB / 0.7138 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.004061/4.158, allocations: 160 kB / 1.581 GB, free: 164.1 MB / 0.7138 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.01136/4.169, allocations: 0.7561 MB / 1.582 GB, free: 163.3 MB / 0.7138 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.001623/4.171, allocations: 434.2 kB / 1.583 GB, free: 162.9 MB / 0.7138 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.001599/4.173, allocations: 295.8 kB / 1.583 GB, free: 162.6 MB / 0.7138 GB Notification: Performance of sorting global known variables: time 0.01927/4.192, allocations: 8.582 MB / 1.591 GB, free: 154.1 MB / 0.7138 GB Notification: Performance of sort global known variables: time 1.358e-06/4.192, allocations: 0 / 1.591 GB, free: 154.1 MB / 0.7138 GB Notification: Performance of remove unused functions: time 0.03257/4.225, allocations: 7.723 MB / 1.599 GB, free: 146.7 MB / 0.7138 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 54 * Number of states: 30 (tanSte.vol[1].dynBal.U,tanSte.vol[2].dynBal.U,tanSte.vol[3].dynBal.U,tanSte.vol[4].dynBal.U,tanDyn.vol[1].dynBal.U,tanDyn.vol[2].dynBal.U,tanDyn.vol[3].dynBal.U,tanDyn.vol[4].dynBal.U,tanDyn.indTanHex.vol[1].dynBal.U,tanDyn.indTanHex.vol[2].dynBal.U,tanDyn.indTanHex.vol[3].dynBal.U,tanDyn.indTanHex.vol[4].dynBal.U,tanDyn.indTanHex.vol[5].dynBal.U,tanDyn.indTanHex.vol[6].dynBal.U,tanDyn.indTanHex.cap[1].T,tanDyn.indTanHex.cap[2].T,tanDyn.indTanHex.cap[3].T,tanDyn.indTanHex.cap[4].T,tanDyn.indTanHex.cap[5].T,tanDyn.indTanHex.cap[6].T,tanDynSol.vol[1].dynBal.U,tanDynSol.vol[2].dynBal.U,tanDynSol.vol[3].dynBal.U,tanDynSol.vol[4].dynBal.U,tanDynSol.indTanHex.cap[1].T,tanDynSol.indTanHex.cap[2].T,tanDynSol.indTanHex.cap[3].T,tanDynSol.indTanHex.cap[4].T,tanDynSol.indTanHex.cap[5].T,tanDynSol.indTanHex.cap[6].T) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (558): * Single equations (assignments): 534 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 6 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 3 * Torn equation systems: 15 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details: * Constant Jacobian: 0 * Linear Jacobian (size,density): 0 * Non-linear Jacobian: 3 {1,1,1} * Without analytic Jacobian: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 3 {(1,100.0%) 8,(1,100.0%) 8,(1,100.0%) 8} * Non-linear torn systems: 12 {2 16,2 16,2 16,2 16,2 16,2 16,1 5,1 5,1 5,1 5,1 5,1 5} Notification: Performance of Backend phase and start with SimCode phase: time 0.003292/4.228, allocations: 1.015 MB / 1.6 GB, free: 145.8 MB / 0.7138 GB Notification: Performance of simCode: created initialization part: time 0.05065/4.279, allocations: 22.35 MB / 1.622 GB, free: 123.4 MB / 0.7138 GB Notification: Performance of simCode: created event and clocks part: time 2.15e-05/4.279, allocations: 13.12 kB / 1.622 GB, free: 123.4 MB / 0.7138 GB Notification: Performance of simCode: created simulation system equations: time 0.01272/4.292, allocations: 5.423 MB / 1.627 GB, free: 118 MB / 0.7138 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.03639/4.328, allocations: 6.219 MB / 1.633 GB, free: 111.9 MB / 0.7138 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.07142/4.399, allocations: 37.05 MB / 1.669 GB, free: 74.69 MB / 0.7138 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.01932/4.419, allocations: 10.16 MB / 1.679 GB, free: 64.5 MB / 0.7138 GB Notification: Performance of simCode: alias equations: time 0.0288/4.448, allocations: 6.149 MB / 1.685 GB, free: 58.4 MB / 0.7138 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.004498/4.452, allocations: 0.8508 MB / 1.686 GB, free: 57.55 MB / 0.7138 GB Notification: Performance of SimCode: time 1.751e-06/4.452, allocations: 0 / 1.686 GB, free: 57.55 MB / 0.7138 GB Notification: Performance of Templates: time 0.9043/5.357, allocations: 257.5 MB / 1.937 GB, free: 111.6 MB / 0.7138 GB