Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr BuildingSystems_BuildingSystems.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.001628/0.001628, 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.001537/0.001537, allocations: 213.3 kB / 22.24 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.4/1.4, allocations: 230.6 MB / 256 MB, free: 7.812 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 master/package.mo): time 0.00246/0.00246, allocations: 301.9 kB / 312.7 MB, free: 2.621 MB / 238.1 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems master/package.mo): time 1.202/1.202, allocations: 180.6 MB / 0.5369 GB, free: 14.5 MB / 382.1 MB " [Timeout remaining time 179] Using package BuildingSystems with version 2.0.0-beta (/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems master/package.mo) Using package NcDataReader2 with version 2.5.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 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(BuildingSystems.Fluid.Storage.Validation.StratifiedNonUniformInitial,fileNamePrefix="BuildingSystems_BuildingSystems_Fluid_Storage_Validation_StratifiedNonUniformInitial",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(BuildingSystems.Fluid.Storage.Validation.StratifiedNonUniformInitial,fileNamePrefix="BuildingSystems_BuildingSystems_Fluid_Storage_Validation_StratifiedNonUniformInitial",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: NcDataReader2 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: BuildingSystems 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.00309/0.00309, allocations: 99.59 kB / 0.7395 GB, free: 28.3 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1935/0.1965, allocations: 95.39 MB / 0.8326 GB, free: 8.363 MB / 0.5763 GB Notification: Performance of NFInst.instantiate(BuildingSystems.Fluid.Storage.Validation.StratifiedNonUniformInitial): time 0.05148/0.248, allocations: 45.39 MB / 0.877 GB, free: 10.8 MB / 0.6231 GB Notification: Performance of NFInst.instExpressions: time 0.01975/0.2678, allocations: 12.94 MB / 0.8896 GB, free: 13.83 MB / 0.6388 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.003158/0.2709, allocations: 95.25 kB / 0.8897 GB, free: 13.74 MB / 0.6388 GB Notification: Performance of NFTyping.typeComponents: time 0.002591/0.2735, allocations: 0.7993 MB / 0.8905 GB, free: 12.93 MB / 0.6388 GB Notification: Performance of NFTyping.typeBindings: time 0.007472/0.281, allocations: 2.406 MB / 0.8928 GB, free: 10.52 MB / 0.6388 GB Notification: Performance of NFTyping.typeClassSections: time 0.004248/0.2852, allocations: 1.34 MB / 0.8941 GB, free: 9.184 MB / 0.6388 GB Notification: Performance of NFFlatten.flatten: time 0.02312/0.3084, allocations: 20.33 MB / 0.914 GB, free: 4.805 MB / 0.6544 GB Notification: Performance of NFFlatten.resolveConnections: time 0.01084/0.3192, allocations: 6.459 MB / 0.9203 GB, free: 14.22 MB / 0.67 GB Notification: Performance of NFEvalConstants.evaluate: time 0.01432/0.3335, allocations: 6.714 MB / 0.9268 GB, free: 7.527 MB / 0.67 GB Notification: Performance of NFSimplifyModel.simplify: time 0.01107/0.3446, allocations: 6.351 MB / 0.933 GB, free: 1.152 MB / 0.67 GB Notification: Performance of NFPackage.collectConstants: time 0.002713/0.3473, allocations: 0.8477 MB / 0.9339 GB, free: 312 kB / 0.67 GB Notification: Performance of NFFlatten.collectFunctions: time 0.006033/0.3533, allocations: 1.483 MB / 0.9353 GB, free: 14.82 MB / 0.6856 GB Notification: Performance of NFScalarize.scalarize: time 0.004027/0.3574, allocations: 2.208 MB / 0.9375 GB, free: 12.61 MB / 0.6856 GB Notification: Performance of NFVerifyModel.verify: time 0.009334/0.3667, allocations: 3.506 MB / 0.9409 GB, free: 9.086 MB / 0.6856 GB Notification: Performance of NFConvertDAE.convert: time 0.0194/0.3861, allocations: 12.19 MB / 0.9528 GB, free: 12.86 MB / 0.7013 GB Notification: Performance of FrontEnd - DAE generated: time 8.456e-06/0.3861, allocations: 0 / 0.9528 GB, free: 12.86 MB / 0.7013 GB Notification: Performance of FrontEnd: time 2.074e-06/0.3861, allocations: 4 kB / 0.9528 GB, free: 12.85 MB / 0.7013 GB Notification: Performance of Transformations before backend: time 0.0004873/0.3866, allocations: 4 kB / 0.9528 GB, free: 12.85 MB / 0.7013 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.02181/0.4084, allocations: 7.846 MB / 0.9605 GB, free: 4.934 MB / 0.7013 GB Notification: Performance of prepare preOptimizeDAE: time 5.544e-05/0.4085, allocations: 9.344 kB / 0.9605 GB, free: 4.926 MB / 0.7013 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.002893/0.4114, allocations: 0.7681 MB / 0.9612 GB, free: 4.148 MB / 0.7013 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004136/0.4155, allocations: 0.8828 MB / 0.9621 GB, free: 3.262 MB / 0.7013 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01454/0.43, allocations: 6.38 MB / 0.9683 GB, free: 12.8 MB / 0.7169 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0005559/0.4306, allocations: 419.2 kB / 0.9687 GB, free: 12.39 MB / 0.7169 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.002277/0.4329, allocations: 0.5429 MB / 0.9693 GB, free: 11.85 MB / 0.7169 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01933/0.4522, allocations: 9.131 MB / 0.9782 GB, free: 2.223 MB / 0.7169 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001341/0.4523, allocations: 15.88 kB / 0.9782 GB, free: 2.207 MB / 0.7169 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0006721/0.453, allocations: 236 kB / 0.9784 GB, free: 1.977 MB / 0.7169 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.000179/0.4532, allocations: 167.9 kB / 0.9786 GB, free: 1.812 MB / 0.7169 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.3987/0.8519, allocations: 6.513 MB / 0.9849 GB, free: 133.6 MB / 0.7169 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.03478/0.8867, allocations: 23.31 MB / 1.008 GB, free: 120.5 MB / 0.7169 GB Notification: Performance of preOpt comSubExp (simulation): time 0.004104/0.8908, allocations: 3.421 MB / 1.011 GB, free: 118.8 MB / 0.7169 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.002834/0.8936, allocations: 2.582 MB / 1.014 GB, free: 117.6 MB / 0.7169 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0005712/0.8942, allocations: 146.7 kB / 1.014 GB, free: 117.5 MB / 0.7169 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.95e-05/0.8943, allocations: 71.55 kB / 1.014 GB, free: 117.5 MB / 0.7169 GB Notification: Performance of pre-optimization done (n=267): time 5.561e-06/0.8943, allocations: 0 / 1.014 GB, free: 117.5 MB / 0.7169 GB Notification: Performance of matching and sorting (n=267): time 0.008305/0.9026, allocations: 5.633 MB / 1.019 GB, free: 113.1 MB / 0.7169 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.71e-05/0.9026, allocations: 77.52 kB / 1.019 GB, free: 113 MB / 0.7169 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00703/0.9096, allocations: 5.315 MB / 1.025 GB, free: 107.7 MB / 0.7169 GB Notification: Performance of collectPreVariables (initialization): time 0.000926/0.9106, allocations: 85.42 kB / 1.025 GB, free: 107.6 MB / 0.7169 GB Notification: Performance of collectInitialEqns (initialization): time 0.002586/0.9132, allocations: 2.929 MB / 1.027 GB, free: 105 MB / 0.7169 GB Notification: Performance of collectInitialBindings (initialization): time 0.001504/0.9147, allocations: 0.9833 MB / 1.028 GB, free: 104.2 MB / 0.7169 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0009297/0.9156, allocations: 0.7273 MB / 1.029 GB, free: 103.4 MB / 0.7169 GB Notification: Performance of setup shared object (initialization): time 5.264e-05/0.9156, allocations: 305.1 kB / 1.029 GB, free: 103.1 MB / 0.7169 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002105/0.9177, allocations: 1.674 MB / 1.031 GB, free: 101.4 MB / 0.7169 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002357/0.9201, allocations: 3.028 MB / 1.034 GB, free: 97.83 MB / 0.7169 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.004528/0.9246, allocations: 4.968 MB / 1.039 GB, free: 92.33 MB / 0.7169 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.095e-05/0.9247, allocations: 12 kB / 1.039 GB, free: 92.32 MB / 0.7169 GB Notification: Performance of matching and sorting (n=475) (initialization): time 0.007092/0.9317, allocations: 5.447 MB / 1.044 GB, free: 86.84 MB / 0.7169 GB Notification: Performance of prepare postOptimizeDAE: time 3.183e-05/0.9318, allocations: 27.98 kB / 1.044 GB, free: 86.82 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.315e-05/0.9318, allocations: 43.31 kB / 1.044 GB, free: 86.78 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0007607/0.9326, allocations: 416.9 kB / 1.045 GB, free: 86.37 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00254/0.9351, allocations: 0.8619 MB / 1.046 GB, free: 85.5 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00395/0.9391, allocations: 5.415 MB / 1.051 GB, free: 79.9 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.004114/0.9432, allocations: 0.527 MB / 1.051 GB, free: 79.46 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0004038/0.9436, allocations: 184 kB / 1.052 GB, free: 79.29 MB / 0.7169 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.003246/0.9468, allocations: 2.288 MB / 1.054 GB, free: 76.98 MB / 0.7169 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.00123/0.9481, allocations: 0.5048 MB / 1.054 GB, free: 76.48 MB / 0.7169 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.005304/0.9534, allocations: 4.16 MB / 1.058 GB, free: 72.27 MB / 0.7169 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.833e-05/0.9534, allocations: 27.94 kB / 1.058 GB, free: 72.24 MB / 0.7169 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.385e-06/0.9534, allocations: 11.98 kB / 1.058 GB, free: 72.23 MB / 0.7169 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.003726/0.9571, allocations: 3.617 MB / 1.062 GB, free: 68.49 MB / 0.7169 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01316/0.9703, allocations: 9.543 MB / 1.071 GB, free: 58.85 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.017e-05/0.9703, allocations: 4 kB / 1.071 GB, free: 58.85 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001809/0.9721, allocations: 0.5038 MB / 1.072 GB, free: 58.34 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0006461/0.9727, allocations: 369.3 kB / 1.072 GB, free: 57.98 MB / 0.7169 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001627/0.9729, allocations: 79.95 kB / 1.072 GB, free: 57.9 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003945/0.9768, allocations: 5.369 MB / 1.077 GB, free: 52.32 MB / 0.7169 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.608e-06/0.9769, allocations: 11.94 kB / 1.077 GB, free: 52.31 MB / 0.7169 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.007331/0.9842, allocations: 6.264 MB / 1.083 GB, free: 45.87 MB / 0.7169 GB Notification: Performance of postOpt removeConstants (simulation): time 0.002832/0.987, allocations: 1.076 MB / 1.085 GB, free: 44.79 MB / 0.7169 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.00107/0.9881, allocations: 59.98 kB / 1.085 GB, free: 44.73 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.00296/0.991, allocations: 175.3 kB / 1.085 GB, free: 44.56 MB / 0.7169 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002625/0.9913, allocations: 189.5 kB / 1.085 GB, free: 44.38 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002588/0.9916, allocations: 131.9 kB / 1.085 GB, free: 44.25 MB / 0.7169 GB Notification: Performance of sorting global known variables: time 0.005342/0.9969, allocations: 3.851 MB / 1.089 GB, free: 40.41 MB / 0.7169 GB Notification: Performance of sort global known variables: time 1e-07/0.9969, allocations: 0 / 1.089 GB, free: 40.41 MB / 0.7169 GB Notification: Performance of remove unused functions: time 0.005078/1.002, allocations: 1.809 MB / 1.091 GB, free: 38.6 MB / 0.7169 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.008646/1.011, allocations: 7.182 MB / 1.098 GB, free: 31.27 MB / 0.7169 GB Notification: Performance of simCode: created initialization part: time 0.005607/1.016, allocations: 4.124 MB / 1.102 GB, free: 27.1 MB / 0.7169 GB Notification: Performance of simCode: created event and clocks part: time 1.101e-05/1.016, allocations: 4 kB / 1.102 GB, free: 27.1 MB / 0.7169 GB Notification: Performance of simCode: created simulation system equations: time 0.002223/1.018, allocations: 1.935 MB / 1.104 GB, free: 25.13 MB / 0.7169 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0156/1.034, allocations: 3.462 MB / 1.107 GB, free: 21.78 MB / 0.7169 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.089/1.123, allocations: 47.17 MB / 1.153 GB, free: 4.93 MB / 0.7481 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.007382/1.13, allocations: 3.808 MB / 1.157 GB, free: 1.082 MB / 0.7481 GB Notification: Performance of simCode: alias equations: time 0.007081/1.138, allocations: 1.856 MB / 1.159 GB, free: 15.24 MB / 0.7638 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.005642/1.143, allocations: 2.452 MB / 1.161 GB, free: 12.79 MB / 0.7638 GB Notification: Performance of SimCode: time 1.262e-06/1.143, allocations: 0 / 1.161 GB, free: 12.79 MB / 0.7638 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.2805/1.424, allocations: 164.9 MB / 1.322 GB, free: 9.824 MB / 0.92 GB Notification: Performance of buildModelFMU: Generate platform static: time 18.16/19.59, allocations: 23.25 kB / 1.322 GB, free: 9.805 MB / 0.92 GB " [Timeout remaining time 640] (rm -f BuildingSystems_BuildingSystems.Fluid.Storage.Validation.StratifiedNonUniformInitial.pipe ; mkfifo BuildingSystems_BuildingSystems.Fluid.Storage.Validation.StratifiedNonUniformInitial.pipe ; head -c 1048576 < BuildingSystems_BuildingSystems.Fluid.Storage.Validation.StratifiedNonUniformInitial.pipe >> ../files/BuildingSystems_BuildingSystems.Fluid.Storage.Validation.StratifiedNonUniformInitial.sim & python3 -m fmpy simulate --output-file BuildingSystems_BuildingSystems.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 BuildingSystems_BuildingSystems_Fluid_Storage_Validation_StratifiedNonUniformInitial.fmu > BuildingSystems_BuildingSystems.Fluid.Storage.Validation.StratifiedNonUniformInitial.pipe 2>&1) [Timeout 52.5] [Calling sys.exit(0), Time elapsed: 24.226490168832242] Failed to read output from testmodel.py, exit status != 0: 19.785919916816056 20.153484963 19.76456249 Calling exit ...