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.0008077/0.0008077, allocations: 72.52 kB / 19.95 MB, free: 4.613 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.0008261/0.0008261, allocations: 169.2 kB / 23.23 MB, free: 1.328 MB / 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.9293/0.9293, allocations: 177.1 MB / 203.5 MB, free: 5.758 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.06507/0.06507, allocations: 18.13 MB / 278.1 MB, free: 11.54 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: "" <> 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"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.674e-06/1.674e-06, allocations: 0 / 415 MB, free: 12.66 MB / 330.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.801e-05/1.969e-05, allocations: 3.562 kB / 415.1 MB, free: 12.66 MB / 330.7 MB Notification: Performance of NFInst.instantiate(AES.Coursework.ThermSys_Transport.HE_simple_case_001): time 0.002083/0.002103, allocations: 2.059 MB / 417.1 MB, free: 11.34 MB / 330.7 MB Notification: Performance of NFInst.instExpressions: time 0.0004178/0.002521, allocations: 210.4 kB / 417.3 MB, free: 11.18 MB / 330.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001176/0.002639, allocations: 15.06 kB / 417.3 MB, free: 11.18 MB / 330.7 MB Notification: Performance of NFTyping.typeComponents: time 5.807e-05/0.002697, allocations: 32.09 kB / 417.4 MB, free: 11.16 MB / 330.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0001876/0.002884, allocations: 103 kB / 417.5 MB, free: 11.09 MB / 330.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001326/0.003017, allocations: 44.05 kB / 417.5 MB, free: 11.06 MB / 330.7 MB Notification: Performance of NFFlatten.flatten: time 0.0002076/0.003225, allocations: 304.8 kB / 417.8 MB, free: 10.89 MB / 330.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002224/0.003447, allocations: 110.8 kB / 417.9 MB, free: 10.84 MB / 330.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001829/0.00363, allocations: 119.1 kB / 418 MB, free: 10.8 MB / 330.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001132/0.003743, allocations: 70.36 kB / 418.1 MB, free: 10.77 MB / 330.7 MB Notification: Performance of NFPackage.collectConstants: time 3.281e-05/0.003776, allocations: 13.88 kB / 418.1 MB, free: 10.77 MB / 330.7 MB Notification: Performance of NFFlatten.collectFunctions: time 2.425e-05/0.0038, allocations: 12.59 kB / 418.1 MB, free: 10.77 MB / 330.7 MB Notification: Performance of NFScalarize.scalarize: time 3.037e-05/0.00383, allocations: 34.53 kB / 418.2 MB, free: 10.75 MB / 330.7 MB Notification: Performance of NFVerifyModel.verify: time 6.512e-05/0.003896, allocations: 70.75 kB / 418.2 MB, free: 10.73 MB / 330.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0002225/0.004118, allocations: 222.9 kB / 418.4 MB, free: 10.64 MB / 330.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.716e-06/0.004121, allocations: 0.5625 kB / 418.4 MB, free: 10.64 MB / 330.7 MB Notification: Performance of FrontEnd: time 7.41e-07/0.004121, allocations: 7.938 kB / 418.5 MB, free: 10.63 MB / 330.7 MB Notification: Performance of Transformations before backend: time 5.19e-06/0.004127, allocations: 0 / 418.5 MB, free: 10.63 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.0004816/0.004608, allocations: 444.1 kB / 418.9 MB, free: 10.26 MB / 330.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.667e-05/0.004645, allocations: 10.27 kB / 418.9 MB, free: 10.26 MB / 330.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.506e-05/0.00468, allocations: 42.12 kB / 418.9 MB, free: 10.21 MB / 330.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.689e-05/0.004717, allocations: 28.33 kB / 419 MB, free: 10.2 MB / 330.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002452/0.004962, allocations: 208.9 kB / 419.2 MB, free: 10.02 MB / 330.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.147e-05/0.004974, allocations: 9.719 kB / 419.2 MB, free: 10.01 MB / 330.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.242e-05/0.004996, allocations: 13.94 kB / 419.2 MB, free: 10.01 MB / 330.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002009/0.005197, allocations: 164.8 kB / 419.4 MB, free: 9.895 MB / 330.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.037e-06/0.005206, allocations: 192 / 419.4 MB, free: 9.895 MB / 330.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.351e-05/0.005219, allocations: 10.06 kB / 419.4 MB, free: 9.887 MB / 330.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.183e-06/0.005227, allocations: 5.375 kB / 419.4 MB, free: 9.887 MB / 330.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001348/0.005361, allocations: 95.48 kB / 419.5 MB, free: 9.852 MB / 330.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006832/0.006045, allocations: 0.7442 MB / 420.2 MB, free: 9.18 MB / 330.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001282/0.006173, allocations: 75.28 kB / 420.3 MB, free: 9.133 MB / 330.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.759e-05/0.00622, allocations: 37.5 kB / 420.3 MB, free: 9.113 MB / 330.7 MB Notification: Performance of preOpt evalFunc (simulation): time 9.188e-06/0.006229, allocations: 1.969 kB / 420.3 MB, free: 9.113 MB / 330.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.31e-05/0.006243, allocations: 31.97 kB / 420.3 MB, free: 9.074 MB / 330.7 MB Notification: Performance of pre-optimization done (n=8): time 1.122e-06/0.006244, allocations: 0 / 420.3 MB, free: 9.074 MB / 330.7 MB Notification: Performance of matching and sorting (n=8): time 0.0002164/0.00646, allocations: 122.1 kB / 420.5 MB, free: 9.008 MB / 330.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.126e-05/0.006481, allocations: 52.91 kB / 420.5 MB, free: 8.945 MB / 330.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001947/0.006676, allocations: 269.5 kB / 420.8 MB, free: 8.793 MB / 330.7 MB Notification: Performance of collectPreVariables (initialization): time 8.756e-06/0.006685, allocations: 34.92 kB / 420.8 MB, free: 8.754 MB / 330.7 MB Notification: Performance of collectInitialEqns (initialization): time 6.076e-05/0.006746, allocations: 146.1 kB / 421 MB, free: 8.625 MB / 330.7 MB Notification: Performance of collectInitialBindings (initialization): time 1.949e-05/0.006765, allocations: 45.81 kB / 421 MB, free: 8.586 MB / 330.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.735e-05/0.006802, allocations: 29.08 kB / 421 MB, free: 8.562 MB / 330.7 MB Notification: Performance of setup shared object (initialization): time 4.511e-05/0.006848, allocations: 342.9 kB / 421.4 MB, free: 8.23 MB / 330.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 4.318e-05/0.006891, allocations: 24.69 kB / 421.4 MB, free: 8.223 MB / 330.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 5.107e-05/0.006942, allocations: 48.09 kB / 421.4 MB, free: 8.188 MB / 330.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003571/0.007299, allocations: 158.1 kB / 421.6 MB, free: 8.113 MB / 330.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.034e-06/0.007301, allocations: 0.9375 kB / 421.6 MB, free: 8.113 MB / 330.7 MB Notification: Performance of matching and sorting (n=14) (initialization): time 0.0001552/0.007456, allocations: 143.6 kB / 421.7 MB, free: 8.031 MB / 330.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.491e-05/0.007471, allocations: 4.969 kB / 421.7 MB, free: 8.031 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.322e-06/0.007477, allocations: 1.875 kB / 421.7 MB, free: 8.031 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.376e-05/0.007491, allocations: 1.344 kB / 421.7 MB, free: 8.031 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001129/0.007604, allocations: 28.5 kB / 421.8 MB, free: 8.027 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.781e-06/0.00761, allocations: 1.875 kB / 421.8 MB, free: 8.027 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.463e-05/0.007664, allocations: 15.66 kB / 421.8 MB, free: 8.016 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.843e-06/0.007671, allocations: 7.281 kB / 421.8 MB, free: 8.012 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.0001157/0.007787, allocations: 139.6 kB / 421.9 MB, free: 7.879 MB / 330.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.445e-05/0.007811, allocations: 22.91 kB / 422 MB, free: 7.867 MB / 330.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.97e-05/0.007841, allocations: 27.78 kB / 422 MB, free: 7.848 MB / 330.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.054e-06/0.007843, allocations: 2.281 kB / 422 MB, free: 7.848 MB / 330.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.44e-06/0.007849, allocations: 0.75 kB / 422 MB, free: 7.848 MB / 330.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.216e-06/0.007852, allocations: 0.6562 kB / 422 MB, free: 7.848 MB / 330.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001444/0.007996, allocations: 197.3 kB / 422.2 MB, free: 7.664 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.703e-06/0.007998, allocations: 1.625 kB / 422.2 MB, free: 7.664 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.266e-05/0.00808, allocations: 17.73 kB / 422.2 MB, free: 7.664 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.675e-06/0.008083, allocations: 1.734 kB / 422.2 MB, free: 7.664 MB / 330.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.053e-05/0.008094, allocations: 9.188 kB / 422.2 MB, free: 7.656 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.473e-06/0.008095, allocations: 0 / 422.2 MB, free: 7.656 MB / 330.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.413e-06/0.008097, allocations: 5.719 kB / 422.2 MB, free: 7.652 MB / 330.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001827/0.008279, allocations: 242.5 kB / 422.4 MB, free: 7.465 MB / 330.7 MB Notification: Performance of postOpt removeConstants (simulation): time 2.512e-05/0.008304, allocations: 28.33 kB / 422.5 MB, free: 7.445 MB / 330.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.881e-05/0.008323, allocations: 0.7188 kB / 422.5 MB, free: 7.445 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.612e-05/0.008379, allocations: 2.25 kB / 422.5 MB, free: 7.445 MB / 330.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.045e-05/0.0084, allocations: 5.438 kB / 422.5 MB, free: 7.445 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.216e-06/0.008403, allocations: 1.125 kB / 422.5 MB, free: 7.445 MB / 330.7 MB Notification: Performance of sorting global known variables: time 0.0001189/0.008522, allocations: 197.7 kB / 422.7 MB, free: 7.328 MB / 330.7 MB Notification: Performance of sort global known variables: time 5.1e-08/0.008522, allocations: 3.938 kB / 422.7 MB, free: 7.324 MB / 330.7 MB Notification: Performance of remove unused functions: time 0.0001796/0.008701, allocations: 38.75 kB / 422.7 MB, free: 7.32 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 0.0002501/0.008952, allocations: 0.7703 MB / 423.5 MB, free: 6.609 MB / 330.7 MB Notification: Performance of simCode: created initialization part: time 0.0001356/0.009087, allocations: 73 kB / 423.6 MB, free: 6.582 MB / 330.7 MB Notification: Performance of simCode: created event and clocks part: time 1.332e-06/0.009089, allocations: 1.438 kB / 423.6 MB, free: 6.582 MB / 330.7 MB Notification: Performance of simCode: created simulation system equations: time 3.748e-05/0.009126, allocations: 35.86 kB / 423.6 MB, free: 6.566 MB / 330.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002528/0.009379, allocations: 49.77 kB / 423.6 MB, free: 6.543 MB / 330.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001695/0.01107, allocations: 2.249 MB / 425.9 MB, free: 4.926 MB / 330.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 7.658e-05/0.01115, allocations: 124.1 kB / 426 MB, free: 4.844 MB / 330.7 MB Notification: Performance of simCode: alias equations: time 9.323e-05/0.01124, allocations: 29.84 kB / 426 MB, free: 4.832 MB / 330.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.907e-05/0.01131, allocations: 65.8 kB / 426.1 MB, free: 4.785 MB / 330.7 MB Notification: Performance of SimCode: time 6.41e-07/0.01131, allocations: 1.312 kB / 426.1 MB, free: 4.785 MB / 330.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01906/0.03037, allocations: 5.604 MB / 431.7 MB, free: 3.566 MB / 330.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 6.887/6.918, allocations: 2.25 kB / 431.7 MB, free: 3.566 MB / 330.7 MB " [Timeout remaining time 653] (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 & python3 -m fmpy simulate --output-file AES_AES.Coursework.ThermSys_Transport.HE_simple_case_001_res.csv --start-time 0 --stop-time 10000 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 100 AES_AES_Coursework_ThermSys_Transport_HE_simple_case_001.fmu > AES_AES.Coursework.ThermSys_Transport.HE_simple_case_001.pipe 2>&1) [Timeout 52.5] [Calling sys.exit(0), Time elapsed: 8.942868730053306] Failed to read output from testmodel.py, exit status != 0: 7.003119439817965 7.012917988 7.00719048 Calling exit ...