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.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/AES main/package.mo", uses=false) Using package AES with version (/home/hudson/saved_omc/libraries/.openmodelica/libraries/AES main/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: translateModel(AES.Coursework.ThermSys_Transport.HE_simple_case_001,tolerance=1e-06,outputFormat="empty",numberOfIntervals=200,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=200,variableFilter="",fileNamePrefix="AES_AES.Coursework.ThermSys_Transport.HE_simple_case_001") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.00119/0.00119, allocations: 104.2 kB / 15.98 MB, free: 6.348 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001202/0.001203, allocations: 195.6 kB / 16.91 MB, free: 6.188 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.199/1.199, allocations: 222.9 MB / 240.6 MB, free: 4.402 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/AES main/package.mo): time 0.1732/0.1732, allocations: 22.33 MB / 313.1 MB, free: 12.61 MB / 254.1 MB Notification: Performance of FrontEnd - loaded program: time 0.00113/0.00113, allocations: 59.91 kB / 381 MB, free: 10.95 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.204/0.2051, allocations: 54.94 MB / 435.9 MB, free: 39.46 MB / 350.1 MB Notification: Performance of NFInst.instantiate(AES.Coursework.ThermSys_Transport.HE_simple_case_001): time 0.002426/0.2076, allocations: 2.433 MB / 438.3 MB, free: 37.73 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.0003105/0.2079, allocations: 247.2 kB / 438.6 MB, free: 37.54 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001007/0.208, allocations: 12.09 kB / 438.6 MB, free: 37.54 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 5.928e-05/0.2081, allocations: 20.61 kB / 438.6 MB, free: 37.53 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001547/0.2083, allocations: 85.33 kB / 438.7 MB, free: 37.47 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001032/0.2084, allocations: 35.56 kB / 438.7 MB, free: 37.45 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001628/0.2086, allocations: 281.5 kB / 439 MB, free: 37.3 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001794/0.2087, allocations: 133 kB / 439.1 MB, free: 37.25 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001181/0.2089, allocations: 117.3 kB / 439.2 MB, free: 37.2 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 9.838e-05/0.209, allocations: 91.84 kB / 439.3 MB, free: 37.16 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 2.269e-05/0.209, allocations: 14.53 kB / 439.3 MB, free: 37.16 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 2.82e-05/0.209, allocations: 11.53 kB / 439.4 MB, free: 37.16 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 2.454e-05/0.2091, allocations: 40.39 kB / 439.4 MB, free: 37.13 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 6.774e-05/0.2091, allocations: 112.7 kB / 439.5 MB, free: 37.06 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001124/0.2093, allocations: 166.6 kB / 439.7 MB, free: 37.01 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.066e-06/0.2093, allocations: 0 / 439.7 MB, free: 37.01 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.312e-06/0.2093, allocations: 0 / 439.7 MB, free: 37.01 MB / 350.1 MB Notification: Performance of Transformations before backend: time 4.689e-06/0.2093, allocations: 0 / 439.7 MB, free: 37.01 MB / 350.1 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.0004946/0.2098, allocations: 0.5078 MB / 440.2 MB, free: 36.54 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 2.733e-05/0.2098, allocations: 7.312 kB / 440.2 MB, free: 36.54 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.065e-05/0.2099, allocations: 24.88 kB / 440.2 MB, free: 36.53 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001905/0.21, allocations: 269.2 kB / 440.5 MB, free: 36.28 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.169e-05/0.2101, allocations: 9.125 kB / 440.5 MB, free: 36.27 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.379e-05/0.2101, allocations: 12.38 kB / 440.5 MB, free: 36.27 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002057/0.2103, allocations: 175 kB / 440.7 MB, free: 36.14 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.576e-06/0.2103, allocations: 3.938 kB / 440.7 MB, free: 36.14 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.401e-05/0.2103, allocations: 4 kB / 440.7 MB, free: 36.14 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.169e-06/0.2104, allocations: 2.625 kB / 440.7 MB, free: 36.14 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001507/0.2105, allocations: 94.23 kB / 440.8 MB, free: 36.11 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005453/0.2111, allocations: 0.8015 MB / 441.6 MB, free: 35.39 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001191/0.2112, allocations: 79.44 kB / 441.6 MB, free: 35.35 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.341e-05/0.2112, allocations: 42.91 kB / 441.7 MB, free: 35.32 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.167e-05/0.2113, allocations: 2.969 kB / 441.7 MB, free: 35.32 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.322e-05/0.2113, allocations: 30.56 kB / 441.7 MB, free: 35.28 MB / 350.1 MB Notification: Performance of pre-optimization done (n=8): time 1.112e-06/0.2113, allocations: 3.938 kB / 441.7 MB, free: 35.28 MB / 350.1 MB Notification: Performance of matching and sorting (n=8): time 0.0002142/0.2115, allocations: 132.4 kB / 441.8 MB, free: 35.2 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.143e-05/0.2115, allocations: 51.41 kB / 441.9 MB, free: 35.14 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001698/0.2117, allocations: 270.2 kB / 442.2 MB, free: 34.99 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 8.536e-06/0.2117, allocations: 33.7 kB / 442.2 MB, free: 34.95 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 5.178e-05/0.2118, allocations: 145 kB / 442.3 MB, free: 34.82 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 1.657e-05/0.2118, allocations: 30.28 kB / 442.4 MB, free: 34.8 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.533e-05/0.2118, allocations: 27.94 kB / 442.4 MB, free: 34.78 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 4.435e-05/0.2119, allocations: 334.6 kB / 442.7 MB, free: 34.45 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 4.774e-05/0.2119, allocations: 25.22 kB / 442.7 MB, free: 34.45 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 4.833e-05/0.212, allocations: 44.03 kB / 442.8 MB, free: 34.41 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000426/0.2124, allocations: 165.4 kB / 443 MB, free: 34.33 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.643e-06/0.2124, allocations: 4 kB / 443 MB, free: 34.33 MB / 350.1 MB Notification: Performance of matching and sorting (n=14) (initialization): time 0.0001623/0.2126, allocations: 142.2 kB / 443.1 MB, free: 34.25 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 9.518e-06/0.2126, allocations: 5.062 kB / 443.1 MB, free: 34.25 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.957e-06/0.2126, allocations: 0 / 443.1 MB, free: 34.25 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.045e-05/0.2126, allocations: 2.562 kB / 443.1 MB, free: 34.25 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001428/0.2128, allocations: 28.41 kB / 443.1 MB, free: 34.24 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.33e-06/0.2128, allocations: 3.938 kB / 443.1 MB, free: 34.24 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.083e-05/0.2129, allocations: 14.5 kB / 443.1 MB, free: 34.23 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.565e-06/0.2129, allocations: 3.906 kB / 443.2 MB, free: 34.23 MB / 350.1 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.0001247/0.213, allocations: 156.6 kB / 443.3 MB, free: 34.08 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.419e-05/0.2131, allocations: 19.22 kB / 443.3 MB, free: 34.07 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.391e-05/0.2131, allocations: 22.55 kB / 443.3 MB, free: 34.06 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.144e-06/0.2131, allocations: 3.062 kB / 443.3 MB, free: 34.06 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.727e-06/0.2131, allocations: 3.938 kB / 443.4 MB, free: 34.05 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.204e-06/0.2131, allocations: 0 / 443.4 MB, free: 34.05 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000166/0.2133, allocations: 251 kB / 443.6 MB, free: 33.82 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.22e-07/0.2133, allocations: 0 / 443.6 MB, free: 33.82 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001367/0.2135, allocations: 22.84 kB / 443.6 MB, free: 33.82 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.693e-06/0.2135, allocations: 0 / 443.6 MB, free: 33.82 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.869e-06/0.2135, allocations: 4 kB / 443.6 MB, free: 33.82 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.633e-06/0.2135, allocations: 2.594 kB / 443.6 MB, free: 33.82 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.132e-06/0.2135, allocations: 3.938 kB / 443.6 MB, free: 33.81 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001957/0.2137, allocations: 226.3 kB / 443.9 MB, free: 33.64 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 3.654e-05/0.2137, allocations: 105.9 kB / 444 MB, free: 33.53 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.997e-05/0.2138, allocations: 0 / 444 MB, free: 33.53 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001014/0.2139, allocations: 2.656 kB / 444 MB, free: 33.53 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.935e-05/0.2139, allocations: 13.89 kB / 444 MB, free: 33.52 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.179e-06/0.2139, allocations: 4 kB / 444 MB, free: 33.52 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.0001111/0.214, allocations: 192.3 kB / 444.2 MB, free: 33.41 MB / 350.1 MB Notification: Performance of sort global known variables: time 7.51e-07/0.214, allocations: 3.875 kB / 444.2 MB, free: 33.41 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0002424/0.2143, allocations: 40.59 kB / 444.2 MB, free: 33.4 MB / 350.1 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 5.345e-05/0.2143, allocations: 97.38 kB / 444.3 MB, free: 33.3 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.0001443/0.2145, allocations: 73.14 kB / 444.4 MB, free: 33.28 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 1.813e-06/0.2145, allocations: 0 / 444.4 MB, free: 33.28 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 4.459e-05/0.2145, allocations: 34.11 kB / 444.4 MB, free: 33.27 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003144/0.2149, allocations: 59.09 kB / 444.5 MB, free: 33.25 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006364/0.2155, allocations: 0.5824 MB / 445 MB, free: 32.82 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000104/0.2156, allocations: 0.7261 MB / 445.8 MB, free: 32.12 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.528e-05/0.2157, allocations: 22.62 kB / 445.8 MB, free: 32.11 MB / 350.1 MB Notification: Performance of SimCode: time 2.11e-07/0.2157, allocations: 0 / 445.8 MB, free: 32.11 MB / 350.1 MB Notification: Performance of Templates: time 0.003065/0.2188, allocations: 2.49 MB / 448.3 MB, free: 31.94 MB / 350.1 MB make -j1 -f AES_AES.Coursework.ThermSys_Transport.HE_simple_case_001.makefile (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=480 -lv LOG_STATS > AES_AES.Coursework.ThermSys_Transport.HE_simple_case_001.pipe 2>&1)