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.0008404/0.0008404, allocations: 76.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.0009835/0.0009835, allocations: 173.2 kB / 23.23 MB, free: 1.332 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.891/0.891, allocations: 177.1 MB / 203.5 MB, free: 5.742 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.06382/0.06382, 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.933e-06/1.933e-06, allocations: 0 / 415 MB, free: 12.66 MB / 330.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.878e-05/2.071e-05, allocations: 2.281 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.002225/0.002246, allocations: 2.061 MB / 417.1 MB, free: 11.34 MB / 330.7 MB Notification: Performance of NFInst.instExpressions: time 0.0004761/0.002722, allocations: 199.2 kB / 417.3 MB, free: 11.2 MB / 330.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001246/0.002846, allocations: 20.22 kB / 417.3 MB, free: 11.18 MB / 330.7 MB Notification: Performance of NFTyping.typeComponents: time 6.08e-05/0.002907, allocations: 27.72 kB / 417.4 MB, free: 11.17 MB / 330.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0001818/0.003089, allocations: 106.7 kB / 417.5 MB, free: 11.09 MB / 330.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001318/0.003221, allocations: 44.97 kB / 417.5 MB, free: 11.07 MB / 330.7 MB Notification: Performance of NFFlatten.flatten: time 0.0002311/0.003452, allocations: 301.6 kB / 417.8 MB, free: 10.91 MB / 330.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.000228/0.00368, allocations: 105.9 kB / 417.9 MB, free: 10.85 MB / 330.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002012/0.003881, allocations: 126.8 kB / 418 MB, free: 10.8 MB / 330.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001117/0.003993, allocations: 67.53 kB / 418.1 MB, free: 10.79 MB / 330.7 MB Notification: Performance of NFPackage.collectConstants: time 3.381e-05/0.004027, allocations: 13.75 kB / 418.1 MB, free: 10.79 MB / 330.7 MB Notification: Performance of NFFlatten.collectFunctions: time 2.628e-05/0.004053, allocations: 13.75 kB / 418.1 MB, free: 10.79 MB / 330.7 MB Notification: Performance of NFScalarize.scalarize: time 2.765e-05/0.004081, allocations: 41.31 kB / 418.2 MB, free: 10.75 MB / 330.7 MB Notification: Performance of NFVerifyModel.verify: time 6.814e-05/0.004149, allocations: 70.5 kB / 418.2 MB, free: 10.73 MB / 330.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0002243/0.004373, allocations: 215.5 kB / 418.4 MB, free: 10.65 MB / 330.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.978e-06/0.004377, allocations: 0 / 418.4 MB, free: 10.65 MB / 330.7 MB Notification: Performance of FrontEnd: time 1.072e-06/0.004378, allocations: 4 kB / 418.4 MB, free: 10.65 MB / 330.7 MB Notification: Performance of Transformations before backend: time 4.899e-06/0.004383, allocations: 0 / 418.4 MB, free: 10.65 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.0004791/0.004862, allocations: 444.2 kB / 418.9 MB, free: 10.27 MB / 330.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.168e-05/0.004904, allocations: 10.39 kB / 418.9 MB, free: 10.27 MB / 330.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.221e-05/0.004936, allocations: 54.11 kB / 418.9 MB, free: 10.22 MB / 330.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.885e-05/0.004975, allocations: 25.23 kB / 419 MB, free: 10.21 MB / 330.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002787/0.005254, allocations: 211.2 kB / 419.2 MB, free: 10.02 MB / 330.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.257e-05/0.005266, allocations: 9.812 kB / 419.2 MB, free: 10.02 MB / 330.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.645e-05/0.005293, allocations: 13.22 kB / 419.2 MB, free: 10.02 MB / 330.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001899/0.005482, allocations: 161 kB / 419.3 MB, free: 9.906 MB / 330.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.446e-06/0.005491, allocations: 0.7969 kB / 419.3 MB, free: 9.906 MB / 330.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.313e-05/0.005504, allocations: 10.66 kB / 419.4 MB, free: 9.898 MB / 330.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.352e-06/0.00551, allocations: 6.469 kB / 419.4 MB, free: 9.895 MB / 330.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001365/0.005647, allocations: 92.25 kB / 419.5 MB, free: 9.863 MB / 330.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005251/0.006172, allocations: 0.7461 MB / 420.2 MB, free: 9.191 MB / 330.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001211/0.006293, allocations: 78.52 kB / 420.3 MB, free: 9.141 MB / 330.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.187e-05/0.006335, allocations: 36.55 kB / 420.3 MB, free: 9.121 MB / 330.7 MB Notification: Performance of preOpt evalFunc (simulation): time 7.824e-06/0.006343, allocations: 2.312 kB / 420.3 MB, free: 9.121 MB / 330.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 9.858e-06/0.006353, allocations: 37.22 kB / 420.4 MB, free: 9.078 MB / 330.7 MB Notification: Performance of pre-optimization done (n=8): time 1.473e-06/0.006354, allocations: 0 / 420.4 MB, free: 9.078 MB / 330.7 MB Notification: Performance of matching and sorting (n=8): time 0.0002175/0.006572, allocations: 126.4 kB / 420.5 MB, free: 9.008 MB / 330.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 1.861e-05/0.00659, allocations: 53.52 kB / 420.5 MB, free: 8.945 MB / 330.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001743/0.006764, allocations: 273.7 kB / 420.8 MB, free: 8.789 MB / 330.7 MB Notification: Performance of collectPreVariables (initialization): time 7.905e-06/0.006772, allocations: 29.7 kB / 420.8 MB, free: 8.754 MB / 330.7 MB Notification: Performance of collectInitialEqns (initialization): time 5.786e-05/0.00683, allocations: 149.5 kB / 421 MB, free: 8.621 MB / 330.7 MB Notification: Performance of collectInitialBindings (initialization): time 1.72e-05/0.006847, allocations: 34.23 kB / 421 MB, free: 8.594 MB / 330.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.706e-05/0.006885, allocations: 28.22 kB / 421 MB, free: 8.57 MB / 330.7 MB Notification: Performance of setup shared object (initialization): time 3.836e-05/0.006923, allocations: 339.4 kB / 421.4 MB, free: 8.242 MB / 330.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 4.071e-05/0.006964, allocations: 24.69 kB / 421.4 MB, free: 8.234 MB / 330.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 4.588e-05/0.007009, allocations: 48.75 kB / 421.4 MB, free: 8.199 MB / 330.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003347/0.007344, allocations: 156.5 kB / 421.6 MB, free: 8.125 MB / 330.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.204e-06/0.007346, allocations: 0 / 421.6 MB, free: 8.125 MB / 330.7 MB Notification: Performance of matching and sorting (n=14) (initialization): time 0.0001474/0.007494, allocations: 139.1 kB / 421.7 MB, free: 8.047 MB / 330.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.45e-05/0.007508, allocations: 5.188 kB / 421.7 MB, free: 8.047 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.711e-06/0.007514, allocations: 2 kB / 421.7 MB, free: 8.047 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.355e-05/0.007528, allocations: 1.312 kB / 421.7 MB, free: 8.047 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001024/0.00763, allocations: 29.94 kB / 421.8 MB, free: 8.043 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.092e-06/0.007636, allocations: 1.188 kB / 421.8 MB, free: 8.043 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.725e-05/0.007693, allocations: 24.34 kB / 421.8 MB, free: 8.023 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.115e-06/0.007701, allocations: 7.469 kB / 421.8 MB, free: 8.02 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.0001241/0.007826, allocations: 134.8 kB / 421.9 MB, free: 7.891 MB / 330.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.548e-05/0.007851, allocations: 23.45 kB / 421.9 MB, free: 7.879 MB / 330.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.932e-05/0.00788, allocations: 27.31 kB / 422 MB, free: 7.859 MB / 330.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.685e-06/0.007883, allocations: 2.5 kB / 422 MB, free: 7.859 MB / 330.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.548e-06/0.007888, allocations: 0 / 422 MB, free: 7.859 MB / 330.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.577e-06/0.007891, allocations: 2.312 kB / 422 MB, free: 7.859 MB / 330.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001463/0.008037, allocations: 201.8 kB / 422.2 MB, free: 7.672 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.535e-06/0.00804, allocations: 0.875 kB / 422.2 MB, free: 7.672 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.38e-05/0.008124, allocations: 19.41 kB / 422.2 MB, free: 7.672 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.844e-06/0.008126, allocations: 1.078 kB / 422.2 MB, free: 7.672 MB / 330.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.937e-06/0.008135, allocations: 1.125 kB / 422.2 MB, free: 7.672 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.894e-06/0.008136, allocations: 1.188 kB / 422.2 MB, free: 7.672 MB / 330.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.793e-06/0.008138, allocations: 11.94 kB / 422.2 MB, free: 7.66 MB / 330.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001922/0.00833, allocations: 239.9 kB / 422.4 MB, free: 7.477 MB / 330.7 MB Notification: Performance of postOpt removeConstants (simulation): time 2.616e-05/0.008357, allocations: 23.84 kB / 422.5 MB, free: 7.461 MB / 330.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.002e-05/0.008377, allocations: 6.188 kB / 422.5 MB, free: 7.457 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.253e-05/0.008429, allocations: 0 / 422.5 MB, free: 7.457 MB / 330.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.143e-05/0.008451, allocations: 5.828 kB / 422.5 MB, free: 7.457 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.957e-06/0.008455, allocations: 1.438 kB / 422.5 MB, free: 7.457 MB / 330.7 MB Notification: Performance of sorting global known variables: time 0.0001086/0.008563, allocations: 193.7 kB / 422.7 MB, free: 7.344 MB / 330.7 MB Notification: Performance of sort global known variables: time 6e-08/0.008563, allocations: 5.125 kB / 422.7 MB, free: 7.34 MB / 330.7 MB Notification: Performance of remove unused functions: time 0.0001885/0.008752, allocations: 42.16 kB / 422.7 MB, free: 7.332 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.000265/0.009017, allocations: 0.7728 MB / 423.5 MB, free: 6.617 MB / 330.7 MB Notification: Performance of simCode: created initialization part: time 0.0001382/0.009155, allocations: 70.97 kB / 423.6 MB, free: 6.594 MB / 330.7 MB Notification: Performance of simCode: created event and clocks part: time 1.603e-06/0.009157, allocations: 0 / 423.6 MB, free: 6.594 MB / 330.7 MB Notification: Performance of simCode: created simulation system equations: time 3.551e-05/0.009192, allocations: 32.16 kB / 423.6 MB, free: 6.582 MB / 330.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000272/0.009464, allocations: 47.05 kB / 423.6 MB, free: 6.562 MB / 330.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001773/0.01124, allocations: 2.253 MB / 425.9 MB, free: 4.941 MB / 330.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 8.401e-05/0.01132, allocations: 126.8 kB / 426 MB, free: 4.855 MB / 330.7 MB Notification: Performance of simCode: alias equations: time 0.0001038/0.01142, allocations: 27.47 kB / 426 MB, free: 4.848 MB / 330.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.085e-05/0.0115, allocations: 64.66 kB / 426.1 MB, free: 4.801 MB / 330.7 MB Notification: Performance of SimCode: time 7.92e-07/0.0115, allocations: 0 / 426.1 MB, free: 4.801 MB / 330.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02113/0.03263, allocations: 5.603 MB / 431.7 MB, free: 3.586 MB / 330.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 6.634/6.667, allocations: 7.906 kB / 431.7 MB, free: 3.582 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 & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_AES_AES_Coursework_ThermSys_Transport_HE_simple_case_001_fmu --startTime=0 --stopTime=10000 --stepSize=100 --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) [Timeout 52.5] [Calling sys.exit(0), Time elapsed: 8.536741496995091] Failed to read output from testmodel.py, exit status != 0: 6.745705254375935 6.753783202 6.74770773 Calling exit ...