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.001378/0.001378, allocations: 99.64 kB / 18.95 MB, free: 2.668 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.001527/0.001527, allocations: 210.7 kB / 22.25 MB, free: 5.262 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.46/1.46, allocations: 230.6 MB / 256 MB, free: 7.789 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.8428/0.8428, allocations: 134 MB / 446.4 MB, free: 9.969 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.002044/0.002044, allocations: 67.89 kB / 0.6185 GB, free: 6.891 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1816/0.1837, allocations: 85.91 MB / 0.7024 GB, free: 1.062 MB / 0.5137 GB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.Storage.Validation.StratifiedNonUniformInitial): time 0.05235/0.236, allocations: 45.39 MB / 0.7467 GB, free: 3.512 MB / 0.5606 GB Notification: Performance of NFInst.instExpressions: time 0.4555/0.6915, allocations: 12.92 MB / 0.7593 GB, free: 4.617 MB / 0.5606 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.004486/0.696, allocations: 91.44 kB / 0.7594 GB, free: 4.617 MB / 0.5606 GB Notification: Performance of NFTyping.typeComponents: time 0.003726/0.6997, allocations: 0.8013 MB / 0.7602 GB, free: 4.617 MB / 0.5606 GB Notification: Performance of NFTyping.typeBindings: time 0.0106/0.7103, allocations: 2.392 MB / 0.7625 GB, free: 4.523 MB / 0.5606 GB Notification: Performance of NFTyping.typeClassSections: time 0.004501/0.7148, allocations: 1.347 MB / 0.7638 GB, free: 4.5 MB / 0.5606 GB Notification: Performance of NFFlatten.flatten: time 0.02695/0.7418, allocations: 20.31 MB / 0.7837 GB, free: 14.72 MB / 0.5762 GB Notification: Performance of NFFlatten.resolveConnections: time 0.01334/0.7551, allocations: 6.504 MB / 0.79 GB, free: 11.71 MB / 0.5762 GB Notification: Performance of NFEvalConstants.evaluate: time 0.01782/0.7729, allocations: 6.747 MB / 0.7966 GB, free: 9.105 MB / 0.5762 GB Notification: Performance of NFSimplifyModel.simplify: time 0.01385/0.7868, allocations: 6.372 MB / 0.8028 GB, free: 5.688 MB / 0.5762 GB Notification: Performance of NFPackage.collectConstants: time 0.003043/0.7898, allocations: 0.8446 MB / 0.8036 GB, free: 5.688 MB / 0.5762 GB Notification: Performance of NFFlatten.collectFunctions: time 0.008093/0.7979, allocations: 1.477 MB / 0.8051 GB, free: 5.344 MB / 0.5762 GB Notification: Performance of NFScalarize.scalarize: time 0.004707/0.8026, allocations: 2.205 MB / 0.8072 GB, free: 3.172 MB / 0.5762 GB Notification: Performance of NFVerifyModel.verify: time 0.011/0.8136, allocations: 3.51 MB / 0.8107 GB, free: 15.68 MB / 0.5919 GB Notification: Performance of NFConvertDAE.convert: time 0.01764/0.8313, allocations: 12.2 MB / 0.8226 GB, free: 3.762 MB / 0.5919 GB Notification: Performance of FrontEnd - DAE generated: time 8.135e-06/0.8313, allocations: 0 / 0.8226 GB, free: 3.762 MB / 0.5919 GB Notification: Performance of FrontEnd: time 2.094e-06/0.8313, allocations: 0 / 0.8226 GB, free: 3.762 MB / 0.5919 GB Notification: Performance of Transformations before backend: time 0.0004177/0.8317, allocations: 0 / 0.8226 GB, free: 3.762 MB / 0.5919 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.02077/0.8525, allocations: 7.86 MB / 0.8303 GB, free: 11.9 MB / 0.6075 GB Notification: Performance of prepare preOptimizeDAE: time 5.554e-05/0.8525, allocations: 12.03 kB / 0.8303 GB, free: 11.89 MB / 0.6075 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.002152/0.8547, allocations: 0.7708 MB / 0.831 GB, free: 11.11 MB / 0.6075 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00396/0.8586, allocations: 0.875 MB / 0.8319 GB, free: 10.23 MB / 0.6075 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0154/0.874, allocations: 6.377 MB / 0.8381 GB, free: 3.91 MB / 0.6075 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0004173/0.8744, allocations: 421 kB / 0.8385 GB, free: 3.5 MB / 0.6075 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001864/0.8763, allocations: 0.5412 MB / 0.839 GB, free: 2.961 MB / 0.6075 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01739/0.8937, allocations: 9.133 MB / 0.848 GB, free: 9.344 MB / 0.6231 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001552/0.8938, allocations: 15.89 kB / 0.848 GB, free: 9.328 MB / 0.6231 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0006616/0.8945, allocations: 235.1 kB / 0.8482 GB, free: 9.102 MB / 0.6231 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.000179/0.8947, allocations: 171.9 kB / 0.8484 GB, free: 8.934 MB / 0.6231 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01303/0.9077, allocations: 6.512 MB / 0.8547 GB, free: 2.41 MB / 0.6231 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.04296/0.9507, allocations: 23.3 MB / 0.8775 GB, free: 10.96 MB / 0.6544 GB Notification: Performance of preOpt comSubExp (simulation): time 0.005775/0.9565, allocations: 3.427 MB / 0.8808 GB, free: 7.559 MB / 0.6544 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.003898/0.9604, allocations: 2.577 MB / 0.8833 GB, free: 4.98 MB / 0.6544 GB Notification: Performance of preOpt evalFunc (simulation): time 0.000644/0.961, allocations: 150 kB / 0.8835 GB, free: 4.832 MB / 0.6544 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 8.958e-05/0.9611, allocations: 68.67 kB / 0.8835 GB, free: 4.754 MB / 0.6544 GB Notification: Performance of pre-optimization done (n=267): time 5.15e-06/0.9611, allocations: 0 / 0.8835 GB, free: 4.754 MB / 0.6544 GB Notification: Performance of matching and sorting (n=267): time 0.01102/0.9721, allocations: 5.618 MB / 0.889 GB, free: 15.08 MB / 0.67 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.994e-05/0.9722, allocations: 81.52 kB / 0.8891 GB, free: 14.98 MB / 0.67 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.008638/0.9808, allocations: 5.317 MB / 0.8943 GB, free: 9.668 MB / 0.67 GB Notification: Performance of collectPreVariables (initialization): time 0.0006731/0.9815, allocations: 81.64 kB / 0.8944 GB, free: 9.582 MB / 0.67 GB Notification: Performance of collectInitialEqns (initialization): time 0.002893/0.9844, allocations: 2.93 MB / 0.8972 GB, free: 6.645 MB / 0.67 GB Notification: Performance of collectInitialBindings (initialization): time 0.001523/0.9859, allocations: 0.9857 MB / 0.8982 GB, free: 5.672 MB / 0.67 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001096/0.987, allocations: 0.7195 MB / 0.8989 GB, free: 4.945 MB / 0.67 GB Notification: Performance of setup shared object (initialization): time 0.0001297/0.9871, allocations: 313 kB / 0.8992 GB, free: 4.637 MB / 0.67 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002616/0.9898, allocations: 1.678 MB / 0.9008 GB, free: 2.957 MB / 0.67 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.003661/0.9934, allocations: 3.03 MB / 0.9038 GB, free: 15.35 MB / 0.6856 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.006729/1, allocations: 4.968 MB / 0.9086 GB, free: 9.805 MB / 0.6856 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.183e-05/1, allocations: 12 kB / 0.9087 GB, free: 9.793 MB / 0.6856 GB Notification: Performance of matching and sorting (n=475) (initialization): time 0.009536/1.01, allocations: 5.444 MB / 0.914 GB, free: 4.297 MB / 0.6856 GB Notification: Performance of prepare postOptimizeDAE: time 4.954e-05/1.01, allocations: 26.03 kB / 0.914 GB, free: 4.273 MB / 0.6856 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.398e-05/1.01, allocations: 40 kB / 0.914 GB, free: 4.234 MB / 0.6856 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.000993/1.011, allocations: 427.1 kB / 0.9144 GB, free: 3.812 MB / 0.6856 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002984/1.014, allocations: 0.858 MB / 0.9153 GB, free: 2.953 MB / 0.6856 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.006263/1.02, allocations: 5.408 MB / 0.9206 GB, free: 13.34 MB / 0.7012 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.005522/1.026, allocations: 0.5355 MB / 0.9211 GB, free: 12.8 MB / 0.7012 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0006797/1.026, allocations: 172 kB / 0.9213 GB, free: 12.63 MB / 0.7012 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.004422/1.031, allocations: 2.286 MB / 0.9235 GB, free: 10.33 MB / 0.7012 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001838/1.033, allocations: 0.5046 MB / 0.924 GB, free: 9.824 MB / 0.7012 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.008138/1.041, allocations: 4.172 MB / 0.9281 GB, free: 5.602 MB / 0.7012 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.638e-05/1.041, allocations: 35.98 kB / 0.9281 GB, free: 5.566 MB / 0.7012 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.317e-06/1.041, allocations: 8 kB / 0.9281 GB, free: 5.559 MB / 0.7012 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.005416/1.046, allocations: 3.618 MB / 0.9316 GB, free: 1.828 MB / 0.7012 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.02359/1.07, allocations: 9.542 MB / 0.9409 GB, free: 8.184 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.84e-05/1.07, allocations: 7.938 kB / 0.941 GB, free: 8.176 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002278/1.072, allocations: 0.4998 MB / 0.9414 GB, free: 7.676 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0008898/1.073, allocations: 375.9 kB / 0.9418 GB, free: 7.305 MB / 0.7169 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002584/1.073, allocations: 79.95 kB / 0.9419 GB, free: 7.227 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.006085/1.079, allocations: 5.358 MB / 0.9471 GB, free: 1.66 MB / 0.7169 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.257e-05/1.079, allocations: 11.88 kB / 0.9471 GB, free: 1.648 MB / 0.7169 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01049/1.09, allocations: 6.269 MB / 0.9532 GB, free: 11.21 MB / 0.7325 GB Notification: Performance of postOpt removeConstants (simulation): time 0.003873/1.094, allocations: 1.077 MB / 0.9543 GB, free: 10.13 MB / 0.7325 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001359/1.095, allocations: 59.98 kB / 0.9544 GB, free: 10.07 MB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0034/1.098, allocations: 179.8 kB / 0.9545 GB, free: 9.898 MB / 0.7325 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003662/1.099, allocations: 189.5 kB / 0.9547 GB, free: 9.715 MB / 0.7325 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0003641/1.099, allocations: 131.9 kB / 0.9548 GB, free: 9.586 MB / 0.7325 GB Notification: Performance of sorting global known variables: time 0.007651/1.107, allocations: 3.851 MB / 0.9586 GB, free: 5.75 MB / 0.7325 GB Notification: Performance of sort global known variables: time 1.1e-07/1.107, allocations: 0 / 0.9586 GB, free: 5.75 MB / 0.7325 GB Notification: Performance of remove unused functions: time 0.007338/1.114, allocations: 1.809 MB / 0.9604 GB, free: 3.938 MB / 0.7325 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.01216/1.126, allocations: 7.18 MB / 0.9674 GB, free: 12.61 MB / 0.7481 GB Notification: Performance of simCode: created initialization part: time 0.007501/1.134, allocations: 4.14 MB / 0.9714 GB, free: 8.434 MB / 0.7481 GB Notification: Performance of simCode: created event and clocks part: time 1.598e-05/1.134, allocations: 4 kB / 0.9714 GB, free: 8.43 MB / 0.7481 GB Notification: Performance of simCode: created simulation system equations: time 0.003251/1.137, allocations: 1.918 MB / 0.9733 GB, free: 6.484 MB / 0.7481 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.01778/1.155, allocations: 3.454 MB / 0.9767 GB, free: 3.145 MB / 0.7481 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.1042/1.259, allocations: 47.18 MB / 1.023 GB, free: 2.312 MB / 0.795 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.007059/1.266, allocations: 3.809 MB / 1.026 GB, free: 14.46 MB / 0.8106 GB Notification: Performance of simCode: alias equations: time 0.006748/1.273, allocations: 1.856 MB / 1.028 GB, free: 12.61 MB / 0.8106 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.005734/1.279, allocations: 2.444 MB / 1.031 GB, free: 10.16 MB / 0.8106 GB Notification: Performance of SimCode: time 1.242e-06/1.279, allocations: 4 kB / 1.031 GB, free: 10.16 MB / 0.8106 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.6836/1.962, allocations: 164.8 MB / 1.192 GB, free: 214.5 MB / 0.8419 GB Notification: Performance of buildModelFMU: Generate platform static: time 18.99/20.96, allocations: 10.91 kB / 1.192 GB, free: 214.5 MB / 0.8419 GB " [Timeout remaining time 639] (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 & python3 -m fmpy simulate --output-file IDEAS_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_IDEAS_Fluid_Storage_Validation_StratifiedNonUniformInitial.fmu > IDEAS_IDEAS.Fluid.Storage.Validation.StratifiedNonUniformInitial.pipe 2>&1) [Timeout 52.5] [Calling sys.exit(0), Time elapsed: 24.782059781719] Failed to read output from testmodel.py, exit status != 0: 21.16090444009751 21.17947501 20.34434419 Calling exit ...