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.001472/0.001472, allocations: 116.8 kB / 17.16 MB, free: 5.895 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.001484/0.001484, allocations: 212 kB / 20.13 MB, free: 2.949 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.439/1.439, allocations: 230.6 MB / 253.5 MB, free: 15.11 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.8683/0.8683, allocations: 133.9 MB / 443.5 MB, free: 13.91 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.002022/0.002022, allocations: 67.98 kB / 0.6141 GB, free: 38.28 MB / 0.4981 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1579/0.1599, allocations: 85.85 MB / 0.6979 GB, free: 13.67 MB / 0.5137 GB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.Storage.Validation.StratifiedNonUniformInitial): time 0.05387/0.2138, allocations: 49.85 MB / 0.7466 GB, free: 12.9 MB / 0.5606 GB Notification: Performance of NFInst.instExpressions: time 0.0203/0.2341, allocations: 13.89 MB / 0.7602 GB, free: 14.97 MB / 0.5762 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.002781/0.2369, allocations: 91.25 kB / 0.7603 GB, free: 14.88 MB / 0.5762 GB Notification: Performance of NFTyping.typeComponents: time 0.002889/0.2398, allocations: 0.8382 MB / 0.7611 GB, free: 14.04 MB / 0.5762 GB Notification: Performance of NFTyping.typeBindings: time 0.007419/0.2472, allocations: 2.355 MB / 0.7634 GB, free: 11.67 MB / 0.5762 GB Notification: Performance of NFTyping.typeClassSections: time 0.004319/0.2515, allocations: 1.313 MB / 0.7647 GB, free: 10.37 MB / 0.5762 GB Notification: Performance of NFFlatten.flatten: time 0.02227/0.2738, allocations: 19.57 MB / 0.7838 GB, free: 6.742 MB / 0.5919 GB Notification: Performance of NFFlatten.resolveConnections: time 0.01261/0.2864, allocations: 8.228 MB / 0.7918 GB, free: 14.39 MB / 0.6075 GB Notification: Performance of NFEvalConstants.evaluate: time 0.01527/0.3017, allocations: 6.701 MB / 0.7984 GB, free: 7.715 MB / 0.6075 GB Notification: Performance of NFSimplifyModel.simplify: time 0.01153/0.3132, allocations: 6.043 MB / 0.8043 GB, free: 1.648 MB / 0.6075 GB Notification: Performance of NFPackage.collectConstants: time 0.003125/0.3163, allocations: 0.8438 MB / 0.8051 GB, free: 0.8047 MB / 0.6075 GB Notification: Performance of NFFlatten.collectFunctions: time 0.007547/0.3239, allocations: 1.659 MB / 0.8067 GB, free: 15.14 MB / 0.6231 GB Notification: Performance of NFScalarize.scalarize: time 0.004457/0.3283, allocations: 2.196 MB / 0.8088 GB, free: 12.94 MB / 0.6231 GB Notification: Performance of NFVerifyModel.verify: time 0.0096/0.3379, allocations: 4.295 MB / 0.813 GB, free: 8.629 MB / 0.6231 GB Notification: Performance of NFConvertDAE.convert: time 0.02036/0.3583, allocations: 12.17 MB / 0.8249 GB, free: 12.42 MB / 0.6387 GB Notification: Performance of FrontEnd - DAE generated: time 1.261e-05/0.3583, allocations: 4 kB / 0.8249 GB, free: 12.42 MB / 0.6387 GB Notification: Performance of FrontEnd: time 2.935e-06/0.3583, allocations: 0 / 0.8249 GB, free: 12.42 MB / 0.6387 GB Notification: Performance of Transformations before backend: time 0.0005886/0.3589, allocations: 0 / 0.8249 GB, free: 12.42 MB / 0.6387 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.02425/0.3832, allocations: 7.925 MB / 0.8327 GB, free: 4.406 MB / 0.6387 GB Notification: Performance of prepare preOptimizeDAE: time 5.342e-05/0.3832, allocations: 13.7 kB / 0.8327 GB, free: 4.395 MB / 0.6387 GB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 0.0001858/0.3834, allocations: 147.2 kB / 0.8328 GB, free: 4.25 MB / 0.6387 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.002878/0.3863, allocations: 0.7642 MB / 0.8336 GB, free: 3.477 MB / 0.6387 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.005218/0.3915, allocations: 0.879 MB / 0.8344 GB, free: 2.594 MB / 0.6387 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0139/0.4054, allocations: 6.352 MB / 0.8406 GB, free: 12.18 MB / 0.6544 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0004682/0.4059, allocations: 415 kB / 0.841 GB, free: 11.78 MB / 0.6544 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001944/0.4078, allocations: 0.5351 MB / 0.8415 GB, free: 11.24 MB / 0.6544 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01922/0.427, allocations: 8.072 MB / 0.8494 GB, free: 2.934 MB / 0.6544 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001441/0.4272, allocations: 19.83 kB / 0.8494 GB, free: 2.914 MB / 0.6544 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0007453/0.4279, allocations: 235.9 kB / 0.8497 GB, free: 2.684 MB / 0.6544 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001815/0.4281, allocations: 171.9 kB / 0.8498 GB, free: 2.516 MB / 0.6544 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01361/0.4417, allocations: 6.524 MB / 0.8562 GB, free: 11.98 MB / 0.67 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.4043/0.846, allocations: 31.24 MB / 0.8867 GB, free: 134.5 MB / 0.67 GB Notification: Performance of preOpt comSubExp (simulation): time 0.004936/0.851, allocations: 3.445 MB / 0.8901 GB, free: 133.2 MB / 0.67 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.002959/0.8539, allocations: 2.583 MB / 0.8926 GB, free: 132 MB / 0.67 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0007412/0.8547, allocations: 0.8288 MB / 0.8934 GB, free: 131.1 MB / 0.67 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.741e-05/0.8547, allocations: 65.95 kB / 0.8935 GB, free: 131.1 MB / 0.67 GB Notification: Performance of pre-optimization done (n=267): time 4.478e-06/0.8547, allocations: 3.969 kB / 0.8935 GB, free: 131.1 MB / 0.67 GB Notification: Performance of matching and sorting (n=267): time 0.009425/0.8642, allocations: 5.779 MB / 0.8991 GB, free: 128.1 MB / 0.67 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.102e-05/0.8642, allocations: 80.28 kB / 0.8992 GB, free: 128 MB / 0.67 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.006631/0.8708, allocations: 5.235 MB / 0.9043 GB, free: 125.3 MB / 0.67 GB Notification: Performance of collectPreVariables (initialization): time 0.0006583/0.8715, allocations: 79.33 kB / 0.9044 GB, free: 125.3 MB / 0.67 GB Notification: Performance of collectInitialEqns (initialization): time 0.001775/0.8733, allocations: 2.936 MB / 0.9073 GB, free: 123 MB / 0.67 GB Notification: Performance of collectInitialBindings (initialization): time 0.001043/0.8743, allocations: 0.9738 MB / 0.9082 GB, free: 122.3 MB / 0.67 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0008217/0.8751, allocations: 0.721 MB / 0.9089 GB, free: 121.9 MB / 0.67 GB Notification: Performance of setup shared object (initialization): time 4.223e-05/0.8752, allocations: 301.1 kB / 0.9092 GB, free: 121.6 MB / 0.67 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001964/0.8771, allocations: 1.68 MB / 0.9108 GB, free: 120.5 MB / 0.67 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002315/0.8795, allocations: 2.932 MB / 0.9137 GB, free: 117.1 MB / 0.67 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.004429/0.8839, allocations: 4.962 MB / 0.9185 GB, free: 111.6 MB / 0.67 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.741e-05/0.8839, allocations: 15.94 kB / 0.9186 GB, free: 111.6 MB / 0.67 GB Notification: Performance of matching and sorting (n=475) (initialization): time 0.007375/0.8913, allocations: 5.446 MB / 0.9239 GB, free: 106.1 MB / 0.67 GB Notification: Performance of prepare postOptimizeDAE: time 3.735e-05/0.8913, allocations: 24 kB / 0.9239 GB, free: 106 MB / 0.67 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.91e-05/0.8914, allocations: 40 kB / 0.9239 GB, free: 106 MB / 0.67 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0008356/0.8922, allocations: 420.4 kB / 0.9243 GB, free: 105.6 MB / 0.67 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002641/0.8948, allocations: 0.8619 MB / 0.9252 GB, free: 104.7 MB / 0.67 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004135/0.899, allocations: 5.719 MB / 0.9308 GB, free: 98.78 MB / 0.67 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.004309/0.9033, allocations: 0.5389 MB / 0.9313 GB, free: 98.35 MB / 0.67 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0004417/0.9037, allocations: 172 kB / 0.9315 GB, free: 98.18 MB / 0.67 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.003366/0.9071, allocations: 2.29 MB / 0.9337 GB, free: 95.91 MB / 0.67 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001394/0.9085, allocations: 0.4969 MB / 0.9342 GB, free: 95.41 MB / 0.67 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.005667/0.9141, allocations: 4.17 MB / 0.9383 GB, free: 91.19 MB / 0.67 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.023e-05/0.9142, allocations: 27.98 kB / 0.9383 GB, free: 91.16 MB / 0.67 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.596e-06/0.9142, allocations: 4 kB / 0.9383 GB, free: 91.16 MB / 0.67 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.003803/0.918, allocations: 3.61 MB / 0.9418 GB, free: 87.43 MB / 0.67 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01565/0.9336, allocations: 10.26 MB / 0.9518 GB, free: 77.11 MB / 0.67 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.12e-05/0.9336, allocations: 7.938 kB / 0.9518 GB, free: 77.1 MB / 0.67 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001892/0.9355, allocations: 0.5038 MB / 0.9523 GB, free: 76.6 MB / 0.67 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0006944/0.9362, allocations: 376 kB / 0.9527 GB, free: 76.23 MB / 0.67 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001667/0.9364, allocations: 75.97 kB / 0.9528 GB, free: 76.16 MB / 0.67 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.004004/0.9404, allocations: 5.644 MB / 0.9583 GB, free: 70.27 MB / 0.67 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.021e-06/0.9404, allocations: 8.625 kB / 0.9583 GB, free: 70.26 MB / 0.67 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00764/0.948, allocations: 6.258 MB / 0.9644 GB, free: 63.84 MB / 0.67 GB Notification: Performance of postOpt removeConstants (simulation): time 0.002586/0.9506, allocations: 1.119 MB / 0.9655 GB, free: 62.74 MB / 0.67 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.00103/0.9517, allocations: 63.98 kB / 0.9655 GB, free: 62.68 MB / 0.67 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002787/0.9544, allocations: 179.3 kB / 0.9657 GB, free: 62.5 MB / 0.67 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002968/0.9547, allocations: 181.6 kB / 0.9659 GB, free: 62.33 MB / 0.67 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002205/0.955, allocations: 127.9 kB / 0.966 GB, free: 62.2 MB / 0.67 GB Notification: Performance of sorting global known variables: time 0.004441/0.9594, allocations: 3.839 MB / 0.9698 GB, free: 58.38 MB / 0.67 GB Notification: Performance of sort global known variables: time 2.3e-07/0.9594, allocations: 0 / 0.9698 GB, free: 58.38 MB / 0.67 GB Notification: Performance of remove unused functions: time 0.005173/0.9646, allocations: 1.819 MB / 0.9715 GB, free: 56.61 MB / 0.67 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.008093/0.9727, allocations: 7.173 MB / 0.9785 GB, free: 49.29 MB / 0.67 GB Notification: Performance of simCode: created initialization part: time 0.005238/0.9779, allocations: 4.126 MB / 0.9826 GB, free: 45.12 MB / 0.67 GB Notification: Performance of simCode: created event and clocks part: time 9.237e-06/0.9779, allocations: 4 kB / 0.9826 GB, free: 45.12 MB / 0.67 GB Notification: Performance of simCode: created simulation system equations: time 0.002225/0.9801, allocations: 1.934 MB / 0.9845 GB, free: 43.16 MB / 0.67 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.01469/0.9948, allocations: 3.457 MB / 0.9878 GB, free: 39.95 MB / 0.67 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.06477/1.06, allocations: 47.1 MB / 1.034 GB, free: 7.172 MB / 0.6856 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.005046/1.065, allocations: 4.303 MB / 1.038 GB, free: 2.836 MB / 0.6856 GB Notification: Performance of simCode: alias equations: time 0.005867/1.071, allocations: 1.842 MB / 1.04 GB, free: 1.004 MB / 0.6856 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.00481/1.075, allocations: 2.453 MB / 1.042 GB, free: 14.57 MB / 0.7012 GB Notification: Performance of SimCode: time 1.092e-06/1.075, allocations: 0 / 1.042 GB, free: 14.57 MB / 0.7012 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.621/1.696, allocations: 154.6 MB / 1.193 GB, free: 288.5 MB / 0.8262 GB Notification: Performance of buildModelFMU: Generate platform static: time 20.62/22.32, allocations: 11.06 kB / 1.193 GB, free: 288.5 MB / 0.8262 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: 26.526157770014834] Failed to read output from testmodel.py, exit status != 0: 22.829945698031224 22.561894381 22.199280898 Calling exit ...