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.001013/0.001013, allocations: 91.69 kB / 15.06 MB, free: 1.098 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.001334/0.001334, allocations: 172.7 kB / 15.95 MB, free: 208 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.387/1.387, allocations: 223.2 MB / 240 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.9497/0.9497, allocations: 135.3 MB / 426.4 MB, free: 14.18 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0003793/0.0003793, allocations: 8.219 kB / 0.5071 GB, free: 5 MB / 414.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1753/0.1757, allocations: 82.31 MB / 0.5875 GB, free: 2.855 MB / 494.1 MB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.Storage.Validation.StratifiedNonUniformInitial): time 0.3913/0.5671, allocations: 45.33 MB / 0.6317 GB, free: 27.98 MB / 0.4981 GB Notification: Performance of NFInst.instExpressions: time 0.01571/0.5829, allocations: 12.93 MB / 0.6444 GB, free: 18.71 MB / 0.4981 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.002727/0.5857, allocations: 64.78 kB / 0.6444 GB, free: 18.68 MB / 0.4981 GB Notification: Performance of NFTyping.typeComponents: time 0.002224/0.5879, allocations: 0.5714 MB / 0.645 GB, free: 18.38 MB / 0.4981 GB Notification: Performance of NFTyping.typeBindings: time 0.005518/0.5935, allocations: 1.783 MB / 0.6467 GB, free: 17.34 MB / 0.4981 GB Notification: Performance of NFTyping.typeClassSections: time 0.003447/0.5969, allocations: 0.9458 MB / 0.6476 GB, free: 16.89 MB / 0.4981 GB Notification: Performance of NFFlatten.flatten: time 0.02618/0.6231, allocations: 21.7 MB / 0.6688 GB, free: 8.148 MB / 0.4981 GB Notification: Performance of NFFlatten.resolveConnections: time 0.01389/0.637, allocations: 6.551 MB / 0.6752 GB, free: 5.863 MB / 0.4981 GB Notification: Performance of NFEvalConstants.evaluate: time 0.01345/0.6505, allocations: 4.79 MB / 0.6799 GB, free: 4.098 MB / 0.4981 GB Notification: Performance of NFSimplifyModel.simplify: time 0.01264/0.6632, allocations: 4.94 MB / 0.6847 GB, free: 2.117 MB / 0.4981 GB Notification: Performance of NFPackage.collectConstants: time 0.003159/0.6664, allocations: 302.7 kB / 0.685 GB, free: 2.117 MB / 0.4981 GB Notification: Performance of NFFlatten.collectFunctions: time 0.007993/0.6744, allocations: 0.7427 MB / 0.6857 GB, free: 1.953 MB / 0.4981 GB Notification: Performance of NFScalarize.scalarize: time 0.004932/0.6794, allocations: 1.362 MB / 0.6871 GB, free: 1.297 MB / 0.4981 GB Notification: Performance of NFVerifyModel.verify: time 0.00642/0.6858, allocations: 1.479 MB / 0.6885 GB, free: 0.5156 MB / 0.4981 GB Notification: Performance of NFConvertDAE.convert: time 0.01879/0.7046, allocations: 9.467 MB / 0.6978 GB, free: 10.46 MB / 0.5137 GB Notification: Performance of FrontEnd - DAE generated: time 6.742e-06/0.7047, allocations: 0 / 0.6978 GB, free: 10.46 MB / 0.5137 GB Notification: Performance of FrontEnd: time 2.995e-06/0.7047, allocations: 4 kB / 0.6978 GB, free: 10.46 MB / 0.5137 GB Notification: Performance of Transformations before backend: time 0.0005073/0.7052, allocations: 0 / 0.6978 GB, free: 10.46 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.0227/0.7279, allocations: 6.301 MB / 0.7039 GB, free: 5.203 MB / 0.5137 GB Notification: Performance of prepare preOptimizeDAE: time 5.379e-05/0.728, allocations: 8.031 kB / 0.7039 GB, free: 5.195 MB / 0.5137 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.003755/0.7318, allocations: 0.764 MB / 0.7047 GB, free: 4.422 MB / 0.5137 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00425/0.736, allocations: 0.7804 MB / 0.7054 GB, free: 3.633 MB / 0.5137 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01421/0.7503, allocations: 6.105 MB / 0.7114 GB, free: 13.47 MB / 0.5294 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0005087/0.7508, allocations: 415 kB / 0.7118 GB, free: 13.07 MB / 0.5294 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.002489/0.7533, allocations: 0.5467 MB / 0.7123 GB, free: 12.52 MB / 0.5294 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.02035/0.7737, allocations: 8.026 MB / 0.7202 GB, free: 4.258 MB / 0.5294 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0002261/0.774, allocations: 11.88 kB / 0.7202 GB, free: 4.246 MB / 0.5294 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.00136/0.7753, allocations: 240 kB / 0.7204 GB, free: 4.012 MB / 0.5294 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.000189/0.7755, allocations: 171.9 kB / 0.7206 GB, free: 3.844 MB / 0.5294 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01281/0.7884, allocations: 6.481 MB / 0.7269 GB, free: 13.34 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.04682/0.8352, allocations: 31.14 MB / 0.7573 GB, free: 12.37 MB / 0.5762 GB Notification: Performance of preOpt comSubExp (simulation): time 0.005995/0.8412, allocations: 3.64 MB / 0.7609 GB, free: 8.734 MB / 0.5762 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.004308/0.8456, allocations: 2.878 MB / 0.7637 GB, free: 5.848 MB / 0.5762 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001021/0.8466, allocations: 0.8436 MB / 0.7645 GB, free: 4.836 MB / 0.5762 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 8.725e-05/0.8467, allocations: 72.67 kB / 0.7646 GB, free: 4.754 MB / 0.5762 GB Notification: Performance of pre-optimization done (n=267): time 4.728e-06/0.8467, allocations: 0 / 0.7646 GB, free: 4.754 MB / 0.5762 GB Notification: Performance of matching and sorting (n=267): time 0.01131/0.858, allocations: 5.732 MB / 0.7702 GB, free: 14.92 MB / 0.5919 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.354e-05/0.8581, allocations: 81.5 kB / 0.7702 GB, free: 14.83 MB / 0.5919 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.01025/0.8684, allocations: 4.993 MB / 0.7751 GB, free: 9.836 MB / 0.5919 GB Notification: Performance of collectPreVariables (initialization): time 0.0005812/0.869, allocations: 77.7 kB / 0.7752 GB, free: 9.754 MB / 0.5919 GB Notification: Performance of collectInitialEqns (initialization): time 0.003186/0.8722, allocations: 2.868 MB / 0.778 GB, free: 6.855 MB / 0.5919 GB Notification: Performance of collectInitialBindings (initialization): time 0.00141/0.8736, allocations: 0.932 MB / 0.7789 GB, free: 5.91 MB / 0.5919 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003416/0.874, allocations: 76 kB / 0.779 GB, free: 5.836 MB / 0.5919 GB Notification: Performance of setup shared object (initialization): time 0.0003425/0.8743, allocations: 465.8 kB / 0.7794 GB, free: 5.375 MB / 0.5919 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.00299/0.8773, allocations: 1.658 MB / 0.781 GB, free: 3.715 MB / 0.5919 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.003952/0.8813, allocations: 2.92 MB / 0.7839 GB, free: 248 kB / 0.5919 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.003747/0.885, allocations: 2.273 MB / 0.7861 GB, free: 13.95 MB / 0.6075 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.646e-05/0.8851, allocations: 12 kB / 0.7861 GB, free: 13.93 MB / 0.6075 GB Notification: Performance of matching and sorting (n=475) (initialization): time 0.01018/0.8953, allocations: 5.414 MB / 0.7914 GB, free: 8.465 MB / 0.6075 GB Notification: Performance of prepare postOptimizeDAE: time 5.117e-05/0.8953, allocations: 20 kB / 0.7914 GB, free: 8.445 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.125e-05/0.8954, allocations: 40 kB / 0.7915 GB, free: 8.406 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001056/0.8965, allocations: 421.4 kB / 0.7919 GB, free: 7.988 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00301/0.8995, allocations: 0.858 MB / 0.7927 GB, free: 7.129 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.005872/0.9054, allocations: 5.255 MB / 0.7978 GB, free: 1.609 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.005145/0.9106, allocations: 0.6511 MB / 0.7985 GB, free: 0.9531 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000594/0.9112, allocations: 184 kB / 0.7987 GB, free: 0.7734 MB / 0.6075 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 (linear and non-linear blocks): 0 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 2 {(1,100.0%) 14,(1,100.0%) 14} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.004856/0.916, allocations: 2.288 MB / 0.8009 GB, free: 14.47 MB / 0.6231 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001672/0.9177, allocations: 490.1 kB / 0.8014 GB, free: 13.99 MB / 0.6231 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.008159/0.9259, allocations: 4.165 MB / 0.8054 GB, free: 9.773 MB / 0.6231 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.848e-05/0.9259, allocations: 24 kB / 0.8054 GB, free: 9.75 MB / 0.6231 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.033e-05/0.926, allocations: 4 kB / 0.8054 GB, free: 9.746 MB / 0.6231 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.00559/0.9316, allocations: 3.622 MB / 0.809 GB, free: 6.012 MB / 0.6231 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.02104/0.9526, allocations: 10.18 MB / 0.8189 GB, free: 11.66 MB / 0.6387 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.567e-05/0.9527, allocations: 4 kB / 0.8189 GB, free: 11.65 MB / 0.6387 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.00217/0.9548, allocations: 0.4954 MB / 0.8194 GB, free: 11.16 MB / 0.6387 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0008914/0.9557, allocations: 373.5 kB / 0.8198 GB, free: 10.79 MB / 0.6387 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002919/0.956, allocations: 71.97 kB / 0.8198 GB, free: 10.71 MB / 0.6387 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.006806/0.9629, allocations: 5.225 MB / 0.8249 GB, free: 5.223 MB / 0.6387 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.705e-06/0.9629, allocations: 4 kB / 0.8249 GB, free: 5.219 MB / 0.6387 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01276/0.9757, allocations: 6.223 MB / 0.831 GB, free: 14.82 MB / 0.6544 GB Notification: Performance of postOpt removeConstants (simulation): time 0.003794/0.9795, allocations: 1.158 MB / 0.8322 GB, free: 13.64 MB / 0.6544 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001601/0.9811, allocations: 63.98 kB / 0.8322 GB, free: 13.57 MB / 0.6544 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.004194/0.9853, allocations: 337.5 kB / 0.8325 GB, free: 13.25 MB / 0.6544 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003633/0.9857, allocations: 169.7 kB / 0.8327 GB, free: 13.08 MB / 0.6544 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0004215/0.9862, allocations: 131.9 kB / 0.8328 GB, free: 12.95 MB / 0.6544 GB Notification: Performance of sorting global known variables: time 0.007754/0.9939, allocations: 3.648 MB / 0.8364 GB, free: 9.32 MB / 0.6544 GB Notification: Performance of sort global known variables: time 3.71e-07/0.994, allocations: 0 / 0.8364 GB, free: 9.32 MB / 0.6544 GB Notification: Performance of remove unused functions: time 0.008062/1.002, allocations: 1.769 MB / 0.8381 GB, free: 7.547 MB / 0.6544 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 (linear and non-linear blocks): 0 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 2 {(1,100.0%) 14,(1,100.0%) 14} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.01273/1.015, allocations: 7.129 MB / 0.8451 GB, free: 256 kB / 0.6544 GB Notification: Performance of simCode: created initialization part: time 0.007733/1.023, allocations: 4.234 MB / 0.8492 GB, free: 11.98 MB / 0.67 GB Notification: Performance of simCode: created event and clocks part: time 1.354e-05/1.023, allocations: 4 kB / 0.8492 GB, free: 11.97 MB / 0.67 GB Notification: Performance of simCode: created simulation system equations: time 0.003307/1.026, allocations: 2.028 MB / 0.8512 GB, free: 9.914 MB / 0.67 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.01665/1.043, allocations: 3.275 MB / 0.8544 GB, free: 6.703 MB / 0.67 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.3975/1.44, allocations: 45.98 MB / 0.8993 GB, free: 181.3 MB / 0.67 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.00421/1.444, allocations: 4.304 MB / 0.9035 GB, free: 179.8 MB / 0.67 GB Notification: Performance of simCode: alias equations: time 0.006523/1.451, allocations: 1.841 MB / 0.9053 GB, free: 179.7 MB / 0.67 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.003565/1.454, allocations: 2.441 MB / 0.9077 GB, free: 177.8 MB / 0.67 GB Notification: Performance of SimCode: time 2.996e-06/1.454, allocations: 4.969 kB / 0.9077 GB, free: 177.8 MB / 0.67 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.2259/1.68, allocations: 159.9 MB / 1.064 GB, free: 47.02 MB / 0.67 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0003019/1.681, allocations: 253.3 kB / 1.064 GB, free: 46.68 MB / 0.67 GB Notification: Performance of buildModelFMU: Generate platform static: time 5.197/6.878, allocations: 0 / 1.064 GB, free: 46.68 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/linux/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) Environment - environmentSimulation: