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/Complex 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) 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/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/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 IDEAS with version 3.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/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) 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/Complex 4.0.0+maint.om/package.mo): time 0.001647/0.001647, allocations: 182.6 kB / 15.98 MB, free: 5.77 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 0.7299/0.7299, allocations: 133.4 MB / 150.1 MB, free: 11.13 MB / 122.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.384/1.384, allocations: 222.9 MB / 404.7 MB, free: 6 MB / 314.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001073/0.001073, allocations: 105.7 kB / 485.9 MB, free: 7.164 MB / 394.7 MB Notification: Performance of FrontEnd - loaded program: time 0.001037/0.001037, allocations: 63.91 kB / 0.5636 GB, free: 69.92 MB / 426.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1431/0.1442, allocations: 80.43 MB / 0.6421 GB, free: 5.422 MB / 442.7 MB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.Storage.Validation.StratifiedNonUniformInitial): time 0.04355/0.1877, allocations: 48.98 MB / 0.69 GB, free: 4.27 MB / 490.7 MB Notification: Performance of NFInst.instExpressions: time 0.3761/0.5639, allocations: 13.78 MB / 0.7034 GB, free: 11.52 MB / 490.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.003335/0.5673, allocations: 61.16 kB / 0.7035 GB, free: 11.52 MB / 490.7 MB Notification: Performance of NFTyping.typeComponents: time 0.002925/0.5702, allocations: 0.6543 MB / 0.7041 GB, free: 11.52 MB / 490.7 MB Notification: Performance of NFTyping.typeBindings: time 0.007773/0.5781, allocations: 2.084 MB / 0.7062 GB, free: 11.44 MB / 490.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.00424/0.5823, allocations: 1.183 MB / 0.7073 GB, free: 11.42 MB / 490.7 MB Notification: Performance of NFFlatten.flatten: time 0.03466/0.617, allocations: 25.71 MB / 0.7324 GB, free: 5.379 MB / 490.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.01163/0.6287, allocations: 8.116 MB / 0.7404 GB, free: 1.137 MB / 490.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0127/0.6414, allocations: 5.063 MB / 0.7453 GB, free: 12.37 MB / 0.4948 GB Notification: Performance of NFSimplifyModel.simplify: time 0.01177/0.6532, allocations: 5.605 MB / 0.7508 GB, free: 7.207 MB / 0.4948 GB Notification: Performance of NFPackage.collectConstants: time 0.002487/0.6558, allocations: 420 kB / 0.7512 GB, free: 6.797 MB / 0.4948 GB Notification: Performance of NFFlatten.collectFunctions: time 0.007913/0.6637, allocations: 1.104 MB / 0.7523 GB, free: 5.746 MB / 0.4948 GB Notification: Performance of NFScalarize.scalarize: time 0.004187/0.6679, allocations: 1.613 MB / 0.7538 GB, free: 4.168 MB / 0.4948 GB Notification: Performance of NFVerifyModel.verify: time 0.01284/0.6808, allocations: 3.752 MB / 0.7575 GB, free: 444 kB / 0.4948 GB Notification: Performance of NFConvertDAE.convert: time 0.02023/0.7011, allocations: 11.59 MB / 0.7688 GB, free: 5.105 MB / 0.5105 GB Notification: Performance of FrontEnd - DAE generated: time 8.306e-06/0.7011, allocations: 0 / 0.7688 GB, free: 5.105 MB / 0.5105 GB Notification: Performance of FrontEnd: time 1.372e-06/0.7011, allocations: 0 / 0.7688 GB, free: 5.105 MB / 0.5105 GB Notification: Performance of Transformations before backend: time 0.0005331/0.7017, allocations: 0 / 0.7688 GB, free: 5.105 MB / 0.5105 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.02513/0.7268, allocations: 7.714 MB / 0.7763 GB, free: 13.37 MB / 0.5261 GB Notification: Performance of prepare preOptimizeDAE: time 5.29e-05/0.7269, allocations: 8.031 kB / 0.7763 GB, free: 13.36 MB / 0.5261 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004678/0.7316, allocations: 0.7852 MB / 0.7771 GB, free: 12.57 MB / 0.5261 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01581/0.7474, allocations: 6.24 MB / 0.7832 GB, free: 6.41 MB / 0.5261 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0004782/0.7479, allocations: 419 kB / 0.7836 GB, free: 6.004 MB / 0.5261 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.002198/0.7501, allocations: 0.5389 MB / 0.7841 GB, free: 5.465 MB / 0.5261 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.02157/0.7717, allocations: 8.073 MB / 0.792 GB, free: 13.16 MB / 0.5417 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0002646/0.772, allocations: 19.84 kB / 0.792 GB, free: 13.14 MB / 0.5417 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.001792/0.7739, allocations: 235.4 kB / 0.7923 GB, free: 12.92 MB / 0.5417 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0002156/0.7741, allocations: 163.9 kB / 0.7924 GB, free: 12.76 MB / 0.5417 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01589/0.79, allocations: 6.532 MB / 0.7988 GB, free: 6.215 MB / 0.5417 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.05373/0.8438, allocations: 31.11 MB / 0.8292 GB, free: 5.527 MB / 0.573 GB Notification: Performance of preOpt comSubExp (simulation): time 0.006921/0.8507, allocations: 3.649 MB / 0.8327 GB, free: 1.891 MB / 0.573 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.004815/0.8556, allocations: 2.817 MB / 0.8355 GB, free: 15.08 MB / 0.5886 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001141/0.8568, allocations: 0.8268 MB / 0.8363 GB, free: 14.1 MB / 0.5886 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001007/0.8569, allocations: 64.67 kB / 0.8364 GB, free: 14.02 MB / 0.5886 GB Notification: Performance of pre-optimization done (n=267): time 7.374e-06/0.8569, allocations: 0 / 0.8364 GB, free: 14.02 MB / 0.5886 GB Notification: Performance of matching and sorting (n=267): time 0.01341/0.8703, allocations: 5.77 MB / 0.842 GB, free: 8.156 MB / 0.5886 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.235e-05/0.8704, allocations: 77.52 kB / 0.8421 GB, free: 8.066 MB / 0.5886 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0109/0.8813, allocations: 5.036 MB / 0.847 GB, free: 3.031 MB / 0.5886 GB Notification: Performance of collectPreVariables (initialization): time 0.0007461/0.8821, allocations: 77.7 kB / 0.8471 GB, free: 2.949 MB / 0.5886 GB Notification: Performance of collectInitialEqns (initialization): time 0.00276/0.8849, allocations: 2.865 MB / 0.8499 GB, free: 68 kB / 0.5886 GB Notification: Performance of collectInitialBindings (initialization): time 0.001712/0.8866, allocations: 0.9337 MB / 0.8508 GB, free: 15.14 MB / 0.6042 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001156/0.8878, allocations: 0.7113 MB / 0.8515 GB, free: 14.42 MB / 0.6042 GB Notification: Performance of setup shared object (initialization): time 0.000108/0.8879, allocations: 309 kB / 0.8518 GB, free: 14.12 MB / 0.6042 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002675/0.8906, allocations: 1.67 MB / 0.8534 GB, free: 12.45 MB / 0.6042 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00344/0.894, allocations: 2.94 MB / 0.8563 GB, free: 8.949 MB / 0.6042 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.006548/0.9006, allocations: 4.962 MB / 0.8611 GB, free: 3.395 MB / 0.6042 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.678e-05/0.9007, allocations: 16 kB / 0.8611 GB, free: 3.379 MB / 0.6042 GB Notification: Performance of matching and sorting (n=475) (initialization): time 0.009896/0.9106, allocations: 5.434 MB / 0.8664 GB, free: 13.89 MB / 0.6198 GB Notification: Performance of prepare postOptimizeDAE: time 5.006e-05/0.9106, allocations: 20 kB / 0.8665 GB, free: 13.87 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.105e-05/0.9107, allocations: 48.09 kB / 0.8665 GB, free: 13.82 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.000972/0.9117, allocations: 423.7 kB / 0.8669 GB, free: 13.41 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003029/0.9147, allocations: 0.8618 MB / 0.8677 GB, free: 12.54 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.005664/0.9204, allocations: 5.259 MB / 0.8729 GB, free: 7.023 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.006005/0.9264, allocations: 0.6432 MB / 0.8735 GB, free: 6.375 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0009946/0.9275, allocations: 176 kB / 0.8737 GB, free: 6.203 MB / 0.6198 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.005337/0.9329, allocations: 2.292 MB / 0.8759 GB, free: 3.898 MB / 0.6198 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001736/0.9346, allocations: 486.1 kB / 0.8764 GB, free: 3.418 MB / 0.6198 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.007246/0.9419, allocations: 4.185 MB / 0.8805 GB, free: 15.17 MB / 0.6355 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.998e-05/0.9419, allocations: 32 kB / 0.8805 GB, free: 15.14 MB / 0.6355 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.259e-05/0.9419, allocations: 7.938 kB / 0.8805 GB, free: 15.13 MB / 0.6355 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.005101/0.9471, allocations: 3.636 MB / 0.8841 GB, free: 11.38 MB / 0.6355 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.02404/0.9711, allocations: 10.2 MB / 0.894 GB, free: 1.066 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.346e-05/0.9712, allocations: 4 kB / 0.894 GB, free: 1.062 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002029/0.9732, allocations: 0.5032 MB / 0.8945 GB, free: 0.5586 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0008708/0.9741, allocations: 371.4 kB / 0.8949 GB, free: 196 kB / 0.6355 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001844/0.9743, allocations: 79.95 kB / 0.8949 GB, free: 116 kB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.00545/0.9797, allocations: 5.198 MB / 0.9 GB, free: 10.66 MB / 0.6511 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.974e-06/0.9798, allocations: 15.88 kB / 0.9 GB, free: 10.64 MB / 0.6511 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.06706/1.047, allocations: 35.31 MB / 0.9345 GB, free: 6.73 MB / 0.6823 GB Notification: Performance of postOpt removeConstants (simulation): time 0.003907/1.051, allocations: 1.072 MB / 0.9356 GB, free: 5.633 MB / 0.6823 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0009887/1.052, allocations: 63.92 kB / 0.9356 GB, free: 5.57 MB / 0.6823 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.003226/1.055, allocations: 331.5 kB / 0.9359 GB, free: 5.246 MB / 0.6823 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003523/1.055, allocations: 173.6 kB / 0.9361 GB, free: 5.078 MB / 0.6823 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002918/1.056, allocations: 135.9 kB / 0.9362 GB, free: 4.945 MB / 0.6823 GB Notification: Performance of sorting global known variables: time 0.005832/1.062, allocations: 3.683 MB / 0.9398 GB, free: 1.277 MB / 0.6823 GB Notification: Performance of sort global known variables: time 3.01e-07/1.062, allocations: 0 / 0.9398 GB, free: 1.277 MB / 0.6823 GB Notification: Performance of remove unused functions: time 0.009488/1.071, allocations: 2.597 MB / 0.9424 GB, free: 14.67 MB / 0.698 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.001547/1.073, allocations: 489.2 kB / 0.9428 GB, free: 14.22 MB / 0.698 GB Notification: Performance of simCode: created initialization part: time 0.007724/1.08, allocations: 4.258 MB / 0.947 GB, free: 9.922 MB / 0.698 GB Notification: Performance of simCode: created event and clocks part: time 9.999e-06/1.08, allocations: 0 / 0.947 GB, free: 9.922 MB / 0.698 GB Notification: Performance of simCode: created simulation system equations: time 0.00334/1.084, allocations: 2.039 MB / 0.949 GB, free: 7.855 MB / 0.698 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.01857/1.102, allocations: 3.276 MB / 0.9522 GB, free: 4.641 MB / 0.698 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.3243/1.427, allocations: 17.09 MB / 0.9689 GB, free: 242.3 MB / 0.698 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.00633/1.433, allocations: 4.376 MB / 0.9731 GB, free: 241.4 MB / 0.698 GB Notification: Performance of simCode: alias equations: time 0.008242/1.441, allocations: 1.904 MB / 0.975 GB, free: 241.4 MB / 0.698 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.002135/1.443, allocations: 442.5 kB / 0.9754 GB, free: 241.4 MB / 0.698 GB Notification: Performance of SimCode: time 8.81e-07/1.443, allocations: 0 / 0.9754 GB, free: 241.4 MB / 0.698 GB Notification: Performance of Templates: time 0.1611/1.605, allocations: 122.8 MB / 1.095 GB, free: 139.8 MB / 0.698 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)