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.001274/0.001274, allocations: 117.4 kB / 17.17 MB, free: 5.977 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.001525/0.001525, allocations: 214.3 kB / 20.13 MB, free: 3.035 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.454/1.454, allocations: 230.6 MB / 253.5 MB, free: 15.1 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.002366/0.002366, allocations: 288.4 kB / 309.8 MB, free: 3.445 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.039/1.039, allocations: 180.6 MB / 0.5338 GB, free: 12.4 MB / 398.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.002766/0.002766, allocations: 91.86 kB / 0.7347 GB, free: 2.48 MB / 0.4981 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.6041/0.6069, allocations: 95.35 MB / 0.8278 GB, free: 3.02 MB / 0.5762 GB Notification: Performance of NFInst.instantiate(BuildingSystems.Fluid.Storage.Validation.StratifiedNonUniformInitial): time 0.06126/0.6681, allocations: 49.86 MB / 0.8765 GB, free: 14.97 MB / 0.6231 GB Notification: Performance of NFInst.instExpressions: time 0.02239/0.6905, allocations: 13.91 MB / 0.89 GB, free: 3.633 MB / 0.6231 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.003646/0.6942, allocations: 95.84 kB / 0.8901 GB, free: 3.582 MB / 0.6231 GB Notification: Performance of NFTyping.typeComponents: time 0.003025/0.6972, allocations: 0.8328 MB / 0.891 GB, free: 2.867 MB / 0.6231 GB Notification: Performance of NFTyping.typeBindings: time 0.00818/0.7054, allocations: 2.356 MB / 0.8933 GB, free: 0.9883 MB / 0.6231 GB Notification: Performance of NFTyping.typeClassSections: time 0.004138/0.7095, allocations: 1.321 MB / 0.8945 GB, free: 15.95 MB / 0.6387 GB Notification: Performance of NFFlatten.flatten: time 0.02482/0.7343, allocations: 19.57 MB / 0.9137 GB, free: 1.965 MB / 0.6387 GB Notification: Performance of NFFlatten.resolveConnections: time 0.01266/0.747, allocations: 8.195 MB / 0.9217 GB, free: 9.648 MB / 0.6544 GB Notification: Performance of NFEvalConstants.evaluate: time 0.01616/0.7632, allocations: 6.682 MB / 0.9282 GB, free: 2.988 MB / 0.6544 GB Notification: Performance of NFSimplifyModel.simplify: time 0.01228/0.7754, allocations: 6.035 MB / 0.9341 GB, free: 12.93 MB / 0.67 GB Notification: Performance of NFPackage.collectConstants: time 0.003035/0.7785, allocations: 0.8438 MB / 0.9349 GB, free: 12.09 MB / 0.67 GB Notification: Performance of NFFlatten.collectFunctions: time 0.008313/0.7868, allocations: 1.655 MB / 0.9365 GB, free: 10.43 MB / 0.67 GB Notification: Performance of NFScalarize.scalarize: time 0.004534/0.7913, allocations: 2.204 MB / 0.9387 GB, free: 8.219 MB / 0.67 GB Notification: Performance of NFVerifyModel.verify: time 0.01243/0.8037, allocations: 4.287 MB / 0.9429 GB, free: 3.914 MB / 0.67 GB Notification: Performance of NFConvertDAE.convert: time 0.02089/0.8246, allocations: 12.16 MB / 0.9547 GB, free: 7.719 MB / 0.6856 GB Notification: Performance of FrontEnd - DAE generated: time 6.552e-06/0.8246, allocations: 0 / 0.9547 GB, free: 7.719 MB / 0.6856 GB Notification: Performance of FrontEnd: time 1.423e-06/0.8246, allocations: 0 / 0.9547 GB, free: 7.719 MB / 0.6856 GB Notification: Performance of Transformations before backend: time 0.0004342/0.8251, allocations: 4 kB / 0.9547 GB, free: 7.715 MB / 0.6856 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.02417/0.8492, allocations: 7.925 MB / 0.9625 GB, free: 15.7 MB / 0.7012 GB Notification: Performance of prepare preOptimizeDAE: time 5.767e-05/0.8493, allocations: 8.031 kB / 0.9625 GB, free: 15.69 MB / 0.7012 GB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 0.0002114/0.8495, allocations: 147.2 kB / 0.9626 GB, free: 15.55 MB / 0.7012 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.002652/0.8522, allocations: 0.768 MB / 0.9634 GB, free: 14.77 MB / 0.7012 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003984/0.8561, allocations: 0.8829 MB / 0.9642 GB, free: 13.89 MB / 0.7012 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01358/0.8697, allocations: 6.345 MB / 0.9704 GB, free: 7.484 MB / 0.7012 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003985/0.8701, allocations: 415 kB / 0.9708 GB, free: 7.078 MB / 0.7012 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001683/0.8718, allocations: 0.5429 MB / 0.9714 GB, free: 6.535 MB / 0.7012 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01632/0.8881, allocations: 8.072 MB / 0.9792 GB, free: 14.23 MB / 0.7169 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001114/0.8882, allocations: 19.88 kB / 0.9793 GB, free: 14.21 MB / 0.7169 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0006415/0.8889, allocations: 236 kB / 0.9795 GB, free: 13.98 MB / 0.7169 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001832/0.8891, allocations: 167.9 kB / 0.9796 GB, free: 13.81 MB / 0.7169 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01275/0.9018, allocations: 6.524 MB / 0.986 GB, free: 7.277 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.0512/0.953, allocations: 31.26 MB / 1.017 GB, free: 6.188 MB / 0.7481 GB Notification: Performance of preOpt comSubExp (simulation): time 0.006311/0.9593, allocations: 3.455 MB / 1.02 GB, free: 2.738 MB / 0.7481 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.004289/0.9636, allocations: 2.582 MB / 1.022 GB, free: 152 kB / 0.7481 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001257/0.9649, allocations: 0.828 MB / 1.023 GB, free: 15.15 MB / 0.7637 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000112/0.965, allocations: 76.66 kB / 1.023 GB, free: 15.07 MB / 0.7637 GB Notification: Performance of pre-optimization done (n=267): time 4.93e-06/0.965, allocations: 0 / 1.023 GB, free: 15.07 MB / 0.7637 GB Notification: Performance of matching and sorting (n=267): time 0.01249/0.9775, allocations: 5.773 MB / 1.029 GB, free: 9.195 MB / 0.7637 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.786e-05/0.9775, allocations: 85.52 kB / 1.029 GB, free: 9.098 MB / 0.7637 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.009091/0.9866, allocations: 5.232 MB / 1.034 GB, free: 3.867 MB / 0.7637 GB Notification: Performance of collectPreVariables (initialization): time 0.0006827/0.9873, allocations: 77.7 kB / 1.034 GB, free: 3.785 MB / 0.7637 GB Notification: Performance of collectInitialEqns (initialization): time 0.002788/0.9901, allocations: 2.934 MB / 1.037 GB, free: 0.8281 MB / 0.7637 GB Notification: Performance of collectInitialBindings (initialization): time 0.001613/0.9917, allocations: 0.9841 MB / 1.038 GB, free: 15.83 MB / 0.7794 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001109/0.9928, allocations: 0.7156 MB / 1.039 GB, free: 15.11 MB / 0.7794 GB Notification: Performance of setup shared object (initialization): time 0.0001236/0.9929, allocations: 308.9 kB / 1.039 GB, free: 14.81 MB / 0.7794 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002753/0.9957, allocations: 1.674 MB / 1.041 GB, free: 13.13 MB / 0.7794 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.003756/0.9995, allocations: 2.928 MB / 1.044 GB, free: 9.648 MB / 0.7794 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.006992/1.006, allocations: 4.97 MB / 1.048 GB, free: 4.086 MB / 0.7794 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.849e-05/1.006, allocations: 12 kB / 1.048 GB, free: 4.074 MB / 0.7794 GB Notification: Performance of matching and sorting (n=475) (initialization): time 0.01045/1.017, allocations: 5.448 MB / 1.054 GB, free: 14.57 MB / 0.795 GB Notification: Performance of prepare postOptimizeDAE: time 4.772e-05/1.017, allocations: 24 kB / 1.054 GB, free: 14.55 MB / 0.795 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.128e-05/1.017, allocations: 43.94 kB / 1.054 GB, free: 14.51 MB / 0.795 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001035/1.018, allocations: 419.8 kB / 1.054 GB, free: 14.09 MB / 0.795 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003033/1.021, allocations: 0.858 MB / 1.055 GB, free: 13.23 MB / 0.795 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.006485/1.028, allocations: 5.707 MB / 1.061 GB, free: 7.254 MB / 0.795 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.006216/1.034, allocations: 0.5276 MB / 1.061 GB, free: 6.723 MB / 0.795 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0008323/1.035, allocations: 184 kB / 1.061 GB, free: 6.543 MB / 0.795 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.004802/1.039, allocations: 2.284 MB / 1.064 GB, free: 4.25 MB / 0.795 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001787/1.041, allocations: 0.5007 MB / 1.064 GB, free: 3.746 MB / 0.795 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.007596/1.049, allocations: 4.17 MB / 1.068 GB, free: 15.52 MB / 0.8106 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.32e-05/1.049, allocations: 24 kB / 1.068 GB, free: 15.5 MB / 0.8106 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.315e-05/1.049, allocations: 8 kB / 1.068 GB, free: 15.49 MB / 0.8106 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.005439/1.054, allocations: 3.628 MB / 1.072 GB, free: 11.75 MB / 0.8106 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01892/1.073, allocations: 10.25 MB / 1.082 GB, free: 1.324 MB / 0.8106 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.219e-05/1.073, allocations: 4 kB / 1.082 GB, free: 1.32 MB / 0.8106 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002112/1.075, allocations: 0.5038 MB / 1.082 GB, free: 0.8164 MB / 0.8106 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0008891/1.076, allocations: 367.2 kB / 1.083 GB, free: 464 kB / 0.8106 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002602/1.076, allocations: 75.95 kB / 1.083 GB, free: 388 kB / 0.8106 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.006185/1.083, allocations: 5.652 MB / 1.088 GB, free: 10.45 MB / 0.8262 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.526e-06/1.083, allocations: 8 kB / 1.088 GB, free: 10.44 MB / 0.8262 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01088/1.094, allocations: 6.261 MB / 1.094 GB, free: 4.004 MB / 0.8262 GB Notification: Performance of postOpt removeConstants (simulation): time 0.003488/1.097, allocations: 1.118 MB / 1.095 GB, free: 2.863 MB / 0.8262 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001023/1.098, allocations: 59.98 kB / 1.095 GB, free: 2.805 MB / 0.8262 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002677/1.101, allocations: 187.8 kB / 1.096 GB, free: 2.621 MB / 0.8262 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003633/1.101, allocations: 173.6 kB / 1.096 GB, free: 2.453 MB / 0.8262 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002606/1.101, allocations: 127.9 kB / 1.096 GB, free: 2.328 MB / 0.8262 GB Notification: Performance of sorting global known variables: time 0.006224/1.108, allocations: 3.831 MB / 1.1 GB, free: 14.51 MB / 0.8419 GB Notification: Performance of sort global known variables: time 1.01e-07/1.108, allocations: 4 kB / 1.1 GB, free: 14.51 MB / 0.8419 GB Notification: Performance of remove unused functions: time 0.005744/1.113, allocations: 1.821 MB / 1.101 GB, free: 12.68 MB / 0.8419 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.01101/1.124, allocations: 7.178 MB / 1.108 GB, free: 5.328 MB / 0.8419 GB Notification: Performance of simCode: created initialization part: time 0.006903/1.131, allocations: 4.132 MB / 1.112 GB, free: 1.156 MB / 0.8419 GB Notification: Performance of simCode: created event and clocks part: time 1.087e-05/1.131, allocations: 4 kB / 1.112 GB, free: 1.152 MB / 0.8419 GB Notification: Performance of simCode: created simulation system equations: time 0.003013/1.134, allocations: 1.931 MB / 1.114 GB, free: 15.19 MB / 0.8575 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.01577/1.15, allocations: 3.45 MB / 1.118 GB, free: 11.84 MB / 0.8575 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.4775/1.628, allocations: 47.08 MB / 1.164 GB, free: 262.5 MB / 0.8731 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.005071/1.633, allocations: 4.311 MB / 1.168 GB, free: 261.1 MB / 0.8731 GB Notification: Performance of simCode: alias equations: time 0.005223/1.638, allocations: 1.859 MB / 1.17 GB, free: 261 MB / 0.8731 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.003492/1.641, allocations: 2.443 MB / 1.172 GB, free: 259.1 MB / 0.8731 GB Notification: Performance of SimCode: time 9.92e-07/1.641, allocations: 0 / 1.172 GB, free: 259.1 MB / 0.8731 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.2052/1.847, allocations: 154.7 MB / 1.323 GB, free: 125.8 MB / 0.8731 GB Notification: Performance of buildModelFMU: Generate platform static: time 20.46/22.3, allocations: 15.8 kB / 1.323 GB, free: 125.7 MB / 0.8731 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: 26.68064661999233] Failed to read output from testmodel.py, exit status != 0: 22.527202891011257 22.536872665 21.7098253 Calling exit ...