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.007266/0.007266, allocations: 99.56 kB / 15.73 MB, free: 6.059 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.001364/0.001364, allocations: 191.9 kB / 16.67 MB, free: 5.969 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.356/1.356, allocations: 222.9 MB / 240.4 MB, free: 15.15 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 0.7802/0.7802, allocations: 135.1 MB / 425.7 MB, free: 4.051 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001239/0.001239, allocations: 61.19 kB / 0.5856 GB, free: 21.74 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1885/0.1897, allocations: 80.93 MB / 0.6646 GB, free: 5.785 MB / 0.4981 GB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.Storage.Validation.StratifiedNonUniformInitial): time 0.04879/0.2386, allocations: 49.29 MB / 0.7128 GB, free: 4.32 MB / 0.545 GB Notification: Performance of NFInst.instExpressions: time 0.01971/0.2583, allocations: 13.79 MB / 0.7262 GB, free: 6.492 MB / 0.5606 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.003503/0.2619, allocations: 67.62 kB / 0.7263 GB, free: 6.426 MB / 0.5606 GB Notification: Performance of NFTyping.typeComponents: time 0.002845/0.2647, allocations: 0.8109 MB / 0.7271 GB, free: 5.609 MB / 0.5606 GB Notification: Performance of NFTyping.typeBindings: time 0.007505/0.2723, allocations: 2.246 MB / 0.7293 GB, free: 3.352 MB / 0.5606 GB Notification: Performance of NFTyping.typeClassSections: time 0.004226/0.2766, allocations: 1.306 MB / 0.7306 GB, free: 2.055 MB / 0.5606 GB Notification: Performance of NFFlatten.flatten: time 0.4298/0.7064, allocations: 19.56 MB / 0.7497 GB, free: 6.375 MB / 0.5762 GB Notification: Performance of NFFlatten.resolveConnections: time 0.01559/0.722, allocations: 9.935 MB / 0.7594 GB, free: 4.898 MB / 0.5762 GB Notification: Performance of NFEvalConstants.evaluate: time 0.01686/0.7389, allocations: 6.53 MB / 0.7657 GB, free: 4.41 MB / 0.5762 GB Notification: Performance of NFSimplifyModel.simplify: time 0.01385/0.7528, allocations: 5.772 MB / 0.7714 GB, free: 3.484 MB / 0.5762 GB Notification: Performance of NFPackage.collectConstants: time 0.003862/0.7567, allocations: 0.8443 MB / 0.7722 GB, free: 3.484 MB / 0.5762 GB Notification: Performance of NFFlatten.collectFunctions: time 0.007841/0.7645, allocations: 1.605 MB / 0.7738 GB, free: 3.484 MB / 0.5762 GB Notification: Performance of NFScalarize.scalarize: time 0.004051/0.7686, allocations: 2.116 MB / 0.7758 GB, free: 3.23 MB / 0.5762 GB Notification: Performance of NFVerifyModel.verify: time 0.01151/0.7801, allocations: 4.296 MB / 0.78 GB, free: 2.211 MB / 0.5762 GB Notification: Performance of NFConvertDAE.convert: time 0.01829/0.7984, allocations: 12.12 MB / 0.7919 GB, free: 0.8086 MB / 0.5762 GB Notification: Performance of FrontEnd - DAE generated: time 7.755e-06/0.7985, allocations: 0 / 0.7919 GB, free: 0.8086 MB / 0.5762 GB Notification: Performance of FrontEnd: time 2.454e-06/0.7985, allocations: 0 / 0.7919 GB, free: 0.8086 MB / 0.5762 GB Notification: Performance of Transformations before backend: time 0.0004366/0.7989, allocations: 0 / 0.7919 GB, free: 0.8086 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.02247/0.8214, allocations: 7.92 MB / 0.7996 GB, free: 13.26 MB / 0.5919 GB Notification: Performance of prepare preOptimizeDAE: time 4.344e-05/0.8215, allocations: 10.83 kB / 0.7996 GB, free: 13.26 MB / 0.5919 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003815/0.8253, allocations: 0.8217 MB / 0.8004 GB, free: 12.84 MB / 0.5919 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01338/0.8387, allocations: 6.352 MB / 0.8066 GB, free: 9.113 MB / 0.5919 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003613/0.8391, allocations: 415.2 kB / 0.807 GB, free: 8.926 MB / 0.5919 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.002193/0.8413, allocations: 0.545 MB / 0.8075 GB, free: 8.742 MB / 0.5919 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01762/0.8589, allocations: 8.072 MB / 0.8154 GB, free: 3.883 MB / 0.5919 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001612/0.8591, allocations: 17.23 kB / 0.8154 GB, free: 3.879 MB / 0.5919 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.001066/0.8602, allocations: 237.1 kB / 0.8157 GB, free: 3.707 MB / 0.5919 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001959/0.8604, allocations: 170.4 kB / 0.8158 GB, free: 3.543 MB / 0.5919 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01505/0.8755, allocations: 6.523 MB / 0.8222 GB, free: 13.07 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.06066/0.9362, allocations: 31.25 MB / 0.8527 GB, free: 12.55 MB / 0.6387 GB Notification: Performance of preOpt comSubExp (simulation): time 0.00732/0.9435, allocations: 3.648 MB / 0.8563 GB, free: 8.945 MB / 0.6387 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.005096/0.9487, allocations: 2.807 MB / 0.859 GB, free: 6.145 MB / 0.6387 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001182/0.9499, allocations: 0.8252 MB / 0.8598 GB, free: 5.164 MB / 0.6387 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001123/0.95, allocations: 68.67 kB / 0.8599 GB, free: 5.086 MB / 0.6387 GB Notification: Performance of pre-optimization done (n=267): time 8.025e-06/0.95, allocations: 7.375 kB / 0.8599 GB, free: 5.082 MB / 0.6387 GB Notification: Performance of matching and sorting (n=267): time 0.01414/0.9642, allocations: 5.777 MB / 0.8655 GB, free: 15.22 MB / 0.6544 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.29e-05/0.9643, allocations: 81.52 kB / 0.8656 GB, free: 15.13 MB / 0.6544 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.01258/0.9769, allocations: 5.236 MB / 0.8707 GB, free: 9.895 MB / 0.6544 GB Notification: Performance of collectPreVariables (initialization): time 0.0009263/0.9778, allocations: 81.7 kB / 0.8708 GB, free: 9.809 MB / 0.6544 GB Notification: Performance of collectInitialEqns (initialization): time 0.003601/0.9815, allocations: 2.931 MB / 0.8737 GB, free: 6.871 MB / 0.6544 GB Notification: Performance of collectInitialBindings (initialization): time 0.001973/0.9835, allocations: 0.9855 MB / 0.8746 GB, free: 5.898 MB / 0.6544 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.002495/0.986, allocations: 0.7195 MB / 0.8753 GB, free: 5.172 MB / 0.6544 GB Notification: Performance of setup shared object (initialization): time 0.0001114/0.9861, allocations: 305.1 kB / 0.8756 GB, free: 4.871 MB / 0.6544 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.003403/0.9895, allocations: 1.674 MB / 0.8773 GB, free: 3.195 MB / 0.6544 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.005329/0.9949, allocations: 2.935 MB / 0.8801 GB, free: 15.72 MB / 0.67 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.01227/1.007, allocations: 4.967 MB / 0.885 GB, free: 10.33 MB / 0.67 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.898e-05/1.007, allocations: 12 kB / 0.885 GB, free: 10.32 MB / 0.67 GB Notification: Performance of matching and sorting (n=475) (initialization): time 0.02136/1.029, allocations: 5.454 MB / 0.8903 GB, free: 5.062 MB / 0.67 GB Notification: Performance of prepare postOptimizeDAE: time 0.00011/1.029, allocations: 24.19 kB / 0.8903 GB, free: 5.039 MB / 0.67 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001195/1.029, allocations: 44 kB / 0.8904 GB, free: 4.996 MB / 0.67 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.002043/1.031, allocations: 427.4 kB / 0.8908 GB, free: 4.574 MB / 0.67 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.006997/1.038, allocations: 0.8585 MB / 0.8916 GB, free: 3.773 MB / 0.67 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01104/1.049, allocations: 5.697 MB / 0.8972 GB, free: 13.86 MB / 0.6856 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.009143/1.058, allocations: 0.5314 MB / 0.8977 GB, free: 13.32 MB / 0.6856 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001404/1.06, allocations: 176 kB / 0.8979 GB, free: 13.15 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.009254/1.069, allocations: 2.287 MB / 0.9001 GB, free: 10.91 MB / 0.6856 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.003525/1.073, allocations: 0.4969 MB / 0.9006 GB, free: 10.41 MB / 0.6856 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01584/1.088, allocations: 4.191 MB / 0.9047 GB, free: 6.172 MB / 0.6856 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.532e-05/1.089, allocations: 24.05 kB / 0.9047 GB, free: 6.148 MB / 0.6856 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.459e-05/1.089, allocations: 7.984 kB / 0.9047 GB, free: 6.141 MB / 0.6856 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.01073/1.099, allocations: 3.638 MB / 0.9083 GB, free: 2.402 MB / 0.6856 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.04177/1.141, allocations: 10.26 MB / 0.9183 GB, free: 8.078 MB / 0.7012 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.232e-05/1.141, allocations: 8 kB / 0.9183 GB, free: 8.07 MB / 0.7012 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.004459/1.146, allocations: 0.5002 MB / 0.9188 GB, free: 7.594 MB / 0.7012 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.00168/1.147, allocations: 374 kB / 0.9192 GB, free: 7.223 MB / 0.7012 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.000595/1.148, allocations: 79.95 kB / 0.9192 GB, free: 7.145 MB / 0.7012 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01025/1.158, allocations: 5.648 MB / 0.9247 GB, free: 1.262 MB / 0.7012 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.484e-05/1.158, allocations: 14.36 kB / 0.9248 GB, free: 1.25 MB / 0.7012 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01172/1.17, allocations: 6.268 MB / 0.9309 GB, free: 10.83 MB / 0.7169 GB Notification: Performance of postOpt removeConstants (simulation): time 0.003611/1.174, allocations: 1.122 MB / 0.932 GB, free: 9.684 MB / 0.7169 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001403/1.175, allocations: 63.98 kB / 0.932 GB, free: 9.621 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.003323/1.178, allocations: 171.6 kB / 0.9322 GB, free: 9.453 MB / 0.7169 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003826/1.179, allocations: 180.4 kB / 0.9324 GB, free: 9.281 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002798/1.179, allocations: 133.9 kB / 0.9325 GB, free: 9.156 MB / 0.7169 GB Notification: Performance of sorting global known variables: time 0.007085/1.186, allocations: 3.839 MB / 0.9362 GB, free: 5.332 MB / 0.7169 GB Notification: Performance of sort global known variables: time 4.1e-07/1.186, allocations: 0 / 0.9362 GB, free: 5.332 MB / 0.7169 GB Notification: Performance of remove unused functions: time 0.00696/1.193, allocations: 1.817 MB / 0.938 GB, free: 3.512 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.00145/1.195, allocations: 485.1 kB / 0.9385 GB, free: 3.086 MB / 0.7169 GB Notification: Performance of simCode: created initialization part: time 0.006953/1.202, allocations: 4.28 MB / 0.9427 GB, free: 14.91 MB / 0.7325 GB Notification: Performance of simCode: created event and clocks part: time 9.758e-06/1.202, allocations: 5.938 kB / 0.9427 GB, free: 14.91 MB / 0.7325 GB Notification: Performance of simCode: created simulation system equations: time 0.002946/1.205, allocations: 2.049 MB / 0.9447 GB, free: 12.89 MB / 0.7325 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.01814/1.223, allocations: 3.453 MB / 0.948 GB, free: 9.527 MB / 0.7325 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02919/1.252, allocations: 12.68 MB / 0.9604 GB, free: 12.8 MB / 0.7481 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.009369/1.261, allocations: 4.299 MB / 0.9646 GB, free: 8.469 MB / 0.7481 GB Notification: Performance of simCode: alias equations: time 0.009851/1.271, allocations: 1.849 MB / 0.9664 GB, free: 6.621 MB / 0.7481 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.002457/1.274, allocations: 413.4 kB / 0.9668 GB, free: 6.219 MB / 0.7481 GB Notification: Performance of SimCode: time 1.302e-06/1.274, allocations: 0 / 0.9668 GB, free: 6.219 MB / 0.7481 GB Notification: Performance of Templates: time 0.554/1.828, allocations: 113.2 MB / 1.077 GB, free: 295.8 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)