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.001258/0.001258, allocations: 106.7 kB / 16.41 MB, free: 6.492 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.001355/0.001355, allocations: 191 kB / 17.34 MB, free: 5.766 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.249/1.249, allocations: 222.9 MB / 241 MB, free: 15.14 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 0.7424/0.7424, allocations: 135.1 MB / 426.3 MB, free: 4.113 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001226/0.001226, allocations: 71.72 kB / 0.5863 GB, free: 21.55 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1357/0.1369, allocations: 80.92 MB / 0.6653 GB, free: 5.801 MB / 0.4981 GB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.Storage.Validation.StratifiedNonUniformInitial): time 0.04522/0.1822, allocations: 49.29 MB / 0.7134 GB, free: 4.336 MB / 0.545 GB Notification: Performance of NFInst.instExpressions: time 0.01753/0.1998, allocations: 13.8 MB / 0.7269 GB, free: 6.5 MB / 0.5606 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.002501/0.2023, allocations: 67.62 kB / 0.727 GB, free: 6.434 MB / 0.5606 GB Notification: Performance of NFTyping.typeComponents: time 0.002296/0.2047, allocations: 0.8031 MB / 0.7277 GB, free: 5.625 MB / 0.5606 GB Notification: Performance of NFTyping.typeBindings: time 0.005914/0.2106, allocations: 2.246 MB / 0.7299 GB, free: 3.367 MB / 0.5606 GB Notification: Performance of NFTyping.typeClassSections: time 0.003071/0.2137, allocations: 1.306 MB / 0.7312 GB, free: 2.07 MB / 0.5606 GB Notification: Performance of NFFlatten.flatten: time 0.3162/0.5299, allocations: 19.56 MB / 0.7503 GB, free: 6.469 MB / 0.5762 GB Notification: Performance of NFFlatten.resolveConnections: time 0.01278/0.5427, allocations: 9.932 MB / 0.76 GB, free: 4.992 MB / 0.5762 GB Notification: Performance of NFEvalConstants.evaluate: time 0.01249/0.5553, allocations: 6.537 MB / 0.7664 GB, free: 4.504 MB / 0.5762 GB Notification: Performance of NFSimplifyModel.simplify: time 0.01062/0.5659, allocations: 5.769 MB / 0.772 GB, free: 3.582 MB / 0.5762 GB Notification: Performance of NFPackage.collectConstants: time 0.002706/0.5686, allocations: 0.8444 MB / 0.7729 GB, free: 3.582 MB / 0.5762 GB Notification: Performance of NFFlatten.collectFunctions: time 0.006194/0.5748, allocations: 1.605 MB / 0.7744 GB, free: 3.582 MB / 0.5762 GB Notification: Performance of NFScalarize.scalarize: time 0.002355/0.5772, allocations: 2.118 MB / 0.7765 GB, free: 3.328 MB / 0.5762 GB Notification: Performance of NFVerifyModel.verify: time 0.006651/0.5839, allocations: 4.28 MB / 0.7807 GB, free: 2.312 MB / 0.5762 GB Notification: Performance of NFConvertDAE.convert: time 0.01011/0.594, allocations: 12.08 MB / 0.7925 GB, free: 1.023 MB / 0.5762 GB Notification: Performance of FrontEnd - DAE generated: time 5.731e-06/0.594, allocations: 5.125 kB / 0.7925 GB, free: 1.02 MB / 0.5762 GB Notification: Performance of FrontEnd: time 1.282e-06/0.594, allocations: 0 / 0.7925 GB, free: 1.02 MB / 0.5762 GB Notification: Performance of Transformations before backend: time 0.0002907/0.5943, allocations: 0 / 0.7925 GB, free: 1.02 MB / 0.5762 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.01507/0.6094, allocations: 7.726 MB / 0.8 GB, free: 13.65 MB / 0.5919 GB Notification: Performance of prepare preOptimizeDAE: time 3.614e-05/0.6094, allocations: 13.48 kB / 0.8 GB, free: 13.65 MB / 0.5919 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002563/0.612, allocations: 0.7823 MB / 0.8008 GB, free: 13.27 MB / 0.5919 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0102/0.6222, allocations: 6.3 MB / 0.8069 GB, free: 9.578 MB / 0.5919 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002747/0.6225, allocations: 428.9 kB / 0.8074 GB, free: 9.383 MB / 0.5919 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001198/0.6237, allocations: 0.5418 MB / 0.8079 GB, free: 9.199 MB / 0.5919 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0138/0.6375, allocations: 8.064 MB / 0.8158 GB, free: 4.344 MB / 0.5919 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001041/0.6377, allocations: 17.97 kB / 0.8158 GB, free: 4.34 MB / 0.5919 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0005993/0.6383, allocations: 248 kB / 0.816 GB, free: 4.137 MB / 0.5919 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001442/0.6384, allocations: 156 kB / 0.8162 GB, free: 3.984 MB / 0.5919 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.009942/0.6484, allocations: 6.529 MB / 0.8225 GB, free: 13.5 MB / 0.6075 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.03666/0.6851, allocations: 31.19 MB / 0.853 GB, free: 13.04 MB / 0.6387 GB Notification: Performance of preOpt comSubExp (simulation): time 0.004952/0.69, allocations: 3.65 MB / 0.8566 GB, free: 9.422 MB / 0.6387 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.003427/0.6935, allocations: 2.799 MB / 0.8593 GB, free: 6.625 MB / 0.6387 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0008502/0.6944, allocations: 0.8293 MB / 0.8601 GB, free: 5.641 MB / 0.6387 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.257e-05/0.6944, allocations: 68.67 kB / 0.8602 GB, free: 5.562 MB / 0.6387 GB Notification: Performance of pre-optimization done (n=267): time 4.308e-06/0.6944, allocations: 3.938 kB / 0.8602 GB, free: 5.559 MB / 0.6387 GB Notification: Performance of matching and sorting (n=267): time 0.01182/0.7063, allocations: 5.76 MB / 0.8658 GB, free: 15.71 MB / 0.6544 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.537e-05/0.7064, allocations: 77.52 kB / 0.8659 GB, free: 15.62 MB / 0.6544 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.008481/0.7149, allocations: 5.235 MB / 0.871 GB, free: 10.39 MB / 0.6544 GB Notification: Performance of collectPreVariables (initialization): time 0.0007303/0.7157, allocations: 77.7 kB / 0.8711 GB, free: 10.31 MB / 0.6544 GB Notification: Performance of collectInitialEqns (initialization): time 0.002282/0.718, allocations: 2.868 MB / 0.8739 GB, free: 7.426 MB / 0.6544 GB Notification: Performance of collectInitialBindings (initialization): time 0.001371/0.7193, allocations: 0.9379 MB / 0.8748 GB, free: 6.496 MB / 0.6544 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0009741/0.7203, allocations: 0.7152 MB / 0.8755 GB, free: 5.773 MB / 0.6544 GB Notification: Performance of setup shared object (initialization): time 8.61e-05/0.7204, allocations: 309.1 kB / 0.8758 GB, free: 5.469 MB / 0.6544 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002355/0.7228, allocations: 1.674 MB / 0.8774 GB, free: 3.793 MB / 0.6544 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.003004/0.7258, allocations: 2.93 MB / 0.8803 GB, free: 336 kB / 0.6544 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.005857/0.7316, allocations: 4.968 MB / 0.8851 GB, free: 10.93 MB / 0.67 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.973e-05/0.7317, allocations: 12 kB / 0.8851 GB, free: 10.92 MB / 0.67 GB Notification: Performance of matching and sorting (n=475) (initialization): time 0.008573/0.7403, allocations: 5.439 MB / 0.8904 GB, free: 5.676 MB / 0.67 GB Notification: Performance of prepare postOptimizeDAE: time 3.816e-05/0.7403, allocations: 20 kB / 0.8905 GB, free: 5.656 MB / 0.67 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.404e-05/0.7404, allocations: 40 kB / 0.8905 GB, free: 5.617 MB / 0.67 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0009179/0.7413, allocations: 427.2 kB / 0.8909 GB, free: 5.199 MB / 0.67 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002708/0.744, allocations: 0.856 MB / 0.8917 GB, free: 4.398 MB / 0.67 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.005361/0.7494, allocations: 5.695 MB / 0.8973 GB, free: 14.48 MB / 0.6856 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.004279/0.7537, allocations: 0.5184 MB / 0.8978 GB, free: 13.96 MB / 0.6856 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0004576/0.7542, allocations: 180 kB / 0.898 GB, free: 13.78 MB / 0.6856 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.004018/0.7582, allocations: 2.289 MB / 0.9002 GB, free: 11.54 MB / 0.6856 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001594/0.7598, allocations: 486.1 kB / 0.9007 GB, free: 11.06 MB / 0.6856 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00683/0.7666, allocations: 4.18 MB / 0.9048 GB, free: 6.832 MB / 0.6856 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.091e-05/0.7667, allocations: 27.98 kB / 0.9048 GB, free: 6.805 MB / 0.6856 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.565e-05/0.7667, allocations: 12 kB / 0.9048 GB, free: 6.793 MB / 0.6856 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.00491/0.7716, allocations: 3.626 MB / 0.9083 GB, free: 3.066 MB / 0.6856 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01921/0.7909, allocations: 10.26 MB / 0.9184 GB, free: 8.746 MB / 0.7012 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.669e-05/0.7909, allocations: 4.562 kB / 0.9184 GB, free: 8.742 MB / 0.7012 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002033/0.793, allocations: 0.5034 MB / 0.9189 GB, free: 8.262 MB / 0.7012 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0008379/0.7938, allocations: 373.3 kB / 0.9192 GB, free: 7.891 MB / 0.7012 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.000229/0.7941, allocations: 71.97 kB / 0.9193 GB, free: 7.82 MB / 0.7012 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.005593/0.7997, allocations: 5.669 MB / 0.9248 GB, free: 1.918 MB / 0.7012 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.058e-05/0.7997, allocations: 14.56 kB / 0.9248 GB, free: 1.906 MB / 0.7012 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01016/0.8099, allocations: 6.241 MB / 0.9309 GB, free: 11.51 MB / 0.7169 GB Notification: Performance of postOpt removeConstants (simulation): time 0.003022/0.8129, allocations: 1.096 MB / 0.932 GB, free: 10.39 MB / 0.7169 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001334/0.8143, allocations: 63.98 kB / 0.9321 GB, free: 10.32 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.003489/0.8178, allocations: 175.6 kB / 0.9322 GB, free: 10.15 MB / 0.7169 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003409/0.8181, allocations: 175 kB / 0.9324 GB, free: 9.988 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0003548/0.8185, allocations: 131.9 kB / 0.9325 GB, free: 9.859 MB / 0.7169 GB Notification: Performance of sorting global known variables: time 0.007288/0.8258, allocations: 3.835 MB / 0.9363 GB, free: 6.039 MB / 0.7169 GB Notification: Performance of sort global known variables: time 2.81e-07/0.8258, allocations: 3.094 kB / 0.9363 GB, free: 6.039 MB / 0.7169 GB Notification: Performance of remove unused functions: time 0.006655/0.8325, allocations: 1.804 MB / 0.938 GB, free: 4.23 MB / 0.7169 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.001549/0.834, allocations: 489.3 kB / 0.9385 GB, free: 3.801 MB / 0.7169 GB Notification: Performance of simCode: created initialization part: time 0.007393/0.8414, allocations: 4.271 MB / 0.9427 GB, free: 15.62 MB / 0.7325 GB Notification: Performance of simCode: created event and clocks part: time 1.167e-05/0.8415, allocations: 8.188 kB / 0.9427 GB, free: 15.61 MB / 0.7325 GB Notification: Performance of simCode: created simulation system equations: time 0.003252/0.8447, allocations: 2.04 MB / 0.9447 GB, free: 13.6 MB / 0.7325 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.01721/0.862, allocations: 3.457 MB / 0.948 GB, free: 10.24 MB / 0.7325 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02322/0.8852, allocations: 12.53 MB / 0.9603 GB, free: 13.67 MB / 0.7481 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.004939/0.8902, allocations: 4.239 MB / 0.9644 GB, free: 9.402 MB / 0.7481 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001722/0.8919, allocations: 447.3 kB / 0.9648 GB, free: 8.965 MB / 0.7481 GB Notification: Performance of SimCode: time 9.11e-07/0.892, allocations: 0 / 0.9648 GB, free: 8.965 MB / 0.7481 GB Notification: Performance of Templates: time 0.4721/1.364, allocations: 173.7 MB / 1.134 GB, free: 248.7 MB / 0.8262 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)