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.001348/0.001348, 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.001656/0.001656, allocations: 198.1 kB / 16.26 MB, free: 6.625 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.701/1.701, allocations: 222.9 MB / 239.9 MB, free: 4.535 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 1.038/1.038, allocations: 135.1 MB / 425.2 MB, free: 11.94 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001532/0.001532, allocations: 65.03 kB / 0.505 GB, free: 5.531 MB / 414.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.147/0.1485, allocations: 80.92 MB / 0.584 GB, free: 4.781 MB / 494.1 MB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.Storage.Validation.StratifiedNonUniformInitial): time 0.3376/0.4862, allocations: 48.86 MB / 0.6317 GB, free: 25.89 MB / 0.4981 GB Notification: Performance of NFInst.instExpressions: time 0.01509/0.5013, allocations: 13.69 MB / 0.6451 GB, free: 16.08 MB / 0.4981 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0025/0.5039, allocations: 61.69 kB / 0.6451 GB, free: 16.06 MB / 0.4981 GB Notification: Performance of NFTyping.typeComponents: time 0.002137/0.5061, allocations: 0.6859 MB / 0.6458 GB, free: 15.66 MB / 0.4981 GB Notification: Performance of NFTyping.typeBindings: time 0.005459/0.5115, allocations: 2.089 MB / 0.6478 GB, free: 14.43 MB / 0.4981 GB Notification: Performance of NFTyping.typeClassSections: time 0.002908/0.5145, allocations: 1.193 MB / 0.649 GB, free: 13.73 MB / 0.4981 GB Notification: Performance of NFFlatten.flatten: time 0.01646/0.5309, allocations: 19.64 MB / 0.6682 GB, free: 4.391 MB / 0.4981 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0162/0.5472, allocations: 9.861 MB / 0.6778 GB, free: 276 kB / 0.4981 GB Notification: Performance of NFEvalConstants.evaluate: time 0.01686/0.5641, allocations: 6.572 MB / 0.6842 GB, free: 13.34 MB / 0.5137 GB Notification: Performance of NFSimplifyModel.simplify: time 0.01364/0.5778, allocations: 5.954 MB / 0.69 GB, free: 10.7 MB / 0.5137 GB Notification: Performance of NFPackage.collectConstants: time 0.003087/0.5809, allocations: 0.8372 MB / 0.6909 GB, free: 10.7 MB / 0.5137 GB Notification: Performance of NFFlatten.collectFunctions: time 0.007694/0.5886, allocations: 1.601 MB / 0.6924 GB, free: 10.38 MB / 0.5137 GB Notification: Performance of NFScalarize.scalarize: time 0.004392/0.593, allocations: 2.097 MB / 0.6945 GB, free: 9.121 MB / 0.5137 GB Notification: Performance of NFVerifyModel.verify: time 0.0108/0.6039, allocations: 4.279 MB / 0.6986 GB, free: 6.234 MB / 0.5137 GB Notification: Performance of NFConvertDAE.convert: time 0.0159/0.6198, allocations: 11.91 MB / 0.7103 GB, free: 12.07 MB / 0.5294 GB Notification: Performance of FrontEnd - DAE generated: time 8.887e-06/0.6199, allocations: 0 / 0.7103 GB, free: 12.07 MB / 0.5294 GB Notification: Performance of FrontEnd: time 1.983e-06/0.6199, allocations: 3.938 kB / 0.7103 GB, free: 12.06 MB / 0.5294 GB Notification: Performance of Transformations before backend: time 0.0004154/0.6203, allocations: 0 / 0.7103 GB, free: 12.06 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.02087/0.6412, allocations: 7.718 MB / 0.7178 GB, free: 4.27 MB / 0.5294 GB Notification: Performance of prepare preOptimizeDAE: time 4.983e-05/0.6412, allocations: 12.02 kB / 0.7178 GB, free: 4.258 MB / 0.5294 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.002563/0.6438, allocations: 0.7642 MB / 0.7186 GB, free: 3.484 MB / 0.5294 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0039/0.6477, allocations: 0.7891 MB / 0.7194 GB, free: 2.688 MB / 0.5294 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01376/0.6615, allocations: 6.242 MB / 0.7254 GB, free: 12.38 MB / 0.545 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0004956/0.6621, allocations: 419 kB / 0.7258 GB, free: 11.97 MB / 0.545 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.002061/0.6641, allocations: 0.5351 MB / 0.7264 GB, free: 11.44 MB / 0.545 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01811/0.6823, allocations: 8.076 MB / 0.7343 GB, free: 3.125 MB / 0.545 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0002215/0.6825, allocations: 11.94 kB / 0.7343 GB, free: 3.113 MB / 0.545 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.001384/0.6839, allocations: 235.9 kB / 0.7345 GB, free: 2.883 MB / 0.545 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001729/0.6841, allocations: 167.9 kB / 0.7347 GB, free: 2.719 MB / 0.545 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01305/0.6972, allocations: 6.528 MB / 0.741 GB, free: 12.18 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.04841/0.7456, allocations: 31.1 MB / 0.7714 GB, free: 11.25 MB / 0.5919 GB Notification: Performance of preOpt comSubExp (simulation): time 0.007015/0.7527, allocations: 3.659 MB / 0.775 GB, free: 7.598 MB / 0.5919 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.00471/0.7574, allocations: 2.811 MB / 0.7777 GB, free: 4.777 MB / 0.5919 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001095/0.7586, allocations: 0.828 MB / 0.7785 GB, free: 3.781 MB / 0.5919 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 9.461e-05/0.7587, allocations: 68.67 kB / 0.7786 GB, free: 3.703 MB / 0.5919 GB Notification: Performance of pre-optimization done (n=267): time 9.468e-06/0.7587, allocations: 0 / 0.7786 GB, free: 3.703 MB / 0.5919 GB Notification: Performance of matching and sorting (n=267): time 0.01334/0.772, allocations: 5.767 MB / 0.7842 GB, free: 13.84 MB / 0.6075 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.562e-05/0.7721, allocations: 77.52 kB / 0.7843 GB, free: 13.75 MB / 0.6075 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.01076/0.7829, allocations: 5.032 MB / 0.7892 GB, free: 8.715 MB / 0.6075 GB Notification: Performance of collectPreVariables (initialization): time 0.0007265/0.7837, allocations: 81.64 kB / 0.7893 GB, free: 8.629 MB / 0.6075 GB Notification: Performance of collectInitialEqns (initialization): time 0.003156/0.7869, allocations: 2.864 MB / 0.7921 GB, free: 5.734 MB / 0.6075 GB Notification: Performance of collectInitialBindings (initialization): time 0.001727/0.7886, allocations: 0.932 MB / 0.793 GB, free: 4.789 MB / 0.6075 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.002307/0.7909, allocations: 0.7191 MB / 0.7937 GB, free: 4.062 MB / 0.6075 GB Notification: Performance of setup shared object (initialization): time 0.000102/0.7911, allocations: 313 kB / 0.794 GB, free: 3.754 MB / 0.6075 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.003594/0.7947, allocations: 1.67 MB / 0.7956 GB, free: 2.082 MB / 0.6075 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.004246/0.7989, allocations: 2.932 MB / 0.7985 GB, free: 14.59 MB / 0.6231 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.00741/0.8064, allocations: 4.966 MB / 0.8033 GB, free: 9.035 MB / 0.6231 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.503e-05/0.8064, allocations: 12 kB / 0.8033 GB, free: 9.023 MB / 0.6231 GB Notification: Performance of matching and sorting (n=475) (initialization): time 0.01025/0.8167, allocations: 5.437 MB / 0.8087 GB, free: 3.531 MB / 0.6231 GB Notification: Performance of prepare postOptimizeDAE: time 4.234e-05/0.8167, allocations: 24 kB / 0.8087 GB, free: 3.508 MB / 0.6231 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.775e-05/0.8168, allocations: 40 kB / 0.8087 GB, free: 3.469 MB / 0.6231 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001015/0.8178, allocations: 432.6 kB / 0.8091 GB, free: 3.043 MB / 0.6231 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00294/0.8208, allocations: 0.858 MB / 0.81 GB, free: 2.184 MB / 0.6231 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.005678/0.8265, allocations: 5.691 MB / 0.8155 GB, free: 12.22 MB / 0.6387 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.004332/0.8308, allocations: 0.6432 MB / 0.8162 GB, free: 11.57 MB / 0.6387 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0004149/0.8312, allocations: 184 kB / 0.8163 GB, free: 11.39 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.003756/0.835, allocations: 2.284 MB / 0.8186 GB, free: 9.094 MB / 0.6387 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001504/0.8365, allocations: 494 kB / 0.819 GB, free: 8.605 MB / 0.6387 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.007295/0.8438, allocations: 4.17 MB / 0.8231 GB, free: 4.383 MB / 0.6387 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.343e-05/0.8439, allocations: 28 kB / 0.8231 GB, free: 4.355 MB / 0.6387 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.669e-05/0.8439, allocations: 7.984 kB / 0.8231 GB, free: 4.348 MB / 0.6387 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.005493/0.8494, allocations: 3.633 MB / 0.8267 GB, free: 0.6016 MB / 0.6387 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01994/0.8694, allocations: 10.21 MB / 0.8367 GB, free: 6.223 MB / 0.6544 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.777e-05/0.8694, allocations: 8.031 kB / 0.8367 GB, free: 6.215 MB / 0.6544 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002292/0.8717, allocations: 0.4993 MB / 0.8372 GB, free: 5.715 MB / 0.6544 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.000917/0.8727, allocations: 381.3 kB / 0.8375 GB, free: 5.336 MB / 0.6544 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002833/0.873, allocations: 79.94 kB / 0.8376 GB, free: 5.258 MB / 0.6544 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.005869/0.8788, allocations: 5.637 MB / 0.8431 GB, free: 15.34 MB / 0.67 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.157e-05/0.8789, allocations: 15.86 kB / 0.8431 GB, free: 15.33 MB / 0.67 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.009698/0.8886, allocations: 6.243 MB / 0.8492 GB, free: 8.91 MB / 0.67 GB Notification: Performance of postOpt removeConstants (simulation): time 0.002858/0.8914, allocations: 1.072 MB / 0.8503 GB, free: 7.812 MB / 0.67 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001286/0.8927, allocations: 63.98 kB / 0.8503 GB, free: 7.75 MB / 0.67 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.003716/0.8965, allocations: 331.1 kB / 0.8506 GB, free: 7.426 MB / 0.67 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003557/0.8968, allocations: 181.6 kB / 0.8508 GB, free: 7.25 MB / 0.67 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0003775/0.8972, allocations: 127.9 kB / 0.8509 GB, free: 7.125 MB / 0.67 GB Notification: Performance of sorting global known variables: time 0.007153/0.9044, allocations: 3.687 MB / 0.8545 GB, free: 3.453 MB / 0.67 GB Notification: Performance of sort global known variables: time 1.7e-07/0.9044, allocations: 0 / 0.8545 GB, free: 3.453 MB / 0.67 GB Notification: Performance of remove unused functions: time 0.005576/0.91, allocations: 1.785 MB / 0.8563 GB, free: 1.664 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.2554/1.165, allocations: 7.165 MB / 0.8633 GB, free: 199.8 MB / 0.67 GB Notification: Performance of simCode: created initialization part: time 0.01167/1.177, allocations: 8.068 MB / 0.8711 GB, free: 198.3 MB / 0.67 GB Notification: Performance of simCode: created event and clocks part: time 8.596e-06/1.177, allocations: 2.906 kB / 0.8711 GB, free: 198.3 MB / 0.67 GB Notification: Performance of simCode: created simulation system equations: time 0.002133/1.179, allocations: 2.042 MB / 0.8731 GB, free: 197.5 MB / 0.67 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0142/1.194, allocations: 3.467 MB / 0.8765 GB, free: 196.8 MB / 0.67 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.1808/1.374, allocations: 58.52 MB / 0.9337 GB, free: 160.1 MB / 0.67 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.007109/1.381, allocations: 4.303 MB / 0.9379 GB, free: 158.5 MB / 0.67 GB Notification: Performance of simCode: alias equations: time 0.008441/1.39, allocations: 1.846 MB / 0.9397 GB, free: 158.3 MB / 0.67 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.005759/1.396, allocations: 2.437 MB / 0.9421 GB, free: 156.4 MB / 0.67 GB Notification: Performance of SimCode: time 1.493e-06/1.396, allocations: 0 / 0.9421 GB, free: 156.4 MB / 0.67 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 2.135/3.531, allocations: 155.6 MB / 1.094 GB, free: 7.789 MB / 0.67 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002358/3.531, allocations: 276.8 kB / 1.094 GB, free: 7.422 MB / 0.67 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.199/10.73, allocations: 0 / 1.094 GB, free: 7.422 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)