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.0008323/0.0008323, allocations: 99.7 kB / 15.05 MB, free: 1.105 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.0008225/0.0008225, allocations: 177.3 kB / 15.95 MB, free: 216 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.185/1.185, allocations: 223.2 MB / 239.9 MB, free: 5.449 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 0.8265/0.8265, allocations: 135.2 MB / 426.2 MB, free: 14.41 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0003075/0.0003075, allocations: 12 kB / 0.5068 GB, free: 5.266 MB / 414.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1503/0.1506, allocations: 82.3 MB / 0.5872 GB, free: 3.137 MB / 494.1 MB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.Storage.Validation.StratifiedNonUniformInitial): time 0.2909/0.4415, allocations: 41.19 MB / 0.6274 GB, free: 30.82 MB / 0.4981 GB Notification: Performance of NFInst.instExpressions: time 0.01279/0.4543, allocations: 11.95 MB / 0.6391 GB, free: 22.38 MB / 0.4981 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.002/0.4564, allocations: 60.47 kB / 0.6391 GB, free: 22.36 MB / 0.4981 GB Notification: Performance of NFTyping.typeComponents: time 0.00196/0.4584, allocations: 0.7411 MB / 0.6399 GB, free: 21.94 MB / 0.4981 GB Notification: Performance of NFTyping.typeBindings: time 0.005151/0.4635, allocations: 1.987 MB / 0.6418 GB, free: 20.63 MB / 0.4981 GB Notification: Performance of NFTyping.typeClassSections: time 0.003469/0.467, allocations: 1.423 MB / 0.6432 GB, free: 19.95 MB / 0.4981 GB Notification: Performance of NFFlatten.flatten: time 0.009591/0.4766, allocations: 10.52 MB / 0.6535 GB, free: 14.42 MB / 0.4981 GB Notification: Performance of NFFlatten.resolveConnections: time 0.008466/0.4851, allocations: 6.557 MB / 0.6599 GB, free: 12.13 MB / 0.4981 GB Notification: Performance of NFEvalConstants.evaluate: time 0.008928/0.4941, allocations: 4.015 MB / 0.6638 GB, free: 10.44 MB / 0.4981 GB Notification: Performance of NFSimplifyModel.simplify: time 0.008149/0.5022, allocations: 3.438 MB / 0.6672 GB, free: 8.973 MB / 0.4981 GB Notification: Performance of NFPackage.collectConstants: time 0.001499/0.5038, allocations: 303.2 kB / 0.6674 GB, free: 8.973 MB / 0.4981 GB Notification: Performance of NFFlatten.collectFunctions: time 0.005297/0.5091, allocations: 0.7929 MB / 0.6682 GB, free: 8.828 MB / 0.4981 GB Notification: Performance of NFScalarize.scalarize: time 0.001604/0.5107, allocations: 1.308 MB / 0.6695 GB, free: 8.176 MB / 0.4981 GB Notification: Performance of NFVerifyModel.verify: time 0.003174/0.5139, allocations: 1.479 MB / 0.6709 GB, free: 7.395 MB / 0.4981 GB Notification: Performance of NFConvertDAE.convert: time 0.01191/0.5258, allocations: 9.427 MB / 0.6801 GB, free: 4.914 MB / 0.4981 GB Notification: Performance of FrontEnd - DAE generated: time 3.697e-06/0.5258, allocations: 4 kB / 0.6802 GB, free: 4.91 MB / 0.4981 GB Notification: Performance of FrontEnd: time 2.235e-06/0.5258, allocations: 1.281 kB / 0.6802 GB, free: 4.91 MB / 0.4981 GB Notification: Performance of Transformations before backend: time 0.0004146/0.5262, allocations: 0 / 0.6802 GB, free: 4.91 MB / 0.4981 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.01566/0.5419, allocations: 6.294 MB / 0.6863 GB, free: 0.7891 MB / 0.4981 GB Notification: Performance of prepare preOptimizeDAE: time 3.677e-05/0.542, allocations: 8.781 kB / 0.6863 GB, free: 0.7891 MB / 0.4981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004629/0.5466, allocations: 0.7816 MB / 0.6871 GB, free: 420 kB / 0.4981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01487/0.5615, allocations: 5.663 MB / 0.6926 GB, free: 12.68 MB / 0.5137 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0005051/0.562, allocations: 419.2 kB / 0.693 GB, free: 12.48 MB / 0.5137 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.002341/0.5644, allocations: 0.5457 MB / 0.6935 GB, free: 12.29 MB / 0.5137 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.02023/0.5846, allocations: 7.976 MB / 0.7013 GB, free: 7.094 MB / 0.5137 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0002477/0.5849, allocations: 27.78 kB / 0.7013 GB, free: 7.066 MB / 0.5137 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.001694/0.5866, allocations: 236 kB / 0.7016 GB, free: 6.836 MB / 0.5137 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001785/0.5868, allocations: 171.9 kB / 0.7017 GB, free: 6.668 MB / 0.5137 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01406/0.6009, allocations: 6.481 MB / 0.7081 GB, free: 180 kB / 0.5137 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.04655/0.6474, allocations: 31.39 MB / 0.7387 GB, free: 14.94 MB / 0.5606 GB Notification: Performance of preOpt comSubExp (simulation): time 0.005635/0.6531, allocations: 3.636 MB / 0.7423 GB, free: 11.31 MB / 0.5606 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0009817/0.6541, allocations: 0.8436 MB / 0.7431 GB, free: 10.3 MB / 0.5606 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 8.027e-05/0.6542, allocations: 68.67 kB / 0.7432 GB, free: 10.22 MB / 0.5606 GB Notification: Performance of pre-optimization done (n=267): time 4.148e-06/0.6542, allocations: 0 / 0.7432 GB, free: 10.22 MB / 0.5606 GB Notification: Performance of matching and sorting (n=267): time 0.01169/0.6659, allocations: 5.794 MB / 0.7488 GB, free: 4.32 MB / 0.5606 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.824e-05/0.666, allocations: 77.52 kB / 0.7489 GB, free: 4.23 MB / 0.5606 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.009861/0.6759, allocations: 5.407 MB / 0.7542 GB, free: 14.82 MB / 0.5762 GB Notification: Performance of collectPreVariables (initialization): time 0.0007138/0.6766, allocations: 81.7 kB / 0.7543 GB, free: 14.74 MB / 0.5762 GB Notification: Performance of collectInitialEqns (initialization): time 0.002834/0.6795, allocations: 2.868 MB / 0.7571 GB, free: 11.84 MB / 0.5762 GB Notification: Performance of collectInitialBindings (initialization): time 0.001874/0.6813, allocations: 0.9359 MB / 0.758 GB, free: 10.89 MB / 0.5762 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0005423/0.6819, allocations: 76 kB / 0.758 GB, free: 10.82 MB / 0.5762 GB Notification: Performance of setup shared object (initialization): time 0.0004219/0.6823, allocations: 457.9 kB / 0.7585 GB, free: 10.36 MB / 0.5762 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.003112/0.6855, allocations: 1.682 MB / 0.7601 GB, free: 8.68 MB / 0.5762 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.003961/0.6894, allocations: 2.932 MB / 0.763 GB, free: 5.195 MB / 0.5762 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.003727/0.6932, allocations: 2.281 MB / 0.7652 GB, free: 2.895 MB / 0.5762 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.165e-05/0.6932, allocations: 15.94 kB / 0.7652 GB, free: 2.879 MB / 0.5762 GB Notification: Performance of matching and sorting (n=475) (initialization): time 0.008873/0.7021, allocations: 5.445 MB / 0.7705 GB, free: 13.38 MB / 0.5919 GB Notification: Performance of prepare postOptimizeDAE: time 3.698e-05/0.7021, allocations: 21 kB / 0.7706 GB, free: 13.36 MB / 0.5919 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.646e-05/0.7022, allocations: 40 kB / 0.7706 GB, free: 13.32 MB / 0.5919 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0008968/0.7031, allocations: 437.3 kB / 0.771 GB, free: 12.89 MB / 0.5919 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002818/0.7059, allocations: 0.8541 MB / 0.7719 GB, free: 12.03 MB / 0.5919 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.005108/0.7111, allocations: 5.334 MB / 0.7771 GB, free: 6.438 MB / 0.5919 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.005404/0.7165, allocations: 0.6788 MB / 0.7777 GB, free: 5.754 MB / 0.5919 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000466/0.717, allocations: 184 kB / 0.7779 GB, free: 5.574 MB / 0.5919 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 (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.004861/0.7218, allocations: 2.281 MB / 0.7801 GB, free: 3.281 MB / 0.5919 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001417/0.7233, allocations: 490.1 kB / 0.7806 GB, free: 2.797 MB / 0.5919 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00636/0.7296, allocations: 4.217 MB / 0.7847 GB, free: 14.52 MB / 0.6075 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.399e-05/0.7297, allocations: 27.98 kB / 0.7847 GB, free: 14.5 MB / 0.6075 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.088e-05/0.7297, allocations: 8 kB / 0.7847 GB, free: 14.49 MB / 0.6075 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.004573/0.7343, allocations: 3.657 MB / 0.7883 GB, free: 10.72 MB / 0.6075 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01773/0.752, allocations: 10.13 MB / 0.7982 GB, free: 432 kB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.219e-05/0.752, allocations: 4 kB / 0.7982 GB, free: 428 kB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002006/0.7541, allocations: 0.4998 MB / 0.7987 GB, free: 15.92 MB / 0.6231 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0008029/0.7549, allocations: 369.3 kB / 0.7991 GB, free: 15.55 MB / 0.6231 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001852/0.7551, allocations: 75.97 kB / 0.7991 GB, free: 15.48 MB / 0.6231 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.00495/0.76, allocations: 5.256 MB / 0.8043 GB, free: 9.953 MB / 0.6231 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.63e-06/0.76, allocations: 12 kB / 0.8043 GB, free: 9.941 MB / 0.6231 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.009423/0.7695, allocations: 6.907 MB / 0.811 GB, free: 2.742 MB / 0.6231 GB Notification: Performance of postOpt removeConstants (simulation): time 0.003677/0.7732, allocations: 1.248 MB / 0.8122 GB, free: 1.469 MB / 0.6231 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001211/0.7744, allocations: 59.98 kB / 0.8123 GB, free: 1.41 MB / 0.6231 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.003555/0.778, allocations: 347.4 kB / 0.8126 GB, free: 1.078 MB / 0.6231 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002955/0.7783, allocations: 181.6 kB / 0.8128 GB, free: 0.9023 MB / 0.6231 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002666/0.7785, allocations: 127.9 kB / 0.8129 GB, free: 0.7773 MB / 0.6231 GB Notification: Performance of sorting global known variables: time 0.006496/0.785, allocations: 3.98 MB / 0.8168 GB, free: 12.81 MB / 0.6387 GB Notification: Performance of sort global known variables: time 1.493e-06/0.7851, allocations: 0 / 0.8168 GB, free: 12.81 MB / 0.6387 GB Notification: Performance of remove unused functions: time 0.006867/0.7919, allocations: 1.804 MB / 0.8186 GB, free: 11 MB / 0.6387 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 (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.00124/0.7932, allocations: 481.7 kB / 0.819 GB, free: 10.54 MB / 0.6387 GB Notification: Performance of simCode: created initialization part: time 0.007709/0.8009, allocations: 4.285 MB / 0.8232 GB, free: 6.211 MB / 0.6387 GB Notification: Performance of simCode: created event and clocks part: time 1.542e-05/0.801, allocations: 4.312 kB / 0.8232 GB, free: 6.207 MB / 0.6387 GB Notification: Performance of simCode: created simulation system equations: time 0.003218/0.8042, allocations: 2.047 MB / 0.8252 GB, free: 4.129 MB / 0.6387 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.01568/0.8199, allocations: 3.229 MB / 0.8284 GB, free: 0.9648 MB / 0.6387 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02179/0.8417, allocations: 14.66 MB / 0.8427 GB, free: 2.227 MB / 0.6544 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.003985/0.8458, allocations: 4.412 MB / 0.847 GB, free: 13.78 MB / 0.67 GB Notification: Performance of simCode: alias equations: time 0.006001/0.8518, allocations: 1.892 MB / 0.8488 GB, free: 11.89 MB / 0.67 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001259/0.8531, allocations: 411.2 kB / 0.8492 GB, free: 11.49 MB / 0.67 GB Notification: Performance of SimCode: time 7.62e-07/0.8531, allocations: 0 / 0.8492 GB, free: 11.49 MB / 0.67 GB Notification: Performance of Templates: time 0.3822/1.235, allocations: 108.7 MB / 0.9554 GB, free: 149.2 MB / 0.67 GB make -j1 -f IDEAS_dev_IDEAS.Fluid.Storage.Validation.StratifiedNonUniformInitial.makefile Environment - environmentSimulation: (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) Environment - environmentSimulation: