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.001209/0.001209, allocations: 101.3 kB / 19.73 MB, free: 2.133 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.001442/0.001442, allocations: 223 kB / 23.03 MB, free: 4.941 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.432/1.432, allocations: 230.6 MB / 256.8 MB, free: 7.785 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.002462/0.002462, allocations: 287 kB / 313.5 MB, free: 2.617 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.268/1.268, allocations: 180.6 MB / 0.5377 GB, free: 14.57 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="cs",version="2.0",platforms={"static"}) "" <> buildModelFMU(BuildingSystems.Fluid.Storage.Validation.StratifiedNonUniformInitial,fileNamePrefix="BuildingSystems_BuildingSystems_Fluid_Storage_Validation_StratifiedNonUniformInitial",fmuType="cs",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.002711/0.002711, allocations: 101.7 kB / 0.7402 GB, free: 28.31 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1863/0.189, allocations: 95.39 MB / 0.8334 GB, free: 8.367 MB / 0.5762 GB Notification: Performance of NFInst.instantiate(BuildingSystems.Fluid.Storage.Validation.StratifiedNonUniformInitial): time 0.05114/0.2401, allocations: 45.36 MB / 0.8777 GB, free: 10.84 MB / 0.6231 GB Notification: Performance of NFInst.instExpressions: time 0.01942/0.2595, allocations: 12.92 MB / 0.8903 GB, free: 13.89 MB / 0.6387 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.002186/0.2617, allocations: 87.31 kB / 0.8904 GB, free: 13.8 MB / 0.6387 GB Notification: Performance of NFTyping.typeComponents: time 0.002038/0.2637, allocations: 0.8148 MB / 0.8912 GB, free: 12.98 MB / 0.6387 GB Notification: Performance of NFTyping.typeBindings: time 0.006592/0.2703, allocations: 2.395 MB / 0.8935 GB, free: 10.57 MB / 0.6387 GB Notification: Performance of NFTyping.typeClassSections: time 0.003364/0.2737, allocations: 1.366 MB / 0.8949 GB, free: 9.219 MB / 0.6387 GB Notification: Performance of NFFlatten.flatten: time 0.02136/0.2951, allocations: 20.1 MB / 0.9145 GB, free: 5.066 MB / 0.6544 GB Notification: Performance of NFFlatten.resolveConnections: time 0.00979/0.3049, allocations: 6.443 MB / 0.9208 GB, free: 14.5 MB / 0.67 GB Notification: Performance of NFEvalConstants.evaluate: time 0.01282/0.3177, allocations: 6.729 MB / 0.9273 GB, free: 7.789 MB / 0.67 GB Notification: Performance of NFSimplifyModel.simplify: time 0.01095/0.3286, allocations: 6.027 MB / 0.9332 GB, free: 1.738 MB / 0.67 GB Notification: Performance of NFPackage.collectConstants: time 0.002244/0.3309, allocations: 0.8476 MB / 0.9341 GB, free: 0.8906 MB / 0.67 GB Notification: Performance of NFFlatten.collectFunctions: time 0.005047/0.3359, allocations: 1.495 MB / 0.9355 GB, free: 15.39 MB / 0.6856 GB Notification: Performance of NFScalarize.scalarize: time 0.002643/0.3386, allocations: 2.208 MB / 0.9377 GB, free: 13.18 MB / 0.6856 GB Notification: Performance of NFVerifyModel.verify: time 0.006518/0.3451, allocations: 3.502 MB / 0.9411 GB, free: 9.664 MB / 0.6856 GB Notification: Performance of NFConvertDAE.convert: time 0.0145/0.3596, allocations: 12.2 MB / 0.953 GB, free: 13.43 MB / 0.7012 GB Notification: Performance of FrontEnd - DAE generated: time 7.674e-06/0.3596, allocations: 0 / 0.953 GB, free: 13.43 MB / 0.7012 GB Notification: Performance of FrontEnd: time 1.724e-06/0.3596, allocations: 0 / 0.953 GB, free: 13.43 MB / 0.7012 GB Notification: Performance of Transformations before backend: time 0.0004409/0.36, allocations: 0 / 0.953 GB, free: 13.43 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.01774/0.3778, allocations: 7.853 MB / 0.9607 GB, free: 5.504 MB / 0.7012 GB Notification: Performance of prepare preOptimizeDAE: time 4.762e-05/0.3778, allocations: 9.344 kB / 0.9607 GB, free: 5.496 MB / 0.7012 GB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 0.0001695/0.378, allocations: 147.2 kB / 0.9608 GB, free: 5.352 MB / 0.7012 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.001343/0.3793, allocations: 0.7642 MB / 0.9616 GB, free: 4.578 MB / 0.7012 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003202/0.3825, allocations: 0.8867 MB / 0.9624 GB, free: 3.688 MB / 0.7012 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0119/0.3944, allocations: 6.371 MB / 0.9687 GB, free: 13.24 MB / 0.7169 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003473/0.3948, allocations: 423 kB / 0.9691 GB, free: 12.82 MB / 0.7169 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0009927/0.3958, allocations: 0.5429 MB / 0.9696 GB, free: 12.28 MB / 0.7169 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01828/0.4141, allocations: 9.135 MB / 0.9785 GB, free: 2.648 MB / 0.7169 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001819/0.4142, allocations: 15.88 kB / 0.9785 GB, free: 2.633 MB / 0.7169 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.001149/0.4154, allocations: 236 kB / 0.9788 GB, free: 2.402 MB / 0.7169 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.000198/0.4156, allocations: 167.9 kB / 0.9789 GB, free: 2.238 MB / 0.7169 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.3677/0.7833, allocations: 6.517 MB / 0.9853 GB, free: 133.9 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.0406/0.8239, allocations: 23.32 MB / 1.008 GB, free: 120.9 MB / 0.7169 GB Notification: Performance of preOpt comSubExp (simulation): time 0.004746/0.8287, allocations: 3.427 MB / 1.011 GB, free: 119.1 MB / 0.7169 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.002988/0.8316, allocations: 2.575 MB / 1.014 GB, free: 117.9 MB / 0.7169 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0006454/0.8323, allocations: 152.9 kB / 1.014 GB, free: 117.9 MB / 0.7169 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.322e-05/0.8324, allocations: 67.64 kB / 1.014 GB, free: 117.8 MB / 0.7169 GB Notification: Performance of pre-optimization done (n=267): time 5.62e-06/0.8324, allocations: 0 / 1.014 GB, free: 117.8 MB / 0.7169 GB Notification: Performance of matching and sorting (n=267): time 0.00966/0.842, allocations: 5.635 MB / 1.02 GB, free: 113.5 MB / 0.7169 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.462e-05/0.8421, allocations: 77.52 kB / 1.02 GB, free: 113.4 MB / 0.7169 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.006707/0.8488, allocations: 5.243 MB / 1.025 GB, free: 108.2 MB / 0.7169 GB Notification: Performance of collectPreVariables (initialization): time 0.0006788/0.8494, allocations: 81.7 kB / 1.025 GB, free: 108.1 MB / 0.7169 GB Notification: Performance of collectInitialEqns (initialization): time 0.001973/0.8514, allocations: 2.932 MB / 1.028 GB, free: 105.4 MB / 0.7169 GB Notification: Performance of collectInitialBindings (initialization): time 0.001373/0.8528, allocations: 0.9755 MB / 1.029 GB, free: 104.6 MB / 0.7169 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0009678/0.8538, allocations: 0.7255 MB / 1.029 GB, free: 103.9 MB / 0.7169 GB Notification: Performance of setup shared object (initialization): time 4.062e-05/0.8538, allocations: 305.1 kB / 1.03 GB, free: 103.6 MB / 0.7169 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002099/0.8559, allocations: 1.674 MB / 1.031 GB, free: 101.9 MB / 0.7169 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002539/0.8584, allocations: 3.032 MB / 1.034 GB, free: 98.28 MB / 0.7169 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.00511/0.8635, allocations: 4.962 MB / 1.039 GB, free: 92.78 MB / 0.7169 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.793e-05/0.8636, allocations: 15.84 kB / 1.039 GB, free: 92.77 MB / 0.7169 GB Notification: Performance of matching and sorting (n=475) (initialization): time 0.009829/0.8734, allocations: 5.452 MB / 1.045 GB, free: 87.28 MB / 0.7169 GB Notification: Performance of prepare postOptimizeDAE: time 5.52e-05/0.8735, allocations: 24.98 kB / 1.045 GB, free: 87.26 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.212e-05/0.8735, allocations: 42.66 kB / 1.045 GB, free: 87.22 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0009675/0.8745, allocations: 420.3 kB / 1.045 GB, free: 86.8 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003029/0.8775, allocations: 0.858 MB / 1.046 GB, free: 85.95 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004431/0.882, allocations: 5.426 MB / 1.051 GB, free: 80.34 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.004709/0.8867, allocations: 0.54 MB / 1.052 GB, free: 79.91 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0006426/0.8873, allocations: 176 kB / 1.052 GB, free: 79.74 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.003975/0.8913, allocations: 2.291 MB / 1.054 GB, free: 77.44 MB / 0.7169 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.00201/0.8933, allocations: 0.4969 MB / 1.055 GB, free: 76.94 MB / 0.7169 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00715/0.9004, allocations: 4.164 MB / 1.059 GB, free: 72.73 MB / 0.7169 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.294e-05/0.9005, allocations: 31.94 kB / 1.059 GB, free: 72.7 MB / 0.7169 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.618e-05/0.9005, allocations: 11.08 kB / 1.059 GB, free: 72.69 MB / 0.7169 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.004527/0.905, allocations: 3.623 MB / 1.062 GB, free: 68.95 MB / 0.7169 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01954/0.9246, allocations: 9.539 MB / 1.071 GB, free: 59.31 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.569e-05/0.9246, allocations: 4 kB / 1.071 GB, free: 59.3 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.00212/0.9267, allocations: 0.4998 MB / 1.072 GB, free: 58.8 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0007923/0.9275, allocations: 373.3 kB / 1.072 GB, free: 58.43 MB / 0.7169 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.00034/0.9278, allocations: 75.95 kB / 1.072 GB, free: 58.36 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.004302/0.9321, allocations: 5.362 MB / 1.078 GB, free: 52.79 MB / 0.7169 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.987e-06/0.9321, allocations: 4.125 kB / 1.078 GB, free: 52.78 MB / 0.7169 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.008724/0.9409, allocations: 6.268 MB / 1.084 GB, free: 46.34 MB / 0.7169 GB Notification: Performance of postOpt removeConstants (simulation): time 0.00297/0.9438, allocations: 1.084 MB / 1.085 GB, free: 45.25 MB / 0.7169 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.00138/0.9452, allocations: 59.98 kB / 1.085 GB, free: 45.19 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.003351/0.9486, allocations: 178.3 kB / 1.085 GB, free: 45.02 MB / 0.7169 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003457/0.9489, allocations: 185.5 kB / 1.085 GB, free: 44.84 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0003389/0.9492, allocations: 127.9 kB / 1.085 GB, free: 44.72 MB / 0.7169 GB Notification: Performance of sorting global known variables: time 0.006273/0.9555, allocations: 3.847 MB / 1.089 GB, free: 40.89 MB / 0.7169 GB Notification: Performance of sort global known variables: time 9e-08/0.9555, allocations: 4 kB / 1.089 GB, free: 40.88 MB / 0.7169 GB Notification: Performance of remove unused functions: time 0.006093/0.9616, allocations: 1.809 MB / 1.091 GB, free: 39.07 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.01193/0.9735, allocations: 7.186 MB / 1.098 GB, free: 31.73 MB / 0.7169 GB Notification: Performance of simCode: created initialization part: time 0.006578/0.9801, allocations: 4.133 MB / 1.102 GB, free: 27.56 MB / 0.7169 GB Notification: Performance of simCode: created event and clocks part: time 1.05e-05/0.9801, allocations: 4 kB / 1.102 GB, free: 27.56 MB / 0.7169 GB Notification: Performance of simCode: created simulation system equations: time 0.002449/0.9826, allocations: 1.93 MB / 1.104 GB, free: 25.6 MB / 0.7169 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.01545/0.998, allocations: 3.457 MB / 1.107 GB, free: 22.25 MB / 0.7169 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.09532/1.093, allocations: 47.18 MB / 1.153 GB, free: 5.391 MB / 0.7481 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.007512/1.101, allocations: 3.804 MB / 1.157 GB, free: 1.547 MB / 0.7481 GB Notification: Performance of simCode: alias equations: time 0.00778/1.109, allocations: 1.858 MB / 1.159 GB, free: 15.7 MB / 0.7637 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.006456/1.115, allocations: 2.448 MB / 1.161 GB, free: 13.26 MB / 0.7637 GB Notification: Performance of SimCode: time 1.683e-06/1.115, allocations: 4 kB / 1.161 GB, free: 13.25 MB / 0.7637 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.2788/1.394, allocations: 164.9 MB / 1.322 GB, free: 10.36 MB / 0.92 GB Notification: Performance of buildModelFMU: Generate platform static: time 22.28/23.67, allocations: 4 kB / 1.322 GB, free: 10.36 MB / 0.92 GB " [Timeout remaining time 636] (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 & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_BuildingSystems_BuildingSystems_Fluid_Storage_Validation_StratifiedNonUniformInitial_fmu --startTime=0 --stopTime=3600 --stepSize=1.44 --timeout=50 --tolerance=1e-06 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: 28.759022337035276] Failed to read output from testmodel.py, exit status != 0: 23.92658470198512 24.3426634 23.979522948 Calling exit ...