Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr IDEAS_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/package.mo", uses=false) Using package IDEAS with version 3.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/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_IDEAS_Fluid_Storage_Validation_StratifiedNonUniformInitial",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IDEAS.Fluid.Storage.Validation.StratifiedNonUniformInitial,fileNamePrefix="IDEAS_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.001149/0.001149, allocations: 103.4 kB / 15.33 MB, free: 0.5078 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.001149/0.001149, allocations: 194.8 kB / 16.25 MB, free: 6.621 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.192/1.192, allocations: 222.9 MB / 239.9 MB, free: 4.531 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/package.mo): time 0.6805/0.6805, allocations: 132.2 MB / 422.3 MB, free: 1.926 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001104/0.001104, allocations: 55.53 kB / 0.5013 GB, free: 8.996 MB / 414.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1193/0.1204, allocations: 80.21 MB / 0.5797 GB, free: 9.012 MB / 494.1 MB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.Storage.Validation.StratifiedNonUniformInitial): time 0.2273/0.3477, allocations: 48.87 MB / 0.6274 GB, free: 30.63 MB / 0.4981 GB Notification: Performance of NFInst.instExpressions: time 0.01067/0.3584, allocations: 13.69 MB / 0.6408 GB, free: 20.82 MB / 0.4981 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001095/0.3595, allocations: 60.06 kB / 0.6408 GB, free: 20.79 MB / 0.4981 GB Notification: Performance of NFTyping.typeComponents: time 0.001179/0.3607, allocations: 0.6868 MB / 0.6415 GB, free: 20.39 MB / 0.4981 GB Notification: Performance of NFTyping.typeBindings: time 0.002911/0.3636, allocations: 2.089 MB / 0.6435 GB, free: 19.16 MB / 0.4981 GB Notification: Performance of NFTyping.typeClassSections: time 0.001754/0.3654, allocations: 1.195 MB / 0.6447 GB, free: 18.46 MB / 0.4981 GB Notification: Performance of NFFlatten.flatten: time 0.01161/0.377, allocations: 19.64 MB / 0.6639 GB, free: 9.129 MB / 0.4981 GB Notification: Performance of NFFlatten.resolveConnections: time 0.008563/0.3856, allocations: 9.846 MB / 0.6735 GB, free: 5.023 MB / 0.4981 GB Notification: Performance of NFEvalConstants.evaluate: time 0.01063/0.3962, allocations: 6.589 MB / 0.6799 GB, free: 2.082 MB / 0.4981 GB Notification: Performance of NFSimplifyModel.simplify: time 0.00768/0.4039, allocations: 5.944 MB / 0.6857 GB, free: 15.45 MB / 0.5137 GB Notification: Performance of NFPackage.collectConstants: time 0.001142/0.4051, allocations: 0.8347 MB / 0.6866 GB, free: 15.45 MB / 0.5137 GB Notification: Performance of NFFlatten.collectFunctions: time 0.003605/0.4087, allocations: 1.598 MB / 0.6881 GB, free: 15.13 MB / 0.5137 GB Notification: Performance of NFScalarize.scalarize: time 0.001702/0.4104, allocations: 2.1 MB / 0.6902 GB, free: 13.87 MB / 0.5137 GB Notification: Performance of NFVerifyModel.verify: time 0.004034/0.4145, allocations: 4.277 MB / 0.6943 GB, free: 11.28 MB / 0.5137 GB Notification: Performance of NFConvertDAE.convert: time 0.008965/0.4234, allocations: 11.92 MB / 0.706 GB, free: 1.992 MB / 0.5137 GB Notification: Performance of FrontEnd - DAE generated: time 3.988e-06/0.4234, allocations: 4 kB / 0.706 GB, free: 1.988 MB / 0.5137 GB Notification: Performance of FrontEnd: time 1.242e-06/0.4234, allocations: 0 / 0.706 GB, free: 1.988 MB / 0.5137 GB Notification: Performance of Transformations before backend: time 0.0001221/0.4236, allocations: 0 / 0.706 GB, free: 1.988 MB / 0.5137 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.01009/0.4337, allocations: 7.721 MB / 0.7135 GB, free: 10.2 MB / 0.5294 GB Notification: Performance of prepare preOptimizeDAE: time 3.317e-05/0.4337, allocations: 8.031 kB / 0.7135 GB, free: 10.19 MB / 0.5294 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.000813/0.4345, allocations: 0.7642 MB / 0.7143 GB, free: 9.414 MB / 0.5294 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001794/0.4363, allocations: 0.7852 MB / 0.715 GB, free: 8.621 MB / 0.5294 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.007831/0.4442, allocations: 6.235 MB / 0.7211 GB, free: 2.328 MB / 0.5294 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002346/0.4444, allocations: 427 kB / 0.7215 GB, free: 1.91 MB / 0.5294 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0006552/0.4451, allocations: 0.539 MB / 0.7221 GB, free: 1.367 MB / 0.5294 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01112/0.4562, allocations: 8.068 MB / 0.7299 GB, free: 9.062 MB / 0.545 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001043/0.4563, allocations: 27.77 kB / 0.73 GB, free: 9.035 MB / 0.545 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.000489/0.4568, allocations: 236 kB / 0.7302 GB, free: 8.805 MB / 0.545 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001341/0.457, allocations: 163.9 kB / 0.7304 GB, free: 8.645 MB / 0.545 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.008703/0.4657, allocations: 6.528 MB / 0.7367 GB, free: 2.105 MB / 0.545 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.02998/0.4957, allocations: 31.1 MB / 0.7671 GB, free: 1.164 MB / 0.5762 GB Notification: Performance of preOpt comSubExp (simulation): time 0.004473/0.5002, allocations: 3.657 MB / 0.7707 GB, free: 13.51 MB / 0.5919 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.003231/0.5034, allocations: 2.807 MB / 0.7734 GB, free: 10.7 MB / 0.5919 GB Notification: Performance of preOpt evalFunc (simulation): time 0.000797/0.5042, allocations: 0.8241 MB / 0.7742 GB, free: 9.711 MB / 0.5919 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.252e-05/0.5043, allocations: 68.67 kB / 0.7743 GB, free: 9.633 MB / 0.5919 GB Notification: Performance of pre-optimization done (n=267): time 4.278e-06/0.5043, allocations: 3.938 kB / 0.7743 GB, free: 9.629 MB / 0.5919 GB Notification: Performance of matching and sorting (n=267): time 0.008822/0.5131, allocations: 5.774 MB / 0.7799 GB, free: 3.754 MB / 0.5919 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.603e-05/0.5132, allocations: 77.52 kB / 0.78 GB, free: 3.664 MB / 0.5919 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.005324/0.5185, allocations: 5.032 MB / 0.7849 GB, free: 14.63 MB / 0.6075 GB Notification: Performance of collectPreVariables (initialization): time 0.0002062/0.5187, allocations: 81.69 kB / 0.785 GB, free: 14.55 MB / 0.6075 GB Notification: Performance of collectInitialEqns (initialization): time 0.001877/0.5206, allocations: 2.864 MB / 0.7878 GB, free: 11.65 MB / 0.6075 GB Notification: Performance of collectInitialBindings (initialization): time 0.00082/0.5214, allocations: 0.932 MB / 0.7887 GB, free: 10.71 MB / 0.6075 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0008457/0.5223, allocations: 0.7113 MB / 0.7894 GB, free: 9.988 MB / 0.6075 GB Notification: Performance of setup shared object (initialization): time 7.678e-05/0.5224, allocations: 305.1 kB / 0.7897 GB, free: 9.688 MB / 0.6075 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002145/0.5245, allocations: 1.674 MB / 0.7913 GB, free: 8.012 MB / 0.6075 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002848/0.5274, allocations: 2.944 MB / 0.7942 GB, free: 4.512 MB / 0.6075 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.005287/0.5327, allocations: 4.966 MB / 0.7991 GB, free: 14.95 MB / 0.6231 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.577e-05/0.5327, allocations: 12 kB / 0.7991 GB, free: 14.94 MB / 0.6231 GB Notification: Performance of matching and sorting (n=475) (initialization): time 0.007179/0.5399, allocations: 5.437 MB / 0.8044 GB, free: 9.445 MB / 0.6231 GB Notification: Performance of prepare postOptimizeDAE: time 3.132e-05/0.5399, allocations: 24.19 kB / 0.8044 GB, free: 9.422 MB / 0.6231 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.369e-05/0.54, allocations: 44 kB / 0.8044 GB, free: 9.379 MB / 0.6231 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0008247/0.5408, allocations: 421.3 kB / 0.8048 GB, free: 8.961 MB / 0.6231 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002617/0.5434, allocations: 0.8541 MB / 0.8057 GB, free: 8.105 MB / 0.6231 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004974/0.5484, allocations: 5.694 MB / 0.8112 GB, free: 2.137 MB / 0.6231 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003304/0.5517, allocations: 0.6432 MB / 0.8119 GB, free: 1.488 MB / 0.6231 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002471/0.552, allocations: 184 kB / 0.812 GB, free: 1.309 MB / 0.6231 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.002886/0.5549, allocations: 2.28 MB / 0.8143 GB, free: 15.01 MB / 0.6387 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0007327/0.5556, allocations: 494.2 kB / 0.8147 GB, free: 14.52 MB / 0.6387 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.005742/0.5613, allocations: 4.184 MB / 0.8188 GB, free: 10.29 MB / 0.6387 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.295e-05/0.5614, allocations: 31.94 kB / 0.8189 GB, free: 10.26 MB / 0.6387 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.914e-06/0.5614, allocations: 4 kB / 0.8189 GB, free: 10.25 MB / 0.6387 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.004462/0.5659, allocations: 3.637 MB / 0.8224 GB, free: 6.504 MB / 0.6387 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01318/0.5791, allocations: 10.21 MB / 0.8324 GB, free: 12.12 MB / 0.6544 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.387e-06/0.5791, allocations: 4 kB / 0.8324 GB, free: 12.12 MB / 0.6544 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001938/0.581, allocations: 0.4998 MB / 0.8329 GB, free: 11.62 MB / 0.6544 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0007185/0.5818, allocations: 376.4 kB / 0.8332 GB, free: 11.25 MB / 0.6544 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001631/0.5819, allocations: 75.95 kB / 0.8333 GB, free: 11.17 MB / 0.6544 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.004888/0.5868, allocations: 5.642 MB / 0.8388 GB, free: 5.258 MB / 0.6544 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.658e-06/0.5868, allocations: 7.938 kB / 0.8388 GB, free: 5.25 MB / 0.6544 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00788/0.5947, allocations: 6.243 MB / 0.8449 GB, free: 14.83 MB / 0.67 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001862/0.5966, allocations: 1.076 MB / 0.846 GB, free: 13.73 MB / 0.67 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000566/0.5972, allocations: 63.98 kB / 0.846 GB, free: 13.66 MB / 0.67 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002533/0.5997, allocations: 327.2 kB / 0.8463 GB, free: 13.34 MB / 0.67 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002762/0.6, allocations: 177.6 kB / 0.8465 GB, free: 13.17 MB / 0.67 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002166/0.6002, allocations: 127.9 kB / 0.8466 GB, free: 13.05 MB / 0.67 GB Notification: Performance of sorting global known variables: time 0.004302/0.6045, allocations: 3.691 MB / 0.8502 GB, free: 9.371 MB / 0.67 GB Notification: Performance of sort global known variables: time 1.6e-07/0.6045, allocations: 0 / 0.8502 GB, free: 9.371 MB / 0.67 GB Notification: Performance of remove unused functions: time 0.003722/0.6083, allocations: 1.781 MB / 0.852 GB, free: 7.586 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.008463/0.6167, allocations: 7.169 MB / 0.859 GB, free: 256 kB / 0.67 GB Notification: Performance of simCode: created initialization part: time 0.1963/0.8131, allocations: 8.065 MB / 0.8669 GB, free: 208.8 MB / 0.67 GB Notification: Performance of simCode: created event and clocks part: time 7.574e-06/0.8131, allocations: 11.62 kB / 0.8669 GB, free: 208.8 MB / 0.67 GB Notification: Performance of simCode: created simulation system equations: time 0.001976/0.8151, allocations: 2.034 MB / 0.8688 GB, free: 208 MB / 0.67 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0111/0.8262, allocations: 3.463 MB / 0.8722 GB, free: 207.3 MB / 0.67 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.1071/0.9333, allocations: 58.51 MB / 0.9294 GB, free: 170.7 MB / 0.67 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.003249/0.9366, allocations: 4.308 MB / 0.9336 GB, free: 169.1 MB / 0.67 GB Notification: Performance of simCode: alias equations: time 0.004788/0.9414, allocations: 1.849 MB / 0.9354 GB, free: 168.9 MB / 0.67 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.002347/0.9438, allocations: 2.439 MB / 0.9378 GB, free: 167 MB / 0.67 GB Notification: Performance of SimCode: time 4.51e-07/0.9438, allocations: 0 / 0.9378 GB, free: 167 MB / 0.67 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 3.604/4.548, allocations: 155.6 MB / 1.09 GB, free: 18.67 MB / 0.67 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002303/4.548, allocations: 263.5 kB / 1.09 GB, free: 18.31 MB / 0.67 GB Notification: Performance of buildModelFMU: Generate platform static: time 5.065/9.613, allocations: 0 / 1.09 GB, free: 18.31 MB / 0.67 GB (rm -f IDEAS_IDEAS.Fluid.Storage.Validation.StratifiedNonUniformInitial.pipe ; mkfifo IDEAS_IDEAS.Fluid.Storage.Validation.StratifiedNonUniformInitial.pipe ; head -c 1048576 < IDEAS_IDEAS.Fluid.Storage.Validation.StratifiedNonUniformInitial.pipe >> ../files/IDEAS_IDEAS.Fluid.Storage.Validation.StratifiedNonUniformInitial.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_IDEAS_IDEAS_Fluid_Storage_Validation_StratifiedNonUniformInitial_fmu --startTime=0 --stopTime=3600 --timeout=50 --tolerance=1e-06 IDEAS_IDEAS_Fluid_Storage_Validation_StratifiedNonUniformInitial.fmu > IDEAS_IDEAS.Fluid.Storage.Validation.StratifiedNonUniformInitial.pipe 2>&1)