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.001327/0.001327, allocations: 105.5 kB / 19.73 MB, free: 2.223 MB / 14.72 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.001659/0.001659, allocations: 215.5 kB / 23.04 MB, free: 5.059 MB / 14.72 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 1.441/1.441, allocations: 230.6 MB / 256.8 MB, free: 7.977 MB / 206.1 MB " [Timeout remaining time 178] 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.1014/0.1014, allocations: 22.94 MB / 336.2 MB, free: 12.59 MB / 270.1 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="cs",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="cs",version="2.0",platforms={"static"}) [Timeout 660] "Notification: AES requested package Modelica of version 4.0.0. Modelica 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.002135/0.002135, allocations: 59.89 kB / 472.3 MB, free: 7.984 MB / 334.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3307/0.3329, allocations: 59.29 MB / 0.5191 GB, free: 10.66 MB / 382.1 MB Notification: Performance of NFInst.instantiate(AES.Coursework.ThermSys_Transport.HE_simple_case_001): time 0.003615/0.3365, allocations: 2.21 MB / 0.5213 GB, free: 9.195 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.0004059/0.3369, allocations: 194.1 kB / 0.5214 GB, free: 9.059 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001201/0.337, allocations: 19.59 kB / 0.5215 GB, free: 9.051 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 9.127e-05/0.3371, allocations: 27.19 kB / 0.5215 GB, free: 9.035 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002076/0.3373, allocations: 109.6 kB / 0.5216 GB, free: 8.957 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001564/0.3375, allocations: 34.59 kB / 0.5216 GB, free: 8.941 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.0003056/0.3378, allocations: 287.9 kB / 0.5219 GB, free: 8.793 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002821/0.338, allocations: 114.4 kB / 0.522 GB, free: 8.738 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002329/0.3383, allocations: 131.2 kB / 0.5221 GB, free: 8.688 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.000168/0.3384, allocations: 90.73 kB / 0.5222 GB, free: 8.645 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 4.261e-05/0.3385, allocations: 13.66 kB / 0.5222 GB, free: 8.645 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 4.033e-05/0.3385, allocations: 13.66 kB / 0.5223 GB, free: 8.645 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 4.354e-05/0.3386, allocations: 37.61 kB / 0.5223 GB, free: 8.617 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001188/0.3387, allocations: 107.4 kB / 0.5224 GB, free: 8.559 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003323/0.339, allocations: 225.1 kB / 0.5226 GB, free: 8.473 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.959e-06/0.339, allocations: 0.7031 kB / 0.5226 GB, free: 8.473 MB / 382.1 MB Notification: Performance of FrontEnd: time 2.164e-06/0.339, allocations: 3.938 kB / 0.5226 GB, free: 8.469 MB / 382.1 MB Notification: Performance of Transformations before backend: time 7.585e-06/0.339, allocations: 0 / 0.5226 GB, free: 8.469 MB / 382.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.000725/0.3398, allocations: 445.2 kB / 0.523 GB, free: 8.094 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.797e-05/0.3398, allocations: 11.02 kB / 0.523 GB, free: 8.094 MB / 382.1 MB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 1.794e-05/0.3398, allocations: 8.5 kB / 0.5231 GB, free: 8.09 MB / 382.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.275e-05/0.3399, allocations: 48.97 kB / 0.5231 GB, free: 8.039 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.493e-05/0.3399, allocations: 29.2 kB / 0.5231 GB, free: 8.023 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003147/0.3402, allocations: 205 kB / 0.5233 GB, free: 7.844 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.065e-05/0.3402, allocations: 9.219 kB / 0.5233 GB, free: 7.84 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.2e-05/0.3403, allocations: 17.25 kB / 0.5233 GB, free: 7.832 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002653/0.3405, allocations: 167.6 kB / 0.5235 GB, free: 7.715 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.968e-06/0.3405, allocations: 1.344 kB / 0.5235 GB, free: 7.715 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.696e-05/0.3405, allocations: 5.125 kB / 0.5235 GB, free: 7.711 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.933e-06/0.3406, allocations: 4.062 kB / 0.5235 GB, free: 7.711 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001812/0.3407, allocations: 92.34 kB / 0.5236 GB, free: 7.68 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007148/0.3414, allocations: 0.7773 MB / 0.5244 GB, free: 6.992 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001554/0.3416, allocations: 70.8 kB / 0.5244 GB, free: 6.949 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 6.602e-05/0.3417, allocations: 36.22 kB / 0.5245 GB, free: 6.93 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.43e-05/0.3417, allocations: 9.094 kB / 0.5245 GB, free: 6.922 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.492e-05/0.3417, allocations: 36.58 kB / 0.5245 GB, free: 6.879 MB / 382.1 MB Notification: Performance of pre-optimization done (n=8): time 1.162e-06/0.3417, allocations: 0 / 0.5245 GB, free: 6.879 MB / 382.1 MB Notification: Performance of matching and sorting (n=8): time 0.0002781/0.342, allocations: 124.1 kB / 0.5246 GB, free: 6.809 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.441e-05/0.342, allocations: 57.17 kB / 0.5247 GB, free: 6.742 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002537/0.3423, allocations: 269.7 kB / 0.5249 GB, free: 6.586 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 1.078e-05/0.3423, allocations: 29.7 kB / 0.525 GB, free: 6.551 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 7.146e-05/0.3423, allocations: 145.8 kB / 0.5251 GB, free: 6.422 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.105e-05/0.3424, allocations: 29.89 kB / 0.5251 GB, free: 6.398 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.488e-05/0.3424, allocations: 31.91 kB / 0.5252 GB, free: 6.371 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 6.428e-05/0.3425, allocations: 336.3 kB / 0.5255 GB, free: 6.047 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.752e-05/0.3425, allocations: 23.84 kB / 0.5255 GB, free: 6.039 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.31e-05/0.3426, allocations: 59.62 kB / 0.5256 GB, free: 5.996 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004864/0.3431, allocations: 156.1 kB / 0.5257 GB, free: 5.922 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.694e-06/0.3431, allocations: 0 / 0.5257 GB, free: 5.922 MB / 382.1 MB Notification: Performance of matching and sorting (n=14) (initialization): time 0.0002166/0.3433, allocations: 134.9 kB / 0.5258 GB, free: 5.848 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.618e-05/0.3433, allocations: 9.531 kB / 0.5259 GB, free: 5.844 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.469e-06/0.3433, allocations: 1.125 kB / 0.5259 GB, free: 5.844 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.558e-05/0.3433, allocations: 1.188 kB / 0.5259 GB, free: 5.844 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001624/0.3435, allocations: 37.2 kB / 0.5259 GB, free: 5.832 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.853e-06/0.3435, allocations: 5.766 kB / 0.5259 GB, free: 5.828 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.605e-05/0.3436, allocations: 16.2 kB / 0.5259 GB, free: 5.816 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.548e-06/0.3436, allocations: 3.906 kB / 0.5259 GB, free: 5.816 MB / 382.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.000139/0.3437, allocations: 142.1 kB / 0.5261 GB, free: 5.68 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.242e-05/0.3438, allocations: 22.52 kB / 0.5261 GB, free: 5.668 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.47e-05/0.3438, allocations: 24.44 kB / 0.5261 GB, free: 5.656 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.446e-06/0.3438, allocations: 5.031 kB / 0.5261 GB, free: 5.652 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.459e-06/0.3438, allocations: 0 / 0.5261 GB, free: 5.652 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.41e-06/0.3438, allocations: 4.578 kB / 0.5261 GB, free: 5.652 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002081/0.3441, allocations: 215 kB / 0.5263 GB, free: 5.465 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.884e-06/0.3441, allocations: 4 kB / 0.5263 GB, free: 5.461 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.00014/0.3442, allocations: 23.42 kB / 0.5263 GB, free: 5.457 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.394e-06/0.3442, allocations: 1.219 kB / 0.5263 GB, free: 5.457 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.011e-05/0.3442, allocations: 0 / 0.5263 GB, free: 5.457 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.535e-06/0.3442, allocations: 5.062 kB / 0.5263 GB, free: 5.453 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.41e-07/0.3442, allocations: 0 / 0.5263 GB, free: 5.453 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002342/0.3444, allocations: 233.8 kB / 0.5266 GB, free: 5.273 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 3.723e-05/0.3445, allocations: 29.55 kB / 0.5266 GB, free: 5.254 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.286e-05/0.3445, allocations: 1.219 kB / 0.5266 GB, free: 5.254 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001189/0.3446, allocations: 8 kB / 0.5266 GB, free: 5.246 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.789e-05/0.3447, allocations: 8.656 kB / 0.5266 GB, free: 5.242 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.161e-06/0.3447, allocations: 6.156 kB / 0.5266 GB, free: 5.238 MB / 382.1 MB Notification: Performance of sorting global known variables: time 0.0001464/0.3448, allocations: 193.2 kB / 0.5268 GB, free: 5.129 MB / 382.1 MB Notification: Performance of sort global known variables: time 1e-07/0.3448, allocations: 0 / 0.5268 GB, free: 5.129 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.0002647/0.3451, allocations: 38.75 kB / 0.5268 GB, free: 5.125 MB / 382.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.0003863/0.3455, allocations: 0.7747 MB / 0.5276 GB, free: 4.402 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.0001712/0.3456, allocations: 76.83 kB / 0.5277 GB, free: 4.375 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 1.813e-06/0.3456, allocations: 0 / 0.5277 GB, free: 4.375 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 5.312e-05/0.3457, allocations: 30.23 kB / 0.5277 GB, free: 4.363 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003565/0.346, allocations: 61.17 kB / 0.5278 GB, free: 4.332 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002217/0.3483, allocations: 2.309 MB / 0.53 GB, free: 2.684 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001558/0.3484, allocations: 0.7304 MB / 0.5307 GB, free: 1.984 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 0.000143/0.3486, allocations: 29.41 kB / 0.5308 GB, free: 1.98 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.359e-05/0.3487, allocations: 63.23 kB / 0.5308 GB, free: 1.934 MB / 382.1 MB Notification: Performance of SimCode: time 6.31e-07/0.3487, allocations: 0 / 0.5308 GB, free: 1.934 MB / 382.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02591/0.3746, allocations: 4.875 MB / 0.5356 GB, free: 1.328 MB / 382.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 11.32/11.69, allocations: 4.781 kB / 0.5356 GB, free: 1.328 MB / 382.1 MB " [Timeout remaining time 648] (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: 14.434618300001603] Failed to read output from testmodel.py, exit status != 0: 11.860212013998535 11.889274222 11.544976171 Calling exit ...