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: "" <> buildModelFMU(IDEAS.Fluid.Storage.Validation.StratifiedNonUniformInitial,fileNamePrefix="IDEAS_dev_IDEAS_Fluid_Storage_Validation_StratifiedNonUniformInitial",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IDEAS.Fluid.Storage.Validation.StratifiedNonUniformInitial,fileNamePrefix="IDEAS_dev_IDEAS_Fluid_Storage_Validation_StratifiedNonUniformInitial",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0009606/0.0009605, allocations: 97.95 kB / 15.36 MB, free: 0.7344 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.007308/0.007308, allocations: 170.9 kB / 16.27 MB, free: 6.648 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.333/1.333, allocations: 223.3 MB / 240.3 MB, free: 5.34 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 0.9131/0.9131, allocations: 135.3 MB / 426.7 MB, free: 14.23 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0003764/0.0003764, allocations: 8 kB / 0.5077 GB, free: 4.668 MB / 414.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1339/0.1343, allocations: 82.31 MB / 0.5881 GB, free: 2.531 MB / 494.1 MB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.Storage.Validation.StratifiedNonUniformInitial): time 0.2745/0.4089, allocations: 47.97 MB / 0.6349 GB, free: 25.57 MB / 0.4981 GB Notification: Performance of NFInst.instExpressions: time 0.01296/0.4219, allocations: 13.65 MB / 0.6482 GB, free: 15.76 MB / 0.4981 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001634/0.4236, allocations: 60.41 kB / 0.6483 GB, free: 15.73 MB / 0.4981 GB Notification: Performance of NFTyping.typeComponents: time 0.001464/0.425, allocations: 0.6485 MB / 0.6489 GB, free: 15.36 MB / 0.4981 GB Notification: Performance of NFTyping.typeBindings: time 0.004136/0.4292, allocations: 2.079 MB / 0.651 GB, free: 14.13 MB / 0.4981 GB Notification: Performance of NFTyping.typeClassSections: time 0.002129/0.4313, allocations: 1.188 MB / 0.6521 GB, free: 13.44 MB / 0.4981 GB Notification: Performance of NFFlatten.flatten: time 0.01875/0.4501, allocations: 25.59 MB / 0.6771 GB, free: 4.191 MB / 0.4981 GB Notification: Performance of NFFlatten.resolveConnections: time 0.009121/0.4592, allocations: 7.842 MB / 0.6848 GB, free: 1.18 MB / 0.4981 GB Notification: Performance of NFEvalConstants.evaluate: time 0.008633/0.4679, allocations: 4.711 MB / 0.6894 GB, free: 15.32 MB / 0.5137 GB Notification: Performance of NFSimplifyModel.simplify: time 0.009096/0.477, allocations: 5.24 MB / 0.6945 GB, free: 13.14 MB / 0.5137 GB Notification: Performance of NFPackage.collectConstants: time 0.001123/0.4782, allocations: 303.2 kB / 0.6948 GB, free: 13.14 MB / 0.5137 GB Notification: Performance of NFFlatten.collectFunctions: time 0.004283/0.4825, allocations: 0.9847 MB / 0.6957 GB, free: 12.85 MB / 0.5137 GB Notification: Performance of NFScalarize.scalarize: time 0.001445/0.4839, allocations: 1.427 MB / 0.6971 GB, free: 11.83 MB / 0.5137 GB Notification: Performance of NFVerifyModel.verify: time 0.005427/0.4894, allocations: 3.535 MB / 0.7006 GB, free: 8.891 MB / 0.5137 GB Notification: Performance of NFConvertDAE.convert: time 0.01077/0.5001, allocations: 11.27 MB / 0.7116 GB, free: 13.59 MB / 0.5294 GB Notification: Performance of FrontEnd - DAE generated: time 4.728e-06/0.5002, allocations: 4 kB / 0.7116 GB, free: 13.58 MB / 0.5294 GB Notification: Performance of FrontEnd: time 2.665e-06/0.5002, allocations: 0 / 0.7116 GB, free: 13.58 MB / 0.5294 GB Notification: Performance of Transformations before backend: time 0.0002431/0.5004, allocations: 0 / 0.7116 GB, free: 13.58 MB / 0.5294 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.01109/0.5115, allocations: 6.226 MB / 0.7177 GB, free: 7.285 MB / 0.5294 GB Notification: Performance of prepare preOptimizeDAE: time 4.342e-05/0.5116, allocations: 8.031 kB / 0.7177 GB, free: 7.277 MB / 0.5294 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.001369/0.513, allocations: 0.7719 MB / 0.7184 GB, free: 6.496 MB / 0.5294 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002151/0.5151, allocations: 0.7891 MB / 0.7192 GB, free: 5.699 MB / 0.5294 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.009431/0.5246, allocations: 6.23 MB / 0.7253 GB, free: 15.41 MB / 0.545 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002723/0.5249, allocations: 419 kB / 0.7257 GB, free: 15 MB / 0.545 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0008748/0.5257, allocations: 0.5506 MB / 0.7262 GB, free: 14.45 MB / 0.545 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01293/0.5387, allocations: 8.061 MB / 0.7341 GB, free: 6.148 MB / 0.545 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001049/0.5388, allocations: 19.81 kB / 0.7341 GB, free: 6.129 MB / 0.545 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0005403/0.5394, allocations: 240 kB / 0.7344 GB, free: 5.895 MB / 0.545 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001444/0.5395, allocations: 167.9 kB / 0.7345 GB, free: 5.73 MB / 0.545 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0101/0.5496, allocations: 6.52 MB / 0.7409 GB, free: 15.2 MB / 0.5606 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.03661/0.5862, allocations: 31.16 MB / 0.7713 GB, free: 14.2 MB / 0.5919 GB Notification: Performance of preOpt comSubExp (simulation): time 0.005529/0.5918, allocations: 3.656 MB / 0.7749 GB, free: 10.55 MB / 0.5919 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.003915/0.5957, allocations: 2.823 MB / 0.7776 GB, free: 7.727 MB / 0.5919 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0009239/0.5967, allocations: 0.8436 MB / 0.7785 GB, free: 6.715 MB / 0.5919 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.327e-05/0.5968, allocations: 64.67 kB / 0.7785 GB, free: 6.641 MB / 0.5919 GB Notification: Performance of pre-optimization done (n=267): time 4.258e-06/0.5968, allocations: 4 kB / 0.7785 GB, free: 6.637 MB / 0.5919 GB Notification: Performance of matching and sorting (n=267): time 0.01019/0.607, allocations: 5.782 MB / 0.7842 GB, free: 0.7539 MB / 0.5919 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.831e-05/0.607, allocations: 85.52 kB / 0.7843 GB, free: 0.6562 MB / 0.5919 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.008773/0.6158, allocations: 5.021 MB / 0.7892 GB, free: 11.64 MB / 0.6075 GB Notification: Performance of collectPreVariables (initialization): time 0.0008095/0.6167, allocations: 77.7 kB / 0.7892 GB, free: 11.55 MB / 0.6075 GB Notification: Performance of collectInitialEqns (initialization): time 0.003061/0.6198, allocations: 2.88 MB / 0.792 GB, free: 8.645 MB / 0.6075 GB Notification: Performance of collectInitialBindings (initialization): time 0.001454/0.6212, allocations: 0.9359 MB / 0.793 GB, free: 7.695 MB / 0.6075 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0006385/0.6219, allocations: 301.6 kB / 0.7932 GB, free: 7.395 MB / 0.6075 GB Notification: Performance of setup shared object (initialization): time 8.454e-05/0.622, allocations: 305.1 kB / 0.7935 GB, free: 7.094 MB / 0.6075 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.00278/0.6248, allocations: 1.678 MB / 0.7952 GB, free: 5.414 MB / 0.6075 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.003485/0.6283, allocations: 2.932 MB / 0.798 GB, free: 1.93 MB / 0.6075 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.006518/0.6348, allocations: 4.959 MB / 0.8029 GB, free: 12.38 MB / 0.6231 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.298e-05/0.6349, allocations: 19.92 kB / 0.8029 GB, free: 12.36 MB / 0.6231 GB Notification: Performance of matching and sorting (n=475) (initialization): time 0.009482/0.6443, allocations: 5.429 MB / 0.8082 GB, free: 6.875 MB / 0.6231 GB Notification: Performance of prepare postOptimizeDAE: time 4.021e-05/0.6444, allocations: 24 kB / 0.8082 GB, free: 6.852 MB / 0.6231 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.751e-05/0.6445, allocations: 40 kB / 0.8083 GB, free: 6.812 MB / 0.6231 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0009709/0.6455, allocations: 430.9 kB / 0.8087 GB, free: 6.387 MB / 0.6231 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003053/0.6485, allocations: 0.8503 MB / 0.8095 GB, free: 5.535 MB / 0.6231 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.005409/0.6539, allocations: 5.274 MB / 0.8147 GB, free: 0 / 0.6231 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.004639/0.6586, allocations: 0.6434 MB / 0.8153 GB, free: 15.35 MB / 0.6387 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0004941/0.6591, allocations: 176.2 kB / 0.8155 GB, free: 15.18 MB / 0.6387 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.003759/0.6629, allocations: 2.288 MB / 0.8177 GB, free: 12.88 MB / 0.6387 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001252/0.6642, allocations: 486.1 kB / 0.8181 GB, free: 12.39 MB / 0.6387 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.006955/0.6711, allocations: 4.179 MB / 0.8222 GB, free: 8.164 MB / 0.6387 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.837e-05/0.6712, allocations: 35.94 kB / 0.8223 GB, free: 8.129 MB / 0.6387 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.345e-05/0.6712, allocations: 4 kB / 0.8223 GB, free: 8.125 MB / 0.6387 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.004895/0.6761, allocations: 3.63 MB / 0.8258 GB, free: 4.383 MB / 0.6387 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01722/0.6933, allocations: 10.21 MB / 0.8358 GB, free: 9.992 MB / 0.6544 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.217e-05/0.6934, allocations: 8 kB / 0.8358 GB, free: 9.984 MB / 0.6544 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002003/0.6954, allocations: 0.5037 MB / 0.8363 GB, free: 9.48 MB / 0.6544 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0008151/0.6962, allocations: 369.3 kB / 0.8366 GB, free: 9.113 MB / 0.6544 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001996/0.6964, allocations: 79.95 kB / 0.8367 GB, free: 9.035 MB / 0.6544 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.005172/0.7016, allocations: 5.204 MB / 0.8418 GB, free: 3.559 MB / 0.6544 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.911e-06/0.7016, allocations: 7.938 kB / 0.8418 GB, free: 3.551 MB / 0.6544 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.009015/0.7106, allocations: 6.239 MB / 0.8479 GB, free: 13.14 MB / 0.67 GB Notification: Performance of postOpt removeConstants (simulation): time 0.002704/0.7134, allocations: 1.166 MB / 0.849 GB, free: 11.95 MB / 0.67 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001017/0.7144, allocations: 63.98 kB / 0.8491 GB, free: 11.89 MB / 0.67 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.003575/0.718, allocations: 325.8 kB / 0.8494 GB, free: 11.57 MB / 0.67 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003241/0.7183, allocations: 177.6 kB / 0.8496 GB, free: 11.4 MB / 0.67 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0003097/0.7186, allocations: 131.9 kB / 0.8497 GB, free: 11.27 MB / 0.67 GB Notification: Performance of sorting global known variables: time 0.00627/0.7249, allocations: 3.691 MB / 0.8533 GB, free: 7.594 MB / 0.67 GB Notification: Performance of sort global known variables: time 2.4e-07/0.7249, allocations: 0 / 0.8533 GB, free: 7.594 MB / 0.67 GB Notification: Performance of remove unused functions: time 0.006177/0.7311, allocations: 1.777 MB / 0.855 GB, free: 5.812 MB / 0.67 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.2529/0.984, allocations: 7.166 MB / 0.862 GB, free: 198 MB / 0.67 GB Notification: Performance of simCode: created initialization part: time 0.005784/0.9898, allocations: 4.249 MB / 0.8662 GB, free: 197.6 MB / 0.67 GB Notification: Performance of simCode: created event and clocks part: time 8.957e-06/0.9898, allocations: 4.969 kB / 0.8662 GB, free: 197.6 MB / 0.67 GB Notification: Performance of simCode: created simulation system equations: time 0.002434/0.9923, allocations: 2.051 MB / 0.8682 GB, free: 197.3 MB / 0.67 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.01774/1.01, allocations: 3.281 MB / 0.8714 GB, free: 197.2 MB / 0.67 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.1167/1.127, allocations: 58.75 MB / 0.9288 GB, free: 160.5 MB / 0.67 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.004374/1.131, allocations: 4.312 MB / 0.933 GB, free: 158.9 MB / 0.67 GB Notification: Performance of simCode: alias equations: time 0.006074/1.137, allocations: 1.837 MB / 0.9348 GB, free: 158.6 MB / 0.67 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.003177/1.14, allocations: 2.442 MB / 0.9372 GB, free: 156.7 MB / 0.67 GB Notification: Performance of SimCode: time 6.11e-07/1.14, allocations: 0 / 0.9372 GB, free: 156.7 MB / 0.67 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 1.13/2.271, allocations: 150.5 MB / 1.084 GB, free: 18.75 MB / 0.67 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001665/2.271, allocations: 274.1 kB / 1.084 GB, free: 18.39 MB / 0.67 GB Notification: Performance of buildModelFMU: Generate platform static: time 5.238/7.509, allocations: 3.938 kB / 1.084 GB, free: 18.38 MB / 0.67 GB (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 & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_IDEAS_dev_IDEAS_Fluid_Storage_Validation_StratifiedNonUniformInitial_fmu --startTime=0 --stopTime=3600 --timeout=50 --tolerance=1e-06 IDEAS_dev_IDEAS_Fluid_Storage_Validation_StratifiedNonUniformInitial.fmu > IDEAS_dev_IDEAS.Fluid.Storage.Validation.StratifiedNonUniformInitial.pipe 2>&1)