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.0009846/0.0009844, allocations: 98.27 kB / 15.36 MB, free: 0.7344 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.005618/0.005618, allocations: 170.6 kB / 16.27 MB, free: 6.652 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.29/1.29, allocations: 223.3 MB / 240.3 MB, free: 5.332 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/AES main/package.mo): time 0.1785/0.1785, allocations: 22.34 MB / 313.8 MB, free: 13.1 MB / 254.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0002656/0.0002657, allocations: 8 kB / 382.7 MB, free: 10.05 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.23/0.2303, allocations: 55.98 MB / 438.7 MB, free: 39.45 MB / 350.1 MB Notification: Performance of NFInst.instantiate(AES.Coursework.ThermSys_Transport.HE_simple_case_001): time 0.002472/0.2328, allocations: 2.088 MB / 440.8 MB, free: 37.91 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.0005756/0.2334, allocations: 227.2 kB / 441 MB, free: 37.74 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001923/0.2336, allocations: 13.38 kB / 441 MB, free: 37.73 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 6.637e-05/0.2337, allocations: 28.69 kB / 441 MB, free: 37.72 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002957/0.234, allocations: 86.19 kB / 441.1 MB, free: 37.66 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001554/0.2342, allocations: 34.12 kB / 441.2 MB, free: 37.64 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002903/0.2345, allocations: 280.6 kB / 441.4 MB, free: 37.5 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002543/0.2347, allocations: 106.6 kB / 441.5 MB, free: 37.46 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002139/0.235, allocations: 113.1 kB / 441.6 MB, free: 37.41 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001582/0.2351, allocations: 86.28 kB / 441.7 MB, free: 37.37 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 3.326e-05/0.2352, allocations: 7.719 kB / 441.7 MB, free: 37.37 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 4.318e-05/0.2352, allocations: 8.344 kB / 441.7 MB, free: 37.37 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 3.32e-05/0.2353, allocations: 32.02 kB / 441.8 MB, free: 37.35 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001158/0.2354, allocations: 129 kB / 441.9 MB, free: 37.26 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001973/0.2356, allocations: 211.8 kB / 442.1 MB, free: 37.18 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.627e-06/0.2356, allocations: 0 / 442.1 MB, free: 37.18 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.513e-06/0.2356, allocations: 0 / 442.1 MB, free: 37.18 MB / 350.1 MB Notification: Performance of Transformations before backend: time 1.037e-05/0.2356, allocations: 4 kB / 442.1 MB, free: 37.18 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.0006461/0.2363, allocations: 488.1 kB / 442.6 MB, free: 36.74 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.662e-05/0.2364, allocations: 8.469 kB / 442.6 MB, free: 36.74 MB / 350.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.42e-05/0.2364, allocations: 47.47 kB / 442.6 MB, free: 36.69 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.557e-05/0.2365, allocations: 25.25 kB / 442.7 MB, free: 36.68 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002947/0.2368, allocations: 266.6 kB / 442.9 MB, free: 36.43 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.676e-05/0.2368, allocations: 13.94 kB / 442.9 MB, free: 36.42 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.644e-05/0.2369, allocations: 20.78 kB / 443 MB, free: 36.41 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003029/0.2372, allocations: 162.8 kB / 443.1 MB, free: 36.3 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.082e-05/0.2372, allocations: 3.938 kB / 443.1 MB, free: 36.29 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.978e-05/0.2372, allocations: 6.594 kB / 443.1 MB, free: 36.29 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.983e-06/0.2372, allocations: 2.562 kB / 443.1 MB, free: 36.29 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002427/0.2375, allocations: 94.56 kB / 443.2 MB, free: 36.25 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000723/0.2382, allocations: 0.7999 MB / 444 MB, free: 35.55 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001229/0.2384, allocations: 84.98 kB / 444.1 MB, free: 35.49 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.347e-05/0.2384, allocations: 38.44 kB / 444.1 MB, free: 35.47 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 8.406e-06/0.2384, allocations: 0 / 444.1 MB, free: 35.47 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.341e-05/0.2385, allocations: 34.56 kB / 444.2 MB, free: 35.43 MB / 350.1 MB Notification: Performance of pre-optimization done (n=8): time 8.91e-07/0.2385, allocations: 6.656 kB / 444.2 MB, free: 35.43 MB / 350.1 MB Notification: Performance of matching and sorting (n=8): time 0.0002288/0.2387, allocations: 122.1 kB / 444.3 MB, free: 35.36 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 1.876e-05/0.2387, allocations: 59.28 kB / 444.4 MB, free: 35.29 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000178/0.2389, allocations: 269.2 kB / 444.6 MB, free: 35.14 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 8.045e-06/0.2389, allocations: 25.7 kB / 444.6 MB, free: 35.11 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 5.48e-05/0.239, allocations: 150 kB / 444.8 MB, free: 34.98 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 1.62e-05/0.239, allocations: 25.78 kB / 444.8 MB, free: 34.95 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.275e-05/0.239, allocations: 22.28 kB / 444.8 MB, free: 34.93 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 4.346e-05/0.2391, allocations: 335.1 kB / 445.2 MB, free: 34.61 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 4.816e-05/0.2391, allocations: 27.78 kB / 445.2 MB, free: 34.6 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 4.924e-05/0.2392, allocations: 47.23 kB / 445.2 MB, free: 34.56 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004153/0.2396, allocations: 169.9 kB / 445.4 MB, free: 34.48 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.954e-06/0.2396, allocations: 0 / 445.4 MB, free: 34.48 MB / 350.1 MB Notification: Performance of matching and sorting (n=14) (initialization): time 0.0001662/0.2398, allocations: 133 kB / 445.5 MB, free: 34.4 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.115e-05/0.2398, allocations: 7.406 kB / 445.5 MB, free: 34.4 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.068e-06/0.2398, allocations: 0 / 445.5 MB, free: 34.4 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 9.698e-06/0.2398, allocations: 0 / 445.5 MB, free: 34.4 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001399/0.24, allocations: 25.81 kB / 445.6 MB, free: 34.4 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.21e-06/0.24, allocations: 11.94 kB / 445.6 MB, free: 34.39 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.745e-05/0.2401, allocations: 15.69 kB / 445.6 MB, free: 34.38 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.645e-06/0.2401, allocations: 7.625 kB / 445.6 MB, free: 34.38 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.0001283/0.2402, allocations: 142.3 kB / 445.7 MB, free: 34.24 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.482e-05/0.2403, allocations: 20.78 kB / 445.8 MB, free: 34.23 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.006e-05/0.2403, allocations: 33.59 kB / 445.8 MB, free: 34.21 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.134e-06/0.2403, allocations: 0 / 445.8 MB, free: 34.21 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.857e-06/0.2403, allocations: 7.875 kB / 445.8 MB, free: 34.2 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.126e-06/0.2403, allocations: 3.281 kB / 445.8 MB, free: 34.2 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001623/0.2405, allocations: 232.7 kB / 446 MB, free: 33.99 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.213e-06/0.2405, allocations: 0 / 446 MB, free: 33.99 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001279/0.2406, allocations: 24.64 kB / 446.1 MB, free: 33.98 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.645e-06/0.2406, allocations: 0 / 446.1 MB, free: 33.98 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.867e-06/0.2407, allocations: 3.938 kB / 446.1 MB, free: 33.98 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.342e-06/0.2407, allocations: 0 / 446.1 MB, free: 33.98 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.094e-06/0.2407, allocations: 7.062 kB / 446.1 MB, free: 33.98 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001987/0.2409, allocations: 239.2 kB / 446.3 MB, free: 33.79 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 3.509e-05/0.2409, allocations: 95.31 kB / 446.4 MB, free: 33.69 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.623e-05/0.2409, allocations: 3.094 kB / 446.4 MB, free: 33.69 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.754e-05/0.241, allocations: 4 kB / 446.4 MB, free: 33.68 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2e-05/0.2411, allocations: 10.16 kB / 446.4 MB, free: 33.68 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.889e-06/0.2411, allocations: 2.812 kB / 446.4 MB, free: 33.68 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.0001126/0.2412, allocations: 190.8 kB / 446.6 MB, free: 33.57 MB / 350.1 MB Notification: Performance of sort global known variables: time 1.1e-07/0.2412, allocations: 4.062 kB / 446.6 MB, free: 33.57 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0002352/0.2414, allocations: 38.03 kB / 446.6 MB, free: 33.56 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.0003069/0.2418, allocations: 0.7633 MB / 447.4 MB, free: 32.85 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.0001346/0.2419, allocations: 73.25 kB / 447.5 MB, free: 32.83 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 2.264e-06/0.2419, allocations: 4.188 kB / 447.5 MB, free: 32.82 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 4.46e-05/0.242, allocations: 37.03 kB / 447.5 MB, free: 32.81 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003296/0.2423, allocations: 55.55 kB / 447.6 MB, free: 32.79 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001791/0.2441, allocations: 2.421 MB / 450 MB, free: 31.04 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001104/0.2442, allocations: 0.7292 MB / 450.7 MB, free: 30.35 MB / 350.1 MB Notification: Performance of simCode: alias equations: time 0.0001128/0.2443, allocations: 34 kB / 450.8 MB, free: 30.34 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.901e-05/0.2444, allocations: 62.58 kB / 450.8 MB, free: 30.29 MB / 350.1 MB Notification: Performance of SimCode: time 2.21e-07/0.2444, allocations: 0 / 450.8 MB, free: 30.29 MB / 350.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.6102/0.8546, allocations: 4.274 MB / 455.1 MB, free: 30.01 MB / 350.1 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001385/0.8548, allocations: 192.7 kB / 455.3 MB, free: 29.76 MB / 350.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 1.852/2.707, allocations: 0 / 455.3 MB, free: 29.76 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)