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: "" <> buildModelFMU(AES.Coursework.ThermSys_Transport.HE_simple_case_001,fileNamePrefix="AES_AES_Coursework_ThermSys_Transport_HE_simple_case_001",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(AES.Coursework.ThermSys_Transport.HE_simple_case_001,fileNamePrefix="AES_AES_Coursework_ThermSys_Transport_HE_simple_case_001",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001083/0.001083, allocations: 108 kB / 15.61 MB, free: 152 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001031/0.001031, allocations: 196.1 kB / 16.53 MB, free: 6.664 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.338/1.338, allocations: 222.9 MB / 240.2 MB, free: 4.395 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/AES main/package.mo): time 0.1829/0.1829, allocations: 22.35 MB / 312.7 MB, free: 12.56 MB / 254.1 MB Notification: Performance of FrontEnd - loaded program: time 0.00129/0.00129, allocations: 67.89 kB / 380.9 MB, free: 10.48 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2289/0.2302, allocations: 54.93 MB / 435.9 MB, free: 39.82 MB / 350.1 MB Notification: Performance of NFInst.instantiate(AES.Coursework.ThermSys_Transport.HE_simple_case_001): time 0.002723/0.233, allocations: 2.18 MB / 438.1 MB, free: 38.27 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.0004406/0.2334, allocations: 207.7 kB / 438.3 MB, free: 38.12 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001413/0.2336, allocations: 7.344 kB / 438.3 MB, free: 38.12 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 7.094e-05/0.2337, allocations: 32.03 kB / 438.3 MB, free: 38.1 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001888/0.2339, allocations: 104.1 kB / 438.4 MB, free: 38.02 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001297/0.234, allocations: 39.27 kB / 438.4 MB, free: 38 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002067/0.2342, allocations: 281 kB / 438.7 MB, free: 37.86 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002241/0.2345, allocations: 127.8 kB / 438.8 MB, free: 37.81 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001495/0.2346, allocations: 116.2 kB / 439 MB, free: 37.76 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001247/0.2348, allocations: 87.53 kB / 439 MB, free: 37.72 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 2.935e-05/0.2348, allocations: 13.22 kB / 439.1 MB, free: 37.72 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 3.743e-05/0.2348, allocations: 11.25 kB / 439.1 MB, free: 37.72 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 3.032e-05/0.2349, allocations: 40.44 kB / 439.1 MB, free: 37.7 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 8.443e-05/0.235, allocations: 110.4 kB / 439.2 MB, free: 37.63 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001637/0.2351, allocations: 223.4 kB / 439.4 MB, free: 37.54 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.747e-06/0.2351, allocations: 0 / 439.4 MB, free: 37.54 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.112e-06/0.2351, allocations: 0 / 439.4 MB, free: 37.54 MB / 350.1 MB Notification: Performance of Transformations before backend: time 5.33e-06/0.2352, allocations: 0 / 439.4 MB, free: 37.54 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.0005693/0.2357, allocations: 0.5029 MB / 439.9 MB, free: 37.08 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.23e-05/0.2358, allocations: 11.06 kB / 439.9 MB, free: 37.08 MB / 350.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.728e-05/0.2358, allocations: 44.78 kB / 440 MB, free: 37.03 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.216e-05/0.2359, allocations: 27.78 kB / 440 MB, free: 37.02 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000217/0.2361, allocations: 264.4 kB / 440.3 MB, free: 36.77 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.185e-05/0.2361, allocations: 9.812 kB / 440.3 MB, free: 36.76 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.54e-05/0.2361, allocations: 16.44 kB / 440.3 MB, free: 36.75 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002105/0.2364, allocations: 182.5 kB / 440.5 MB, free: 36.62 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.248e-06/0.2364, allocations: 0 / 440.5 MB, free: 36.62 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.482e-05/0.2364, allocations: 14.44 kB / 440.5 MB, free: 36.61 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.973e-06/0.2364, allocations: 4.844 kB / 440.5 MB, free: 36.61 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001579/0.2366, allocations: 90.98 kB / 440.6 MB, free: 36.58 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006075/0.2372, allocations: 0.798 MB / 441.4 MB, free: 35.87 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001294/0.2373, allocations: 74.66 kB / 441.5 MB, free: 35.83 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.851e-05/0.2374, allocations: 37.59 kB / 441.5 MB, free: 35.81 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.024e-05/0.2374, allocations: 0 / 441.5 MB, free: 35.81 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.613e-05/0.2374, allocations: 41.66 kB / 441.5 MB, free: 35.76 MB / 350.1 MB Notification: Performance of pre-optimization done (n=8): time 9.82e-07/0.2374, allocations: 0 / 441.5 MB, free: 35.76 MB / 350.1 MB Notification: Performance of matching and sorting (n=8): time 0.0002373/0.2377, allocations: 132.4 kB / 441.7 MB, free: 35.68 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.082e-05/0.2377, allocations: 58.22 kB / 441.7 MB, free: 35.62 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000187/0.2379, allocations: 264.3 kB / 442 MB, free: 35.46 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 8.706e-06/0.2379, allocations: 29.7 kB / 442 MB, free: 35.43 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 5.771e-05/0.238, allocations: 144.2 kB / 442.1 MB, free: 35.3 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 1.674e-05/0.238, allocations: 32.73 kB / 442.2 MB, free: 35.28 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.82e-05/0.238, allocations: 30.5 kB / 442.2 MB, free: 35.25 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 4.476e-05/0.2381, allocations: 332.4 kB / 442.5 MB, free: 34.93 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.216e-05/0.2381, allocations: 25.78 kB / 442.6 MB, free: 34.92 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 5.291e-05/0.2382, allocations: 52.02 kB / 442.6 MB, free: 34.89 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004608/0.2387, allocations: 163.2 kB / 442.8 MB, free: 34.81 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.753e-06/0.2387, allocations: 0 / 442.8 MB, free: 34.81 MB / 350.1 MB Notification: Performance of matching and sorting (n=14) (initialization): time 0.0001741/0.2389, allocations: 136.4 kB / 442.9 MB, free: 34.73 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.15e-05/0.2389, allocations: 4.656 kB / 442.9 MB, free: 34.73 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.909e-06/0.2389, allocations: 2.594 kB / 442.9 MB, free: 34.73 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.222e-05/0.2389, allocations: 4.062 kB / 442.9 MB, free: 34.73 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001564/0.2391, allocations: 35.14 kB / 442.9 MB, free: 34.72 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.691e-06/0.2391, allocations: 3.938 kB / 442.9 MB, free: 34.72 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.922e-05/0.2392, allocations: 15.69 kB / 443 MB, free: 34.71 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.025e-06/0.2392, allocations: 3.094 kB / 443 MB, free: 34.71 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.0001456/0.2393, allocations: 145.8 kB / 443.1 MB, free: 34.57 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.876e-05/0.2394, allocations: 23.28 kB / 443.1 MB, free: 34.55 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.63e-05/0.2394, allocations: 23.12 kB / 443.2 MB, free: 34.54 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.094e-06/0.2394, allocations: 3.25 kB / 443.2 MB, free: 34.54 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.998e-06/0.2394, allocations: 7.875 kB / 443.2 MB, free: 34.54 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.645e-06/0.2394, allocations: 0 / 443.2 MB, free: 34.54 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001724/0.2396, allocations: 245.3 kB / 443.4 MB, free: 34.31 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.072e-06/0.2396, allocations: 0 / 443.4 MB, free: 34.31 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001418/0.2398, allocations: 22.52 kB / 443.4 MB, free: 34.3 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.555e-06/0.2398, allocations: 3.984 kB / 443.4 MB, free: 34.3 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.228e-06/0.2398, allocations: 6.812 kB / 443.4 MB, free: 34.3 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.332e-06/0.2398, allocations: 0 / 443.4 MB, free: 34.3 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.503e-06/0.2398, allocations: 3.938 kB / 443.4 MB, free: 34.29 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002112/0.24, allocations: 232.9 kB / 443.7 MB, free: 34.12 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 3.767e-05/0.2401, allocations: 99.75 kB / 443.8 MB, free: 34.01 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.256e-05/0.2401, allocations: 2.875 kB / 443.8 MB, free: 34.01 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001051/0.2402, allocations: 0 / 443.8 MB, free: 34.01 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.995e-05/0.2403, allocations: 6.969 kB / 443.8 MB, free: 34 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.591e-06/0.2403, allocations: 7.391 kB / 443.8 MB, free: 34 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.0001194/0.2404, allocations: 200.8 kB / 444 MB, free: 33.88 MB / 350.1 MB Notification: Performance of sort global known variables: time 1.1e-07/0.2404, allocations: 2.938 kB / 444 MB, free: 33.88 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0002549/0.2407, allocations: 34.12 kB / 444 MB, free: 33.88 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 0.0003252/0.241, allocations: 0.7622 MB / 444.8 MB, free: 33.17 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.0001645/0.2412, allocations: 78.75 kB / 444.9 MB, free: 33.14 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 1.823e-06/0.2412, allocations: 0 / 444.9 MB, free: 33.14 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 4.516e-05/0.2412, allocations: 30.59 kB / 444.9 MB, free: 33.13 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003427/0.2416, allocations: 63.23 kB / 444.9 MB, free: 33.1 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001814/0.2434, allocations: 2.302 MB / 447.2 MB, free: 31.43 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001166/0.2435, allocations: 0.7366 MB / 448 MB, free: 30.73 MB / 350.1 MB Notification: Performance of simCode: alias equations: time 0.0001107/0.2436, allocations: 34.81 kB / 448 MB, free: 30.72 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.544e-05/0.2437, allocations: 65.52 kB / 448.1 MB, free: 30.67 MB / 350.1 MB Notification: Performance of SimCode: time 2.1e-07/0.2437, allocations: 0 / 448.1 MB, free: 30.67 MB / 350.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01976/0.2635, allocations: 4.564 MB / 452.6 MB, free: 30.18 MB / 350.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 7.354/7.617, allocations: 16.33 kB / 452.7 MB, free: 30.17 MB / 350.1 MB (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 & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_AES_AES_Coursework_ThermSys_Transport_HE_simple_case_001_fmu --startTime=0 --stopTime=10000 --timeout=50 --tolerance=1e-06 AES_AES_Coursework_ThermSys_Transport_HE_simple_case_001.fmu > AES_AES.Coursework.ThermSys_Transport.HE_simple_case_001.pipe 2>&1)