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.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.001661/0.001661, allocations: 101.5 kB / 19.73 MB, free: 2.23 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.001971/0.001971, allocations: 217.5 kB / 23.04 MB, free: 5.074 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 1.426/1.426, allocations: 230.6 MB / 256.8 MB, free: 7.988 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/package.mo): time 0.8347/0.8347, allocations: 134 MB / 447.2 MB, free: 10.26 MB / 350.1 MB " [Timeout remaining time 179] 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.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo) Using package Complex with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo) Running command: "" <> buildModelFMU(IDEAS.Fluid.Storage.Validation.StratifiedNonUniformInitial,fileNamePrefix="IDEAS_IDEAS_Fluid_Storage_Validation_StratifiedNonUniformInitial",fmuType="cs",version="2.0",platforms={"static"}) "" <> buildModelFMU(IDEAS.Fluid.Storage.Validation.StratifiedNonUniformInitial,fileNamePrefix="IDEAS_IDEAS_Fluid_Storage_Validation_StratifiedNonUniformInitial",fmuType="cs",version="2.0",platforms={"static"}) [Timeout 660] "Notification: IDEAS requested package Modelica of version 4.0.0. Modelica 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.001873/0.001873, allocations: 60.81 kB / 0.6193 GB, free: 7.352 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1656/0.1675, allocations: 85.91 MB / 0.7032 GB, free: 1.52 MB / 0.5137 GB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.Storage.Validation.StratifiedNonUniformInitial): time 0.4495/0.617, allocations: 50.32 MB / 0.7523 GB, free: 4.578 MB / 0.5606 GB Notification: Performance of NFInst.instExpressions: time 0.01834/0.6353, allocations: 13.96 MB / 0.766 GB, free: 4.398 MB / 0.5606 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.003333/0.6387, allocations: 91.09 kB / 0.7661 GB, free: 4.398 MB / 0.5606 GB Notification: Performance of NFTyping.typeComponents: time 0.002957/0.6416, allocations: 0.8402 MB / 0.7669 GB, free: 4.387 MB / 0.5606 GB Notification: Performance of NFTyping.typeBindings: time 0.008273/0.6499, allocations: 2.401 MB / 0.7692 GB, free: 4.297 MB / 0.5606 GB Notification: Performance of NFTyping.typeClassSections: time 0.004133/0.654, allocations: 1.374 MB / 0.7706 GB, free: 4.258 MB / 0.5606 GB Notification: Performance of NFFlatten.flatten: time 0.02268/0.6767, allocations: 20.1 MB / 0.7902 GB, free: 12.68 MB / 0.5762 GB Notification: Performance of NFFlatten.resolveConnections: time 0.01223/0.6889, allocations: 6.496 MB / 0.7965 GB, free: 9.625 MB / 0.5762 GB Notification: Performance of NFEvalConstants.evaluate: time 0.01682/0.7058, allocations: 6.704 MB / 0.8031 GB, free: 6.363 MB / 0.5762 GB Notification: Performance of NFSimplifyModel.simplify: time 0.01227/0.718, allocations: 6.054 MB / 0.809 GB, free: 3.109 MB / 0.5762 GB Notification: Performance of NFPackage.collectConstants: time 0.002941/0.721, allocations: 0.851 MB / 0.8098 GB, free: 2.512 MB / 0.5762 GB Notification: Performance of NFFlatten.collectFunctions: time 0.007982/0.7289, allocations: 1.677 MB / 0.8115 GB, free: 0.8906 MB / 0.5762 GB Notification: Performance of NFScalarize.scalarize: time 0.004484/0.7334, allocations: 2.202 MB / 0.8136 GB, free: 14.71 MB / 0.5919 GB Notification: Performance of NFVerifyModel.verify: time 0.01026/0.7437, allocations: 4.292 MB / 0.8178 GB, free: 10.44 MB / 0.5919 GB Notification: Performance of NFConvertDAE.convert: time 0.01795/0.7616, allocations: 12.18 MB / 0.8297 GB, free: 14.54 MB / 0.6075 GB Notification: Performance of FrontEnd - DAE generated: time 7.564e-06/0.7616, allocations: 0 / 0.8297 GB, free: 14.54 MB / 0.6075 GB Notification: Performance of FrontEnd: time 2.424e-06/0.7617, allocations: 0 / 0.8297 GB, free: 14.54 MB / 0.6075 GB Notification: Performance of Transformations before backend: time 0.0004573/0.7621, allocations: 0 / 0.8297 GB, free: 14.54 MB / 0.6075 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.02042/0.7825, allocations: 7.852 MB / 0.8374 GB, free: 6.688 MB / 0.6075 GB Notification: Performance of prepare preOptimizeDAE: time 4.746e-05/0.7826, allocations: 12.03 kB / 0.8374 GB, free: 6.676 MB / 0.6075 GB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 0.0001686/0.7827, allocations: 143.2 kB / 0.8375 GB, free: 6.535 MB / 0.6075 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.001634/0.7844, allocations: 0.7713 MB / 0.8383 GB, free: 5.758 MB / 0.6075 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00348/0.7879, allocations: 0.8829 MB / 0.8391 GB, free: 4.871 MB / 0.6075 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01416/0.802, allocations: 6.38 MB / 0.8454 GB, free: 14.55 MB / 0.6231 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0004112/0.8024, allocations: 413.3 kB / 0.8458 GB, free: 14.14 MB / 0.6231 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001646/0.8041, allocations: 0.5382 MB / 0.8463 GB, free: 13.61 MB / 0.6231 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01587/0.8199, allocations: 8.073 MB / 0.8542 GB, free: 5.309 MB / 0.6231 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001201/0.8201, allocations: 15.83 kB / 0.8542 GB, free: 5.293 MB / 0.6231 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0006204/0.8207, allocations: 234.1 kB / 0.8544 GB, free: 5.066 MB / 0.6231 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001759/0.8209, allocations: 175.8 kB / 0.8546 GB, free: 4.895 MB / 0.6231 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01219/0.833, allocations: 6.52 MB / 0.8609 GB, free: 14.36 MB / 0.6387 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.04624/0.8793, allocations: 31.18 MB / 0.8914 GB, free: 13.6 MB / 0.67 GB Notification: Performance of preOpt comSubExp (simulation): time 0.00571/0.885, allocations: 3.437 MB / 0.8947 GB, free: 10.18 MB / 0.67 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.004017/0.889, allocations: 2.578 MB / 0.8973 GB, free: 7.605 MB / 0.67 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0006681/0.8897, allocations: 155.9 kB / 0.8974 GB, free: 7.465 MB / 0.67 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 8.164e-05/0.8898, allocations: 72.45 kB / 0.8975 GB, free: 7.383 MB / 0.67 GB Notification: Performance of pre-optimization done (n=267): time 5.029e-06/0.8898, allocations: 0 / 0.8975 GB, free: 7.383 MB / 0.67 GB Notification: Performance of matching and sorting (n=267): time 0.01162/0.9014, allocations: 5.624 MB / 0.903 GB, free: 1.703 MB / 0.67 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.715e-05/0.9015, allocations: 81.52 kB / 0.903 GB, free: 1.609 MB / 0.67 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.009039/0.9105, allocations: 5.243 MB / 0.9082 GB, free: 12.37 MB / 0.6856 GB Notification: Performance of collectPreVariables (initialization): time 0.0007616/0.9113, allocations: 81.7 kB / 0.9082 GB, free: 12.28 MB / 0.6856 GB Notification: Performance of collectInitialEqns (initialization): time 0.003001/0.9143, allocations: 2.933 MB / 0.9111 GB, free: 9.34 MB / 0.6856 GB Notification: Performance of collectInitialBindings (initialization): time 0.001745/0.916, allocations: 0.9884 MB / 0.9121 GB, free: 8.363 MB / 0.6856 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001206/0.9172, allocations: 0.7156 MB / 0.9128 GB, free: 7.641 MB / 0.6856 GB Notification: Performance of setup shared object (initialization): time 0.0001352/0.9173, allocations: 301.1 kB / 0.9131 GB, free: 7.344 MB / 0.6856 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002816/0.9202, allocations: 1.674 MB / 0.9147 GB, free: 5.668 MB / 0.6856 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.003912/0.9241, allocations: 2.931 MB / 0.9176 GB, free: 2.188 MB / 0.6856 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.006958/0.931, allocations: 4.966 MB / 0.9224 GB, free: 12.63 MB / 0.7012 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.461e-05/0.9311, allocations: 15.94 kB / 0.9224 GB, free: 12.61 MB / 0.7012 GB Notification: Performance of matching and sorting (n=475) (initialization): time 0.009915/0.941, allocations: 5.451 MB / 0.9277 GB, free: 7.109 MB / 0.7012 GB Notification: Performance of prepare postOptimizeDAE: time 4.441e-05/0.941, allocations: 23.94 kB / 0.9278 GB, free: 7.086 MB / 0.7012 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.521e-05/0.9411, allocations: 40 kB / 0.9278 GB, free: 7.047 MB / 0.7012 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001043/0.9421, allocations: 418.1 kB / 0.9282 GB, free: 6.633 MB / 0.7012 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003028/0.9451, allocations: 0.858 MB / 0.929 GB, free: 5.773 MB / 0.7012 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.006274/0.9514, allocations: 5.495 MB / 0.9344 GB, free: 68 kB / 0.7012 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00455/0.956, allocations: 0.5356 MB / 0.9349 GB, free: 15.52 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0005284/0.9565, allocations: 176 kB / 0.9351 GB, free: 15.35 MB / 0.7169 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.004475/0.961, allocations: 2.292 MB / 0.9373 GB, free: 13.05 MB / 0.7169 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001693/0.9627, allocations: 0.5007 MB / 0.9378 GB, free: 12.54 MB / 0.7169 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.007318/0.97, allocations: 4.167 MB / 0.9419 GB, free: 8.324 MB / 0.7169 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.636e-05/0.97, allocations: 24 kB / 0.9419 GB, free: 8.301 MB / 0.7169 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.011e-05/0.97, allocations: 4 kB / 0.9419 GB, free: 8.297 MB / 0.7169 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.005471/0.9755, allocations: 3.624 MB / 0.9455 GB, free: 4.559 MB / 0.7169 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.02019/0.9957, allocations: 10.3 MB / 0.9555 GB, free: 10.16 MB / 0.7325 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.528e-05/0.9957, allocations: 4 kB / 0.9555 GB, free: 10.16 MB / 0.7325 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002144/0.9978, allocations: 0.4993 MB / 0.956 GB, free: 9.66 MB / 0.7325 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0009097/0.9987, allocations: 369.5 kB / 0.9564 GB, free: 9.293 MB / 0.7325 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002175/0.999, allocations: 79.95 kB / 0.9564 GB, free: 9.215 MB / 0.7325 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.006143/1.005, allocations: 5.442 MB / 0.9618 GB, free: 3.562 MB / 0.7325 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.823e-06/1.005, allocations: 11.98 kB / 0.9618 GB, free: 3.551 MB / 0.7325 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01062/1.016, allocations: 6.267 MB / 0.9679 GB, free: 13.11 MB / 0.7481 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0034/1.019, allocations: 1.076 MB / 0.9689 GB, free: 12.03 MB / 0.7481 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001117/1.02, allocations: 63.98 kB / 0.969 GB, free: 11.97 MB / 0.7481 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002858/1.023, allocations: 167.8 kB / 0.9692 GB, free: 11.8 MB / 0.7481 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003409/1.023, allocations: 189.5 kB / 0.9693 GB, free: 11.62 MB / 0.7481 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002774/1.024, allocations: 127.9 kB / 0.9695 GB, free: 11.5 MB / 0.7481 GB Notification: Performance of sorting global known variables: time 0.006427/1.03, allocations: 3.843 MB / 0.9732 GB, free: 7.668 MB / 0.7481 GB Notification: Performance of sort global known variables: time 8e-08/1.03, allocations: 0 / 0.9732 GB, free: 7.668 MB / 0.7481 GB Notification: Performance of remove unused functions: time 0.006296/1.036, allocations: 1.821 MB / 0.975 GB, free: 5.844 MB / 0.7481 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.01154/1.048, allocations: 7.177 MB / 0.982 GB, free: 14.51 MB / 0.7637 GB Notification: Performance of simCode: created initialization part: time 0.008015/1.056, allocations: 4.128 MB / 0.986 GB, free: 10.35 MB / 0.7637 GB Notification: Performance of simCode: created event and clocks part: time 9.779e-06/1.056, allocations: 4 kB / 0.986 GB, free: 10.34 MB / 0.7637 GB Notification: Performance of simCode: created simulation system equations: time 0.003185/1.059, allocations: 1.93 MB / 0.9879 GB, free: 8.387 MB / 0.7637 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.01758/1.077, allocations: 3.449 MB / 0.9913 GB, free: 5.047 MB / 0.7637 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.08512/1.162, allocations: 47.21 MB / 1.037 GB, free: 4.176 MB / 0.8106 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.004837/1.167, allocations: 4.315 MB / 1.042 GB, free: 15.83 MB / 0.8262 GB Notification: Performance of simCode: alias equations: time 0.005676/1.172, allocations: 1.848 MB / 1.043 GB, free: 13.98 MB / 0.8262 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.00435/1.177, allocations: 2.448 MB / 1.046 GB, free: 11.53 MB / 0.8262 GB Notification: Performance of SimCode: time 1.724e-06/1.177, allocations: 0 / 1.046 GB, free: 11.53 MB / 0.8262 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.5604/1.737, allocations: 157.8 MB / 1.2 GB, free: 206.3 MB / 0.8419 GB Notification: Performance of buildModelFMU: Generate platform static: time 21.59/23.32, allocations: 13.36 kB / 1.2 GB, free: 206.3 MB / 0.8419 GB " [Timeout remaining time 636] (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 --stepSize=1.44 --timeout=50 --tolerance=1e-06 IDEAS_IDEAS_Fluid_Storage_Validation_StratifiedNonUniformInitial.fmu > IDEAS_IDEAS.Fluid.Storage.Validation.StratifiedNonUniformInitial.pipe 2>&1) [Timeout 52.5] [Calling sys.exit(0), Time elapsed: 27.326986680040136] Failed to read output from testmodel.py, exit status != 0: 23.572451455984265 23.590180166 22.824588081999998 Calling exit ...