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.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.0008663/0.0008663, allocations: 105.9 kB / 18.93 MB, free: 1.266 MB / 13.93 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.0009689/0.0009689, allocations: 214.3 kB / 22.26 MB, free: 3.848 MB / 13.93 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 0.9342/0.9342, allocations: 230.6 MB / 256 MB, free: 3.574 MB / 202.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS master/package.mo", uses=false) [Timeout 180] "[/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS master/Examples/PPD12/Structure.mo:531:21-531:190:writable] Warning: Lexer treating \\ as \\\\, since \\e is not a valid Modelica escape sequence. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS master/Examples/PPD12/Structure.mo:531:21-531:198:writable] Warning: Lexer treating \\ as \\\\, since \\< is not a valid Modelica escape sequence. Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS master/package.mo): time 0.7751/0.7751, allocations: 203.8 MB / 0.5042 GB, free: 0.7031 MB / 410.7 MB " [Timeout remaining time 179] Using package IDEAS with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS master/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_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"}) [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.0009207/0.0009207, allocations: 67.89 kB / 0.7182 GB, free: 14.94 MB / 0.5886 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5043/0.5053, allocations: 102 MB / 0.8179 GB, free: 25.05 MB / 0.6355 GB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.Storage.Validation.StratifiedNonUniformInitial): time 0.03696/0.5422, allocations: 50.42 MB / 0.8671 GB, free: 5.227 MB / 0.6511 GB Notification: Performance of NFInst.instExpressions: time 0.0174/0.5596, allocations: 14 MB / 0.8808 GB, free: 10.75 MB / 0.6667 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.002173/0.5618, allocations: 87.47 kB / 0.8808 GB, free: 10.71 MB / 0.6667 GB Notification: Performance of NFTyping.typeComponents: time 0.001641/0.5634, allocations: 0.8327 MB / 0.8817 GB, free: 9.992 MB / 0.6667 GB Notification: Performance of NFTyping.typeBindings: time 0.004393/0.5678, allocations: 2.42 MB / 0.884 GB, free: 8.059 MB / 0.6667 GB Notification: Performance of NFTyping.typeClassSections: time 0.002424/0.5703, allocations: 1.404 MB / 0.8854 GB, free: 6.945 MB / 0.6667 GB Notification: Performance of NFFlatten.flatten: time 0.01648/0.5867, allocations: 20.18 MB / 0.9051 GB, free: 9.742 MB / 0.6823 GB Notification: Performance of NFFlatten.resolveConnections: time 0.006424/0.5932, allocations: 6.457 MB / 0.9114 GB, free: 3.164 MB / 0.6823 GB Notification: Performance of NFEvalConstants.evaluate: time 0.01085/0.604, allocations: 6.879 MB / 0.9181 GB, free: 12.31 MB / 0.698 GB Notification: Performance of NFSimplifyModel.simplify: time 0.007634/0.6116, allocations: 5.98 MB / 0.924 GB, free: 6.309 MB / 0.698 GB Notification: Performance of NFPackage.collectConstants: time 0.001353/0.613, allocations: 0.8438 MB / 0.9248 GB, free: 5.465 MB / 0.698 GB Notification: Performance of NFFlatten.collectFunctions: time 0.00404/0.617, allocations: 1.678 MB / 0.9264 GB, free: 3.785 MB / 0.698 GB Notification: Performance of NFScalarize.scalarize: time 0.001842/0.6189, allocations: 2.2 MB / 0.9286 GB, free: 1.578 MB / 0.698 GB Notification: Performance of NFVerifyModel.verify: time 0.004648/0.6235, allocations: 4.31 MB / 0.9328 GB, free: 13.25 MB / 0.7136 GB Notification: Performance of NFConvertDAE.convert: time 0.01033/0.6339, allocations: 12.2 MB / 0.9447 GB, free: 1.008 MB / 0.7136 GB Notification: Performance of FrontEnd - DAE generated: time 1.091e-05/0.6339, allocations: 0 / 0.9447 GB, free: 1.008 MB / 0.7136 GB Notification: Performance of FrontEnd: time 3.256e-06/0.6339, allocations: 0 / 0.9447 GB, free: 1.008 MB / 0.7136 GB Notification: Performance of Transformations before backend: time 0.000317/0.6342, allocations: 0 / 0.9447 GB, free: 1.008 MB / 0.7136 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.01074/0.6449, allocations: 7.861 MB / 0.9524 GB, free: 9.074 MB / 0.7292 GB Notification: Performance of prepare preOptimizeDAE: time 5.12e-05/0.645, allocations: 9.469 kB / 0.9524 GB, free: 9.066 MB / 0.7292 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0007382/0.6457, allocations: 0.7681 MB / 0.9531 GB, free: 8.289 MB / 0.7292 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001793/0.6475, allocations: 0.8829 MB / 0.954 GB, free: 7.402 MB / 0.7292 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.007407/0.6549, allocations: 6.382 MB / 0.9602 GB, free: 0.9375 MB / 0.7292 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001947/0.6551, allocations: 419.2 kB / 0.9606 GB, free: 0.5273 MB / 0.7292 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0005047/0.6556, allocations: 0.5391 MB / 0.9611 GB, free: 15.98 MB / 0.7448 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.008648/0.6643, allocations: 8.073 MB / 0.969 GB, free: 7.68 MB / 0.7448 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.849e-05/0.6643, allocations: 19.83 kB / 0.9691 GB, free: 7.66 MB / 0.7448 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0003633/0.6647, allocations: 236 kB / 0.9693 GB, free: 7.43 MB / 0.7448 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001005/0.6648, allocations: 175.8 kB / 0.9694 GB, free: 7.258 MB / 0.7448 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.007205/0.672, allocations: 6.524 MB / 0.9758 GB, free: 0.7227 MB / 0.7448 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.02643/0.6984, allocations: 31.21 MB / 1.006 GB, free: 15.67 MB / 0.7917 GB Notification: Performance of preOpt comSubExp (simulation): time 0.003489/0.7019, allocations: 3.451 MB / 1.01 GB, free: 12.21 MB / 0.7917 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.002422/0.7044, allocations: 2.569 MB / 1.012 GB, free: 9.637 MB / 0.7917 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0004078/0.7048, allocations: 161.8 kB / 1.012 GB, free: 9.48 MB / 0.7917 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.464e-05/0.7048, allocations: 76.67 kB / 1.012 GB, free: 9.395 MB / 0.7917 GB Notification: Performance of pre-optimization done (n=267): time 4.288e-06/0.7048, allocations: 0 / 1.012 GB, free: 9.395 MB / 0.7917 GB Notification: Performance of matching and sorting (n=267): time 0.006679/0.7115, allocations: 5.615 MB / 1.018 GB, free: 3.719 MB / 0.7917 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.991e-05/0.7115, allocations: 81.52 kB / 1.018 GB, free: 3.625 MB / 0.7917 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.004676/0.7162, allocations: 5.247 MB / 1.023 GB, free: 14.38 MB / 0.8073 GB Notification: Performance of collectPreVariables (initialization): time 0.0001731/0.7164, allocations: 81.7 kB / 1.023 GB, free: 14.29 MB / 0.8073 GB Notification: Performance of collectInitialEqns (initialization): time 0.001762/0.7182, allocations: 2.934 MB / 1.026 GB, free: 11.34 MB / 0.8073 GB Notification: Performance of collectInitialBindings (initialization): time 0.0008594/0.719, allocations: 0.98 MB / 1.027 GB, free: 10.35 MB / 0.8073 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0007231/0.7197, allocations: 0.7234 MB / 1.028 GB, free: 9.617 MB / 0.8073 GB Notification: Performance of setup shared object (initialization): time 9.407e-05/0.7198, allocations: 305.1 kB / 1.028 GB, free: 9.316 MB / 0.8073 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001805/0.7216, allocations: 1.678 MB / 1.03 GB, free: 7.637 MB / 0.8073 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002567/0.7242, allocations: 2.936 MB / 1.032 GB, free: 4.148 MB / 0.8073 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.004864/0.7291, allocations: 4.962 MB / 1.037 GB, free: 14.59 MB / 0.823 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.914e-05/0.7291, allocations: 12 kB / 1.037 GB, free: 14.58 MB / 0.823 GB Notification: Performance of matching and sorting (n=475) (initialization): time 0.006744/0.7358, allocations: 5.44 MB / 1.043 GB, free: 9.09 MB / 0.823 GB Notification: Performance of prepare postOptimizeDAE: time 4.229e-05/0.7359, allocations: 24 kB / 1.043 GB, free: 9.066 MB / 0.823 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.869e-05/0.7359, allocations: 40 kB / 1.043 GB, free: 9.027 MB / 0.823 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0007562/0.7367, allocations: 428.5 kB / 1.043 GB, free: 8.605 MB / 0.823 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001689/0.7384, allocations: 0.858 MB / 1.044 GB, free: 7.746 MB / 0.823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004069/0.7424, allocations: 5.486 MB / 1.049 GB, free: 2.039 MB / 0.823 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002702/0.7451, allocations: 0.5354 MB / 1.05 GB, free: 1.5 MB / 0.823 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000188/0.7453, allocations: 180 kB / 1.05 GB, free: 1.324 MB / 0.823 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.002985/0.7483, allocations: 2.285 MB / 1.052 GB, free: 15.03 MB / 0.8386 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0007071/0.749, allocations: 0.5046 MB / 1.053 GB, free: 14.52 MB / 0.8386 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004593/0.7536, allocations: 4.171 MB / 1.057 GB, free: 10.3 MB / 0.8386 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.649e-05/0.7536, allocations: 28 kB / 1.057 GB, free: 10.27 MB / 0.8386 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.044e-06/0.7536, allocations: 4 kB / 1.057 GB, free: 10.27 MB / 0.8386 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.003326/0.757, allocations: 3.62 MB / 1.06 GB, free: 6.531 MB / 0.8386 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.011/0.768, allocations: 10.3 MB / 1.07 GB, free: 12.07 MB / 0.8542 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.258e-06/0.768, allocations: 4 kB / 1.07 GB, free: 12.06 MB / 0.8542 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.00111/0.7691, allocations: 0.4998 MB / 1.071 GB, free: 11.56 MB / 0.8542 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0005016/0.7696, allocations: 376.3 kB / 1.071 GB, free: 11.19 MB / 0.8542 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001223/0.7697, allocations: 79.95 kB / 1.071 GB, free: 11.11 MB / 0.8542 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.004133/0.7738, allocations: 5.439 MB / 1.077 GB, free: 5.449 MB / 0.8542 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.789e-06/0.7738, allocations: 11.92 kB / 1.077 GB, free: 5.438 MB / 0.8542 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.006493/0.7803, allocations: 6.272 MB / 1.083 GB, free: 15 MB / 0.8698 GB Notification: Performance of postOpt removeConstants (simulation): time 0.00187/0.7822, allocations: 1.08 MB / 1.084 GB, free: 13.91 MB / 0.8698 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003905/0.7826, allocations: 55.98 kB / 1.084 GB, free: 13.86 MB / 0.8698 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001362/0.784, allocations: 179.7 kB / 1.084 GB, free: 13.68 MB / 0.8698 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002131/0.7842, allocations: 181.5 kB / 1.084 GB, free: 13.5 MB / 0.8698 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001612/0.7843, allocations: 128 kB / 1.084 GB, free: 13.38 MB / 0.8698 GB Notification: Performance of sorting global known variables: time 0.004013/0.7883, allocations: 3.855 MB / 1.088 GB, free: 9.539 MB / 0.8698 GB Notification: Performance of sort global known variables: time 6e-08/0.7883, allocations: 0 / 1.088 GB, free: 9.539 MB / 0.8698 GB Notification: Performance of remove unused functions: time 0.003964/0.7923, allocations: 1.828 MB / 1.09 GB, free: 7.707 MB / 0.8698 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.006873/0.7992, allocations: 7.179 MB / 1.097 GB, free: 360 kB / 0.8698 GB Notification: Performance of simCode: created initialization part: time 0.004756/0.8039, allocations: 4.133 MB / 1.101 GB, free: 12.18 MB / 0.8855 GB Notification: Performance of simCode: created event and clocks part: time 6.762e-06/0.8039, allocations: 4 kB / 1.101 GB, free: 12.17 MB / 0.8855 GB Notification: Performance of simCode: created simulation system equations: time 0.001754/0.8057, allocations: 1.931 MB / 1.103 GB, free: 10.21 MB / 0.8855 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.008339/0.814, allocations: 3.453 MB / 1.106 GB, free: 6.883 MB / 0.8855 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.4163/1.23, allocations: 47.18 MB / 1.152 GB, free: 232.1 MB / 0.8855 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.003346/1.234, allocations: 4.302 MB / 1.157 GB, free: 230.6 MB / 0.8855 GB Notification: Performance of simCode: alias equations: time 0.004563/1.238, allocations: 1.85 MB / 1.158 GB, free: 230.4 MB / 0.8855 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.002165/1.24, allocations: 2.449 MB / 1.161 GB, free: 228.5 MB / 0.8855 GB Notification: Performance of SimCode: time 1.964e-06/1.24, allocations: 0 / 1.161 GB, free: 228.5 MB / 0.8855 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1361/1.377, allocations: 157.7 MB / 1.315 GB, free: 84.15 MB / 0.8855 GB Notification: Performance of buildModelFMU: Generate platform static: time 15.41/16.79, allocations: 9.969 kB / 1.315 GB, free: 84.14 MB / 0.8855 GB " [Timeout remaining time 643] (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 --stepSize=1.44 --timeout=50 --tolerance=1e-06 IDEAS_dev_IDEAS_Fluid_Storage_Validation_StratifiedNonUniformInitial.fmu > IDEAS_dev_IDEAS.Fluid.Storage.Validation.StratifiedNonUniformInitial.pipe 2>&1) [Timeout 52.5] [Calling sys.exit(0), Time elapsed: 19.892822070978582] Failed to read output from testmodel.py, exit status != 0: 16.93364285095595 16.939858536 16.304200937 Calling exit ...