Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr AES_AES.Coursework.ThermSys_Transport.Stratified_storage_tank_case_003.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.0009704/0.0009704, allocations: 78.66 kB / 21.46 MB, free: 3.043 MB / 18.57 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.001046/0.001046, allocations: 163.2 kB / 24.86 MB, free: 8.656 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 0.932/0.932, allocations: 177.1 MB / 205.3 MB, free: 5.52 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/AES main/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/AES main/package.mo): time 0.0656/0.0656, allocations: 18.15 MB / 280 MB, free: 11.17 MB / 266.7 MB " [Timeout remaining time 180] Using package AES with version (/home/hudson/saved_omc/libraries/.openmodelica/libraries/AES main/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(AES.Coursework.ThermSys_Transport.Stratified_storage_tank_case_003,tolerance=1e-06,outputFormat="empty",numberOfIntervals=10000,variableFilter="",fileNamePrefix="AES_AES.Coursework.ThermSys_Transport.Stratified_storage_tank_case_003") translateModel(AES.Coursework.ThermSys_Transport.Stratified_storage_tank_case_003,tolerance=1e-06,outputFormat="empty",numberOfIntervals=10000,variableFilter="",fileNamePrefix="AES_AES.Coursework.ThermSys_Transport.Stratified_storage_tank_case_003") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.192e-06/1.192e-06, allocations: 0 / 359.4 MB, free: 7.773 MB / 330.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.476e-05/2.595e-05, allocations: 6.25 kB / 359.4 MB, free: 7.766 MB / 330.7 MB Notification: Performance of NFInst.instantiate(AES.Coursework.ThermSys_Transport.Stratified_storage_tank_case_003): time 0.003395/0.003421, allocations: 3.159 MB / 362.5 MB, free: 4.59 MB / 330.7 MB Notification: Performance of NFInst.instExpressions: time 0.001686/0.005107, allocations: 0.9194 MB / 363.5 MB, free: 3.664 MB / 330.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002089/0.005316, allocations: 7.938 kB / 363.5 MB, free: 3.656 MB / 330.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0001815/0.005497, allocations: 71.34 kB / 363.5 MB, free: 3.586 MB / 330.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0003175/0.005815, allocations: 174.5 kB / 363.7 MB, free: 3.414 MB / 330.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.000528/0.006343, allocations: 203.5 kB / 363.9 MB, free: 3.215 MB / 330.7 MB Notification: Performance of NFFlatten.flatten: time 0.0007405/0.007083, allocations: 0.7754 MB / 364.7 MB, free: 2.438 MB / 330.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0005267/0.00761, allocations: 374.2 kB / 365 MB, free: 2.07 MB / 330.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0005135/0.008123, allocations: 299.3 kB / 365.3 MB, free: 1.777 MB / 330.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0004004/0.008524, allocations: 327.2 kB / 365.7 MB, free: 1.457 MB / 330.7 MB Notification: Performance of NFPackage.collectConstants: time 8.616e-05/0.00861, allocations: 76 kB / 365.7 MB, free: 1.383 MB / 330.7 MB Notification: Performance of NFFlatten.collectFunctions: time 8.468e-05/0.008695, allocations: 76 kB / 365.8 MB, free: 1.309 MB / 330.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0001442/0.008839, allocations: 215.4 kB / 366 MB, free: 1.098 MB / 330.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0001961/0.009035, allocations: 255.4 kB / 366.3 MB, free: 0.8477 MB / 330.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0004524/0.009487, allocations: 0.549 MB / 366.8 MB, free: 304 kB / 330.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.798e-06/0.009491, allocations: 0 / 366.8 MB, free: 304 kB / 330.7 MB Notification: Performance of FrontEnd: time 9.92e-07/0.009492, allocations: 0 / 366.8 MB, free: 304 kB / 330.7 MB Notification: Performance of Transformations before backend: time 7.755e-06/0.0095, allocations: 0 / 366.8 MB, free: 304 kB / 330.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 123 * Number of variables: 123 Notification: Performance of Generate backend data structure: time 0.001109/0.01061, allocations: 0.936 MB / 367.7 MB, free: 15.32 MB / 346.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.607e-05/0.01064, allocations: 8.922 kB / 367.8 MB, free: 15.32 MB / 346.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000157/0.0108, allocations: 108.6 kB / 367.9 MB, free: 15.21 MB / 346.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003587/0.01116, allocations: 315 kB / 368.2 MB, free: 14.87 MB / 346.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001035/0.01126, allocations: 105 kB / 368.3 MB, free: 14.75 MB / 346.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 7.437e-05/0.01134, allocations: 48.38 kB / 368.3 MB, free: 14.71 MB / 346.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005008/0.01184, allocations: 454.9 kB / 368.8 MB, free: 14.25 MB / 346.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.359e-05/0.01185, allocations: 192 / 368.8 MB, free: 14.25 MB / 346.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.04e-05/0.01189, allocations: 24.12 kB / 368.8 MB, free: 14.22 MB / 346.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.937e-06/0.0119, allocations: 12 kB / 368.8 MB, free: 14.21 MB / 346.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002994/0.0122, allocations: 234.8 kB / 369 MB, free: 13.98 MB / 346.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002331/0.01453, allocations: 1.898 MB / 370.9 MB, free: 12.04 MB / 346.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003707/0.0149, allocations: 292.2 kB / 371.2 MB, free: 11.74 MB / 346.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001861/0.01509, allocations: 173.1 kB / 371.4 MB, free: 11.57 MB / 346.7 MB Notification: Performance of preOpt evalFunc (simulation): time 3.336e-05/0.01512, allocations: 12.48 kB / 371.4 MB, free: 11.56 MB / 346.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.451e-05/0.01515, allocations: 45.88 kB / 371.4 MB, free: 11.5 MB / 346.7 MB Notification: Performance of pre-optimization done (n=48): time 1.653e-06/0.01515, allocations: 0 / 371.4 MB, free: 11.5 MB / 346.7 MB Notification: Performance of matching and sorting (n=54): time 0.001755/0.0169, allocations: 1.161 MB / 372.6 MB, free: 10.3 MB / 346.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.804e-05/0.01693, allocations: 55.91 kB / 372.7 MB, free: 10.24 MB / 346.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001681/0.0171, allocations: 310.2 kB / 373 MB, free: 9.922 MB / 346.7 MB Notification: Performance of collectPreVariables (initialization): time 3.202e-05/0.01713, allocations: 29.7 kB / 373 MB, free: 9.887 MB / 346.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001178/0.01725, allocations: 291.9 kB / 373.3 MB, free: 9.594 MB / 346.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001157/0.01737, allocations: 210.2 kB / 373.5 MB, free: 9.387 MB / 346.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001288/0.01749, allocations: 103.9 kB / 373.6 MB, free: 9.277 MB / 346.7 MB Notification: Performance of setup shared object (initialization): time 0.0001475/0.01764, allocations: 0.5273 MB / 374.1 MB, free: 8.738 MB / 346.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001775/0.01782, allocations: 150.2 kB / 374.3 MB, free: 8.586 MB / 346.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001916/0.01801, allocations: 220.7 kB / 374.5 MB, free: 8.344 MB / 346.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000523/0.01853, allocations: 458 kB / 374.9 MB, free: 7.867 MB / 346.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.174e-06/0.01854, allocations: 0 / 374.9 MB, free: 7.867 MB / 346.7 MB Notification: Performance of matching and sorting (n=69) (initialization): time 0.0005128/0.01905, allocations: 461.1 kB / 375.4 MB, free: 7.41 MB / 346.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.541e-05/0.01906, allocations: 4 kB / 375.4 MB, free: 7.406 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.733e-06/0.01907, allocations: 7.938 kB / 375.4 MB, free: 7.398 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.127e-05/0.01908, allocations: 7.938 kB / 375.4 MB, free: 7.391 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002186/0.02127, allocations: 0.6323 MB / 376 MB, free: 6.758 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.345e-06/0.02128, allocations: 7.984 kB / 376 MB, free: 6.75 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001857/0.02146, allocations: 31.97 kB / 376.1 MB, free: 6.719 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.906e-05/0.02149, allocations: 20 kB / 376.1 MB, free: 6.699 MB / 346.7 MB Warning: Assuming fixed start value for the following 5 variables: H.Ec:VARIABLE(flow=false fixed = true ) type: Real stank.lcold:VARIABLE(start = stank.lcoldstart unit = \"m\" fixed = true stateSelect=StateSelect.prefer ) \"cold height\" type: Real stank.Thot:VARIABLE(min = 0.0 start = stank.Thotstart unit = \"K\" fixed = true nominal = 300.0 stateSelect=StateSelect.prefer ) type: Real stank.Tcold:VARIABLE(min = 0.0 start = stank.Tcoldstart unit = \"K\" fixed = true nominal = 300.0 stateSelect=StateSelect.prefer ) type: Real H.Tfo:VARIABLE(min = 0.0 start = H.Tstart unit = \"K\" fixed = true nominal = 300.0 ) \"outlet fluid temp\" type: Real Warning: The initial conditions are over specified. The following 1 initial equations are redundant, so they are removed from the initialization system: $DER.tube.w = 0.0. Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 7 * Number of states: 0 () * Number of discrete variables: 1 (H.ON) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (69): * Single equations (assignments): 69 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0002182/0.02171, allocations: 213.6 kB / 376.3 MB, free: 6.484 MB / 346.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.014e-05/0.02179, allocations: 59.77 kB / 376.3 MB, free: 6.426 MB / 346.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005161/0.02231, allocations: 453.5 kB / 376.8 MB, free: 5.977 MB / 346.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.4e-06/0.02231, allocations: 11.94 kB / 376.8 MB, free: 5.965 MB / 346.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.503e-06/0.02231, allocations: 0 / 376.8 MB, free: 5.965 MB / 346.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.721e-06/0.02232, allocations: 3.984 kB / 376.8 MB, free: 5.961 MB / 346.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001217/0.02354, allocations: 1.123 MB / 377.9 MB, free: 4.785 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.095e-06/0.02354, allocations: 3.938 kB / 377.9 MB, free: 4.781 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002217/0.02576, allocations: 0.6244 MB / 378.6 MB, free: 4.156 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 6.422e-06/0.02577, allocations: 4 kB / 378.6 MB, free: 4.152 MB / 346.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.94e-05/0.02581, allocations: 15.98 kB / 378.6 MB, free: 4.137 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.747e-06/0.02581, allocations: 4 kB / 378.6 MB, free: 4.133 MB / 346.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.553e-06/0.02581, allocations: 0 / 378.6 MB, free: 4.133 MB / 346.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007485/0.02656, allocations: 0.7295 MB / 379.3 MB, free: 3.371 MB / 346.7 MB Notification: Performance of postOpt removeConstants (simulation): time 4.311e-05/0.0266, allocations: 47.69 kB / 379.4 MB, free: 3.324 MB / 346.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.61e-05/0.02666, allocations: 12 kB / 379.4 MB, free: 3.312 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001933/0.02685, allocations: 27.97 kB / 379.4 MB, free: 3.285 MB / 346.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001089/0.02696, allocations: 84.34 kB / 379.5 MB, free: 3.203 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.61e-05/0.02699, allocations: 15.98 kB / 379.5 MB, free: 3.188 MB / 346.7 MB Notification: Performance of sorting global known variables: time 0.0001003/0.02709, allocations: 210.9 kB / 379.7 MB, free: 2.984 MB / 346.7 MB Notification: Performance of sort global known variables: time 6e-08/0.02709, allocations: 0 / 379.7 MB, free: 2.984 MB / 346.7 MB Notification: Performance of remove unused functions: time 0.0003076/0.0274, allocations: 148 kB / 379.8 MB, free: 2.84 MB / 346.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 4 * Number of states: 10 (stank.lcold,stank.Thot,stank.Tcold,H.Tfo,H.Ec,tube.T[1],tube.T[2],tube.T[3],tube.T[4],tube.T[5]) * Number of discrete variables: 1 (H.ON) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (55): * Single equations (assignments): 55 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0001284/0.02752, allocations: 119.1 kB / 380 MB, free: 2.715 MB / 346.7 MB Notification: Performance of simCode: created initialization part: time 0.0004444/0.02797, allocations: 383.1 kB / 380.3 MB, free: 2.34 MB / 346.7 MB Notification: Performance of simCode: created event and clocks part: time 2.154e-06/0.02797, allocations: 0 / 380.3 MB, free: 2.34 MB / 346.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0002159/0.02819, allocations: 219.9 kB / 380.5 MB, free: 2.121 MB / 346.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003351/0.02852, allocations: 103.5 kB / 380.6 MB, free: 2.023 MB / 346.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001819/0.03034, allocations: 1.398 MB / 382 MB, free: 0.5781 MB / 346.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 7.629e-05/0.03042, allocations: 130.3 kB / 382.2 MB, free: 436 kB / 346.7 MB Notification: Performance of simCode: alias equations: time 0.0002024/0.03062, allocations: 67.33 kB / 382.2 MB, free: 368 kB / 346.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003087/0.03093, allocations: 186.1 kB / 382.4 MB, free: 180 kB / 346.7 MB Notification: Performance of SimCode: time 8.62e-07/0.03093, allocations: 0 / 382.4 MB, free: 180 kB / 346.7 MB Notification: Performance of Templates: time 0.009746/0.04068, allocations: 8.703 MB / 391.1 MB, free: 7.574 MB / 362.7 MB " [Timeout remaining time 660] make -j1 -f AES_AES.Coursework.ThermSys_Transport.Stratified_storage_tank_case_003.makefile [Timeout 660] (rm -f AES_AES.Coursework.ThermSys_Transport.Stratified_storage_tank_case_003.pipe ; mkfifo AES_AES.Coursework.ThermSys_Transport.Stratified_storage_tank_case_003.pipe ; head -c 1048576 < AES_AES.Coursework.ThermSys_Transport.Stratified_storage_tank_case_003.pipe >> ../files/AES_AES.Coursework.ThermSys_Transport.Stratified_storage_tank_case_003.sim & ./AES_AES.Coursework.ThermSys_Transport.Stratified_storage_tank_case_003 -lv=LOG_STDOUT,LOG_ASSERT,LOG_STATS -s=dassl -variableFilter=.* -abortSlowSimulation -alarm=240 -lv LOG_STATS > AES_AES.Coursework.ThermSys_Transport.Stratified_storage_tank_case_003.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 3.0315975598059595]