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.001322/0.001322, allocations: 108.3 kB / 19.73 MB, free: 1.898 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.00152/0.00152, allocations: 211.5 kB / 23.01 MB, free: 4.992 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.48/1.48, allocations: 230.6 MB / 256.8 MB, free: 7.793 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.111/0.111, allocations: 24.03 MB / 337.2 MB, free: 11.32 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="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: 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.00333/0.00333, allocations: 67.89 kB / 473.8 MB, free: 6.383 MB / 334.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3404/0.3437, allocations: 59.58 MB / 0.5209 GB, free: 10.11 MB / 382.1 MB Notification: Performance of NFInst.instantiate(AES.Coursework.ThermSys_Transport.HE_simple_case_001): time 0.002695/0.3464, allocations: 2.061 MB / 0.5229 GB, free: 8.711 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.0003529/0.3467, allocations: 201.7 kB / 0.5231 GB, free: 8.562 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001131/0.3469, allocations: 19.81 kB / 0.5231 GB, free: 8.551 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 6.812e-05/0.3469, allocations: 31.72 kB / 0.5232 GB, free: 8.531 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.000196/0.3471, allocations: 102.5 kB / 0.5233 GB, free: 8.461 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001209/0.3472, allocations: 33.09 kB / 0.5233 GB, free: 8.445 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002238/0.3475, allocations: 296.6 kB / 0.5236 GB, free: 8.289 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002027/0.3477, allocations: 98.16 kB / 0.5237 GB, free: 8.25 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001804/0.3479, allocations: 135.5 kB / 0.5238 GB, free: 8.195 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001295/0.348, allocations: 78.61 kB / 0.5239 GB, free: 8.164 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 3.469e-05/0.348, allocations: 12.75 kB / 0.5239 GB, free: 8.164 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 4.064e-05/0.3481, allocations: 13.94 kB / 0.5239 GB, free: 8.164 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 3.294e-05/0.3481, allocations: 41.69 kB / 0.5239 GB, free: 8.133 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 8.322e-05/0.3482, allocations: 86.95 kB / 0.524 GB, free: 8.094 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002337/0.3484, allocations: 224.1 kB / 0.5242 GB, free: 8.012 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.125e-06/0.3484, allocations: 4 kB / 0.5242 GB, free: 8.008 MB / 382.1 MB Notification: Performance of FrontEnd: time 1.132e-06/0.3484, allocations: 0 / 0.5242 GB, free: 8.008 MB / 382.1 MB Notification: Performance of Transformations before backend: time 1.001e-05/0.3484, allocations: 1.25 kB / 0.5242 GB, free: 8.008 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.0005733/0.349, allocations: 447.7 kB / 0.5247 GB, free: 7.633 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.706e-05/0.349, allocations: 10.7 kB / 0.5247 GB, free: 7.633 MB / 382.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.563e-05/0.3491, allocations: 46.2 kB / 0.5247 GB, free: 7.586 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.881e-05/0.3491, allocations: 24.95 kB / 0.5247 GB, free: 7.574 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002846/0.3494, allocations: 216.9 kB / 0.5249 GB, free: 7.383 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.417e-05/0.3494, allocations: 13.12 kB / 0.525 GB, free: 7.375 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.019e-05/0.3494, allocations: 13 kB / 0.525 GB, free: 7.371 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002381/0.3497, allocations: 165.4 kB / 0.5251 GB, free: 7.258 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.109e-05/0.3497, allocations: 1.469 kB / 0.5251 GB, free: 7.258 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.496e-05/0.3497, allocations: 5.188 kB / 0.5251 GB, free: 7.254 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.878e-06/0.3497, allocations: 3.625 kB / 0.5251 GB, free: 7.254 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001722/0.3499, allocations: 90.89 kB / 0.5252 GB, free: 7.223 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006823/0.3506, allocations: 0.7609 MB / 0.526 GB, free: 6.535 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001645/0.3507, allocations: 71.28 kB / 0.526 GB, free: 6.492 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 7.712e-05/0.3508, allocations: 37.05 kB / 0.5261 GB, free: 6.473 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 9.709e-06/0.3508, allocations: 5.031 kB / 0.5261 GB, free: 6.469 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.542e-05/0.3508, allocations: 32.48 kB / 0.5261 GB, free: 6.43 MB / 382.1 MB Notification: Performance of pre-optimization done (n=8): time 1.173e-06/0.3508, allocations: 0 / 0.5261 GB, free: 6.43 MB / 382.1 MB Notification: Performance of matching and sorting (n=8): time 0.0002516/0.3511, allocations: 124.8 kB / 0.5262 GB, free: 6.359 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 1.828e-05/0.3511, allocations: 56.28 kB / 0.5263 GB, free: 6.293 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002357/0.3513, allocations: 273.8 kB / 0.5265 GB, free: 6.133 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 9.949e-06/0.3513, allocations: 30.77 kB / 0.5266 GB, free: 6.098 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 6.302e-05/0.3514, allocations: 141.1 kB / 0.5267 GB, free: 5.973 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.016e-05/0.3514, allocations: 39.72 kB / 0.5267 GB, free: 5.941 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.066e-05/0.3515, allocations: 24.69 kB / 0.5268 GB, free: 5.922 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 4.77e-05/0.3515, allocations: 335.3 kB / 0.5271 GB, free: 5.598 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.557e-05/0.3516, allocations: 23.78 kB / 0.5271 GB, free: 5.59 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.2e-05/0.3516, allocations: 48.3 kB / 0.5272 GB, free: 5.555 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004936/0.3521, allocations: 164.8 kB / 0.5273 GB, free: 5.473 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.853e-06/0.3521, allocations: 0 / 0.5273 GB, free: 5.473 MB / 382.1 MB Notification: Performance of matching and sorting (n=14) (initialization): time 0.0001947/0.3523, allocations: 142.3 kB / 0.5274 GB, free: 5.391 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.385e-05/0.3523, allocations: 6 kB / 0.5275 GB, free: 5.391 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.749e-06/0.3523, allocations: 1.25 kB / 0.5275 GB, free: 5.391 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.424e-05/0.3524, allocations: 6.734 kB / 0.5275 GB, free: 5.387 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001705/0.3525, allocations: 27.42 kB / 0.5275 GB, free: 5.383 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.662e-06/0.3525, allocations: 5.156 kB / 0.5275 GB, free: 5.379 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.83e-05/0.3526, allocations: 17.19 kB / 0.5275 GB, free: 5.367 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.287e-06/0.3526, allocations: 3.344 kB / 0.5275 GB, free: 5.367 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.0001272/0.3528, allocations: 134.3 kB / 0.5276 GB, free: 5.238 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.153e-05/0.3528, allocations: 30.16 kB / 0.5277 GB, free: 5.219 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.41e-05/0.3529, allocations: 27.88 kB / 0.5277 GB, free: 5.203 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.076e-06/0.3529, allocations: 1.984 kB / 0.5277 GB, free: 5.203 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.618e-06/0.3529, allocations: 3.938 kB / 0.5277 GB, free: 5.199 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.777e-06/0.3529, allocations: 1.984 kB / 0.5277 GB, free: 5.199 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001971/0.3531, allocations: 197.4 kB / 0.5279 GB, free: 5.016 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.092e-06/0.3531, allocations: 0 / 0.5279 GB, free: 5.016 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001446/0.3532, allocations: 18.7 kB / 0.5279 GB, free: 5.016 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.315e-06/0.3532, allocations: 1.469 kB / 0.5279 GB, free: 5.016 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.158e-05/0.3532, allocations: 4.797 kB / 0.5279 GB, free: 5.012 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.773e-06/0.3532, allocations: 1.438 kB / 0.5279 GB, free: 5.012 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.393e-06/0.3532, allocations: 7.938 kB / 0.5279 GB, free: 5.004 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002453/0.3535, allocations: 235.6 kB / 0.5281 GB, free: 4.824 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 3.848e-05/0.3535, allocations: 27.28 kB / 0.5282 GB, free: 4.805 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.226e-05/0.3535, allocations: 2.172 kB / 0.5282 GB, free: 4.805 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001079/0.3537, allocations: 1.125 kB / 0.5282 GB, free: 4.805 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.288e-05/0.3537, allocations: 20 kB / 0.5282 GB, free: 4.789 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.381e-06/0.3537, allocations: 3.219 kB / 0.5282 GB, free: 4.789 MB / 382.1 MB Notification: Performance of sorting global known variables: time 0.0001471/0.3538, allocations: 194.3 kB / 0.5284 GB, free: 4.68 MB / 382.1 MB Notification: Performance of sort global known variables: time 9e-08/0.3538, allocations: 0 / 0.5284 GB, free: 4.68 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.0002618/0.3541, allocations: 37.78 kB / 0.5284 GB, free: 4.676 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.0003635/0.3545, allocations: 0.7699 MB / 0.5292 GB, free: 3.961 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.0001828/0.3546, allocations: 66.33 kB / 0.5292 GB, free: 3.941 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 2.174e-06/0.3546, allocations: 0 / 0.5292 GB, free: 3.941 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 5.361e-05/0.3547, allocations: 36.81 kB / 0.5293 GB, free: 3.926 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003571/0.355, allocations: 53.27 kB / 0.5293 GB, free: 3.898 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002131/0.3572, allocations: 2.308 MB / 0.5316 GB, free: 2.246 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 8.721e-05/0.3573, allocations: 124.1 kB / 0.5317 GB, free: 2.164 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 0.0001152/0.3574, allocations: 29.09 kB / 0.5317 GB, free: 2.156 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.659e-05/0.3575, allocations: 65.7 kB / 0.5318 GB, free: 2.109 MB / 382.1 MB Notification: Performance of SimCode: time 3.1e-07/0.3575, allocations: 5.281 kB / 0.5318 GB, free: 2.105 MB / 382.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03475/0.3922, allocations: 5.495 MB / 0.5372 GB, free: 0.9648 MB / 382.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 11.32/11.72, allocations: 5.609 kB / 0.5372 GB, free: 0.9609 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.444094011094421] Failed to read output from testmodel.py, exit status != 0: 11.83247064286843 11.863935787 11.51041495 Calling exit ...