Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr AES_AES.Coursework.ThermSys_Transport.HE_simple_case_001.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.0009187/0.0009187, allocations: 72.95 kB / 20.74 MB, free: 3.746 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.0009278/0.0009278, allocations: 177 kB / 24.17 MB, free: 328 kB / 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.9844/0.9844, allocations: 177.1 MB / 204.6 MB, free: 5.48 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.07712/0.07712, allocations: 18.13 MB / 279.2 MB, free: 11.2 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.HE_simple_case_001,tolerance=1e-06,outputFormat="empty",numberOfIntervals=100,variableFilter="",fileNamePrefix="AES_AES.Coursework.ThermSys_Transport.HE_simple_case_001") translateModel(AES.Coursework.ThermSys_Transport.HE_simple_case_001,tolerance=1e-06,outputFormat="empty",numberOfIntervals=100,variableFilter="",fileNamePrefix="AES_AES.Coursework.ThermSys_Transport.HE_simple_case_001") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.773e-06/1.773e-06, allocations: 0 / 304.5 MB, free: 0.582 MB / 266.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.2e-05/1.378e-05, allocations: 3.625 kB / 304.6 MB, free: 0.5781 MB / 266.7 MB Notification: Performance of NFInst.instantiate(AES.Coursework.ThermSys_Transport.HE_simple_case_001): time 0.002512/0.002526, allocations: 2.255 MB / 306.8 MB, free: 15.06 MB / 282.7 MB Notification: Performance of NFInst.instExpressions: time 0.0004648/0.002991, allocations: 213.3 kB / 307 MB, free: 14.91 MB / 282.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001066/0.003098, allocations: 16.44 kB / 307 MB, free: 14.9 MB / 282.7 MB Notification: Performance of NFTyping.typeComponents: time 6.334e-05/0.003161, allocations: 28.84 kB / 307.1 MB, free: 14.88 MB / 282.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0002005/0.003361, allocations: 113.1 kB / 307.2 MB, free: 14.8 MB / 282.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001219/0.003483, allocations: 40.61 kB / 307.2 MB, free: 14.78 MB / 282.7 MB Notification: Performance of NFFlatten.flatten: time 0.0002433/0.003727, allocations: 300.8 kB / 307.5 MB, free: 14.62 MB / 282.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002105/0.003937, allocations: 114.6 kB / 307.6 MB, free: 14.55 MB / 282.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001852/0.004122, allocations: 123.8 kB / 307.7 MB, free: 14.5 MB / 282.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001201/0.004242, allocations: 73.58 kB / 307.8 MB, free: 14.45 MB / 282.7 MB Notification: Performance of NFPackage.collectConstants: time 2.505e-05/0.004267, allocations: 12 kB / 307.8 MB, free: 14.43 MB / 282.7 MB Notification: Performance of NFFlatten.collectFunctions: time 2.129e-05/0.004289, allocations: 16 kB / 307.8 MB, free: 14.42 MB / 282.7 MB Notification: Performance of NFScalarize.scalarize: time 3.107e-05/0.00432, allocations: 33.16 kB / 307.9 MB, free: 14.39 MB / 282.7 MB Notification: Performance of NFVerifyModel.verify: time 5.793e-05/0.004378, allocations: 69.97 kB / 307.9 MB, free: 14.33 MB / 282.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001619/0.00454, allocations: 149.2 kB / 308.1 MB, free: 14.2 MB / 282.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.804e-06/0.004541, allocations: 0 / 308.1 MB, free: 14.2 MB / 282.7 MB Notification: Performance of FrontEnd: time 5.41e-07/0.004542, allocations: 0 / 308.1 MB, free: 14.2 MB / 282.7 MB Notification: Performance of Transformations before backend: time 4.137e-06/0.004546, allocations: 0 / 308.1 MB, free: 14.2 MB / 282.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 31 * Number of variables: 31 Notification: Performance of Generate backend data structure: time 0.0004653/0.005011, allocations: 440.8 kB / 308.5 MB, free: 13.77 MB / 282.7 MB Notification: Performance of prepare preOptimizeDAE: time 2.995e-05/0.005041, allocations: 8.922 kB / 308.5 MB, free: 13.76 MB / 282.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.444e-05/0.005076, allocations: 24.2 kB / 308.5 MB, free: 13.75 MB / 282.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001866/0.005262, allocations: 197.2 kB / 308.7 MB, free: 13.54 MB / 282.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.012e-05/0.005272, allocations: 12.38 kB / 308.7 MB, free: 13.52 MB / 282.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.96e-05/0.005292, allocations: 16.36 kB / 308.8 MB, free: 13.51 MB / 282.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001533/0.005445, allocations: 150.5 kB / 308.9 MB, free: 13.36 MB / 282.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.825e-06/0.005453, allocations: 0.7969 kB / 308.9 MB, free: 13.36 MB / 282.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.113e-05/0.005464, allocations: 8.375 kB / 308.9 MB, free: 13.35 MB / 282.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.783e-06/0.005471, allocations: 7.938 kB / 308.9 MB, free: 13.34 MB / 282.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.093e-05/0.005542, allocations: 43.53 kB / 309 MB, free: 13.31 MB / 282.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004476/0.00599, allocations: 0.6054 MB / 309.6 MB, free: 12.7 MB / 282.7 MB Notification: Performance of preOpt comSubExp (simulation): time 8.537e-05/0.006075, allocations: 62.28 kB / 309.6 MB, free: 12.63 MB / 282.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 2.723e-05/0.006102, allocations: 18.08 kB / 309.7 MB, free: 12.61 MB / 282.7 MB Notification: Performance of preOpt evalFunc (simulation): time 8.135e-06/0.00611, allocations: 0.6094 kB / 309.7 MB, free: 12.61 MB / 282.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.727e-05/0.006128, allocations: 30.56 kB / 309.7 MB, free: 12.57 MB / 282.7 MB Notification: Performance of pre-optimization done (n=8): time 1.262e-06/0.006129, allocations: 0 / 309.7 MB, free: 12.57 MB / 282.7 MB Notification: Performance of matching and sorting (n=8): time 0.0001336/0.006263, allocations: 82.64 kB / 309.8 MB, free: 12.49 MB / 282.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.68e-05/0.006289, allocations: 56.11 kB / 309.8 MB, free: 12.43 MB / 282.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001264/0.006416, allocations: 210.8 kB / 310 MB, free: 12.23 MB / 282.7 MB Notification: Performance of collectPreVariables (initialization): time 1.109e-05/0.006427, allocations: 25.7 kB / 310.1 MB, free: 12.2 MB / 282.7 MB Notification: Performance of collectInitialEqns (initialization): time 6.049e-05/0.006487, allocations: 134.3 kB / 310.2 MB, free: 12.07 MB / 282.7 MB Notification: Performance of collectInitialBindings (initialization): time 1.999e-05/0.006507, allocations: 37.61 kB / 310.2 MB, free: 12.04 MB / 282.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.465e-05/0.006542, allocations: 27.69 kB / 310.2 MB, free: 12 MB / 282.7 MB Notification: Performance of setup shared object (initialization): time 8.794e-05/0.00663, allocations: 336.5 kB / 310.6 MB, free: 11.67 MB / 282.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 2.099e-05/0.006651, allocations: 9.406 kB / 310.6 MB, free: 11.66 MB / 282.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 3.214e-05/0.006683, allocations: 37.38 kB / 310.6 MB, free: 11.62 MB / 282.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 7.89e-05/0.006762, allocations: 68.8 kB / 310.7 MB, free: 11.55 MB / 282.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.503e-06/0.006763, allocations: 0 / 310.7 MB, free: 11.55 MB / 282.7 MB Notification: Performance of matching and sorting (n=14) (initialization): time 9.146e-05/0.006855, allocations: 89.33 kB / 310.8 MB, free: 11.47 MB / 282.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.183e-05/0.006867, allocations: 11 kB / 310.8 MB, free: 11.46 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.958e-06/0.006871, allocations: 0 / 310.8 MB, free: 11.46 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.011e-05/0.006881, allocations: 0 / 310.8 MB, free: 11.46 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001304/0.007011, allocations: 33.33 kB / 310.8 MB, free: 11.44 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.747e-06/0.007015, allocations: 4 kB / 310.8 MB, free: 11.43 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.938e-05/0.007054, allocations: 8.406 kB / 310.8 MB, free: 11.43 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.975e-06/0.007062, allocations: 12 kB / 310.8 MB, free: 11.41 MB / 282.7 MB Warning: Assuming fixed start value for the following 2 variables: HE.Tho:VARIABLE(min = 0.0 start = 339.5666268514094 unit = \"K\" fixed = true nominal = 300.0 ) type: Real HE.Tco:VARIABLE(min = 0.0 start = 299.958408982322 unit = \"K\" fixed = true nominal = 300.0 ) type: Real Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 3 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (14): * Single equations (assignments): 14 * 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.0001033/0.007166, allocations: 121 kB / 311 MB, free: 11.29 MB / 282.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.393e-05/0.00719, allocations: 15.75 kB / 311 MB, free: 11.28 MB / 282.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.864e-05/0.007218, allocations: 20.55 kB / 311 MB, free: 11.26 MB / 282.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.896e-06/0.007221, allocations: 4.516 kB / 311 MB, free: 11.25 MB / 282.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.523e-06/0.007223, allocations: 3.938 kB / 311 MB, free: 11.25 MB / 282.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.645e-06/0.007225, allocations: 0.6562 kB / 311 MB, free: 11.25 MB / 282.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001133/0.007339, allocations: 114.2 kB / 311.1 MB, free: 11.13 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.963e-06/0.007341, allocations: 3.938 kB / 311.1 MB, free: 11.12 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.54e-05/0.007426, allocations: 31.92 kB / 311.2 MB, free: 11.09 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.485e-06/0.007428, allocations: 3.984 kB / 311.2 MB, free: 11.09 MB / 282.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.468e-06/0.007438, allocations: 0 / 311.2 MB, free: 11.09 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.22e-07/0.007439, allocations: 0 / 311.2 MB, free: 11.09 MB / 282.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.62e-07/0.00744, allocations: 0 / 311.2 MB, free: 11.09 MB / 282.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001379/0.007577, allocations: 179.5 kB / 311.3 MB, free: 10.9 MB / 282.7 MB Notification: Performance of postOpt removeConstants (simulation): time 2.525e-05/0.007603, allocations: 27.72 kB / 311.4 MB, free: 10.87 MB / 282.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.392e-05/0.007617, allocations: 0 / 311.4 MB, free: 10.87 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.372e-05/0.00766, allocations: 4 kB / 311.4 MB, free: 10.87 MB / 282.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.532e-05/0.007676, allocations: 4 kB / 311.4 MB, free: 10.86 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.986e-06/0.007679, allocations: 7.969 kB / 311.4 MB, free: 10.86 MB / 282.7 MB Notification: Performance of sorting global known variables: time 4.779e-05/0.007726, allocations: 70.78 kB / 311.4 MB, free: 10.78 MB / 282.7 MB Notification: Performance of sort global known variables: time 5e-08/0.007726, allocations: 0 / 311.4 MB, free: 10.78 MB / 282.7 MB Notification: Performance of remove unused functions: time 0.0001412/0.007868, allocations: 39.95 kB / 311.5 MB, free: 10.74 MB / 282.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 2 (HE.Tho,HE.Tco) * 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 (8): * Single equations (assignments): 8 * 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 6.445e-05/0.007932, allocations: 80.41 kB / 311.6 MB, free: 10.66 MB / 282.7 MB Notification: Performance of simCode: created initialization part: time 8.188e-05/0.008014, allocations: 49.42 kB / 311.6 MB, free: 10.61 MB / 282.7 MB Notification: Performance of simCode: created event and clocks part: time 4.067e-06/0.008018, allocations: 4 kB / 311.6 MB, free: 10.6 MB / 282.7 MB Notification: Performance of simCode: created simulation system equations: time 1.972e-05/0.008038, allocations: 20.86 kB / 311.6 MB, free: 10.58 MB / 282.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000183/0.008221, allocations: 61 kB / 311.7 MB, free: 10.52 MB / 282.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007011/0.008922, allocations: 429.7 kB / 312.1 MB, free: 10.07 MB / 282.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.17e-05/0.008964, allocations: 80.31 kB / 312.2 MB, free: 9.977 MB / 282.7 MB Notification: Performance of simCode: alias equations: time 6.226e-05/0.009026, allocations: 21.94 kB / 312.2 MB, free: 9.953 MB / 282.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.822e-05/0.009124, allocations: 99.34 kB / 312.3 MB, free: 9.855 MB / 282.7 MB Notification: Performance of SimCode: time 5.81e-07/0.009125, allocations: 0 / 312.3 MB, free: 9.855 MB / 282.7 MB Notification: Performance of Templates: time 0.003757/0.01288, allocations: 2.428 MB / 314.7 MB, free: 7.523 MB / 282.7 MB " [Timeout remaining time 660] make -j1 -f AES_AES.Coursework.ThermSys_Transport.HE_simple_case_001.makefile [Timeout 660] (rm -f AES_AES.Coursework.ThermSys_Transport.HE_simple_case_001.pipe ; mkfifo AES_AES.Coursework.ThermSys_Transport.HE_simple_case_001.pipe ; head -c 1048576 < AES_AES.Coursework.ThermSys_Transport.HE_simple_case_001.pipe >> ../files/AES_AES.Coursework.ThermSys_Transport.HE_simple_case_001.sim & ./AES_AES.Coursework.ThermSys_Transport.HE_simple_case_001 -lv=LOG_STATS -s=dassl -abortSlowSimulation -alarm=240 -s gbode -gbm=radauIIA3 -lv LOG_STATS > AES_AES.Coursework.ThermSys_Transport.HE_simple_case_001.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 2.6231802902184427]