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.001344/0.001344, allocations: 104.1 kB / 16.45 MB, free: 6.453 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.001413/0.001413, allocations: 215.2 kB / 19.43 MB, free: 3.625 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.478/1.478, allocations: 230.6 MB / 252.8 MB, free: 8.949 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.002549/0.002549, allocations: 294.4 kB / 309.1 MB, free: 3.945 MB / 238.1 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 1.252/1.252, allocations: 180.9 MB / 0.5333 GB, free: 13.74 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 2.0.0-master/package.mo) Using package NcDataReader2 with version 2.5.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-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.002881/0.002881, allocations: 113.2 kB / 0.7342 GB, free: 28.3 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1679/0.1707, allocations: 95.34 MB / 0.8273 GB, free: 9.867 MB / 0.5762 GB Notification: Performance of NFInst.instantiate(BuildingSystems.Fluid.Storage.Validation.StratifiedNonUniformInitial): time 0.05573/0.2265, allocations: 49.87 MB / 0.876 GB, free: 7.816 MB / 0.6231 GB Notification: Performance of NFInst.instExpressions: time 0.02085/0.2473, allocations: 13.91 MB / 0.8896 GB, free: 9.867 MB / 0.6387 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.002676/0.25, allocations: 91.25 kB / 0.8897 GB, free: 9.777 MB / 0.6387 GB Notification: Performance of NFTyping.typeComponents: time 0.002978/0.253, allocations: 0.8304 MB / 0.8905 GB, free: 8.941 MB / 0.6387 GB Notification: Performance of NFTyping.typeBindings: time 0.007329/0.2603, allocations: 2.375 MB / 0.8928 GB, free: 6.559 MB / 0.6387 GB Notification: Performance of NFTyping.typeClassSections: time 0.00397/0.2643, allocations: 1.315 MB / 0.8941 GB, free: 5.25 MB / 0.6387 GB Notification: Performance of NFFlatten.flatten: time 0.02216/0.2864, allocations: 19.57 MB / 0.9132 GB, free: 1.629 MB / 0.6544 GB Notification: Performance of NFFlatten.resolveConnections: time 0.01079/0.2972, allocations: 8.185 MB / 0.9212 GB, free: 9.32 MB / 0.67 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0133/0.3105, allocations: 6.677 MB / 0.9277 GB, free: 2.668 MB / 0.67 GB Notification: Performance of NFSimplifyModel.simplify: time 0.01153/0.3221, allocations: 6.039 MB / 0.9336 GB, free: 12.61 MB / 0.6856 GB Notification: Performance of NFPackage.collectConstants: time 0.002698/0.3248, allocations: 0.8438 MB / 0.9345 GB, free: 11.76 MB / 0.6856 GB Notification: Performance of NFFlatten.collectFunctions: time 0.007469/0.3322, allocations: 1.659 MB / 0.9361 GB, free: 10.1 MB / 0.6856 GB Notification: Performance of NFScalarize.scalarize: time 0.004512/0.3367, allocations: 2.204 MB / 0.9382 GB, free: 7.891 MB / 0.6856 GB Notification: Performance of NFVerifyModel.verify: time 0.009854/0.3466, allocations: 4.287 MB / 0.9424 GB, free: 3.586 MB / 0.6856 GB Notification: Performance of NFConvertDAE.convert: time 0.01815/0.3647, allocations: 12.16 MB / 0.9543 GB, free: 7.387 MB / 0.7012 GB Notification: Performance of FrontEnd - DAE generated: time 6.983e-06/0.3648, allocations: 4 kB / 0.9543 GB, free: 7.383 MB / 0.7012 GB Notification: Performance of FrontEnd: time 2.165e-06/0.3648, allocations: 0 / 0.9543 GB, free: 7.383 MB / 0.7012 GB Notification: Performance of Transformations before backend: time 0.0004621/0.3652, allocations: 0 / 0.9543 GB, free: 7.383 MB / 0.7012 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.02496/0.3902, allocations: 7.92 MB / 0.962 GB, free: 15.38 MB / 0.7169 GB Notification: Performance of prepare preOptimizeDAE: time 6.116e-05/0.3902, allocations: 16.03 kB / 0.9621 GB, free: 15.36 MB / 0.7169 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.003074/0.3933, allocations: 0.7681 MB / 0.9628 GB, free: 14.58 MB / 0.7169 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.005236/0.3986, allocations: 0.879 MB / 0.9637 GB, free: 13.7 MB / 0.7169 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01464/0.4132, allocations: 6.349 MB / 0.9699 GB, free: 7.293 MB / 0.7169 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0004636/0.4137, allocations: 420.2 kB / 0.9703 GB, free: 6.883 MB / 0.7169 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.002049/0.4157, allocations: 0.5429 MB / 0.9708 GB, free: 6.34 MB / 0.7169 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.4407/0.8564, allocations: 8.072 MB / 0.9787 GB, free: 132 MB / 0.7169 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0002322/0.8566, allocations: 19.97 kB / 0.9787 GB, free: 132 MB / 0.7169 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.00146/0.8581, allocations: 236.6 kB / 0.9789 GB, free: 132 MB / 0.7169 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0002507/0.8583, allocations: 165.5 kB / 0.9791 GB, free: 132 MB / 0.7169 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01661/0.8749, allocations: 6.526 MB / 0.9855 GB, free: 130 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.0446/0.9195, allocations: 31.26 MB / 1.016 GB, free: 106.6 MB / 0.7169 GB Notification: Performance of preOpt comSubExp (simulation): time 0.005068/0.9246, allocations: 3.44 MB / 1.019 GB, free: 104.8 MB / 0.7169 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.003393/0.928, allocations: 2.57 MB / 1.022 GB, free: 103.6 MB / 0.7169 GB Notification: Performance of preOpt evalFunc (simulation): time 0.000758/0.9287, allocations: 0.8352 MB / 1.023 GB, free: 102.7 MB / 0.7169 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.567e-05/0.9288, allocations: 68.42 kB / 1.023 GB, free: 102.7 MB / 0.7169 GB Notification: Performance of pre-optimization done (n=267): time 4.568e-06/0.9288, allocations: 0 / 1.023 GB, free: 102.7 MB / 0.7169 GB Notification: Performance of matching and sorting (n=267): time 0.0104/0.9392, allocations: 5.773 MB / 1.028 GB, free: 99.38 MB / 0.7169 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.228e-05/0.9393, allocations: 77.52 kB / 1.028 GB, free: 99.29 MB / 0.7169 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.007253/0.9465, allocations: 5.239 MB / 1.034 GB, free: 94.08 MB / 0.7169 GB Notification: Performance of collectPreVariables (initialization): time 0.0006858/0.9472, allocations: 80.77 kB / 1.034 GB, free: 94 MB / 0.7169 GB Notification: Performance of collectInitialEqns (initialization): time 0.001989/0.9492, allocations: 2.939 MB / 1.037 GB, free: 91.36 MB / 0.7169 GB Notification: Performance of collectInitialBindings (initialization): time 0.001295/0.9505, allocations: 0.9744 MB / 1.037 GB, free: 90.51 MB / 0.7169 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001056/0.9515, allocations: 0.7195 MB / 1.038 GB, free: 89.79 MB / 0.7169 GB Notification: Performance of setup shared object (initialization): time 4.895e-05/0.9516, allocations: 305.1 kB / 1.038 GB, free: 89.48 MB / 0.7169 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002163/0.9538, allocations: 1.674 MB / 1.04 GB, free: 87.81 MB / 0.7169 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002611/0.9564, allocations: 2.932 MB / 1.043 GB, free: 84.34 MB / 0.7169 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.005184/0.9615, allocations: 4.97 MB / 1.048 GB, free: 78.77 MB / 0.7169 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.631e-05/0.9616, allocations: 8.875 kB / 1.048 GB, free: 78.77 MB / 0.7169 GB Notification: Performance of matching and sorting (n=475) (initialization): time 0.008498/0.9701, allocations: 5.446 MB / 1.053 GB, free: 73.27 MB / 0.7169 GB Notification: Performance of prepare postOptimizeDAE: time 3.924e-05/0.9701, allocations: 28.25 kB / 1.053 GB, free: 73.24 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.316e-05/0.9702, allocations: 36 kB / 1.053 GB, free: 73.21 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0009197/0.9711, allocations: 421.8 kB / 1.054 GB, free: 72.79 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003125/0.9742, allocations: 0.8618 MB / 1.054 GB, free: 71.93 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004622/0.9788, allocations: 5.714 MB / 1.06 GB, free: 65.98 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.004852/0.9837, allocations: 0.5301 MB / 1.061 GB, free: 65.57 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0006559/0.9843, allocations: 176 kB / 1.061 GB, free: 65.39 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.003616/0.9879, allocations: 2.292 MB / 1.063 GB, free: 63.1 MB / 0.7169 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001442/0.9894, allocations: 0.5008 MB / 1.063 GB, free: 62.6 MB / 0.7169 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.006079/0.9955, allocations: 4.164 MB / 1.067 GB, free: 58.38 MB / 0.7169 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.969e-05/0.9955, allocations: 35.98 kB / 1.068 GB, free: 58.35 MB / 0.7169 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.787e-06/0.9955, allocations: 4 kB / 1.068 GB, free: 58.34 MB / 0.7169 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.004149/0.9996, allocations: 3.617 MB / 1.071 GB, free: 54.61 MB / 0.7169 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01489/1.015, allocations: 10.25 MB / 1.081 GB, free: 44.25 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.402e-05/1.015, allocations: 8 kB / 1.081 GB, free: 44.24 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002038/1.017, allocations: 0.4998 MB / 1.082 GB, free: 43.74 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.000727/1.017, allocations: 379.3 kB / 1.082 GB, free: 43.37 MB / 0.7169 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001935/1.017, allocations: 75.97 kB / 1.082 GB, free: 43.3 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.004199/1.022, allocations: 5.649 MB / 1.088 GB, free: 37.38 MB / 0.7169 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.077e-06/1.022, allocations: 4 kB / 1.088 GB, free: 37.38 MB / 0.7169 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.008332/1.03, allocations: 6.262 MB / 1.094 GB, free: 30.95 MB / 0.7169 GB Notification: Performance of postOpt removeConstants (simulation): time 0.003074/1.033, allocations: 1.118 MB / 1.095 GB, free: 29.8 MB / 0.7169 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001221/1.034, allocations: 67.92 kB / 1.095 GB, free: 29.74 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.003349/1.038, allocations: 185.8 kB / 1.095 GB, free: 29.56 MB / 0.7169 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003499/1.038, allocations: 169.6 kB / 1.095 GB, free: 29.4 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002741/1.038, allocations: 131.9 kB / 1.095 GB, free: 29.27 MB / 0.7169 GB Notification: Performance of sorting global known variables: time 0.005441/1.044, allocations: 3.839 MB / 1.099 GB, free: 25.45 MB / 0.7169 GB Notification: Performance of sort global known variables: time 1.2e-07/1.044, allocations: 4 kB / 1.099 GB, free: 25.44 MB / 0.7169 GB Notification: Performance of remove unused functions: time 0.006116/1.05, allocations: 1.809 MB / 1.101 GB, free: 23.63 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.009282/1.059, allocations: 7.175 MB / 1.108 GB, free: 16.29 MB / 0.7169 GB Notification: Performance of simCode: created initialization part: time 0.005515/1.065, allocations: 4.128 MB / 1.112 GB, free: 12.12 MB / 0.7169 GB Notification: Performance of simCode: created event and clocks part: time 9.387e-06/1.065, allocations: 0 / 1.112 GB, free: 12.12 MB / 0.7169 GB Notification: Performance of simCode: created simulation system equations: time 0.002422/1.067, allocations: 1.935 MB / 1.114 GB, free: 10.16 MB / 0.7169 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.01579/1.083, allocations: 3.454 MB / 1.117 GB, free: 6.824 MB / 0.7169 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.08324/1.166, allocations: 47.12 MB / 1.163 GB, free: 6.051 MB / 0.7637 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.005253/1.171, allocations: 4.311 MB / 1.167 GB, free: 1.707 MB / 0.7637 GB Notification: Performance of simCode: alias equations: time 0.005895/1.177, allocations: 1.847 MB / 1.169 GB, free: 15.87 MB / 0.7794 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.004766/1.182, allocations: 2.452 MB / 1.172 GB, free: 13.42 MB / 0.7794 GB Notification: Performance of SimCode: time 1.032e-06/1.182, allocations: 0 / 1.172 GB, free: 13.42 MB / 0.7794 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.2588/1.441, allocations: 154.7 MB / 1.323 GB, free: 3.973 MB / 0.92 GB Notification: Performance of buildModelFMU: Generate platform static: time 19.87/21.31, allocations: 11.53 kB / 1.323 GB, free: 3.965 MB / 0.92 GB " [Timeout remaining time 639] (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: 25.94743533572182] Failed to read output from testmodel.py, exit status != 0: 21.47517888713628 21.794597151 21.426964474 Calling exit ...