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.001924/0.001924, allocations: 110.4 kB / 18.94 MB, free: 2.949 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.002263/0.002263, allocations: 216 kB / 22.26 MB, free: 5.125 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.469/1.469, allocations: 230.6 MB / 256 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.8546/0.8546, allocations: 134 MB / 446.4 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="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"}) [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.001925/0.001925, allocations: 67.25 kB / 0.6185 GB, free: 7.234 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.181/0.1829, allocations: 85.91 MB / 0.7024 GB, free: 1.402 MB / 0.5137 GB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.Storage.Validation.StratifiedNonUniformInitial): time 0.4632/0.646, allocations: 50.32 MB / 0.7516 GB, free: 4.672 MB / 0.5606 GB Notification: Performance of NFInst.instExpressions: time 0.01889/0.6649, allocations: 13.97 MB / 0.7652 GB, free: 4.496 MB / 0.5606 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.003528/0.6685, allocations: 90.56 kB / 0.7653 GB, free: 4.496 MB / 0.5606 GB Notification: Performance of NFTyping.typeComponents: time 0.003341/0.6718, allocations: 0.8372 MB / 0.7661 GB, free: 4.484 MB / 0.5606 GB Notification: Performance of NFTyping.typeBindings: time 0.01021/0.682, allocations: 2.403 MB / 0.7685 GB, free: 4.395 MB / 0.5606 GB Notification: Performance of NFTyping.typeClassSections: time 0.004676/0.6867, allocations: 1.375 MB / 0.7698 GB, free: 4.352 MB / 0.5606 GB Notification: Performance of NFFlatten.flatten: time 0.02258/0.7093, allocations: 20.11 MB / 0.7894 GB, free: 12.77 MB / 0.5762 GB Notification: Performance of NFFlatten.resolveConnections: time 0.01055/0.7198, allocations: 6.484 MB / 0.7958 GB, free: 9.738 MB / 0.5762 GB Notification: Performance of NFEvalConstants.evaluate: time 0.01585/0.7357, allocations: 6.706 MB / 0.8023 GB, free: 6.48 MB / 0.5762 GB Notification: Performance of NFSimplifyModel.simplify: time 0.01171/0.7474, allocations: 6.053 MB / 0.8082 GB, free: 3.227 MB / 0.5762 GB Notification: Performance of NFPackage.collectConstants: time 0.002964/0.7503, allocations: 0.8468 MB / 0.8091 GB, free: 2.578 MB / 0.5762 GB Notification: Performance of NFFlatten.collectFunctions: time 0.008039/0.7584, allocations: 1.681 MB / 0.8107 GB, free: 0.9531 MB / 0.5762 GB Notification: Performance of NFScalarize.scalarize: time 0.004403/0.7628, allocations: 2.206 MB / 0.8129 GB, free: 14.77 MB / 0.5919 GB Notification: Performance of NFVerifyModel.verify: time 0.01045/0.7732, allocations: 4.294 MB / 0.8171 GB, free: 10.5 MB / 0.5919 GB Notification: Performance of NFConvertDAE.convert: time 0.01956/0.7928, allocations: 12.17 MB / 0.8289 GB, free: 14.61 MB / 0.6075 GB Notification: Performance of FrontEnd - DAE generated: time 6.051e-06/0.7928, allocations: 0 / 0.8289 GB, free: 14.61 MB / 0.6075 GB Notification: Performance of FrontEnd: time 1.983e-06/0.7928, allocations: 4 kB / 0.8289 GB, free: 14.6 MB / 0.6075 GB Notification: Performance of Transformations before backend: time 0.0004604/0.7933, allocations: 0 / 0.8289 GB, free: 14.6 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.02096/0.8142, allocations: 7.86 MB / 0.8366 GB, free: 6.738 MB / 0.6075 GB Notification: Performance of prepare preOptimizeDAE: time 5.204e-05/0.8143, allocations: 8.031 kB / 0.8366 GB, free: 6.73 MB / 0.6075 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.002629/0.8169, allocations: 0.7634 MB / 0.8374 GB, free: 5.961 MB / 0.6075 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004312/0.8212, allocations: 0.8829 MB / 0.8382 GB, free: 5.074 MB / 0.6075 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01455/0.8358, allocations: 6.372 MB / 0.8445 GB, free: 14.75 MB / 0.6231 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0004212/0.8362, allocations: 422.1 kB / 0.8449 GB, free: 14.34 MB / 0.6231 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001866/0.838, allocations: 0.5417 MB / 0.8454 GB, free: 13.8 MB / 0.6231 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01749/0.8555, allocations: 8.071 MB / 0.8533 GB, free: 5.508 MB / 0.6231 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001556/0.8557, allocations: 19.83 kB / 0.8533 GB, free: 5.488 MB / 0.6231 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0007093/0.8564, allocations: 232 kB / 0.8535 GB, free: 5.262 MB / 0.6231 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001745/0.8566, allocations: 167.9 kB / 0.8537 GB, free: 5.098 MB / 0.6231 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01293/0.8695, allocations: 6.524 MB / 0.86 GB, free: 14.56 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.05022/0.9197, allocations: 31.16 MB / 0.8905 GB, free: 13.81 MB / 0.67 GB Notification: Performance of preOpt comSubExp (simulation): time 0.006898/0.9266, allocations: 3.441 MB / 0.8938 GB, free: 10.39 MB / 0.67 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.004662/0.9313, allocations: 2.577 MB / 0.8963 GB, free: 7.816 MB / 0.67 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0007923/0.9321, allocations: 154.3 kB / 0.8965 GB, free: 7.676 MB / 0.67 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 9.437e-05/0.9322, allocations: 76.45 kB / 0.8966 GB, free: 7.59 MB / 0.67 GB Notification: Performance of pre-optimization done (n=267): time 6.052e-06/0.9322, allocations: 0 / 0.8966 GB, free: 7.59 MB / 0.67 GB Notification: Performance of matching and sorting (n=267): time 0.01355/0.9457, allocations: 5.624 MB / 0.9021 GB, free: 1.91 MB / 0.67 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.211e-05/0.9458, allocations: 81.52 kB / 0.9021 GB, free: 1.816 MB / 0.67 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.01147/0.9573, allocations: 5.239 MB / 0.9073 GB, free: 12.58 MB / 0.6856 GB Notification: Performance of collectPreVariables (initialization): time 0.0006661/0.9579, allocations: 77.7 kB / 0.9073 GB, free: 12.5 MB / 0.6856 GB Notification: Performance of collectInitialEqns (initialization): time 0.003147/0.9611, allocations: 2.943 MB / 0.9102 GB, free: 9.547 MB / 0.6856 GB Notification: Performance of collectInitialBindings (initialization): time 0.001659/0.9627, allocations: 0.9756 MB / 0.9112 GB, free: 8.582 MB / 0.6856 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001156/0.9639, allocations: 0.7195 MB / 0.9119 GB, free: 7.855 MB / 0.6856 GB Notification: Performance of setup shared object (initialization): time 0.0001391/0.964, allocations: 309 kB / 0.9122 GB, free: 7.551 MB / 0.6856 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002739/0.9668, allocations: 1.678 MB / 0.9138 GB, free: 5.871 MB / 0.6856 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.003721/0.9705, allocations: 2.931 MB / 0.9167 GB, free: 2.391 MB / 0.6856 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.006986/0.9775, allocations: 4.962 MB / 0.9215 GB, free: 12.84 MB / 0.7012 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.988e-05/0.9775, allocations: 16 kB / 0.9215 GB, free: 12.82 MB / 0.7012 GB Notification: Performance of matching and sorting (n=475) (initialization): time 0.009986/0.9875, allocations: 5.451 MB / 0.9268 GB, free: 7.316 MB / 0.7012 GB Notification: Performance of prepare postOptimizeDAE: time 5.222e-05/0.9876, allocations: 20 kB / 0.9269 GB, free: 7.297 MB / 0.7012 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.917e-05/0.9876, allocations: 43.94 kB / 0.9269 GB, free: 7.254 MB / 0.7012 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001052/0.9887, allocations: 418 kB / 0.9273 GB, free: 6.84 MB / 0.7012 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003075/0.9917, allocations: 0.8619 MB / 0.9281 GB, free: 5.977 MB / 0.7012 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.006673/0.9984, allocations: 5.49 MB / 0.9335 GB, free: 280 kB / 0.7012 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.004867/1.003, allocations: 0.5315 MB / 0.934 GB, free: 15.74 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0006976/1.004, allocations: 176 kB / 0.9342 GB, free: 15.57 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.005601/1.01, allocations: 2.288 MB / 0.9364 GB, free: 13.27 MB / 0.7169 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.002053/1.012, allocations: 0.5046 MB / 0.9369 GB, free: 12.76 MB / 0.7169 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.009343/1.021, allocations: 4.164 MB / 0.941 GB, free: 8.539 MB / 0.7169 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.197e-05/1.021, allocations: 32 kB / 0.941 GB, free: 8.508 MB / 0.7169 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.992e-05/1.021, allocations: 4 kB / 0.941 GB, free: 8.504 MB / 0.7169 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.006267/1.027, allocations: 3.628 MB / 0.9446 GB, free: 4.762 MB / 0.7169 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.02476/1.052, allocations: 10.29 MB / 0.9546 GB, free: 10.36 MB / 0.7325 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.618e-05/1.052, allocations: 8.094 kB / 0.9546 GB, free: 10.36 MB / 0.7325 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002257/1.054, allocations: 0.4954 MB / 0.9551 GB, free: 9.859 MB / 0.7325 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0009557/1.055, allocations: 369.4 kB / 0.9555 GB, free: 9.492 MB / 0.7325 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002958/1.056, allocations: 75.97 kB / 0.9555 GB, free: 9.418 MB / 0.7325 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.006302/1.062, allocations: 5.437 MB / 0.9608 GB, free: 3.77 MB / 0.7325 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.921e-06/1.062, allocations: 8.062 kB / 0.9608 GB, free: 3.762 MB / 0.7325 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01147/1.073, allocations: 6.267 MB / 0.967 GB, free: 13.32 MB / 0.7481 GB Notification: Performance of postOpt removeConstants (simulation): time 0.003897/1.077, allocations: 1.084 MB / 0.968 GB, free: 12.23 MB / 0.7481 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001719/1.079, allocations: 59.98 kB / 0.9681 GB, free: 12.18 MB / 0.7481 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.003885/1.083, allocations: 179.6 kB / 0.9683 GB, free: 12 MB / 0.7481 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0004823/1.083, allocations: 189.5 kB / 0.9684 GB, free: 11.82 MB / 0.7481 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0005113/1.084, allocations: 124 kB / 0.9686 GB, free: 11.7 MB / 0.7481 GB Notification: Performance of sorting global known variables: time 0.009447/1.093, allocations: 3.855 MB / 0.9723 GB, free: 7.855 MB / 0.7481 GB Notification: Performance of sort global known variables: time 2.91e-07/1.093, allocations: 0 / 0.9723 GB, free: 7.855 MB / 0.7481 GB Notification: Performance of remove unused functions: time 0.007324/1.101, allocations: 1.809 MB / 0.9741 GB, free: 6.043 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.01299/1.114, allocations: 7.175 MB / 0.9811 GB, free: 14.71 MB / 0.7637 GB Notification: Performance of simCode: created initialization part: time 0.007891/1.122, allocations: 4.136 MB / 0.9851 GB, free: 10.54 MB / 0.7637 GB Notification: Performance of simCode: created event and clocks part: time 1.094e-05/1.122, allocations: 7.938 kB / 0.9851 GB, free: 10.54 MB / 0.7637 GB Notification: Performance of simCode: created simulation system equations: time 0.003315/1.125, allocations: 1.93 MB / 0.987 GB, free: 8.578 MB / 0.7637 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.01838/1.143, allocations: 3.456 MB / 0.9904 GB, free: 5.242 MB / 0.7637 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.09621/1.239, allocations: 47.2 MB / 1.036 GB, free: 4.371 MB / 0.8106 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.004646/1.244, allocations: 4.299 MB / 1.041 GB, free: 40 kB / 0.8106 GB Notification: Performance of simCode: alias equations: time 0.005475/1.25, allocations: 1.848 MB / 1.042 GB, free: 14.19 MB / 0.8262 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.004274/1.254, allocations: 2.452 MB / 1.045 GB, free: 11.74 MB / 0.8262 GB Notification: Performance of SimCode: time 9.42e-07/1.254, allocations: 0 / 1.045 GB, free: 11.74 MB / 0.8262 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.5428/1.797, allocations: 157.7 MB / 1.199 GB, free: 206.6 MB / 0.8419 GB Notification: Performance of buildModelFMU: Generate platform static: time 21.29/23.08, allocations: 8.344 kB / 1.199 GB, free: 206.6 MB / 0.8419 GB " [Timeout remaining time 637] (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.002711492124945] Failed to read output from testmodel.py, exit status != 0: 23.281065294053406 23.298198 22.50179392 Calling exit ...