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.001171/0.001171, allocations: 109.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.001248/0.001248, allocations: 218.3 kB / 22.26 MB, free: 3.695 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.9463/0.9463, allocations: 230.6 MB / 256 MB, free: 9.633 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.7736/0.7736, allocations: 203.8 MB / 0.5042 GB, free: 10.75 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.0009272/0.0009272, allocations: 62.28 kB / 0.7182 GB, free: 4.383 MB / 0.5261 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5232/0.5242, allocations: 102 MB / 0.8179 GB, free: 1.254 MB / 0.6042 GB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.Storage.Validation.StratifiedNonUniformInitial): time 0.03605/0.5602, allocations: 50.42 MB / 0.8671 GB, free: 11.96 MB / 0.6511 GB Notification: Performance of NFInst.instExpressions: time 0.01479/0.575, allocations: 13.99 MB / 0.8808 GB, free: 0.5859 MB / 0.6511 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001936/0.5769, allocations: 91.66 kB / 0.8809 GB, free: 0.5391 MB / 0.6511 GB Notification: Performance of NFTyping.typeComponents: time 0.001643/0.5786, allocations: 0.8335 MB / 0.8817 GB, free: 15.82 MB / 0.6667 GB Notification: Performance of NFTyping.typeBindings: time 0.004293/0.5829, allocations: 2.408 MB / 0.884 GB, free: 13.9 MB / 0.6667 GB Notification: Performance of NFTyping.typeClassSections: time 0.002151/0.585, allocations: 1.408 MB / 0.8854 GB, free: 12.79 MB / 0.6667 GB Notification: Performance of NFFlatten.flatten: time 0.01396/0.599, allocations: 20.16 MB / 0.9051 GB, free: 12.5 MB / 0.6823 GB Notification: Performance of NFFlatten.resolveConnections: time 0.006815/0.6058, allocations: 6.465 MB / 0.9114 GB, free: 5.914 MB / 0.6823 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0114/0.6172, allocations: 6.9 MB / 0.9181 GB, free: 15.04 MB / 0.698 GB Notification: Performance of NFSimplifyModel.simplify: time 0.009299/0.6265, allocations: 5.961 MB / 0.924 GB, free: 9.055 MB / 0.698 GB Notification: Performance of NFPackage.collectConstants: time 0.001653/0.6282, allocations: 0.8476 MB / 0.9248 GB, free: 8.207 MB / 0.698 GB Notification: Performance of NFFlatten.collectFunctions: time 0.004014/0.6322, allocations: 1.682 MB / 0.9264 GB, free: 6.523 MB / 0.698 GB Notification: Performance of NFScalarize.scalarize: time 0.001608/0.6338, allocations: 2.2 MB / 0.9286 GB, free: 4.316 MB / 0.698 GB Notification: Performance of NFVerifyModel.verify: time 0.004399/0.6382, allocations: 4.311 MB / 0.9328 GB, free: 15.98 MB / 0.7136 GB Notification: Performance of NFConvertDAE.convert: time 0.008866/0.647, allocations: 12.2 MB / 0.9447 GB, free: 3.754 MB / 0.7136 GB Notification: Performance of FrontEnd - DAE generated: time 6.052e-06/0.6471, allocations: 4 kB / 0.9447 GB, free: 3.75 MB / 0.7136 GB Notification: Performance of FrontEnd: time 1.513e-06/0.6471, allocations: 3.938 kB / 0.9447 GB, free: 3.746 MB / 0.7136 GB Notification: Performance of Transformations before backend: time 0.0001628/0.6472, allocations: 0 / 0.9447 GB, free: 3.746 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.009005/0.6562, allocations: 7.851 MB / 0.9524 GB, free: 11.83 MB / 0.7292 GB Notification: Performance of prepare preOptimizeDAE: time 4.286e-05/0.6563, allocations: 8.031 kB / 0.9524 GB, free: 11.82 MB / 0.7292 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0007012/0.657, allocations: 0.7681 MB / 0.9531 GB, free: 11.04 MB / 0.7292 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001753/0.6587, allocations: 0.8867 MB / 0.954 GB, free: 10.15 MB / 0.7292 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.007495/0.6662, allocations: 6.381 MB / 0.9602 GB, free: 3.688 MB / 0.7292 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002194/0.6664, allocations: 423.2 kB / 0.9606 GB, free: 3.273 MB / 0.7292 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0005464/0.667, allocations: 0.539 MB / 0.9612 GB, free: 2.734 MB / 0.7292 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01137/0.6784, allocations: 8.073 MB / 0.969 GB, free: 10.43 MB / 0.7448 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.407e-05/0.6784, allocations: 27.81 kB / 0.9691 GB, free: 10.4 MB / 0.7448 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0003807/0.6788, allocations: 236 kB / 0.9693 GB, free: 10.17 MB / 0.7448 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001033/0.6789, allocations: 156 kB / 0.9694 GB, free: 10.02 MB / 0.7448 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00757/0.6865, allocations: 6.532 MB / 0.9758 GB, free: 3.473 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.02795/0.7144, allocations: 31.21 MB / 1.006 GB, free: 2.418 MB / 0.7761 GB Notification: Performance of preOpt comSubExp (simulation): time 0.003725/0.7182, allocations: 3.439 MB / 1.01 GB, free: 14.97 MB / 0.7917 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.002645/0.7208, allocations: 2.581 MB / 1.012 GB, free: 12.38 MB / 0.7917 GB Notification: Performance of preOpt evalFunc (simulation): time 0.000399/0.7212, allocations: 165.9 kB / 1.012 GB, free: 12.22 MB / 0.7917 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.836e-05/0.7213, allocations: 68.67 kB / 1.012 GB, free: 12.14 MB / 0.7917 GB Notification: Performance of pre-optimization done (n=267): time 4.048e-06/0.7213, allocations: 0 / 1.012 GB, free: 12.14 MB / 0.7917 GB Notification: Performance of matching and sorting (n=267): time 0.006959/0.7282, allocations: 5.623 MB / 1.018 GB, free: 6.457 MB / 0.7917 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.837e-05/0.7283, allocations: 77.52 kB / 1.018 GB, free: 6.367 MB / 0.7917 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.005007/0.7333, allocations: 5.243 MB / 1.023 GB, free: 1.125 MB / 0.7917 GB Notification: Performance of collectPreVariables (initialization): time 0.0002624/0.7335, allocations: 77.7 kB / 1.023 GB, free: 1.043 MB / 0.7917 GB Notification: Performance of collectInitialEqns (initialization): time 0.001891/0.7354, allocations: 2.942 MB / 1.026 GB, free: 14.08 MB / 0.8073 GB Notification: Performance of collectInitialBindings (initialization): time 0.0007987/0.7362, allocations: 0.9878 MB / 1.027 GB, free: 13.08 MB / 0.8073 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0006622/0.7369, allocations: 0.7157 MB / 1.028 GB, free: 12.36 MB / 0.8073 GB Notification: Performance of setup shared object (initialization): time 6.962e-05/0.737, allocations: 305.1 kB / 1.028 GB, free: 12.06 MB / 0.8073 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.00166/0.7386, allocations: 1.678 MB / 1.03 GB, free: 10.38 MB / 0.8073 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002497/0.7411, allocations: 2.928 MB / 1.032 GB, free: 6.898 MB / 0.8073 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.004223/0.7453, allocations: 4.966 MB / 1.037 GB, free: 1.34 MB / 0.8073 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.697e-05/0.7454, allocations: 12 kB / 1.037 GB, free: 1.328 MB / 0.8073 GB Notification: Performance of matching and sorting (n=475) (initialization): time 0.006029/0.7514, allocations: 5.451 MB / 1.043 GB, free: 11.82 MB / 0.823 GB Notification: Performance of prepare postOptimizeDAE: time 3.077e-05/0.7514, allocations: 20 kB / 1.043 GB, free: 11.8 MB / 0.823 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.179e-05/0.7515, allocations: 40.84 kB / 1.043 GB, free: 11.77 MB / 0.823 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005975/0.7521, allocations: 423.2 kB / 1.043 GB, free: 11.35 MB / 0.823 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001568/0.7536, allocations: 0.858 MB / 1.044 GB, free: 10.49 MB / 0.823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003917/0.7575, allocations: 5.491 MB / 1.049 GB, free: 4.777 MB / 0.823 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002155/0.7597, allocations: 0.5275 MB / 1.05 GB, free: 4.246 MB / 0.823 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001795/0.7599, allocations: 180 kB / 1.05 GB, free: 4.07 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.002874/0.7627, allocations: 2.292 MB / 1.052 GB, free: 1.766 MB / 0.823 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0005922/0.7633, allocations: 0.4969 MB / 1.053 GB, free: 1.266 MB / 0.823 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004269/0.7676, allocations: 4.167 MB / 1.057 GB, free: 13.04 MB / 0.8386 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.784e-05/0.7676, allocations: 27.94 kB / 1.057 GB, free: 13.02 MB / 0.8386 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.603e-06/0.7676, allocations: 4 kB / 1.057 GB, free: 13.01 MB / 0.8386 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.003502/0.7711, allocations: 3.628 MB / 1.06 GB, free: 9.27 MB / 0.8386 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01225/0.7834, allocations: 10.3 MB / 1.07 GB, free: 14.8 MB / 0.8542 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.08e-05/0.7834, allocations: 4 kB / 1.07 GB, free: 14.8 MB / 0.8542 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001138/0.7845, allocations: 0.4992 MB / 1.071 GB, free: 14.3 MB / 0.8542 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004966/0.785, allocations: 368.4 kB / 1.071 GB, free: 13.93 MB / 0.8542 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.000128/0.7852, allocations: 79.95 kB / 1.071 GB, free: 13.86 MB / 0.8542 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003783/0.7889, allocations: 5.432 MB / 1.077 GB, free: 8.199 MB / 0.8542 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.711e-06/0.789, allocations: 15.88 kB / 1.077 GB, free: 8.184 MB / 0.8542 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.006682/0.7956, allocations: 6.265 MB / 1.083 GB, free: 1.75 MB / 0.8542 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001928/0.7976, allocations: 1.084 MB / 1.084 GB, free: 0.6602 MB / 0.8542 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0004051/0.798, allocations: 63.98 kB / 1.084 GB, free: 0.5977 MB / 0.8542 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001298/0.7993, allocations: 175.6 kB / 1.084 GB, free: 436 kB / 0.8542 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000201/0.7995, allocations: 185.5 kB / 1.084 GB, free: 248 kB / 0.8542 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001559/0.7996, allocations: 131.8 kB / 1.084 GB, free: 116 kB / 0.8542 GB Notification: Performance of sorting global known variables: time 0.004378/0.804, allocations: 3.843 MB / 1.088 GB, free: 12.28 MB / 0.8698 GB Notification: Performance of sort global known variables: time 8.1e-08/0.804, allocations: 0 / 1.088 GB, free: 12.28 MB / 0.8698 GB Notification: Performance of remove unused functions: time 0.004229/0.8082, allocations: 1.817 MB / 1.09 GB, free: 10.46 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.007015/0.8152, allocations: 7.191 MB / 1.097 GB, free: 3.098 MB / 0.8698 GB Notification: Performance of simCode: created initialization part: time 0.004769/0.82, allocations: 4.125 MB / 1.101 GB, free: 14.93 MB / 0.8855 GB Notification: Performance of simCode: created event and clocks part: time 7.544e-06/0.82, allocations: 4 kB / 1.101 GB, free: 14.92 MB / 0.8855 GB Notification: Performance of simCode: created simulation system equations: time 0.00169/0.8217, allocations: 1.945 MB / 1.103 GB, free: 12.95 MB / 0.8855 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.008061/0.8298, allocations: 3.448 MB / 1.106 GB, free: 9.613 MB / 0.8855 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.4176/1.247, allocations: 47.18 MB / 1.152 GB, free: 281.1 MB / 0.9167 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.003873/1.251, allocations: 4.305 MB / 1.157 GB, free: 280.3 MB / 0.9167 GB Notification: Performance of simCode: alias equations: time 0.004189/1.255, allocations: 1.851 MB / 1.158 GB, free: 280.2 MB / 0.9167 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.002147/1.258, allocations: 2.447 MB / 1.161 GB, free: 278.5 MB / 0.9167 GB Notification: Performance of SimCode: time 1.062e-06/1.258, allocations: 1.094 kB / 1.161 GB, free: 278.5 MB / 0.9167 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1462/1.404, allocations: 157.7 MB / 1.315 GB, free: 147.9 MB / 0.9167 GB Notification: Performance of buildModelFMU: Generate platform static: time 14.88/16.29, allocations: 7.562 kB / 1.315 GB, free: 147.9 MB / 0.9167 GB " [Timeout remaining time 644] (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 & python3 -m fmpy simulate --output-file IDEAS_dev_IDEAS.Fluid.Storage.Validation.StratifiedNonUniformInitial_res.csv --start-time 0 --stop-time 3600 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 1.44 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.386718328110874] Failed to read output from testmodel.py, exit status != 0: 16.4338794760406 16.440320459 15.791517657 Calling exit ...