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.007043/0.007043, allocations: 104.2 kB / 15.73 MB, free: 5.953 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.00126/0.00126, allocations: 190.2 kB / 16.67 MB, free: 5.871 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.381/1.381, allocations: 222.9 MB / 240.4 MB, free: 15.04 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/package.mo): time 0.819/0.819, allocations: 132.2 MB / 422.7 MB, free: 6.578 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001815/0.001815, allocations: 66.84 kB / 0.5809 GB, free: 24.11 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1272/0.129, allocations: 80.21 MB / 0.6592 GB, free: 10.78 MB / 0.4981 GB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.Storage.Validation.StratifiedNonUniformInitial): time 0.053/0.182, allocations: 49.28 MB / 0.7073 GB, free: 9.32 MB / 0.545 GB Notification: Performance of NFInst.instExpressions: time 0.02214/0.2042, allocations: 13.8 MB / 0.7208 GB, free: 11.48 MB / 0.5606 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001799/0.206, allocations: 67.62 kB / 0.7209 GB, free: 11.41 MB / 0.5606 GB Notification: Performance of NFTyping.typeComponents: time 0.001872/0.2079, allocations: 0.807 MB / 0.7216 GB, free: 10.6 MB / 0.5606 GB Notification: Performance of NFTyping.typeBindings: time 0.005105/0.213, allocations: 2.246 MB / 0.7238 GB, free: 8.344 MB / 0.5606 GB Notification: Performance of NFTyping.typeClassSections: time 0.002752/0.2158, allocations: 1.313 MB / 0.7251 GB, free: 7.043 MB / 0.5606 GB Notification: Performance of NFFlatten.flatten: time 0.01849/0.2343, allocations: 19.55 MB / 0.7442 GB, free: 3.441 MB / 0.5762 GB Notification: Performance of NFFlatten.resolveConnections: time 0.2935/0.5279, allocations: 9.926 MB / 0.7539 GB, free: 6.074 MB / 0.5762 GB Notification: Performance of NFEvalConstants.evaluate: time 0.01271/0.5406, allocations: 6.536 MB / 0.7603 GB, free: 5.621 MB / 0.5762 GB Notification: Performance of NFSimplifyModel.simplify: time 0.01026/0.5509, allocations: 5.766 MB / 0.7659 GB, free: 4.699 MB / 0.5762 GB Notification: Performance of NFPackage.collectConstants: time 0.002959/0.5539, allocations: 0.848 MB / 0.7667 GB, free: 4.695 MB / 0.5762 GB Notification: Performance of NFFlatten.collectFunctions: time 0.006999/0.5609, allocations: 1.601 MB / 0.7683 GB, free: 4.695 MB / 0.5762 GB Notification: Performance of NFScalarize.scalarize: time 0.003748/0.5647, allocations: 2.112 MB / 0.7704 GB, free: 4.441 MB / 0.5762 GB Notification: Performance of NFVerifyModel.verify: time 0.009159/0.5739, allocations: 4.294 MB / 0.7746 GB, free: 3.422 MB / 0.5762 GB Notification: Performance of NFConvertDAE.convert: time 0.01214/0.586, allocations: 12.12 MB / 0.7864 GB, free: 2.023 MB / 0.5762 GB Notification: Performance of FrontEnd - DAE generated: time 5.881e-06/0.5861, allocations: 3.188 kB / 0.7864 GB, free: 2.023 MB / 0.5762 GB Notification: Performance of FrontEnd: time 1.613e-06/0.5861, allocations: 0 / 0.7864 GB, free: 2.023 MB / 0.5762 GB Notification: Performance of Transformations before backend: time 0.0003312/0.5864, allocations: 0 / 0.7864 GB, free: 2.023 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.01534/0.6017, allocations: 7.925 MB / 0.7941 GB, free: 14.86 MB / 0.5919 GB Notification: Performance of prepare preOptimizeDAE: time 3.742e-05/0.6018, allocations: 9.438 kB / 0.7942 GB, free: 14.86 MB / 0.5919 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.001211/0.603, allocations: 0.7609 MB / 0.7949 GB, free: 14.66 MB / 0.5919 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00247/0.6055, allocations: 0.8259 MB / 0.7957 GB, free: 14.25 MB / 0.5919 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01008/0.6156, allocations: 6.341 MB / 0.8019 GB, free: 12.09 MB / 0.5919 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002272/0.6158, allocations: 421.4 kB / 0.8023 GB, free: 12.04 MB / 0.5919 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0009598/0.6168, allocations: 0.5353 MB / 0.8028 GB, free: 11.86 MB / 0.5919 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01307/0.6299, allocations: 8.071 MB / 0.8107 GB, free: 6.992 MB / 0.5919 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001147/0.63, allocations: 20.66 kB / 0.8107 GB, free: 6.984 MB / 0.5919 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0006173/0.6306, allocations: 234.1 kB / 0.8109 GB, free: 6.812 MB / 0.5919 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001145/0.6308, allocations: 168 kB / 0.8111 GB, free: 6.797 MB / 0.5919 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0104/0.6412, allocations: 6.522 MB / 0.8175 GB, free: 3.129 MB / 0.5919 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.04299/0.6842, allocations: 31.26 MB / 0.848 GB, free: 2.605 MB / 0.6231 GB Notification: Performance of preOpt comSubExp (simulation): time 0.005805/0.69, allocations: 3.651 MB / 0.8516 GB, free: 14.99 MB / 0.6387 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.004243/0.6943, allocations: 2.807 MB / 0.8543 GB, free: 12.2 MB / 0.6387 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001073/0.6954, allocations: 0.8246 MB / 0.8551 GB, free: 11.21 MB / 0.6387 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 7.742e-05/0.6955, allocations: 71.58 kB / 0.8552 GB, free: 11.14 MB / 0.6387 GB Notification: Performance of pre-optimization done (n=267): time 4.518e-06/0.6955, allocations: 4 kB / 0.8552 GB, free: 11.13 MB / 0.6387 GB Notification: Performance of matching and sorting (n=267): time 0.01159/0.7071, allocations: 5.774 MB / 0.8608 GB, free: 5.273 MB / 0.6387 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.343e-05/0.7072, allocations: 80.89 kB / 0.8609 GB, free: 5.184 MB / 0.6387 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.008405/0.7156, allocations: 5.241 MB / 0.866 GB, free: 15.95 MB / 0.6544 GB Notification: Performance of collectPreVariables (initialization): time 0.0005025/0.7161, allocations: 77.7 kB / 0.8661 GB, free: 15.86 MB / 0.6544 GB Notification: Performance of collectInitialEqns (initialization): time 0.002757/0.7189, allocations: 2.937 MB / 0.869 GB, free: 12.92 MB / 0.6544 GB Notification: Performance of collectInitialBindings (initialization): time 0.001391/0.7203, allocations: 0.9772 MB / 0.8699 GB, free: 11.95 MB / 0.6544 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001113/0.7214, allocations: 0.7195 MB / 0.8706 GB, free: 11.23 MB / 0.6544 GB Notification: Performance of setup shared object (initialization): time 0.0001347/0.7215, allocations: 306.8 kB / 0.8709 GB, free: 10.93 MB / 0.6544 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002732/0.7243, allocations: 1.678 MB / 0.8726 GB, free: 9.246 MB / 0.6544 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.003732/0.728, allocations: 2.93 MB / 0.8754 GB, free: 5.777 MB / 0.6544 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.006829/0.7348, allocations: 4.971 MB / 0.8803 GB, free: 388 kB / 0.6544 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.842e-05/0.7349, allocations: 12 kB / 0.8803 GB, free: 376 kB / 0.6544 GB Notification: Performance of matching and sorting (n=475) (initialization): time 0.009392/0.7443, allocations: 5.455 MB / 0.8856 GB, free: 11.11 MB / 0.67 GB Notification: Performance of prepare postOptimizeDAE: time 4.196e-05/0.7443, allocations: 34.47 kB / 0.8856 GB, free: 11.08 MB / 0.67 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.5e-05/0.7444, allocations: 40 kB / 0.8857 GB, free: 11.04 MB / 0.67 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0009908/0.7454, allocations: 428.5 kB / 0.8861 GB, free: 10.62 MB / 0.67 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00297/0.7484, allocations: 0.8573 MB / 0.8869 GB, free: 9.82 MB / 0.67 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.006341/0.7547, allocations: 5.698 MB / 0.8925 GB, free: 3.91 MB / 0.67 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.004127/0.7589, allocations: 0.533 MB / 0.893 GB, free: 3.375 MB / 0.67 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000383/0.7593, allocations: 180 kB / 0.8932 GB, free: 3.199 MB / 0.67 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.003992/0.7633, allocations: 2.282 MB / 0.8954 GB, free: 0.9609 MB / 0.67 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001359/0.7646, allocations: 0.5046 MB / 0.8959 GB, free: 464 kB / 0.67 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.007276/0.7719, allocations: 4.186 MB / 0.9 GB, free: 12.28 MB / 0.6856 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.373e-05/0.772, allocations: 31.98 kB / 0.9 GB, free: 12.25 MB / 0.6856 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.638e-06/0.772, allocations: 7.938 kB / 0.9 GB, free: 12.24 MB / 0.6856 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.005345/0.7773, allocations: 3.635 MB / 0.9036 GB, free: 8.508 MB / 0.6856 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01851/0.7959, allocations: 10.26 MB / 0.9136 GB, free: 14.18 MB / 0.7012 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.26e-05/0.7959, allocations: 4 kB / 0.9136 GB, free: 14.18 MB / 0.7012 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002144/0.7981, allocations: 0.5019 MB / 0.9141 GB, free: 13.7 MB / 0.7012 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0008907/0.799, allocations: 373.3 kB / 0.9145 GB, free: 13.33 MB / 0.7012 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001972/0.7992, allocations: 75.97 kB / 0.9145 GB, free: 13.25 MB / 0.7012 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.006192/0.8054, allocations: 5.668 MB / 0.9201 GB, free: 7.352 MB / 0.7012 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.807e-06/0.8054, allocations: 15.31 kB / 0.9201 GB, free: 7.34 MB / 0.7012 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01043/0.8158, allocations: 6.262 MB / 0.9262 GB, free: 0.9219 MB / 0.7012 GB Notification: Performance of postOpt removeConstants (simulation): time 0.002953/0.8188, allocations: 1.122 MB / 0.9273 GB, free: 15.78 MB / 0.7169 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.00115/0.82, allocations: 55.98 kB / 0.9273 GB, free: 15.72 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.003036/0.823, allocations: 180.7 kB / 0.9275 GB, free: 15.55 MB / 0.7169 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003697/0.8234, allocations: 176.7 kB / 0.9277 GB, free: 15.39 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0003083/0.8237, allocations: 131.9 kB / 0.9278 GB, free: 15.26 MB / 0.7169 GB Notification: Performance of sorting global known variables: time 0.006664/0.8304, allocations: 3.835 MB / 0.9315 GB, free: 11.44 MB / 0.7169 GB Notification: Performance of sort global known variables: time 4.91e-07/0.8304, allocations: 8 kB / 0.9316 GB, free: 11.43 MB / 0.7169 GB Notification: Performance of remove unused functions: time 0.0063/0.8367, allocations: 1.813 MB / 0.9333 GB, free: 9.613 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.0117/0.8485, allocations: 7.213 MB / 0.9404 GB, free: 2.301 MB / 0.7169 GB Notification: Performance of simCode: created initialization part: time 0.007041/0.8555, allocations: 4.28 MB / 0.9446 GB, free: 14.14 MB / 0.7325 GB Notification: Performance of simCode: created event and clocks part: time 1.032e-05/0.8556, allocations: 9.188 kB / 0.9446 GB, free: 14.14 MB / 0.7325 GB Notification: Performance of simCode: created simulation system equations: time 0.003209/0.8588, allocations: 2.038 MB / 0.9465 GB, free: 12.12 MB / 0.7325 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.01622/0.875, allocations: 3.451 MB / 0.9499 GB, free: 8.793 MB / 0.7325 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.08239/0.9574, allocations: 47.14 MB / 0.996 GB, free: 8.262 MB / 0.7794 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.005026/0.9625, allocations: 4.301 MB / 1 GB, free: 3.93 MB / 0.7794 GB Notification: Performance of simCode: alias equations: time 0.005563/0.9681, allocations: 1.848 MB / 1.002 GB, free: 2.086 MB / 0.7794 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.004419/0.9725, allocations: 2.45 MB / 1.004 GB, free: 15.64 MB / 0.795 GB Notification: Performance of SimCode: time 9.92e-07/0.9725, allocations: 0 / 1.004 GB, free: 15.64 MB / 0.795 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.76/1.733, allocations: 154.1 MB / 1.155 GB, free: 240.2 MB / 0.8262 GB Notification: Performance of buildModelFMU: Generate platform static: time 20.86/22.6, allocations: 12.52 kB / 1.155 GB, free: 240.1 MB / 0.8262 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)