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.0006424/0.0006424, allocations: 98.03 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.004376/0.004376, allocations: 169.8 kB / 16.27 MB, free: 6.652 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.18/1.18, allocations: 223.3 MB / 240.3 MB, free: 5.348 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/package.mo): time 0.6943/0.6943, allocations: 132.3 MB / 423.8 MB, free: 1.984 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0002737/0.0002738, allocations: 8 kB / 0.5041 GB, free: 3.801 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3342/0.3345, allocations: 81.57 MB / 0.5837 GB, free: 4.051 MB / 430.1 MB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.Storage.Validation.StratifiedNonUniformInitial): time 0.04312/0.3776, allocations: 47.98 MB / 0.6306 GB, free: 15.41 MB / 478.1 MB Notification: Performance of NFInst.instExpressions: time 0.01642/0.3941, allocations: 13.66 MB / 0.6439 GB, free: 2.652 MB / 478.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001232/0.3953, allocations: 59.62 kB / 0.644 GB, free: 2.594 MB / 478.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001447/0.3968, allocations: 0.6486 MB / 0.6446 GB, free: 1.941 MB / 478.1 MB Notification: Performance of NFTyping.typeBindings: time 0.004148/0.4009, allocations: 2.087 MB / 0.6467 GB, free: 15.85 MB / 494.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.002333/0.4033, allocations: 1.188 MB / 0.6478 GB, free: 14.67 MB / 494.1 MB Notification: Performance of NFFlatten.flatten: time 0.02068/0.424, allocations: 25.59 MB / 0.6728 GB, free: 5.016 MB / 0.4981 GB Notification: Performance of NFFlatten.resolveConnections: time 0.008336/0.4323, allocations: 7.859 MB / 0.6805 GB, free: 13.04 MB / 0.5137 GB Notification: Performance of NFEvalConstants.evaluate: time 0.006503/0.4389, allocations: 4.707 MB / 0.6851 GB, free: 8.316 MB / 0.5137 GB Notification: Performance of NFSimplifyModel.simplify: time 0.006005/0.4449, allocations: 5.231 MB / 0.6902 GB, free: 3.062 MB / 0.5137 GB Notification: Performance of NFPackage.collectConstants: time 0.0005983/0.4455, allocations: 304 kB / 0.6905 GB, free: 2.766 MB / 0.5137 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002536/0.448, allocations: 0.9905 MB / 0.6914 GB, free: 1.773 MB / 0.5137 GB Notification: Performance of NFScalarize.scalarize: time 0.001198/0.4492, allocations: 1.42 MB / 0.6928 GB, free: 356 kB / 0.5137 GB Notification: Performance of NFVerifyModel.verify: time 0.003578/0.4528, allocations: 3.543 MB / 0.6963 GB, free: 12.78 MB / 0.5294 GB Notification: Performance of NFConvertDAE.convert: time 0.009147/0.462, allocations: 11.26 MB / 0.7073 GB, free: 1.488 MB / 0.5294 GB Notification: Performance of FrontEnd - DAE generated: time 3.376e-06/0.462, allocations: 0 / 0.7073 GB, free: 1.488 MB / 0.5294 GB Notification: Performance of FrontEnd: time 1.252e-06/0.462, allocations: 0 / 0.7073 GB, free: 1.488 MB / 0.5294 GB Notification: Performance of Transformations before backend: time 0.000136/0.4621, allocations: 0 / 0.7073 GB, free: 1.488 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.009731/0.4719, allocations: 6.227 MB / 0.7134 GB, free: 11.18 MB / 0.545 GB Notification: Performance of prepare preOptimizeDAE: time 3.713e-05/0.4719, allocations: 8.031 kB / 0.7134 GB, free: 11.18 MB / 0.545 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0009543/0.4729, allocations: 0.7681 MB / 0.7141 GB, free: 10.4 MB / 0.545 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001841/0.4747, allocations: 0.7891 MB / 0.7149 GB, free: 9.602 MB / 0.545 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.008564/0.4833, allocations: 6.262 MB / 0.721 GB, free: 3.285 MB / 0.545 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002617/0.4836, allocations: 411.1 kB / 0.7214 GB, free: 2.883 MB / 0.545 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0007425/0.4843, allocations: 0.539 MB / 0.7219 GB, free: 2.344 MB / 0.545 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01172/0.4961, allocations: 8.061 MB / 0.7298 GB, free: 10.05 MB / 0.5606 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.000102/0.4962, allocations: 15.88 kB / 0.7298 GB, free: 10.03 MB / 0.5606 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0005279/0.4967, allocations: 240 kB / 0.73 GB, free: 9.797 MB / 0.5606 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001393/0.4969, allocations: 171.9 kB / 0.7302 GB, free: 9.629 MB / 0.5606 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00982/0.5067, allocations: 6.524 MB / 0.7366 GB, free: 3.094 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.03306/0.5398, allocations: 31.17 MB / 0.767 GB, free: 2.086 MB / 0.5919 GB Notification: Performance of preOpt comSubExp (simulation): time 0.00498/0.5448, allocations: 3.644 MB / 0.7706 GB, free: 14.45 MB / 0.6075 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.003697/0.5485, allocations: 2.827 MB / 0.7733 GB, free: 11.61 MB / 0.6075 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0009041/0.5494, allocations: 0.8398 MB / 0.7741 GB, free: 10.6 MB / 0.6075 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.636e-05/0.5495, allocations: 72.67 kB / 0.7742 GB, free: 10.52 MB / 0.6075 GB Notification: Performance of pre-optimization done (n=267): time 4.077e-06/0.5495, allocations: 3.938 kB / 0.7742 GB, free: 10.52 MB / 0.6075 GB Notification: Performance of matching and sorting (n=267): time 0.009933/0.5594, allocations: 5.782 MB / 0.7799 GB, free: 4.633 MB / 0.6075 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.478e-05/0.5595, allocations: 77.52 kB / 0.7799 GB, free: 4.543 MB / 0.6075 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.006447/0.566, allocations: 5.032 MB / 0.7849 GB, free: 15.51 MB / 0.6231 GB Notification: Performance of collectPreVariables (initialization): time 0.0002704/0.5662, allocations: 81.7 kB / 0.7849 GB, free: 15.43 MB / 0.6231 GB Notification: Performance of collectInitialEqns (initialization): time 0.002207/0.5685, allocations: 2.868 MB / 0.7877 GB, free: 12.53 MB / 0.6231 GB Notification: Performance of collectInitialBindings (initialization): time 0.000915/0.5694, allocations: 0.932 MB / 0.7886 GB, free: 11.58 MB / 0.6231 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003849/0.5698, allocations: 309.6 kB / 0.7889 GB, free: 11.27 MB / 0.6231 GB Notification: Performance of setup shared object (initialization): time 8.691e-05/0.5699, allocations: 301.1 kB / 0.7892 GB, free: 10.98 MB / 0.6231 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002461/0.5723, allocations: 1.674 MB / 0.7909 GB, free: 9.297 MB / 0.6231 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.003221/0.5756, allocations: 2.94 MB / 0.7937 GB, free: 5.805 MB / 0.6231 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.005999/0.5816, allocations: 4.97 MB / 0.7986 GB, free: 248 kB / 0.6231 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.713e-05/0.5816, allocations: 8 kB / 0.7986 GB, free: 240 kB / 0.6231 GB Notification: Performance of matching and sorting (n=475) (initialization): time 0.008266/0.5899, allocations: 5.437 MB / 0.8039 GB, free: 10.74 MB / 0.6387 GB Notification: Performance of prepare postOptimizeDAE: time 3.418e-05/0.5899, allocations: 28.19 kB / 0.8039 GB, free: 10.71 MB / 0.6387 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.756e-05/0.59, allocations: 40 kB / 0.804 GB, free: 10.68 MB / 0.6387 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0009022/0.5909, allocations: 420.8 kB / 0.8044 GB, free: 10.26 MB / 0.6387 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002879/0.5938, allocations: 0.858 MB / 0.8052 GB, free: 9.402 MB / 0.6387 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00529/0.5991, allocations: 5.264 MB / 0.8103 GB, free: 3.871 MB / 0.6387 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003865/0.603, allocations: 0.651 MB / 0.811 GB, free: 3.215 MB / 0.6387 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002531/0.6032, allocations: 172 kB / 0.8111 GB, free: 3.047 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.003257/0.6065, allocations: 2.288 MB / 0.8134 GB, free: 0.7461 MB / 0.6387 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0007009/0.6072, allocations: 482.2 kB / 0.8138 GB, free: 276 kB / 0.6387 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.2346/0.8418, allocations: 4.176 MB / 0.8179 GB, free: 200.4 MB / 0.6387 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.988e-05/0.8418, allocations: 26.33 kB / 0.8179 GB, free: 200.4 MB / 0.6387 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.239e-05/0.8418, allocations: 8.25 kB / 0.818 GB, free: 200.4 MB / 0.6387 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.004831/0.8467, allocations: 3.64 MB / 0.8215 GB, free: 198.8 MB / 0.6387 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01495/0.8617, allocations: 10.2 MB / 0.8315 GB, free: 195 MB / 0.6387 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.315e-05/0.8617, allocations: 4.344 kB / 0.8315 GB, free: 195 MB / 0.6387 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002014/0.8637, allocations: 0.5059 MB / 0.832 GB, free: 194.9 MB / 0.6387 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0007778/0.8645, allocations: 375.1 kB / 0.8323 GB, free: 194.8 MB / 0.6387 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.000163/0.8647, allocations: 77.77 kB / 0.8324 GB, free: 194.8 MB / 0.6387 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.004275/0.869, allocations: 5.197 MB / 0.8375 GB, free: 191.1 MB / 0.6387 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.648e-06/0.869, allocations: 10.66 kB / 0.8375 GB, free: 191.1 MB / 0.6387 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.007841/0.8768, allocations: 6.25 MB / 0.8436 GB, free: 188 MB / 0.6387 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001977/0.8788, allocations: 1.164 MB / 0.8447 GB, free: 187.3 MB / 0.6387 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0005622/0.8794, allocations: 70.27 kB / 0.8448 GB, free: 187.3 MB / 0.6387 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002699/0.8821, allocations: 333 kB / 0.8451 GB, free: 187.1 MB / 0.6387 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002534/0.8823, allocations: 171 kB / 0.8453 GB, free: 187.1 MB / 0.6387 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.000194/0.8825, allocations: 129.8 kB / 0.8454 GB, free: 187 MB / 0.6387 GB Notification: Performance of sorting global known variables: time 0.004049/0.8866, allocations: 3.685 MB / 0.849 GB, free: 185.1 MB / 0.6387 GB Notification: Performance of sort global known variables: time 1.41e-07/0.8866, allocations: 0 / 0.849 GB, free: 185.1 MB / 0.6387 GB Notification: Performance of remove unused functions: time 0.003561/0.8902, allocations: 1.785 MB / 0.8507 GB, free: 184.8 MB / 0.6387 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.007207/0.8974, allocations: 7.16 MB / 0.8577 GB, free: 178.7 MB / 0.6387 GB Notification: Performance of simCode: created initialization part: time 0.004637/0.902, allocations: 4.254 MB / 0.8619 GB, free: 174.5 MB / 0.6387 GB Notification: Performance of simCode: created event and clocks part: time 4.879e-06/0.9021, allocations: 11.03 kB / 0.8619 GB, free: 174.4 MB / 0.6387 GB Notification: Performance of simCode: created simulation system equations: time 0.002021/0.9041, allocations: 2.041 MB / 0.8639 GB, free: 172.4 MB / 0.6387 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.01525/0.9194, allocations: 3.279 MB / 0.8671 GB, free: 169.3 MB / 0.6387 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.09732/1.017, allocations: 58.75 MB / 0.9245 GB, free: 105.6 MB / 0.6387 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002713/1.019, allocations: 4.307 MB / 0.9287 GB, free: 101.2 MB / 0.6387 GB Notification: Performance of simCode: alias equations: time 0.004606/1.024, allocations: 1.839 MB / 0.9305 GB, free: 99.39 MB / 0.6387 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.002438/1.026, allocations: 2.44 MB / 0.9329 GB, free: 96.95 MB / 0.6387 GB Notification: Performance of SimCode: time 7.61e-07/1.026, allocations: 0 / 0.9329 GB, free: 96.95 MB / 0.6387 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 4.248/5.274, allocations: 150.5 MB / 1.08 GB, free: 226.7 MB / 0.6856 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001601/5.275, allocations: 266.1 kB / 1.08 GB, free: 226.4 MB / 0.6856 GB Notification: Performance of buildModelFMU: Generate platform static: time 5.019/10.29, allocations: 0 / 1.08 GB, free: 226.4 MB / 0.6856 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)