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.001017/0.001017, allocations: 87.56 kB / 20.97 MB, free: 3.586 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.001131/0.001131, allocations: 177.3 kB / 24.28 MB, free: 284 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.9468/0.9468, allocations: 177.1 MB / 204.6 MB, free: 5.613 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.06597/0.06597, allocations: 18.14 MB / 279.2 MB, free: 11.37 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 3.446e-06/3.446e-06, allocations: 3.984 kB / 357.2 MB, free: 9.262 MB / 330.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.565e-05/2.909e-05, allocations: 5.266 kB / 357.2 MB, free: 9.258 MB / 330.7 MB Notification: Performance of NFInst.instantiate(AES.Coursework.ThermSys_Transport.HE_simple_case_001): time 0.005806/0.005835, allocations: 2.22 MB / 359.5 MB, free: 7.023 MB / 330.7 MB Notification: Performance of NFInst.instExpressions: time 0.0005172/0.006352, allocations: 195.3 kB / 359.7 MB, free: 6.832 MB / 330.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001312/0.006483, allocations: 15.88 kB / 359.7 MB, free: 6.816 MB / 330.7 MB Notification: Performance of NFTyping.typeComponents: time 6.859e-05/0.006552, allocations: 27.7 kB / 359.7 MB, free: 6.789 MB / 330.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0002325/0.006784, allocations: 119 kB / 359.8 MB, free: 6.672 MB / 330.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001489/0.006933, allocations: 39.94 kB / 359.9 MB, free: 6.633 MB / 330.7 MB Notification: Performance of NFFlatten.flatten: time 0.000288/0.007221, allocations: 294.3 kB / 360.1 MB, free: 6.344 MB / 330.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002366/0.007458, allocations: 116.9 kB / 360.3 MB, free: 6.234 MB / 330.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002214/0.007679, allocations: 123.6 kB / 360.4 MB, free: 6.113 MB / 330.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001281/0.007807, allocations: 67.8 kB / 360.4 MB, free: 6.047 MB / 330.7 MB Notification: Performance of NFPackage.collectConstants: time 3.226e-05/0.007839, allocations: 16 kB / 360.5 MB, free: 6.031 MB / 330.7 MB Notification: Performance of NFFlatten.collectFunctions: time 2.997e-05/0.007869, allocations: 12 kB / 360.5 MB, free: 6.02 MB / 330.7 MB Notification: Performance of NFScalarize.scalarize: time 3.611e-05/0.007905, allocations: 35.78 kB / 360.5 MB, free: 5.984 MB / 330.7 MB Notification: Performance of NFVerifyModel.verify: time 8.399e-05/0.007989, allocations: 71.86 kB / 360.6 MB, free: 5.914 MB / 330.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0002014/0.008191, allocations: 143.4 kB / 360.7 MB, free: 5.773 MB / 330.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.234e-06/0.008193, allocations: 0 / 360.7 MB, free: 5.773 MB / 330.7 MB Notification: Performance of FrontEnd: time 1.002e-06/0.008194, allocations: 0 / 360.7 MB, free: 5.773 MB / 330.7 MB Notification: Performance of Transformations before backend: time 5.54e-06/0.0082, allocations: 0 / 360.7 MB, free: 5.773 MB / 330.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.0005847/0.008784, allocations: 0.5423 MB / 361.3 MB, free: 5.191 MB / 330.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.49e-05/0.008829, allocations: 8.922 kB / 361.3 MB, free: 5.184 MB / 330.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.434e-05/0.008894, allocations: 36.8 kB / 361.3 MB, free: 5.148 MB / 330.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002769/0.00917, allocations: 221.2 kB / 361.5 MB, free: 4.902 MB / 330.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.407e-05/0.009185, allocations: 12.38 kB / 361.5 MB, free: 4.891 MB / 330.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.694e-05/0.009211, allocations: 12.38 kB / 361.5 MB, free: 4.879 MB / 330.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002428/0.009454, allocations: 169.6 kB / 361.7 MB, free: 4.684 MB / 330.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.318e-06/0.009464, allocations: 192 / 361.7 MB, free: 4.684 MB / 330.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.689e-05/0.00948, allocations: 8.375 kB / 361.7 MB, free: 4.676 MB / 330.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.938e-06/0.00949, allocations: 3.938 kB / 361.7 MB, free: 4.672 MB / 330.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001329/0.009623, allocations: 70.83 kB / 361.8 MB, free: 4.605 MB / 330.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000785/0.01041, allocations: 0.9326 MB / 362.7 MB, free: 3.617 MB / 330.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001296/0.01054, allocations: 75.02 kB / 362.8 MB, free: 3.531 MB / 330.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.298e-05/0.01059, allocations: 27.67 kB / 362.8 MB, free: 3.5 MB / 330.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.023e-05/0.0106, allocations: 0 / 362.8 MB, free: 3.5 MB / 330.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.155e-05/0.01062, allocations: 37.39 kB / 362.9 MB, free: 3.453 MB / 330.7 MB Notification: Performance of pre-optimization done (n=8): time 9.42e-07/0.01062, allocations: 0 / 362.9 MB, free: 3.453 MB / 330.7 MB Notification: Performance of matching and sorting (n=8): time 0.0002377/0.01086, allocations: 105.5 kB / 363 MB, free: 3.344 MB / 330.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.161e-05/0.01089, allocations: 55.41 kB / 363 MB, free: 3.277 MB / 330.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002637/0.01116, allocations: 260.3 kB / 363.3 MB, free: 3.008 MB / 330.7 MB Notification: Performance of collectPreVariables (initialization): time 1.305e-05/0.01117, allocations: 29.7 kB / 363.3 MB, free: 2.973 MB / 330.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001054/0.01127, allocations: 206.9 kB / 363.5 MB, free: 2.762 MB / 330.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.027e-05/0.01131, allocations: 31.73 kB / 363.5 MB, free: 2.73 MB / 330.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.971e-05/0.01135, allocations: 35.33 kB / 363.6 MB, free: 2.688 MB / 330.7 MB Notification: Performance of setup shared object (initialization): time 0.0001388/0.01149, allocations: 0.5039 MB / 364.1 MB, free: 2.172 MB / 330.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 3.983e-05/0.01153, allocations: 12 kB / 364.1 MB, free: 2.16 MB / 330.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 5.594e-05/0.01159, allocations: 47.05 kB / 364.1 MB, free: 2.102 MB / 330.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001509/0.01174, allocations: 95.17 kB / 364.2 MB, free: 1.996 MB / 330.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.074e-06/0.01174, allocations: 0 / 364.2 MB, free: 1.996 MB / 330.7 MB Notification: Performance of matching and sorting (n=14) (initialization): time 0.0001666/0.01191, allocations: 121.5 kB / 364.3 MB, free: 1.871 MB / 330.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.445e-05/0.01192, allocations: 4 kB / 364.3 MB, free: 1.867 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.05e-06/0.01193, allocations: 0 / 364.3 MB, free: 1.867 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.356e-05/0.01194, allocations: 4 kB / 364.4 MB, free: 1.863 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001358/0.01208, allocations: 27.92 kB / 364.4 MB, free: 1.836 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.451e-06/0.01208, allocations: 0 / 364.4 MB, free: 1.836 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.719e-05/0.01215, allocations: 15.89 kB / 364.4 MB, free: 1.82 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.646e-06/0.01216, allocations: 4 kB / 364.4 MB, free: 1.816 MB / 330.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.0001346/0.01229, allocations: 168.6 kB / 364.6 MB, free: 1.641 MB / 330.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.815e-05/0.01233, allocations: 19.86 kB / 364.6 MB, free: 1.621 MB / 330.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.073e-05/0.01237, allocations: 29.77 kB / 364.6 MB, free: 1.59 MB / 330.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.044e-06/0.01237, allocations: 0 / 364.6 MB, free: 1.59 MB / 330.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.166e-06/0.01238, allocations: 3.938 kB / 364.6 MB, free: 1.586 MB / 330.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.384e-06/0.01238, allocations: 0 / 364.6 MB, free: 1.586 MB / 330.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001934/0.01257, allocations: 180.5 kB / 364.8 MB, free: 1.375 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.645e-06/0.01258, allocations: 4 kB / 364.8 MB, free: 1.371 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001076/0.01268, allocations: 23.98 kB / 364.8 MB, free: 1.348 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.563e-06/0.01269, allocations: 3.938 kB / 364.8 MB, free: 1.344 MB / 330.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.719e-05/0.0127, allocations: 4 kB / 364.8 MB, free: 1.34 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.535e-06/0.01271, allocations: 4 kB / 364.8 MB, free: 1.336 MB / 330.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.31e-07/0.01271, allocations: 0 / 364.8 MB, free: 1.336 MB / 330.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003026/0.01301, allocations: 251.7 kB / 365.1 MB, free: 1.07 MB / 330.7 MB Notification: Performance of postOpt removeConstants (simulation): time 2.668e-05/0.01304, allocations: 27.78 kB / 365.1 MB, free: 1.043 MB / 330.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.471e-05/0.01306, allocations: 3.984 kB / 365.1 MB, free: 1.039 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.629e-05/0.01314, allocations: 0 / 365.1 MB, free: 1.039 MB / 330.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.812e-05/0.01316, allocations: 7.984 kB / 365.1 MB, free: 1.031 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.609e-06/0.01317, allocations: 4.031 kB / 365.1 MB, free: 1.027 MB / 330.7 MB Notification: Performance of sorting global known variables: time 0.0001145/0.01328, allocations: 193.1 kB / 365.3 MB, free: 0.8359 MB / 330.7 MB Notification: Performance of sort global known variables: time 8e-08/0.01328, allocations: 0 / 365.3 MB, free: 0.8359 MB / 330.7 MB Notification: Performance of remove unused functions: time 0.0003007/0.01358, allocations: 39.95 kB / 365.3 MB, free: 0.7969 MB / 330.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 8.35e-05/0.01367, allocations: 95.25 kB / 365.4 MB, free: 0.6953 MB / 330.7 MB Notification: Performance of simCode: created initialization part: time 0.0001422/0.01381, allocations: 63.59 kB / 365.5 MB, free: 0.6289 MB / 330.7 MB Notification: Performance of simCode: created event and clocks part: time 1.563e-06/0.01381, allocations: 0 / 365.5 MB, free: 0.6289 MB / 330.7 MB Notification: Performance of simCode: created simulation system equations: time 4.141e-05/0.01385, allocations: 31.67 kB / 365.5 MB, free: 0.5938 MB / 330.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004274/0.01428, allocations: 57.06 kB / 365.6 MB, free: 0.5391 MB / 330.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001116/0.0154, allocations: 455.2 kB / 366 MB, free: 60 kB / 330.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 6.986e-05/0.01547, allocations: 72.33 kB / 366.1 MB, free: 15.97 MB / 346.7 MB Notification: Performance of simCode: alias equations: time 9.913e-05/0.01557, allocations: 25.95 kB / 366.1 MB, free: 15.95 MB / 346.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.837e-05/0.01561, allocations: 16.5 kB / 366.1 MB, free: 15.93 MB / 346.7 MB Notification: Performance of SimCode: time 1.002e-06/0.01561, allocations: 0 / 366.1 MB, free: 15.93 MB / 346.7 MB Notification: Performance of Templates: time 0.005429/0.02104, allocations: 2.218 MB / 368.4 MB, free: 13.77 MB / 346.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 -lv LOG_STATS > AES_AES.Coursework.ThermSys_Transport.HE_simple_case_001.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 2.9574991439003497]