Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr IDEAS_dev_IDEAS.Fluid.Storage.Validation.StratifiedNonUniformInitial.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo", uses=false) Using package IDEAS with version 3.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: translateModel(IDEAS.Fluid.Storage.Validation.StratifiedNonUniformInitial,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IDEAS_dev_IDEAS.Fluid.Storage.Validation.StratifiedNonUniformInitial") translateModel(IDEAS.Fluid.Storage.Validation.StratifiedNonUniformInitial,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IDEAS_dev_IDEAS.Fluid.Storage.Validation.StratifiedNonUniformInitial") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001053/0.001053, allocations: 98.88 kB / 16.02 MB, free: 72 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001411/0.001411, allocations: 182.7 kB / 16.92 MB, free: 6.914 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.37/1.37, allocations: 223.3 MB / 241 MB, free: 5.34 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 0.9702/0.9702, allocations: 135.3 MB / 427.4 MB, free: 14.32 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0003362/0.0003362, allocations: 8.625 kB / 0.5082 GB, free: 4.793 MB / 414.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1564/0.1568, allocations: 82.31 MB / 0.5886 GB, free: 2.652 MB / 494.1 MB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.Storage.Validation.StratifiedNonUniformInitial): time 0.3421/0.4989, allocations: 47.94 MB / 0.6354 GB, free: 25.73 MB / 0.4981 GB Notification: Performance of NFInst.instExpressions: time 0.01522/0.5141, allocations: 13.66 MB / 0.6488 GB, free: 15.92 MB / 0.4981 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.002771/0.517, allocations: 59.88 kB / 0.6488 GB, free: 15.89 MB / 0.4981 GB Notification: Performance of NFTyping.typeComponents: time 0.002314/0.5193, allocations: 0.6444 MB / 0.6495 GB, free: 15.52 MB / 0.4981 GB Notification: Performance of NFTyping.typeBindings: time 0.006789/0.5261, allocations: 2.094 MB / 0.6515 GB, free: 14.28 MB / 0.4981 GB Notification: Performance of NFTyping.typeClassSections: time 0.003289/0.5294, allocations: 1.181 MB / 0.6527 GB, free: 13.6 MB / 0.4981 GB Notification: Performance of NFFlatten.flatten: time 0.02586/0.5553, allocations: 25.6 MB / 0.6777 GB, free: 4.348 MB / 0.4981 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0133/0.5687, allocations: 7.851 MB / 0.6853 GB, free: 1.32 MB / 0.4981 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0141/0.5828, allocations: 4.712 MB / 0.6899 GB, free: 15.46 MB / 0.5137 GB Notification: Performance of NFSimplifyModel.simplify: time 0.01224/0.5951, allocations: 5.224 MB / 0.695 GB, free: 13.3 MB / 0.5137 GB Notification: Performance of NFPackage.collectConstants: time 0.002248/0.5974, allocations: 304.6 kB / 0.6953 GB, free: 13.3 MB / 0.5137 GB Notification: Performance of NFFlatten.collectFunctions: time 0.007423/0.6048, allocations: 0.9877 MB / 0.6963 GB, free: 12.96 MB / 0.5137 GB Notification: Performance of NFScalarize.scalarize: time 0.004282/0.6092, allocations: 1.424 MB / 0.6977 GB, free: 11.95 MB / 0.5137 GB Notification: Performance of NFVerifyModel.verify: time 0.01158/0.6208, allocations: 3.534 MB / 0.7011 GB, free: 9.012 MB / 0.5137 GB Notification: Performance of NFConvertDAE.convert: time 0.0125/0.6333, allocations: 9.528 MB / 0.7104 GB, free: 15.46 MB / 0.5294 GB Notification: Performance of FrontEnd - DAE generated: time 7.224e-06/0.6334, allocations: 0 / 0.7104 GB, free: 15.46 MB / 0.5294 GB Notification: Performance of FrontEnd: time 3.336e-06/0.6334, allocations: 0 / 0.7104 GB, free: 15.46 MB / 0.5294 GB Notification: Performance of Transformations before backend: time 0.0004337/0.6338, allocations: 0 / 0.7104 GB, free: 15.46 MB / 0.5294 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 1414 * Number of variables: 1414 Notification: Performance of Generate backend data structure: time 0.01494/0.6488, allocations: 6.233 MB / 0.7165 GB, free: 9.156 MB / 0.5294 GB Notification: Performance of prepare preOptimizeDAE: time 4.383e-05/0.6488, allocations: 8.031 kB / 0.7165 GB, free: 9.148 MB / 0.5294 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003993/0.6528, allocations: 0.7852 MB / 0.7173 GB, free: 8.355 MB / 0.5294 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01272/0.6656, allocations: 6.244 MB / 0.7234 GB, free: 2.055 MB / 0.5294 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0004765/0.6661, allocations: 415 kB / 0.7238 GB, free: 1.648 MB / 0.5294 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.002443/0.6686, allocations: 0.5428 MB / 0.7243 GB, free: 1.105 MB / 0.5294 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01797/0.6865, allocations: 8.076 MB / 0.7322 GB, free: 8.785 MB / 0.545 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001264/0.6867, allocations: 19.86 kB / 0.7322 GB, free: 8.766 MB / 0.545 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0006525/0.6874, allocations: 235.9 kB / 0.7324 GB, free: 8.535 MB / 0.545 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001649/0.6876, allocations: 168 kB / 0.7326 GB, free: 8.371 MB / 0.545 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0141/0.7017, allocations: 6.52 MB / 0.739 GB, free: 1.84 MB / 0.545 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.0439/0.7456, allocations: 31.16 MB / 0.7694 GB, free: 0.8398 MB / 0.5762 GB Notification: Performance of preOpt comSubExp (simulation): time 0.005775/0.7514, allocations: 3.648 MB / 0.773 GB, free: 13.2 MB / 0.5919 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.004165/0.7556, allocations: 2.827 MB / 0.7757 GB, free: 10.37 MB / 0.5919 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0009966/0.7567, allocations: 0.8398 MB / 0.7765 GB, free: 9.363 MB / 0.5919 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 7.571e-05/0.7568, allocations: 76.61 kB / 0.7766 GB, free: 9.277 MB / 0.5919 GB Notification: Performance of pre-optimization done (n=267): time 5.11e-06/0.7568, allocations: 4 kB / 0.7766 GB, free: 9.273 MB / 0.5919 GB Notification: Performance of matching and sorting (n=267): time 0.01132/0.7681, allocations: 5.778 MB / 0.7823 GB, free: 3.395 MB / 0.5919 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.365e-05/0.7682, allocations: 77.52 kB / 0.7823 GB, free: 3.305 MB / 0.5919 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.008307/0.7765, allocations: 5.032 MB / 0.7873 GB, free: 14.27 MB / 0.6075 GB Notification: Performance of collectPreVariables (initialization): time 0.000769/0.7773, allocations: 81.7 kB / 0.7873 GB, free: 14.18 MB / 0.6075 GB Notification: Performance of collectInitialEqns (initialization): time 0.002537/0.7799, allocations: 2.864 MB / 0.7901 GB, free: 11.29 MB / 0.6075 GB Notification: Performance of collectInitialBindings (initialization): time 0.001469/0.7814, allocations: 0.9398 MB / 0.791 GB, free: 10.34 MB / 0.6075 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0005162/0.7819, allocations: 309.6 kB / 0.7913 GB, free: 10.03 MB / 0.6075 GB Notification: Performance of setup shared object (initialization): time 0.0001029/0.782, allocations: 305.1 kB / 0.7916 GB, free: 9.73 MB / 0.6075 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002598/0.7846, allocations: 1.674 MB / 0.7933 GB, free: 8.055 MB / 0.6075 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.003328/0.7879, allocations: 2.932 MB / 0.7961 GB, free: 4.57 MB / 0.6075 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.00648/0.7944, allocations: 4.966 MB / 0.801 GB, free: 15.01 MB / 0.6231 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.739e-05/0.7945, allocations: 8 kB / 0.801 GB, free: 15 MB / 0.6231 GB Notification: Performance of matching and sorting (n=475) (initialization): time 0.009973/0.8045, allocations: 5.441 MB / 0.8063 GB, free: 9.508 MB / 0.6231 GB Notification: Performance of prepare postOptimizeDAE: time 4.725e-05/0.8046, allocations: 23.94 kB / 0.8063 GB, free: 9.484 MB / 0.6231 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.279e-05/0.8046, allocations: 40 kB / 0.8064 GB, free: 9.445 MB / 0.6231 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0009743/0.8056, allocations: 423 kB / 0.8068 GB, free: 9.027 MB / 0.6231 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003241/0.8089, allocations: 0.858 MB / 0.8076 GB, free: 8.168 MB / 0.6231 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.005795/0.8147, allocations: 5.259 MB / 0.8127 GB, free: 2.648 MB / 0.6231 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.005144/0.8199, allocations: 0.6471 MB / 0.8134 GB, free: 1.996 MB / 0.6231 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0005001/0.8204, allocations: 176 kB / 0.8135 GB, free: 1.824 MB / 0.6231 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 181 * Number of states: 0 () * Number of discrete variables: 2 (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 (447): * Single equations (assignments): 445 * Array equations: 0 * Algorithm blocks: 0 * 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.004439/0.8248, allocations: 2.288 MB / 0.8158 GB, free: 15.52 MB / 0.6387 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001464/0.8263, allocations: 482.2 kB / 0.8162 GB, free: 15.04 MB / 0.6387 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.007047/0.8334, allocations: 4.191 MB / 0.8203 GB, free: 10.8 MB / 0.6387 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.99e-05/0.8334, allocations: 27.94 kB / 0.8204 GB, free: 10.77 MB / 0.6387 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.648e-06/0.8334, allocations: 4 kB / 0.8204 GB, free: 10.77 MB / 0.6387 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.005043/0.8385, allocations: 3.637 MB / 0.8239 GB, free: 7.02 MB / 0.6387 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01848/0.857, allocations: 10.21 MB / 0.8339 GB, free: 12.64 MB / 0.6544 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.719e-05/0.857, allocations: 7.938 kB / 0.8339 GB, free: 12.63 MB / 0.6544 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002055/0.8591, allocations: 0.5038 MB / 0.8344 GB, free: 12.13 MB / 0.6544 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.000855/0.86, allocations: 373.3 kB / 0.8347 GB, free: 11.76 MB / 0.6544 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002074/0.8602, allocations: 71.97 kB / 0.8348 GB, free: 11.69 MB / 0.6544 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.005309/0.8655, allocations: 5.208 MB / 0.8399 GB, free: 6.203 MB / 0.6544 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.023e-06/0.8655, allocations: 11.94 kB / 0.8399 GB, free: 6.191 MB / 0.6544 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01103/0.8766, allocations: 6.239 MB / 0.846 GB, free: 15.78 MB / 0.67 GB Notification: Performance of postOpt removeConstants (simulation): time 0.003434/0.88, allocations: 1.166 MB / 0.8471 GB, free: 14.59 MB / 0.67 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001048/0.8811, allocations: 59.98 kB / 0.8472 GB, free: 14.53 MB / 0.67 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.003373/0.8845, allocations: 334 kB / 0.8475 GB, free: 14.21 MB / 0.67 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000343/0.8848, allocations: 173.6 kB / 0.8477 GB, free: 14.04 MB / 0.67 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002702/0.8851, allocations: 135.9 kB / 0.8478 GB, free: 13.91 MB / 0.67 GB Notification: Performance of sorting global known variables: time 0.006025/0.8912, allocations: 3.679 MB / 0.8514 GB, free: 10.24 MB / 0.67 GB Notification: Performance of sort global known variables: time 4e-07/0.8912, allocations: 0 / 0.8514 GB, free: 10.24 MB / 0.67 GB Notification: Performance of remove unused functions: time 0.006323/0.8975, allocations: 1.777 MB / 0.8531 GB, free: 8.461 MB / 0.67 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 19 * Number of states: 16 (heaTan.vol[1].dynBal.U,heaTan.vol[2].dynBal.U,heaTan.vol[3].dynBal.U,heaTan.vol[4].dynBal.U,heaTan.vol[5].dynBal.U,heaTan.vol[6].dynBal.U,heaTan.vol[7].dynBal.U,cooTan.vol[1].dynBal.U,cooTan.vol[2].dynBal.U,cooTan.vol[3].dynBal.U,cooTan.vol[4].dynBal.U,cooTan.vol[5].dynBal.U,cooTan.vol[6].dynBal.U,cooTan.vol[7].dynBal.U,dHTanEnh.y,dHTan.y) * 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 (242): * Single equations (assignments): 237 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 3 * 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 Backend phase and start with SimCode phase: time 0.00137/0.8989, allocations: 480.1 kB / 0.8536 GB, free: 7.996 MB / 0.67 GB Notification: Performance of simCode: created initialization part: time 0.006829/0.9058, allocations: 4.27 MB / 0.8578 GB, free: 3.691 MB / 0.67 GB Notification: Performance of simCode: created event and clocks part: time 1.052e-05/0.9058, allocations: 0 / 0.8578 GB, free: 3.691 MB / 0.67 GB Notification: Performance of simCode: created simulation system equations: time 0.003013/0.9088, allocations: 2.04 MB / 0.8597 GB, free: 1.621 MB / 0.67 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.3262/1.235, allocations: 3.28 MB / 0.8629 GB, free: 197.6 MB / 0.67 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02234/1.257, allocations: 15.16 MB / 0.8778 GB, free: 191.4 MB / 0.67 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.00389/1.261, allocations: 4.236 MB / 0.8819 GB, free: 190.5 MB / 0.67 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001808/1.263, allocations: 440.4 kB / 0.8823 GB, free: 190.5 MB / 0.67 GB Notification: Performance of SimCode: time 1.002e-06/1.263, allocations: 0 / 0.8823 GB, free: 190.5 MB / 0.67 GB Notification: Performance of Templates: time 0.2029/1.466, allocations: 171.6 MB / 1.05 GB, free: 58.67 MB / 0.67 GB make -j1 -f IDEAS_dev_IDEAS.Fluid.Storage.Validation.StratifiedNonUniformInitial.makefile (rm -f IDEAS_dev_IDEAS.Fluid.Storage.Validation.StratifiedNonUniformInitial.pipe ; mkfifo IDEAS_dev_IDEAS.Fluid.Storage.Validation.StratifiedNonUniformInitial.pipe ; head -c 1048576 < IDEAS_dev_IDEAS.Fluid.Storage.Validation.StratifiedNonUniformInitial.pipe >> ../files/IDEAS_dev_IDEAS.Fluid.Storage.Validation.StratifiedNonUniformInitial.sim & ./IDEAS_dev_IDEAS.Fluid.Storage.Validation.StratifiedNonUniformInitial -abortSlowSimulation -alarm=480 -lv LOG_STATS > IDEAS_dev_IDEAS.Fluid.Storage.Validation.StratifiedNonUniformInitial.pipe 2>&1)