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.001862/0.001862, allocations: 84.05 kB / 19.76 MB, free: 2.016 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.002272/0.002272, allocations: 153.9 kB / 23.01 MB, free: 4.973 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.413/1.413, allocations: 177.2 MB / 203.4 MB, free: 8.973 MB / 190.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.002469/0.002469, allocations: 238 kB / 260 MB, free: 448 kB / 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 0.9194/0.9194, allocations: 138.5 MB / 455 MB, free: 15.08 MB / 430.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: translateModel(BuildingSystems.Fluid.Storage.Validation.StratifiedNonUniformInitial,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Fluid.Storage.Validation.StratifiedNonUniformInitial") translateModel(BuildingSystems.Fluid.Storage.Validation.StratifiedNonUniformInitial,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Fluid.Storage.Validation.StratifiedNonUniformInitial") [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.003123/0.003123, allocations: 103.8 kB / 0.6473 GB, free: 7.57 MB / 0.5606 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4536/0.4567, allocations: 95.35 MB / 0.7404 GB, free: 17.44 MB / 0.5919 GB Notification: Performance of NFInst.instantiate(BuildingSystems.Fluid.Storage.Validation.StratifiedNonUniformInitial): time 0.0432/0.4999, allocations: 45.39 MB / 0.7848 GB, free: 0.6328 MB / 0.6075 GB Notification: Performance of NFInst.instExpressions: time 0.01952/0.5194, allocations: 12.95 MB / 0.7974 GB, free: 6.379 MB / 0.6231 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.002431/0.5219, allocations: 91.94 kB / 0.7975 GB, free: 6.332 MB / 0.6231 GB Notification: Performance of NFTyping.typeComponents: time 0.002157/0.524, allocations: 0.8064 MB / 0.7983 GB, free: 5.645 MB / 0.6231 GB Notification: Performance of NFTyping.typeBindings: time 0.006535/0.5306, allocations: 2.395 MB / 0.8006 GB, free: 3.742 MB / 0.6231 GB Notification: Performance of NFTyping.typeClassSections: time 0.003337/0.5339, allocations: 1.354 MB / 0.802 GB, free: 2.672 MB / 0.6231 GB Notification: Performance of NFFlatten.flatten: time 0.02164/0.5555, allocations: 20.31 MB / 0.8218 GB, free: 15.39 MB / 0.6544 GB Notification: Performance of NFFlatten.resolveConnections: time 0.009258/0.5648, allocations: 6.463 MB / 0.8281 GB, free: 8.797 MB / 0.6544 GB Notification: Performance of NFEvalConstants.evaluate: time 0.01339/0.5782, allocations: 6.732 MB / 0.8347 GB, free: 2.086 MB / 0.6544 GB Notification: Performance of NFSimplifyModel.simplify: time 0.01314/0.5913, allocations: 6.344 MB / 0.8409 GB, free: 11.72 MB / 0.67 GB Notification: Performance of NFPackage.collectConstants: time 0.002746/0.5941, allocations: 0.8438 MB / 0.8417 GB, free: 10.88 MB / 0.67 GB Notification: Performance of NFFlatten.collectFunctions: time 0.006288/0.6003, allocations: 1.483 MB / 0.8431 GB, free: 9.391 MB / 0.67 GB Notification: Performance of NFScalarize.scalarize: time 0.003905/0.6043, allocations: 2.204 MB / 0.8453 GB, free: 7.18 MB / 0.67 GB Notification: Performance of NFVerifyModel.verify: time 0.009492/0.6137, allocations: 3.514 MB / 0.8487 GB, free: 3.652 MB / 0.67 GB Notification: Performance of NFConvertDAE.convert: time 0.01774/0.6315, allocations: 12.19 MB / 0.8606 GB, free: 7.43 MB / 0.6856 GB Notification: Performance of FrontEnd - DAE generated: time 8.616e-06/0.6315, allocations: 0 / 0.8606 GB, free: 7.43 MB / 0.6856 GB Notification: Performance of FrontEnd: time 2.274e-06/0.6315, allocations: 0 / 0.8606 GB, free: 7.43 MB / 0.6856 GB Notification: Performance of Transformations before backend: time 0.0003877/0.6319, allocations: 0 / 0.8606 GB, free: 7.43 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.01947/0.6513, allocations: 7.861 MB / 0.8683 GB, free: 15.5 MB / 0.7012 GB Notification: Performance of prepare preOptimizeDAE: time 5.306e-05/0.6514, allocations: 13.34 kB / 0.8683 GB, free: 15.49 MB / 0.7012 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004011/0.6554, allocations: 0.875 MB / 0.8692 GB, free: 14.61 MB / 0.7012 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01481/0.6702, allocations: 6.374 MB / 0.8754 GB, free: 8.16 MB / 0.7012 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0005/0.6707, allocations: 415.4 kB / 0.8758 GB, free: 7.754 MB / 0.7012 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.002051/0.6728, allocations: 0.5506 MB / 0.8763 GB, free: 7.203 MB / 0.7012 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.02244/0.6952, allocations: 9.123 MB / 0.8852 GB, free: 13.58 MB / 0.7169 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.000247/0.6955, allocations: 11.94 kB / 0.8852 GB, free: 13.57 MB / 0.7169 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.001621/0.6971, allocations: 240 kB / 0.8855 GB, free: 13.34 MB / 0.7169 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0002141/0.6973, allocations: 167.9 kB / 0.8856 GB, free: 13.17 MB / 0.7169 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01427/0.7116, allocations: 6.516 MB / 0.892 GB, free: 6.645 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.04531/0.7569, allocations: 22.47 MB / 0.9139 GB, free: 15.8 MB / 0.7481 GB Notification: Performance of preOpt comSubExp (simulation): time 0.006443/0.7633, allocations: 3.437 MB / 0.9173 GB, free: 12.37 MB / 0.7481 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.004527/0.7678, allocations: 2.573 MB / 0.9198 GB, free: 9.789 MB / 0.7481 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0007332/0.7686, allocations: 146 kB / 0.92 GB, free: 9.645 MB / 0.7481 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 8.992e-05/0.7687, allocations: 72.61 kB / 0.92 GB, free: 9.562 MB / 0.7481 GB Notification: Performance of pre-optimization done (n=267): time 6.322e-06/0.7687, allocations: 0 / 0.92 GB, free: 9.562 MB / 0.7481 GB Notification: Performance of matching and sorting (n=267): time 0.01214/0.7808, allocations: 5.564 MB / 0.9255 GB, free: 3.938 MB / 0.7481 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.237e-05/0.7809, allocations: 77.52 kB / 0.9255 GB, free: 3.848 MB / 0.7481 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.008664/0.7895, allocations: 4.551 MB / 0.93 GB, free: 15.27 MB / 0.7637 GB Notification: Performance of collectPreVariables (initialization): time 0.000409/0.79, allocations: 77.7 kB / 0.93 GB, free: 15.19 MB / 0.7637 GB Notification: Performance of collectInitialEqns (initialization): time 0.002808/0.7928, allocations: 2.926 MB / 0.9329 GB, free: 12.24 MB / 0.7637 GB Notification: Performance of collectInitialBindings (initialization): time 0.001295/0.7941, allocations: 0.98 MB / 0.9339 GB, free: 11.25 MB / 0.7637 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001373/0.7954, allocations: 0.7195 MB / 0.9346 GB, free: 10.53 MB / 0.7637 GB Notification: Performance of setup shared object (initialization): time 0.0001316/0.7956, allocations: 309.1 kB / 0.9349 GB, free: 10.22 MB / 0.7637 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.00291/0.7985, allocations: 1.678 MB / 0.9365 GB, free: 8.543 MB / 0.7637 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.004039/0.8025, allocations: 3.032 MB / 0.9395 GB, free: 4.93 MB / 0.7637 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.007295/0.8098, allocations: 4.97 MB / 0.9443 GB, free: 15.37 MB / 0.7794 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.409e-05/0.8099, allocations: 12 kB / 0.9443 GB, free: 15.36 MB / 0.7794 GB Notification: Performance of matching and sorting (n=475) (initialization): time 0.009935/0.8198, allocations: 5.386 MB / 0.9496 GB, free: 9.918 MB / 0.7794 GB Notification: Performance of prepare postOptimizeDAE: time 5.015e-05/0.8198, allocations: 24 kB / 0.9496 GB, free: 9.895 MB / 0.7794 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.589e-05/0.8199, allocations: 40 kB / 0.9496 GB, free: 9.855 MB / 0.7794 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001031/0.8209, allocations: 417.6 kB / 0.95 GB, free: 9.441 MB / 0.7794 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003082/0.824, allocations: 0.858 MB / 0.9509 GB, free: 8.582 MB / 0.7794 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.006418/0.8304, allocations: 5.372 MB / 0.9561 GB, free: 3.012 MB / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003735/0.8342, allocations: 476.9 kB / 0.9566 GB, free: 2.543 MB / 0.7794 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0004036/0.8346, allocations: 187.9 kB / 0.9568 GB, free: 2.359 MB / 0.7794 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.003894/0.8385, allocations: 2.28 MB / 0.959 GB, free: 68 kB / 0.7794 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001381/0.8398, allocations: 449.2 kB / 0.9594 GB, free: 15.62 MB / 0.795 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.007453/0.8473, allocations: 4.108 MB / 0.9634 GB, free: 11.46 MB / 0.795 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.42e-05/0.8473, allocations: 31.98 kB / 0.9635 GB, free: 11.43 MB / 0.795 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.651e-05/0.8474, allocations: 8 kB / 0.9635 GB, free: 11.42 MB / 0.795 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.005677/0.853, allocations: 3.627 MB / 0.967 GB, free: 7.68 MB / 0.795 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01778/0.8708, allocations: 8.885 MB / 0.9757 GB, free: 14.65 MB / 0.8106 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.57e-05/0.8708, allocations: 4.562 kB / 0.9757 GB, free: 14.64 MB / 0.8106 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002194/0.873, allocations: 0.4993 MB / 0.9762 GB, free: 14.14 MB / 0.8106 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0008733/0.8739, allocations: 376.3 kB / 0.9765 GB, free: 13.77 MB / 0.8106 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002443/0.8741, allocations: 79.89 kB / 0.9766 GB, free: 13.7 MB / 0.8106 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.006167/0.8803, allocations: 5.304 MB / 0.9818 GB, free: 8.188 MB / 0.8106 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.867e-06/0.8803, allocations: 7.938 kB / 0.9818 GB, free: 8.18 MB / 0.8106 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01057/0.8909, allocations: 6.183 MB / 0.9878 GB, free: 1.824 MB / 0.8106 GB Notification: Performance of postOpt removeConstants (simulation): time 0.003368/0.8942, allocations: 0.975 MB / 0.9888 GB, free: 0.8477 MB / 0.8106 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001091/0.8953, allocations: 63.98 kB / 0.9888 GB, free: 0.7852 MB / 0.8106 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.003015/0.8984, allocations: 167.8 kB / 0.989 GB, free: 0.6211 MB / 0.8106 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.00036/0.8987, allocations: 193.5 kB / 0.9892 GB, free: 444 kB / 0.8106 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0003433/0.8991, allocations: 131.8 kB / 0.9893 GB, free: 312 kB / 0.8106 GB Notification: Performance of sorting global known variables: time 0.3563/1.255, allocations: 3.111 MB / 0.9924 GB, free: 210.8 MB / 0.8106 GB Notification: Performance of sort global known variables: time 3.21e-07/1.255, allocations: 0 / 0.9924 GB, free: 210.8 MB / 0.8106 GB Notification: Performance of remove unused functions: time 0.006042/1.261, allocations: 1.888 MB / 0.9942 GB, free: 210.7 MB / 0.8106 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.001015/1.262, allocations: 466.1 kB / 0.9946 GB, free: 210.6 MB / 0.8106 GB Notification: Performance of simCode: created initialization part: time 0.006404/1.269, allocations: 4.134 MB / 0.9987 GB, free: 209.1 MB / 0.8106 GB Notification: Performance of simCode: created event and clocks part: time 1.079e-05/1.269, allocations: 6.562 kB / 0.9987 GB, free: 209.1 MB / 0.8106 GB Notification: Performance of simCode: created simulation system equations: time 0.002526/1.271, allocations: 1.923 MB / 1.001 GB, free: 208.3 MB / 0.8106 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.01095/1.282, allocations: 2.628 MB / 1.003 GB, free: 207.7 MB / 0.8106 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01827/1.301, allocations: 12.51 MB / 1.015 GB, free: 202.2 MB / 0.8106 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.003878/1.304, allocations: 3.804 MB / 1.019 GB, free: 201.1 MB / 0.8106 GB Notification: Performance of simCode: alias equations: time 0.004794/1.309, allocations: 1.659 MB / 1.021 GB, free: 200.9 MB / 0.8106 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0009967/1.31, allocations: 386.2 kB / 1.021 GB, free: 200.9 MB / 0.8106 GB Notification: Performance of SimCode: time 1.193e-06/1.31, allocations: 0 / 1.021 GB, free: 200.9 MB / 0.8106 GB Notification: Performance of Templates: time 0.1191/1.429, allocations: 94.86 MB / 1.114 GB, free: 119.2 MB / 0.8106 GB " [Timeout remaining time 659] make -j1 -f BuildingSystems_BuildingSystems.Fluid.Storage.Validation.StratifiedNonUniformInitial.makefile [Timeout 660] (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 & ./BuildingSystems_BuildingSystems.Fluid.Storage.Validation.StratifiedNonUniformInitial -abortSlowSimulation -alarm=480 -s ida -lv LOG_STATS > BuildingSystems_BuildingSystems.Fluid.Storage.Validation.StratifiedNonUniformInitial.pipe 2>&1) [Timeout 480] [Calling sys.exit(0), Time elapsed: 9.432458786992356] Failed to read output from testmodel.py, exit status != 0: 1.437907184008509 1.4478377519999999 0.813806912 Calling exit ...