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.001241/0.001241, allocations: 113.5 kB / 19.73 MB, free: 2.242 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.001408/0.001408, allocations: 217.9 kB / 23.04 MB, free: 5.074 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.395/1.395, allocations: 230.6 MB / 256.8 MB, free: 8.008 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.002442/0.002442, allocations: 282.3 kB / 313.5 MB, free: 2.836 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.203/1.203, allocations: 180.6 MB / 0.5377 GB, free: 13.06 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.002789/0.002789, allocations: 99.73 kB / 0.7403 GB, free: 28.23 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1826/0.1854, allocations: 95.39 MB / 0.8335 GB, free: 8.656 MB / 0.5762 GB Notification: Performance of NFInst.instantiate(BuildingSystems.Fluid.Storage.Validation.StratifiedNonUniformInitial): time 0.05744/0.2429, allocations: 50.33 MB / 0.8826 GB, free: 6.141 MB / 0.6231 GB Notification: Performance of NFInst.instExpressions: time 0.02245/0.2653, allocations: 13.97 MB / 0.8963 GB, free: 8.125 MB / 0.6387 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.002643/0.2679, allocations: 95.19 kB / 0.8964 GB, free: 8.031 MB / 0.6387 GB Notification: Performance of NFTyping.typeComponents: time 0.002579/0.2705, allocations: 0.8382 MB / 0.8972 GB, free: 7.188 MB / 0.6387 GB Notification: Performance of NFTyping.typeBindings: time 0.006858/0.2774, allocations: 2.414 MB / 0.8996 GB, free: 4.762 MB / 0.6387 GB Notification: Performance of NFTyping.typeClassSections: time 0.003647/0.281, allocations: 1.377 MB / 0.9009 GB, free: 3.395 MB / 0.6387 GB Notification: Performance of NFFlatten.flatten: time 0.02321/0.3042, allocations: 20.1 MB / 0.9205 GB, free: 15.24 MB / 0.67 GB Notification: Performance of NFFlatten.resolveConnections: time 0.01044/0.3147, allocations: 6.451 MB / 0.9268 GB, free: 8.66 MB / 0.67 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0145/0.3292, allocations: 6.683 MB / 0.9334 GB, free: 1.996 MB / 0.67 GB Notification: Performance of NFSimplifyModel.simplify: time 0.01251/0.3417, allocations: 6.039 MB / 0.9393 GB, free: 11.93 MB / 0.6856 GB Notification: Performance of NFPackage.collectConstants: time 0.003009/0.3447, allocations: 0.8438 MB / 0.9401 GB, free: 11.09 MB / 0.6856 GB Notification: Performance of NFFlatten.collectFunctions: time 0.007899/0.3526, allocations: 1.678 MB / 0.9417 GB, free: 9.41 MB / 0.6856 GB Notification: Performance of NFScalarize.scalarize: time 0.004454/0.3571, allocations: 2.208 MB / 0.9439 GB, free: 7.195 MB / 0.6856 GB Notification: Performance of NFVerifyModel.verify: time 0.01192/0.369, allocations: 4.291 MB / 0.9481 GB, free: 2.887 MB / 0.6856 GB Notification: Performance of NFConvertDAE.convert: time 0.01971/0.3887, allocations: 12.16 MB / 0.9599 GB, free: 6.688 MB / 0.7012 GB Notification: Performance of FrontEnd - DAE generated: time 6.021e-06/0.3887, allocations: 0 / 0.9599 GB, free: 6.688 MB / 0.7012 GB Notification: Performance of FrontEnd: time 3.707e-06/0.3887, allocations: 4 kB / 0.9599 GB, free: 6.684 MB / 0.7012 GB Notification: Performance of Transformations before backend: time 0.0004405/0.3891, allocations: 0 / 0.9599 GB, free: 6.684 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.02214/0.4113, allocations: 7.86 MB / 0.9676 GB, free: 14.76 MB / 0.7169 GB Notification: Performance of prepare preOptimizeDAE: time 5.726e-05/0.4113, allocations: 9.344 kB / 0.9676 GB, free: 14.75 MB / 0.7169 GB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 0.0002149/0.4115, allocations: 143.2 kB / 0.9678 GB, free: 14.61 MB / 0.7169 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.002944/0.4145, allocations: 0.772 MB / 0.9685 GB, free: 13.83 MB / 0.7169 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.005134/0.4196, allocations: 0.8829 MB / 0.9694 GB, free: 12.94 MB / 0.7169 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01594/0.4356, allocations: 6.375 MB / 0.9756 GB, free: 6.488 MB / 0.7169 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0005004/0.4361, allocations: 419 kB / 0.976 GB, free: 6.078 MB / 0.7169 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.002551/0.4386, allocations: 0.5429 MB / 0.9765 GB, free: 5.535 MB / 0.7169 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.3983/0.8369, allocations: 8.066 MB / 0.9844 GB, free: 131.5 MB / 0.7169 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001739/0.8371, allocations: 15.47 kB / 0.9844 GB, free: 131.5 MB / 0.7169 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.001063/0.8381, allocations: 235.8 kB / 0.9847 GB, free: 131.4 MB / 0.7169 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0002106/0.8384, allocations: 168 kB / 0.9848 GB, free: 131.4 MB / 0.7169 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01385/0.8522, allocations: 6.523 MB / 0.9912 GB, free: 129.2 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.04395/0.8962, allocations: 31.17 MB / 1.022 GB, free: 105.8 MB / 0.7169 GB Notification: Performance of preOpt comSubExp (simulation): time 0.004405/0.9006, allocations: 3.439 MB / 1.025 GB, free: 104.1 MB / 0.7169 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.003024/0.9036, allocations: 2.582 MB / 1.028 GB, free: 102.9 MB / 0.7169 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0005864/0.9042, allocations: 165.3 kB / 1.028 GB, free: 102.8 MB / 0.7169 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.828e-05/0.9042, allocations: 71.61 kB / 1.028 GB, free: 102.8 MB / 0.7169 GB Notification: Performance of pre-optimization done (n=267): time 4.769e-06/0.9043, allocations: 0 / 1.028 GB, free: 102.8 MB / 0.7169 GB Notification: Performance of matching and sorting (n=267): time 0.008778/0.913, allocations: 5.622 MB / 1.033 GB, free: 99.5 MB / 0.7169 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.504e-05/0.9131, allocations: 81.52 kB / 1.033 GB, free: 99.41 MB / 0.7169 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.005903/0.919, allocations: 5.243 MB / 1.038 GB, free: 94.2 MB / 0.7169 GB Notification: Performance of collectPreVariables (initialization): time 0.0004636/0.9194, allocations: 77.7 kB / 1.038 GB, free: 94.11 MB / 0.7169 GB Notification: Performance of collectInitialEqns (initialization): time 0.001631/0.9211, allocations: 2.941 MB / 1.041 GB, free: 91.47 MB / 0.7169 GB Notification: Performance of collectInitialBindings (initialization): time 0.0009889/0.922, allocations: 0.9786 MB / 1.042 GB, free: 90.63 MB / 0.7169 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0007879/0.9228, allocations: 0.7216 MB / 1.043 GB, free: 89.9 MB / 0.7169 GB Notification: Performance of setup shared object (initialization): time 3.841e-05/0.9229, allocations: 305.1 kB / 1.043 GB, free: 89.6 MB / 0.7169 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001955/0.9248, allocations: 1.674 MB / 1.045 GB, free: 87.93 MB / 0.7169 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002402/0.9272, allocations: 2.934 MB / 1.048 GB, free: 84.45 MB / 0.7169 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.004461/0.9317, allocations: 4.97 MB / 1.053 GB, free: 78.89 MB / 0.7169 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.659e-05/0.9317, allocations: 8 kB / 1.053 GB, free: 78.88 MB / 0.7169 GB Notification: Performance of matching and sorting (n=475) (initialization): time 0.007477/0.9392, allocations: 5.45 MB / 1.058 GB, free: 73.38 MB / 0.7169 GB Notification: Performance of prepare postOptimizeDAE: time 3.612e-05/0.9392, allocations: 24 kB / 1.058 GB, free: 73.36 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.191e-05/0.9393, allocations: 40 kB / 1.058 GB, free: 73.32 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.000827/0.9401, allocations: 420.6 kB / 1.058 GB, free: 72.9 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002552/0.9426, allocations: 0.8579 MB / 1.059 GB, free: 72.04 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00418/0.9468, allocations: 5.494 MB / 1.065 GB, free: 66.36 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00407/0.9509, allocations: 0.531 MB / 1.065 GB, free: 65.94 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0004066/0.9513, allocations: 175.4 kB / 1.065 GB, free: 65.77 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.002947/0.9542, allocations: 2.288 MB / 1.068 GB, free: 63.48 MB / 0.7169 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001225/0.9555, allocations: 0.5007 MB / 1.068 GB, free: 62.98 MB / 0.7169 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.005276/0.9607, allocations: 4.179 MB / 1.072 GB, free: 58.75 MB / 0.7169 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.078e-05/0.9608, allocations: 31.98 kB / 1.072 GB, free: 58.71 MB / 0.7169 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.526e-06/0.9608, allocations: 4 kB / 1.072 GB, free: 58.71 MB / 0.7169 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.003819/0.9646, allocations: 3.617 MB / 1.076 GB, free: 54.98 MB / 0.7169 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0161/0.9807, allocations: 10.3 MB / 1.086 GB, free: 44.58 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.13e-05/0.9807, allocations: 4 kB / 1.086 GB, free: 44.58 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001935/0.9826, allocations: 0.5037 MB / 1.086 GB, free: 44.07 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.000724/0.9834, allocations: 376.5 kB / 1.087 GB, free: 43.7 MB / 0.7169 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001839/0.9835, allocations: 75.97 kB / 1.087 GB, free: 43.63 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003998/0.9875, allocations: 5.433 MB / 1.092 GB, free: 37.98 MB / 0.7169 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.276e-06/0.9875, allocations: 4 kB / 1.092 GB, free: 37.98 MB / 0.7169 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00779/0.9953, allocations: 6.275 MB / 1.098 GB, free: 31.54 MB / 0.7169 GB Notification: Performance of postOpt removeConstants (simulation): time 0.002795/0.9981, allocations: 1.072 MB / 1.099 GB, free: 30.46 MB / 0.7169 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000929/0.9991, allocations: 67.92 kB / 1.099 GB, free: 30.4 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002872/1.002, allocations: 179.4 kB / 1.099 GB, free: 30.23 MB / 0.7169 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002932/1.002, allocations: 181.5 kB / 1.1 GB, free: 30.05 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002462/1.002, allocations: 123.9 kB / 1.1 GB, free: 29.93 MB / 0.7169 GB Notification: Performance of sorting global known variables: time 0.005297/1.008, allocations: 3.855 MB / 1.103 GB, free: 26.09 MB / 0.7169 GB Notification: Performance of sort global known variables: time 8e-08/1.008, allocations: 0 / 1.103 GB, free: 26.09 MB / 0.7169 GB Notification: Performance of remove unused functions: time 0.006609/1.014, allocations: 1.813 MB / 1.105 GB, free: 24.27 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.008812/1.023, allocations: 7.182 MB / 1.112 GB, free: 16.93 MB / 0.7169 GB Notification: Performance of simCode: created initialization part: time 0.005737/1.029, allocations: 4.139 MB / 1.116 GB, free: 12.75 MB / 0.7169 GB Notification: Performance of simCode: created event and clocks part: time 1.032e-05/1.029, allocations: 6 kB / 1.116 GB, free: 12.75 MB / 0.7169 GB Notification: Performance of simCode: created simulation system equations: time 0.002409/1.031, allocations: 1.926 MB / 1.118 GB, free: 10.79 MB / 0.7169 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.01616/1.048, allocations: 3.449 MB / 1.122 GB, free: 7.457 MB / 0.7169 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.09197/1.139, allocations: 47.21 MB / 1.168 GB, free: 6.574 MB / 0.7637 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.005955/1.145, allocations: 4.303 MB / 1.172 GB, free: 2.234 MB / 0.7637 GB Notification: Performance of simCode: alias equations: time 0.005649/1.151, allocations: 1.85 MB / 1.174 GB, free: 412 kB / 0.7637 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.004458/1.156, allocations: 2.453 MB / 1.176 GB, free: 13.98 MB / 0.7794 GB Notification: Performance of SimCode: time 1.192e-06/1.156, allocations: 4 kB / 1.176 GB, free: 13.98 MB / 0.7794 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.2676/1.423, allocations: 157.8 MB / 1.33 GB, free: 1.297 MB / 0.92 GB Notification: Performance of buildModelFMU: Generate platform static: time 21.26/22.68, allocations: 8.062 kB / 1.33 GB, free: 1.289 MB / 0.92 GB " [Timeout remaining time 637] (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: 27.563071464013774] Failed to read output from testmodel.py, exit status != 0: 23.264831452048384 23.278221181 22.886646685 Calling exit ...