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.001584/0.001584, allocations: 99.78 kB / 15.05 MB, free: 1.105 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.002021/0.002021, allocations: 177.3 kB / 15.95 MB, free: 216 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 2.482/2.482, allocations: 223.2 MB / 239.9 MB, free: 5.445 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 1.727/1.727, allocations: 135.2 MB / 426.2 MB, free: 14.34 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0006069/0.0006071, allocations: 8 kB / 0.5069 GB, free: 5.195 MB / 414.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3007/0.3013, allocations: 82.31 MB / 0.5873 GB, free: 3.059 MB / 494.1 MB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.Storage.Validation.StratifiedNonUniformInitial): time 0.6588/0.9602, allocations: 41.18 MB / 0.6275 GB, free: 30.8 MB / 0.4981 GB Notification: Performance of NFInst.instExpressions: time 0.02787/0.9881, allocations: 11.96 MB / 0.6392 GB, free: 22.36 MB / 0.4981 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.004648/0.9928, allocations: 57.59 kB / 0.6392 GB, free: 22.34 MB / 0.4981 GB Notification: Performance of NFTyping.typeComponents: time 0.004748/0.9976, allocations: 0.7467 MB / 0.64 GB, free: 21.91 MB / 0.4981 GB Notification: Performance of NFTyping.typeBindings: time 0.01269/1.01, allocations: 1.984 MB / 0.6419 GB, free: 20.61 MB / 0.4981 GB Notification: Performance of NFTyping.typeClassSections: time 0.008185/1.019, allocations: 1.423 MB / 0.6433 GB, free: 19.93 MB / 0.4981 GB Notification: Performance of NFFlatten.flatten: time 0.02534/1.044, allocations: 10.53 MB / 0.6536 GB, free: 14.39 MB / 0.4981 GB Notification: Performance of NFFlatten.resolveConnections: time 0.02059/1.065, allocations: 6.559 MB / 0.66 GB, free: 12.1 MB / 0.4981 GB Notification: Performance of NFEvalConstants.evaluate: time 0.02046/1.085, allocations: 4.001 MB / 0.6639 GB, free: 10.42 MB / 0.4981 GB Notification: Performance of NFSimplifyModel.simplify: time 0.01499/1.1, allocations: 3.447 MB / 0.6672 GB, free: 8.945 MB / 0.4981 GB Notification: Performance of NFPackage.collectConstants: time 0.00376/1.104, allocations: 302.8 kB / 0.6675 GB, free: 8.945 MB / 0.4981 GB Notification: Performance of NFFlatten.collectFunctions: time 0.01257/1.117, allocations: 0.793 MB / 0.6683 GB, free: 8.801 MB / 0.4981 GB Notification: Performance of NFScalarize.scalarize: time 0.00655/1.123, allocations: 1.31 MB / 0.6696 GB, free: 8.148 MB / 0.4981 GB Notification: Performance of NFVerifyModel.verify: time 0.00894/1.132, allocations: 1.474 MB / 0.671 GB, free: 7.371 MB / 0.4981 GB Notification: Performance of NFConvertDAE.convert: time 0.03132/1.164, allocations: 9.426 MB / 0.6802 GB, free: 4.887 MB / 0.4981 GB Notification: Performance of FrontEnd - DAE generated: time 5.691e-06/1.164, allocations: 0 / 0.6802 GB, free: 4.887 MB / 0.4981 GB Notification: Performance of FrontEnd: time 5.851e-06/1.164, allocations: 1.125 kB / 0.6802 GB, free: 4.887 MB / 0.4981 GB Notification: Performance of Transformations before backend: time 0.0007082/1.164, allocations: 0 / 0.6802 GB, free: 4.887 MB / 0.4981 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.03784/1.202, allocations: 6.29 MB / 0.6864 GB, free: 0.7695 MB / 0.4981 GB Notification: Performance of prepare preOptimizeDAE: time 7.673e-05/1.202, allocations: 10 kB / 0.6864 GB, free: 0.7695 MB / 0.4981 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.006872/1.209, allocations: 0.767 MB / 0.6871 GB, free: 224 kB / 0.4981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.009722/1.219, allocations: 0.7928 MB / 0.6879 GB, free: 15.82 MB / 0.5137 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.02988/1.249, allocations: 5.671 MB / 0.6934 GB, free: 12.09 MB / 0.5137 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.001222/1.25, allocations: 410.9 kB / 0.6938 GB, free: 11.9 MB / 0.5137 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.004746/1.255, allocations: 0.5421 MB / 0.6944 GB, free: 11.71 MB / 0.5137 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.04114/1.296, allocations: 7.978 MB / 0.7022 GB, free: 6.27 MB / 0.5137 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0005166/1.297, allocations: 23.77 kB / 0.7022 GB, free: 6.246 MB / 0.5137 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.003377/1.3, allocations: 240 kB / 0.7024 GB, free: 6.012 MB / 0.5137 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.000385/1.301, allocations: 164 kB / 0.7026 GB, free: 5.852 MB / 0.5137 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.02902/1.33, allocations: 6.477 MB / 0.7089 GB, free: 15.36 MB / 0.5294 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.09334/1.423, allocations: 31.4 MB / 0.7396 GB, free: 14.12 MB / 0.5606 GB Notification: Performance of preOpt comSubExp (simulation): time 0.01234/1.436, allocations: 3.638 MB / 0.7431 GB, free: 10.49 MB / 0.5606 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001839/1.438, allocations: 0.8398 MB / 0.7439 GB, free: 9.484 MB / 0.5606 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001363/1.438, allocations: 64.67 kB / 0.744 GB, free: 9.41 MB / 0.5606 GB Notification: Performance of pre-optimization done (n=267): time 1.882e-05/1.438, allocations: 0 / 0.744 GB, free: 9.41 MB / 0.5606 GB Notification: Performance of matching and sorting (n=267): time 0.02569/1.464, allocations: 5.794 MB / 0.7496 GB, free: 3.512 MB / 0.5606 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001028/1.464, allocations: 81.52 kB / 0.7497 GB, free: 3.418 MB / 0.5606 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.02082/1.485, allocations: 5.407 MB / 0.755 GB, free: 14.01 MB / 0.5762 GB Notification: Performance of collectPreVariables (initialization): time 0.00136/1.486, allocations: 77.7 kB / 0.7551 GB, free: 13.93 MB / 0.5762 GB Notification: Performance of collectInitialEqns (initialization): time 0.006139/1.492, allocations: 2.872 MB / 0.7579 GB, free: 11.03 MB / 0.5762 GB Notification: Performance of collectInitialBindings (initialization): time 0.003196/1.495, allocations: 0.9359 MB / 0.7588 GB, free: 10.08 MB / 0.5762 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001028/1.496, allocations: 76 kB / 0.7589 GB, free: 10 MB / 0.5762 GB Notification: Performance of setup shared object (initialization): time 0.0007601/1.497, allocations: 465.8 kB / 0.7593 GB, free: 9.543 MB / 0.5762 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.00634/1.504, allocations: 1.678 MB / 0.761 GB, free: 7.863 MB / 0.5762 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00814/1.512, allocations: 2.928 MB / 0.7638 GB, free: 4.383 MB / 0.5762 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.007841/1.52, allocations: 2.289 MB / 0.766 GB, free: 2.074 MB / 0.5762 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.84e-05/1.52, allocations: 12 kB / 0.7661 GB, free: 2.062 MB / 0.5762 GB Notification: Performance of matching and sorting (n=475) (initialization): time 0.0224/1.542, allocations: 5.449 MB / 0.7714 GB, free: 12.56 MB / 0.5919 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001195/1.542, allocations: 24 kB / 0.7714 GB, free: 12.54 MB / 0.5919 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001361/1.543, allocations: 47.89 kB / 0.7714 GB, free: 12.49 MB / 0.5919 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.002042/1.545, allocations: 428.9 kB / 0.7719 GB, free: 12.07 MB / 0.5919 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.007012/1.552, allocations: 0.8502 MB / 0.7727 GB, free: 11.21 MB / 0.5919 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01127/1.563, allocations: 5.327 MB / 0.7779 GB, free: 5.625 MB / 0.5919 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.01077/1.574, allocations: 0.6848 MB / 0.7786 GB, free: 4.938 MB / 0.5919 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001493/1.575, allocations: 180 kB / 0.7787 GB, free: 4.762 MB / 0.5919 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.009879/1.585, allocations: 2.285 MB / 0.781 GB, free: 2.465 MB / 0.5919 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.002988/1.588, allocations: 490 kB / 0.7814 GB, free: 1.98 MB / 0.5919 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01431/1.603, allocations: 4.217 MB / 0.7855 GB, free: 13.71 MB / 0.6075 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.977e-05/1.603, allocations: 24 kB / 0.7856 GB, free: 13.69 MB / 0.6075 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.708e-05/1.603, allocations: 4 kB / 0.7856 GB, free: 13.68 MB / 0.6075 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.01145/1.614, allocations: 3.657 MB / 0.7891 GB, free: 9.914 MB / 0.6075 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.03887/1.653, allocations: 10.13 MB / 0.799 GB, free: 15.61 MB / 0.6231 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.442e-05/1.653, allocations: 8 kB / 0.799 GB, free: 15.6 MB / 0.6231 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.003555/1.657, allocations: 0.4915 MB / 0.7995 GB, free: 15.11 MB / 0.6231 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.001433/1.658, allocations: 369.4 kB / 0.7999 GB, free: 14.74 MB / 0.6231 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0006847/1.659, allocations: 75.97 kB / 0.8 GB, free: 14.66 MB / 0.6231 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.008288/1.667, allocations: 5.267 MB / 0.8051 GB, free: 9.133 MB / 0.6231 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.249e-05/1.667, allocations: 4 kB / 0.8051 GB, free: 9.129 MB / 0.6231 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01915/1.687, allocations: 6.919 MB / 0.8119 GB, free: 1.918 MB / 0.6231 GB Notification: Performance of postOpt removeConstants (simulation): time 0.008262/1.695, allocations: 1.248 MB / 0.8131 GB, free: 0.6445 MB / 0.6231 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.004734/1.7, allocations: 63.98 kB / 0.8131 GB, free: 0.582 MB / 0.6231 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.01044/1.71, allocations: 344.9 kB / 0.8135 GB, free: 256 kB / 0.6231 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.001293/1.712, allocations: 177.6 kB / 0.8136 GB, free: 80 kB / 0.6231 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.001325/1.713, allocations: 127.9 kB / 0.8138 GB, free: 15.95 MB / 0.6387 GB Notification: Performance of sorting global known variables: time 0.01521/1.728, allocations: 3.976 MB / 0.8176 GB, free: 11.99 MB / 0.6387 GB Notification: Performance of sort global known variables: time 9.52e-07/1.728, allocations: 0 / 0.8176 GB, free: 11.99 MB / 0.6387 GB Notification: Performance of remove unused functions: time 0.01543/1.744, allocations: 1.804 MB / 0.8194 GB, free: 10.18 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 (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.02638/1.77, allocations: 8.663 MB / 0.8279 GB, free: 1.281 MB / 0.6387 GB Notification: Performance of simCode: created initialization part: time 0.01429/1.785, allocations: 4.282 MB / 0.832 GB, free: 12.96 MB / 0.6544 GB Notification: Performance of simCode: created event and clocks part: time 1.849e-05/1.785, allocations: 4.125 kB / 0.832 GB, free: 12.96 MB / 0.6544 GB Notification: Performance of simCode: created simulation system equations: time 0.006564/1.791, allocations: 2.055 MB / 0.8341 GB, free: 10.88 MB / 0.6544 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.02763/1.819, allocations: 3.223 MB / 0.8372 GB, free: 7.719 MB / 0.6544 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.8157/2.635, allocations: 73.37 MB / 0.9088 GB, free: 169.9 MB / 0.67 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.01193/2.647, allocations: 4.414 MB / 0.9132 GB, free: 168.4 MB / 0.67 GB Notification: Performance of simCode: alias equations: time 0.01536/2.662, allocations: 1.889 MB / 0.915 GB, free: 168.4 MB / 0.67 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.009161/2.671, allocations: 2.445 MB / 0.9174 GB, free: 166.5 MB / 0.67 GB Notification: Performance of SimCode: time 2.515e-06/2.671, allocations: 0 / 0.9174 GB, free: 166.5 MB / 0.67 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.3668/3.038, allocations: 161.3 MB / 1.075 GB, free: 32.07 MB / 0.67 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002342/3.039, allocations: 240.2 kB / 1.075 GB, free: 31.75 MB / 0.67 GB Notification: Performance of buildModelFMU: Generate platform static: time 10.12/13.16, allocations: 6.344 kB / 1.075 GB, free: 31.75 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: