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.002176/0.002176, allocations: 85.48 kB / 19.44 MB, free: 344 kB / 13.93 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.002655/0.002655, allocations: 173.2 kB / 22.76 MB, free: 1.664 MB / 18.57 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.575/1.575, allocations: 177.1 MB / 203.1 MB, free: 5.609 MB / 186.7 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.003074/0.003074, allocations: 234.3 kB / 259.8 MB, free: 12.85 MB / 250.7 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.204/1.204, allocations: 138.4 MB / 454.7 MB, free: 1.504 MB / 362.7 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: Performance of FrontEnd - loaded program: time 2.414e-06/2.414e-06, allocations: 0 / 0.5543 GB, free: 0.8906 MB / 474.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.963e-05/3.204e-05, allocations: 2.312 kB / 0.5543 GB, free: 0.8867 MB / 474.7 MB Notification: Performance of NFInst.instantiate(BuildingSystems.Fluid.Storage.Validation.StratifiedNonUniformInitial): time 0.316/0.316, allocations: 50.89 MB / 0.604 GB, free: 59.53 MB / 0.5105 GB Notification: Performance of NFInst.instExpressions: time 0.01689/0.3329, allocations: 14.36 MB / 0.618 GB, free: 59.4 MB / 0.5105 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.002957/0.3359, allocations: 88.19 kB / 0.6181 GB, free: 59.4 MB / 0.5105 GB Notification: Performance of NFTyping.typeComponents: time 0.002502/0.3384, allocations: 0.8171 MB / 0.6189 GB, free: 59.37 MB / 0.5105 GB Notification: Performance of NFTyping.typeBindings: time 0.007081/0.3455, allocations: 2.462 MB / 0.6213 GB, free: 58.86 MB / 0.5105 GB Notification: Performance of NFTyping.typeClassSections: time 0.003847/0.3493, allocations: 1.393 MB / 0.6227 GB, free: 58.82 MB / 0.5105 GB Notification: Performance of NFFlatten.flatten: time 0.0213/0.3706, allocations: 20.58 MB / 0.6428 GB, free: 49.93 MB / 0.5105 GB Notification: Performance of NFFlatten.resolveConnections: time 0.009788/0.3804, allocations: 6.734 MB / 0.6494 GB, free: 46.2 MB / 0.5105 GB Notification: Performance of NFEvalConstants.evaluate: time 0.02172/0.4021, allocations: 9.338 MB / 0.6585 GB, free: 42.57 MB / 0.5105 GB Notification: Performance of NFSimplifyModel.simplify: time 0.01092/0.413, allocations: 5.988 MB / 0.6643 GB, free: 39.8 MB / 0.5105 GB Notification: Performance of NFPackage.collectConstants: time 0.003/0.416, allocations: 0.8466 MB / 0.6652 GB, free: 39.8 MB / 0.5105 GB Notification: Performance of NFFlatten.collectFunctions: time 0.006871/0.4229, allocations: 1.496 MB / 0.6666 GB, free: 38.66 MB / 0.5105 GB Notification: Performance of NFScalarize.scalarize: time 0.00265/0.4256, allocations: 2.285 MB / 0.6688 GB, free: 36.5 MB / 0.5105 GB Notification: Performance of NFVerifyModel.verify: time 0.006459/0.432, allocations: 3.056 MB / 0.6718 GB, free: 33.58 MB / 0.5105 GB Notification: Performance of NFConvertDAE.convert: time 0.01205/0.4441, allocations: 12.35 MB / 0.6839 GB, free: 21.65 MB / 0.5105 GB Notification: Performance of FrontEnd - DAE generated: time 6.332e-06/0.4441, allocations: 4 kB / 0.6839 GB, free: 21.64 MB / 0.5105 GB Notification: Performance of FrontEnd: time 9.51e-07/0.4441, allocations: 0 / 0.6839 GB, free: 21.64 MB / 0.5105 GB Notification: Performance of Transformations before backend: time 0.0003897/0.4445, allocations: 0 / 0.6839 GB, free: 21.64 MB / 0.5105 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.01689/0.4614, allocations: 8.84 MB / 0.6925 GB, free: 12.84 MB / 0.5105 GB Notification: Performance of prepare preOptimizeDAE: time 4.201e-05/0.4614, allocations: 8.75 kB / 0.6925 GB, free: 12.84 MB / 0.5105 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003646/0.465, allocations: 1.396 MB / 0.6939 GB, free: 11.44 MB / 0.5105 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01278/0.4778, allocations: 5.879 MB / 0.6996 GB, free: 5.773 MB / 0.5105 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002515/0.4781, allocations: 424.4 kB / 0.7 GB, free: 5.363 MB / 0.5105 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001458/0.4795, allocations: 0.5511 MB / 0.7006 GB, free: 4.812 MB / 0.5105 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01672/0.4963, allocations: 9.124 MB / 0.7095 GB, free: 11.12 MB / 0.5261 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0002233/0.4965, allocations: 19.83 kB / 0.7095 GB, free: 11.11 MB / 0.5261 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.001385/0.4979, allocations: 239.4 kB / 0.7097 GB, free: 10.88 MB / 0.5261 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0002279/0.4981, allocations: 167.9 kB / 0.7099 GB, free: 10.71 MB / 0.5261 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01368/0.5118, allocations: 5.466 MB / 0.7152 GB, free: 5.234 MB / 0.5261 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.07284/0.5846, allocations: 43.04 MB / 0.7573 GB, free: 7.98 MB / 0.573 GB Notification: Performance of preOpt comSubExp (simulation): time 0.006614/0.5912, allocations: 3.049 MB / 0.7602 GB, free: 4.941 MB / 0.573 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.005757/0.597, allocations: 2.263 MB / 0.7625 GB, free: 2.668 MB / 0.573 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0009473/0.5979, allocations: 154 kB / 0.7626 GB, free: 2.516 MB / 0.573 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001388/0.5981, allocations: 75.5 kB / 0.7627 GB, free: 2.43 MB / 0.573 GB Notification: Performance of pre-optimization done (n=267): time 1.046e-05/0.5981, allocations: 0 / 0.7627 GB, free: 2.43 MB / 0.573 GB Notification: Performance of matching and sorting (n=267): time 0.01758/0.6157, allocations: 4.7 MB / 0.7673 GB, free: 13.67 MB / 0.5886 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.000106/0.6158, allocations: 81.52 kB / 0.7673 GB, free: 13.58 MB / 0.5886 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.01586/0.6316, allocations: 5.502 MB / 0.7727 GB, free: 8.035 MB / 0.5886 GB Notification: Performance of collectPreVariables (initialization): time 0.0009447/0.6326, allocations: 77.7 kB / 0.7728 GB, free: 7.953 MB / 0.5886 GB Notification: Performance of collectInitialEqns (initialization): time 0.006634/0.6392, allocations: 3.383 MB / 0.7761 GB, free: 4.559 MB / 0.5886 GB Notification: Performance of collectInitialBindings (initialization): time 0.003/0.6422, allocations: 1.081 MB / 0.7772 GB, free: 3.488 MB / 0.5886 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.003506/0.6457, allocations: 0.9266 MB / 0.7781 GB, free: 2.551 MB / 0.5886 GB Notification: Performance of setup shared object (initialization): time 0.0003821/0.6461, allocations: 476.8 kB / 0.7785 GB, free: 2.082 MB / 0.5886 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.004926/0.651, allocations: 1.284 MB / 0.7798 GB, free: 0.7969 MB / 0.5886 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.008436/0.6595, allocations: 3.342 MB / 0.783 GB, free: 12.67 MB / 0.6042 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.01431/0.6738, allocations: 4.986 MB / 0.7879 GB, free: 6.887 MB / 0.6042 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.638e-05/0.6738, allocations: 15.88 kB / 0.7879 GB, free: 6.875 MB / 0.6042 GB Notification: Performance of matching and sorting (n=475) (initialization): time 0.01999/0.6938, allocations: 4.82 MB / 0.7926 GB, free: 2 MB / 0.6042 GB Notification: Performance of prepare postOptimizeDAE: time 7.032e-05/0.6939, allocations: 24 kB / 0.7926 GB, free: 1.977 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.01e-05/0.694, allocations: 40 kB / 0.7927 GB, free: 1.938 MB / 0.6042 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.004405/0.6984, allocations: 0.5176 MB / 0.7932 GB, free: 1.414 MB / 0.6042 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.007313/0.7057, allocations: 0.858 MB / 0.794 GB, free: 0.5547 MB / 0.6042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01323/0.7189, allocations: 6.602 MB / 0.8005 GB, free: 9.723 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.008123/0.7271, allocations: 469 kB / 0.8009 GB, free: 9.262 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.00117/0.7282, allocations: 184 kB / 0.8011 GB, free: 9.082 MB / 0.6198 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.007976/0.7362, allocations: 2.017 MB / 0.8031 GB, free: 7.051 MB / 0.6198 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.00316/0.7394, allocations: 0.5168 MB / 0.8036 GB, free: 6.531 MB / 0.6198 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01385/0.7532, allocations: 3.403 MB / 0.8069 GB, free: 3.078 MB / 0.6198 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.903e-05/0.7533, allocations: 28 kB / 0.8069 GB, free: 3.051 MB / 0.6198 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.331e-05/0.7533, allocations: 4 kB / 0.8069 GB, free: 3.047 MB / 0.6198 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.01014/0.7634, allocations: 2.977 MB / 0.8098 GB, free: 15.95 MB / 0.6355 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.04205/0.8055, allocations: 10.06 MB / 0.8197 GB, free: 5.766 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.464e-05/0.8055, allocations: 6.75 kB / 0.8197 GB, free: 5.762 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.004952/0.8105, allocations: 0.4993 MB / 0.8202 GB, free: 5.262 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.00416/0.8146, allocations: 485.3 kB / 0.8206 GB, free: 4.781 MB / 0.6355 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0006907/0.8153, allocations: 75.91 kB / 0.8207 GB, free: 4.707 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0136/0.8289, allocations: 6.549 MB / 0.8271 GB, free: 13.93 MB / 0.6511 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.261e-05/0.829, allocations: 4 kB / 0.8271 GB, free: 13.92 MB / 0.6511 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.02227/0.8512, allocations: 5.351 MB / 0.8323 GB, free: 8.371 MB / 0.6511 GB Notification: Performance of postOpt removeConstants (simulation): time 0.006198/0.8574, allocations: 0.8898 MB / 0.8332 GB, free: 7.477 MB / 0.6511 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.002227/0.8596, allocations: 63.98 kB / 0.8332 GB, free: 7.414 MB / 0.6511 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.006008/0.8657, allocations: 174.9 kB / 0.8334 GB, free: 7.246 MB / 0.6511 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0008/0.8665, allocations: 185.5 kB / 0.8336 GB, free: 7.062 MB / 0.6511 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0007741/0.8672, allocations: 127.9 kB / 0.8337 GB, free: 6.938 MB / 0.6511 GB Notification: Performance of sorting global known variables: time 0.01203/0.8793, allocations: 3.19 MB / 0.8368 GB, free: 3.742 MB / 0.6511 GB Notification: Performance of sort global known variables: time 1.61e-07/0.8793, allocations: 0 / 0.8368 GB, free: 3.742 MB / 0.6511 GB Notification: Performance of remove unused functions: time 0.01344/0.8927, allocations: 1.89 MB / 0.8387 GB, free: 1.848 MB / 0.6511 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.002723/0.8954, allocations: 477.6 kB / 0.8391 GB, free: 1.391 MB / 0.6511 GB Notification: Performance of simCode: created initialization part: time 0.2693/1.165, allocations: 3.944 MB / 0.843 GB, free: 211.2 MB / 0.6511 GB Notification: Performance of simCode: created event and clocks part: time 1.388e-05/1.165, allocations: 2.844 kB / 0.843 GB, free: 211.2 MB / 0.6511 GB Notification: Performance of simCode: created simulation system equations: time 0.002689/1.167, allocations: 1.971 MB / 0.8449 GB, free: 210.8 MB / 0.6511 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.01274/1.18, allocations: 2.715 MB / 0.8476 GB, free: 210.6 MB / 0.6511 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01998/1.2, allocations: 11.38 MB / 0.8587 GB, free: 206.7 MB / 0.6511 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.005598/1.206, allocations: 3.422 MB / 0.862 GB, free: 206.2 MB / 0.6511 GB Notification: Performance of simCode: alias equations: time 0.006767/1.213, allocations: 1.372 MB / 0.8633 GB, free: 206 MB / 0.6511 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001821/1.214, allocations: 374.7 kB / 0.8637 GB, free: 206 MB / 0.6511 GB Notification: Performance of SimCode: time 1.613e-06/1.214, allocations: 0 / 0.8637 GB, free: 206 MB / 0.6511 GB Notification: Performance of Templates: time 0.1295/1.344, allocations: 93.43 MB / 0.9549 GB, free: 132.3 MB / 0.6511 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=240 -lv LOG_STATS > BuildingSystems_BuildingSystems.Fluid.Storage.Validation.StratifiedNonUniformInitial.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 9.778888349886984]