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.00109/0.00109, allocations: 101.5 kB / 18.95 MB, free: 1.184 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.001156/0.001156, allocations: 213.2 kB / 22.24 MB, free: 3.59 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.9343/0.9343, allocations: 230.6 MB / 256 MB, free: 9.605 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.7781/0.7781, allocations: 203.8 MB / 0.5042 GB, free: 10.45 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.0008751/0.0008751, allocations: 66.39 kB / 0.7182 GB, free: 4.047 MB / 0.5261 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5495/0.5504, allocations: 102 MB / 0.8178 GB, free: 1.043 MB / 0.6042 GB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.Storage.Validation.StratifiedNonUniformInitial): time 0.04046/0.5908, allocations: 45.49 MB / 0.8622 GB, free: 0.9531 MB / 0.6355 GB Notification: Performance of NFInst.instExpressions: time 0.01903/0.6099, allocations: 12.95 MB / 0.8749 GB, free: 6.707 MB / 0.6511 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.002875/0.6127, allocations: 91.94 kB / 0.8749 GB, free: 6.66 MB / 0.6511 GB Notification: Performance of NFTyping.typeComponents: time 0.002633/0.6154, allocations: 0.804 MB / 0.8757 GB, free: 5.977 MB / 0.6511 GB Notification: Performance of NFTyping.typeBindings: time 0.00682/0.6222, allocations: 2.395 MB / 0.8781 GB, free: 4.07 MB / 0.6511 GB Notification: Performance of NFTyping.typeClassSections: time 0.003809/0.626, allocations: 1.38 MB / 0.8794 GB, free: 2.988 MB / 0.6511 GB Notification: Performance of NFFlatten.flatten: time 0.01635/0.6424, allocations: 20.37 MB / 0.8993 GB, free: 2.012 MB / 0.6667 GB Notification: Performance of NFFlatten.resolveConnections: time 0.008406/0.6508, allocations: 6.473 MB / 0.9056 GB, free: 11.42 MB / 0.6823 GB Notification: Performance of NFEvalConstants.evaluate: time 0.01341/0.6642, allocations: 6.939 MB / 0.9124 GB, free: 4.5 MB / 0.6823 GB Notification: Performance of NFSimplifyModel.simplify: time 0.01122/0.6754, allocations: 6.277 MB / 0.9185 GB, free: 14.2 MB / 0.698 GB Notification: Performance of NFPackage.collectConstants: time 0.003008/0.6784, allocations: 0.8438 MB / 0.9194 GB, free: 13.36 MB / 0.698 GB Notification: Performance of NFFlatten.collectFunctions: time 0.005416/0.6838, allocations: 1.479 MB / 0.9208 GB, free: 11.88 MB / 0.698 GB Notification: Performance of NFScalarize.scalarize: time 0.004106/0.6879, allocations: 2.212 MB / 0.923 GB, free: 9.656 MB / 0.698 GB Notification: Performance of NFVerifyModel.verify: time 0.01065/0.6986, allocations: 3.525 MB / 0.9264 GB, free: 6.117 MB / 0.698 GB Notification: Performance of NFConvertDAE.convert: time 0.01593/0.7145, allocations: 12.24 MB / 0.9384 GB, free: 9.84 MB / 0.7136 GB Notification: Performance of FrontEnd - DAE generated: time 1.044e-05/0.7145, allocations: 0 / 0.9384 GB, free: 9.84 MB / 0.7136 GB Notification: Performance of FrontEnd: time 3.346e-06/0.7145, allocations: 0 / 0.9384 GB, free: 9.84 MB / 0.7136 GB Notification: Performance of Transformations before backend: time 0.0005671/0.7151, allocations: 0 / 0.9384 GB, free: 9.84 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.01834/0.7334, allocations: 7.846 MB / 0.946 GB, free: 1.926 MB / 0.7136 GB Notification: Performance of prepare preOptimizeDAE: time 5.17e-05/0.7335, allocations: 12.03 kB / 0.946 GB, free: 1.914 MB / 0.7136 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.002054/0.7355, allocations: 0.768 MB / 0.9468 GB, free: 1.137 MB / 0.7136 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00305/0.7386, allocations: 0.8828 MB / 0.9476 GB, free: 256 kB / 0.7136 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00997/0.7485, allocations: 6.384 MB / 0.9539 GB, free: 9.785 MB / 0.7292 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002593/0.7488, allocations: 423.2 kB / 0.9543 GB, free: 9.371 MB / 0.7292 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001442/0.7502, allocations: 0.5351 MB / 0.9548 GB, free: 8.836 MB / 0.7292 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01415/0.7644, allocations: 9.142 MB / 0.9637 GB, free: 15.2 MB / 0.7448 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001368/0.7645, allocations: 19.83 kB / 0.9637 GB, free: 15.18 MB / 0.7448 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.001137/0.7657, allocations: 244 kB / 0.964 GB, free: 14.94 MB / 0.7448 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001288/0.7658, allocations: 167.9 kB / 0.9641 GB, free: 14.78 MB / 0.7448 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01282/0.7786, allocations: 6.508 MB / 0.9705 GB, free: 8.258 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.03492/0.8135, allocations: 23.34 MB / 0.9933 GB, free: 0.5156 MB / 0.7605 GB Notification: Performance of preOpt comSubExp (simulation): time 0.004661/0.8182, allocations: 3.429 MB / 0.9966 GB, free: 13.08 MB / 0.7761 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.003032/0.8212, allocations: 2.575 MB / 0.9992 GB, free: 10.49 MB / 0.7761 GB Notification: Performance of preOpt evalFunc (simulation): time 0.000463/0.8217, allocations: 150 kB / 0.9993 GB, free: 10.34 MB / 0.7761 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 7.715e-05/0.8218, allocations: 64.67 kB / 0.9994 GB, free: 10.27 MB / 0.7761 GB Notification: Performance of pre-optimization done (n=267): time 4.849e-06/0.8218, allocations: 0 / 0.9994 GB, free: 10.27 MB / 0.7761 GB Notification: Performance of matching and sorting (n=267): time 0.007852/0.8296, allocations: 5.619 MB / 1.005 GB, free: 4.59 MB / 0.7761 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.429e-05/0.8297, allocations: 77.52 kB / 1.005 GB, free: 4.5 MB / 0.7761 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.006096/0.8358, allocations: 5.317 MB / 1.01 GB, free: 15.18 MB / 0.7917 GB Notification: Performance of collectPreVariables (initialization): time 0.0005677/0.8363, allocations: 81.7 kB / 1.01 GB, free: 15.1 MB / 0.7917 GB Notification: Performance of collectInitialEqns (initialization): time 0.001864/0.8382, allocations: 2.93 MB / 1.013 GB, free: 12.14 MB / 0.7917 GB Notification: Performance of collectInitialBindings (initialization): time 0.001384/0.8396, allocations: 0.9878 MB / 1.014 GB, free: 11.15 MB / 0.7917 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0007472/0.8403, allocations: 0.7195 MB / 1.015 GB, free: 10.42 MB / 0.7917 GB Notification: Performance of setup shared object (initialization): time 7.599e-05/0.8404, allocations: 309.1 kB / 1.015 GB, free: 10.12 MB / 0.7917 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001834/0.8422, allocations: 1.67 MB / 1.017 GB, free: 8.445 MB / 0.7917 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002395/0.8446, allocations: 3.036 MB / 1.02 GB, free: 4.832 MB / 0.7917 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.004426/0.8491, allocations: 4.962 MB / 1.024 GB, free: 15.27 MB / 0.8073 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.513e-05/0.8491, allocations: 12 kB / 1.024 GB, free: 15.26 MB / 0.8073 GB Notification: Performance of matching and sorting (n=475) (initialization): time 0.00679/0.8559, allocations: 5.44 MB / 1.03 GB, free: 9.77 MB / 0.8073 GB Notification: Performance of prepare postOptimizeDAE: time 3.762e-05/0.8559, allocations: 23.98 kB / 1.03 GB, free: 9.746 MB / 0.8073 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.632e-05/0.8559, allocations: 40 kB / 1.03 GB, free: 9.707 MB / 0.8073 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006669/0.8566, allocations: 432.2 kB / 1.03 GB, free: 9.281 MB / 0.8073 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001855/0.8585, allocations: 0.8617 MB / 1.031 GB, free: 8.422 MB / 0.8073 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00414/0.8626, allocations: 5.433 MB / 1.036 GB, free: 2.77 MB / 0.8073 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003767/0.8664, allocations: 0.5237 MB / 1.037 GB, free: 2.242 MB / 0.8073 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0006442/0.867, allocations: 180 kB / 1.037 GB, free: 2.066 MB / 0.8073 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.003863/0.8709, allocations: 2.288 MB / 1.039 GB, free: 15.76 MB / 0.823 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001365/0.8722, allocations: 0.5008 MB / 1.04 GB, free: 15.26 MB / 0.823 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00514/0.8774, allocations: 4.17 MB / 1.044 GB, free: 11.04 MB / 0.823 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.689e-05/0.8774, allocations: 28 kB / 1.044 GB, free: 11.01 MB / 0.823 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.252e-05/0.8774, allocations: 11.98 kB / 1.044 GB, free: 11 MB / 0.823 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.003444/0.8809, allocations: 3.616 MB / 1.047 GB, free: 7.266 MB / 0.823 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01386/0.8947, allocations: 9.545 MB / 1.057 GB, free: 13.56 MB / 0.8386 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.14e-05/0.8947, allocations: 4 kB / 1.057 GB, free: 13.55 MB / 0.8386 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001173/0.8959, allocations: 0.4954 MB / 1.057 GB, free: 13.06 MB / 0.8386 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.000577/0.8965, allocations: 373.4 kB / 1.058 GB, free: 12.69 MB / 0.8386 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001527/0.8966, allocations: 75.95 kB / 1.058 GB, free: 12.61 MB / 0.8386 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003911/0.9006, allocations: 5.372 MB / 1.063 GB, free: 7.016 MB / 0.8386 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.518e-06/0.9006, allocations: 7.938 kB / 1.063 GB, free: 7.008 MB / 0.8386 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.007587/0.9081, allocations: 6.257 MB / 1.069 GB, free: 0.582 MB / 0.8386 GB Notification: Performance of postOpt removeConstants (simulation): time 0.003321/0.9115, allocations: 1.08 MB / 1.07 GB, free: 15.49 MB / 0.8542 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001521/0.913, allocations: 63.98 kB / 1.07 GB, free: 15.43 MB / 0.8542 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.003391/0.9164, allocations: 175.8 kB / 1.07 GB, free: 15.26 MB / 0.8542 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003149/0.9167, allocations: 189.5 kB / 1.071 GB, free: 15.07 MB / 0.8542 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002848/0.917, allocations: 123.9 kB / 1.071 GB, free: 14.95 MB / 0.8542 GB Notification: Performance of sorting global known variables: time 0.005816/0.9228, allocations: 3.851 MB / 1.074 GB, free: 11.11 MB / 0.8542 GB Notification: Performance of sort global known variables: time 3.91e-07/0.9228, allocations: 0 / 1.074 GB, free: 11.11 MB / 0.8542 GB Notification: Performance of remove unused functions: time 0.005599/0.9284, allocations: 1.825 MB / 1.076 GB, free: 9.285 MB / 0.8542 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.008312/0.9367, allocations: 7.181 MB / 1.083 GB, free: 1.93 MB / 0.8542 GB Notification: Performance of simCode: created initialization part: time 0.005197/0.9419, allocations: 4.124 MB / 1.087 GB, free: 13.76 MB / 0.8698 GB Notification: Performance of simCode: created event and clocks part: time 1.081e-05/0.9419, allocations: 4 kB / 1.087 GB, free: 13.75 MB / 0.8698 GB Notification: Performance of simCode: created simulation system equations: time 0.002033/0.944, allocations: 1.935 MB / 1.089 GB, free: 11.79 MB / 0.8698 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.01054/0.9545, allocations: 3.449 MB / 1.092 GB, free: 8.461 MB / 0.8698 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0641/1.019, allocations: 47.19 MB / 1.139 GB, free: 7.582 MB / 0.9167 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.003454/1.022, allocations: 3.812 MB / 1.142 GB, free: 3.738 MB / 0.9167 GB Notification: Performance of simCode: alias equations: time 0.004237/1.026, allocations: 1.846 MB / 1.144 GB, free: 1.891 MB / 0.9167 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.3558/1.382, allocations: 2.444 MB / 1.146 GB, free: 281.8 MB / 0.9167 GB Notification: Performance of SimCode: time 1.573e-06/1.382, allocations: 0.5312 kB / 1.146 GB, free: 281.8 MB / 0.9167 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1455/1.528, allocations: 164.8 MB / 1.307 GB, free: 153.7 MB / 0.9167 GB Notification: Performance of buildModelFMU: Generate platform static: time 10.69/12.22, allocations: 8.984 kB / 1.307 GB, free: 153.7 MB / 0.9167 GB " [Timeout remaining time 648] (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: 15.315995503682643] Failed to read output from testmodel.py, exit status != 0: 12.363624521065503 12.369914059 11.653409822 Calling exit ...