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.00166/0.00166, allocations: 105.6 kB / 16.27 MB, free: 6.414 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.001872/0.001872, allocations: 190.3 kB / 17.2 MB, free: 5.953 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.336/1.336, allocations: 222.9 MB / 240.9 MB, free: 15.27 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 0.8129/0.8129, allocations: 135.2 MB / 426.2 MB, free: 4.18 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001846/0.001846, allocations: 67.88 kB / 0.506 GB, free: 8.387 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3716/0.3734, allocations: 80.92 MB / 0.5851 GB, free: 25.14 MB / 446.1 MB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.Storage.Validation.StratifiedNonUniformInitial): time 0.04165/0.4152, allocations: 49.28 MB / 0.6332 GB, free: 9.188 MB / 478.1 MB Notification: Performance of NFInst.instExpressions: time 0.01985/0.435, allocations: 13.81 MB / 0.6467 GB, free: 11.34 MB / 494.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.00253/0.4376, allocations: 67.62 kB / 0.6467 GB, free: 11.28 MB / 494.1 MB Notification: Performance of NFTyping.typeComponents: time 0.002708/0.4404, allocations: 0.8071 MB / 0.6475 GB, free: 10.46 MB / 494.1 MB Notification: Performance of NFTyping.typeBindings: time 0.006766/0.4472, allocations: 2.25 MB / 0.6497 GB, free: 8.203 MB / 494.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.003493/0.4507, allocations: 1.299 MB / 0.651 GB, free: 6.914 MB / 494.1 MB Notification: Performance of NFFlatten.flatten: time 0.02066/0.4714, allocations: 19.54 MB / 0.6701 GB, free: 3.316 MB / 0.4981 GB Notification: Performance of NFFlatten.resolveConnections: time 0.01352/0.4849, allocations: 9.933 MB / 0.6798 GB, free: 9.262 MB / 0.5137 GB Notification: Performance of NFEvalConstants.evaluate: time 0.01341/0.4984, allocations: 6.521 MB / 0.6861 GB, free: 2.766 MB / 0.5137 GB Notification: Performance of NFSimplifyModel.simplify: time 0.009878/0.5083, allocations: 5.766 MB / 0.6918 GB, free: 12.98 MB / 0.5294 GB Notification: Performance of NFPackage.collectConstants: time 0.002299/0.5106, allocations: 0.8438 MB / 0.6926 GB, free: 12.13 MB / 0.5294 GB Notification: Performance of NFFlatten.collectFunctions: time 0.005629/0.5163, allocations: 1.608 MB / 0.6942 GB, free: 10.52 MB / 0.5294 GB Notification: Performance of NFScalarize.scalarize: time 0.002951/0.5192, allocations: 2.119 MB / 0.6962 GB, free: 8.398 MB / 0.5294 GB Notification: Performance of NFVerifyModel.verify: time 0.007583/0.5268, allocations: 4.287 MB / 0.7004 GB, free: 4.094 MB / 0.5294 GB Notification: Performance of NFConvertDAE.convert: time 0.01334/0.5402, allocations: 11.94 MB / 0.7121 GB, free: 8.125 MB / 0.545 GB Notification: Performance of FrontEnd - DAE generated: time 6.222e-06/0.5402, allocations: 4 kB / 0.7121 GB, free: 8.121 MB / 0.545 GB Notification: Performance of FrontEnd: time 1.843e-06/0.5402, allocations: 0 / 0.7121 GB, free: 8.121 MB / 0.545 GB Notification: Performance of Transformations before backend: time 0.0003487/0.5406, allocations: 0 / 0.7121 GB, free: 8.121 MB / 0.545 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.01719/0.5578, allocations: 7.733 MB / 0.7196 GB, free: 316 kB / 0.545 GB Notification: Performance of prepare preOptimizeDAE: time 4.665e-05/0.5579, allocations: 13.11 kB / 0.7196 GB, free: 304 kB / 0.545 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002781/0.5607, allocations: 0.7813 MB / 0.7204 GB, free: 15.51 MB / 0.5606 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01145/0.5721, allocations: 6.059 MB / 0.7263 GB, free: 9.391 MB / 0.5606 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003835/0.5725, allocations: 411.1 kB / 0.7267 GB, free: 8.988 MB / 0.5606 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001382/0.5739, allocations: 0.5428 MB / 0.7272 GB, free: 8.445 MB / 0.5606 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01628/0.5902, allocations: 8.068 MB / 0.7351 GB, free: 144 kB / 0.5606 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.000125/0.5904, allocations: 23.77 kB / 0.7351 GB, free: 120 kB / 0.5606 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0006717/0.5911, allocations: 240 kB / 0.7354 GB, free: 15.88 MB / 0.5762 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001678/0.5912, allocations: 163.9 kB / 0.7355 GB, free: 15.72 MB / 0.5762 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01274/0.604, allocations: 6.524 MB / 0.7419 GB, free: 9.188 MB / 0.5762 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.3307/0.9348, allocations: 31.42 MB / 0.7726 GB, free: 127.8 MB / 0.5762 GB Notification: Performance of preOpt comSubExp (simulation): time 0.004622/0.9394, allocations: 3.646 MB / 0.7761 GB, free: 125.9 MB / 0.5762 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.003351/0.9428, allocations: 2.818 MB / 0.7789 GB, free: 124.6 MB / 0.5762 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0007628/0.9436, allocations: 0.8254 MB / 0.7797 GB, free: 123.7 MB / 0.5762 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.753e-05/0.9437, allocations: 73.02 kB / 0.7798 GB, free: 123.6 MB / 0.5762 GB Notification: Performance of pre-optimization done (n=267): time 4.849e-06/0.9437, allocations: 0 / 0.7798 GB, free: 123.6 MB / 0.5762 GB Notification: Performance of matching and sorting (n=267): time 0.009081/0.9528, allocations: 5.768 MB / 0.7854 GB, free: 120.6 MB / 0.5762 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.081e-05/0.9528, allocations: 80.36 kB / 0.7855 GB, free: 120.5 MB / 0.5762 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.006515/0.9593, allocations: 5.23 MB / 0.7906 GB, free: 117.2 MB / 0.5762 GB Notification: Performance of collectPreVariables (initialization): time 0.0005456/0.9599, allocations: 81.69 kB / 0.7907 GB, free: 117.1 MB / 0.5762 GB Notification: Performance of collectInitialEqns (initialization): time 0.001716/0.9616, allocations: 2.868 MB / 0.7935 GB, free: 114.3 MB / 0.5762 GB Notification: Performance of collectInitialBindings (initialization): time 0.0009825/0.9626, allocations: 0.9347 MB / 0.7944 GB, free: 113.4 MB / 0.5762 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000789/0.9634, allocations: 0.7113 MB / 0.7951 GB, free: 112.7 MB / 0.5762 GB Notification: Performance of setup shared object (initialization): time 4.684e-05/0.9635, allocations: 305.1 kB / 0.7954 GB, free: 112.4 MB / 0.5762 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001968/0.9655, allocations: 1.678 MB / 0.797 GB, free: 110.7 MB / 0.5762 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002262/0.9677, allocations: 2.938 MB / 0.7999 GB, free: 107.2 MB / 0.5762 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.004487/0.9722, allocations: 4.96 MB / 0.8047 GB, free: 101.7 MB / 0.5762 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.672e-05/0.9723, allocations: 12 kB / 0.8047 GB, free: 101.7 MB / 0.5762 GB Notification: Performance of matching and sorting (n=475) (initialization): time 0.007244/0.9795, allocations: 5.434 MB / 0.81 GB, free: 96.22 MB / 0.5762 GB Notification: Performance of prepare postOptimizeDAE: time 3.551e-05/0.9796, allocations: 24 kB / 0.8101 GB, free: 96.2 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.821e-05/0.9796, allocations: 40 kB / 0.8101 GB, free: 96.16 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.000815/0.9804, allocations: 429.3 kB / 0.8105 GB, free: 95.73 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002561/0.983, allocations: 0.8541 MB / 0.8113 GB, free: 94.88 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004116/0.9871, allocations: 5.711 MB / 0.8169 GB, free: 88.9 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.004216/0.9914, allocations: 0.5146 MB / 0.8174 GB, free: 88.38 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.00036/0.9917, allocations: 184 kB / 0.8176 GB, free: 88.2 MB / 0.5762 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.003257/0.995, allocations: 2.276 MB / 0.8198 GB, free: 85.91 MB / 0.5762 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001293/0.9963, allocations: 494.1 kB / 0.8203 GB, free: 85.42 MB / 0.5762 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.005461/1.002, allocations: 4.185 MB / 0.8244 GB, free: 81.19 MB / 0.5762 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.235e-05/1.002, allocations: 28 kB / 0.8244 GB, free: 81.16 MB / 0.5762 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.217e-06/1.002, allocations: 8 kB / 0.8244 GB, free: 81.15 MB / 0.5762 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.003757/1.006, allocations: 3.631 MB / 0.8279 GB, free: 77.4 MB / 0.5762 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01483/1.02, allocations: 10.28 MB / 0.838 GB, free: 67.01 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.131e-05/1.02, allocations: 4 kB / 0.838 GB, free: 67 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001844/1.022, allocations: 0.4998 MB / 0.8385 GB, free: 66.5 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0006767/1.023, allocations: 377.3 kB / 0.8388 GB, free: 66.13 MB / 0.5762 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001501/1.023, allocations: 75.95 kB / 0.8389 GB, free: 66.05 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003927/1.027, allocations: 5.651 MB / 0.8444 GB, free: 60.13 MB / 0.5762 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.999e-06/1.027, allocations: 11.94 kB / 0.8444 GB, free: 60.12 MB / 0.5762 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.007353/1.034, allocations: 6.25 MB / 0.8505 GB, free: 53.7 MB / 0.5762 GB Notification: Performance of postOpt removeConstants (simulation): time 0.002506/1.037, allocations: 1.096 MB / 0.8516 GB, free: 52.58 MB / 0.5762 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0009102/1.038, allocations: 67.98 kB / 0.8517 GB, free: 52.52 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002686/1.041, allocations: 174.7 kB / 0.8519 GB, free: 52.35 MB / 0.5762 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002771/1.041, allocations: 173.6 kB / 0.852 GB, free: 52.18 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002117/1.041, allocations: 127.9 kB / 0.8521 GB, free: 52.05 MB / 0.5762 GB Notification: Performance of sorting global known variables: time 0.00455/1.046, allocations: 3.839 MB / 0.8559 GB, free: 48.23 MB / 0.5762 GB Notification: Performance of sort global known variables: time 1.81e-07/1.046, allocations: 3.938 kB / 0.8559 GB, free: 48.23 MB / 0.5762 GB Notification: Performance of remove unused functions: time 0.005041/1.051, allocations: 1.799 MB / 0.8576 GB, free: 46.44 MB / 0.5762 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.001072/1.052, allocations: 494.6 kB / 0.8581 GB, free: 46 MB / 0.5762 GB Notification: Performance of simCode: created initialization part: time 0.01238/1.064, allocations: 8.062 MB / 0.866 GB, free: 37.93 MB / 0.5762 GB Notification: Performance of simCode: created event and clocks part: time 9.919e-06/1.064, allocations: 4.25 kB / 0.866 GB, free: 37.93 MB / 0.5762 GB Notification: Performance of simCode: created simulation system equations: time 0.002319/1.067, allocations: 2.043 MB / 0.868 GB, free: 35.86 MB / 0.5762 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.01489/1.082, allocations: 3.461 MB / 0.8714 GB, free: 32.56 MB / 0.5762 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01604/1.098, allocations: 12.67 MB / 0.8837 GB, free: 19.83 MB / 0.5762 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002626/1.1, allocations: 4.235 MB / 0.8879 GB, free: 15.56 MB / 0.5762 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.00153/1.102, allocations: 447.2 kB / 0.8883 GB, free: 15.12 MB / 0.5762 GB Notification: Performance of SimCode: time 1.823e-06/1.102, allocations: 0 / 0.8883 GB, free: 15.12 MB / 0.5762 GB Notification: Performance of Templates: time 0.4604/1.562, allocations: 173.7 MB / 1.058 GB, free: 214.9 MB / 0.6856 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)