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.001301/0.001301, allocations: 109.2 kB / 18.94 MB, free: 2.949 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.00157/0.00157, allocations: 219.8 kB / 22.26 MB, free: 5.125 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.503/1.503, allocations: 230.6 MB / 256 MB, free: 7.984 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.1133/0.1133, allocations: 24.13 MB / 336.6 MB, free: 11.53 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.002329/0.002329, allocations: 71.89 kB / 473.3 MB, free: 6.406 MB / 334.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3613/0.3636, allocations: 59.6 MB / 0.5204 GB, free: 10.08 MB / 382.1 MB Notification: Performance of NFInst.instantiate(AES.Coursework.ThermSys_Transport.HE_simple_case_001): time 0.003768/0.3674, allocations: 2.222 MB / 0.5226 GB, free: 8.5 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.0006234/0.368, allocations: 198.4 kB / 0.5228 GB, free: 8.355 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002738/0.3683, allocations: 16.62 kB / 0.5228 GB, free: 8.348 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001219/0.3684, allocations: 27.22 kB / 0.5228 GB, free: 8.332 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003369/0.3688, allocations: 110.7 kB / 0.5229 GB, free: 8.254 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001867/0.369, allocations: 32.16 kB / 0.5229 GB, free: 8.238 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.0003823/0.3693, allocations: 289 kB / 0.5232 GB, free: 8.09 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002954/0.3696, allocations: 111 kB / 0.5233 GB, free: 8.039 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002934/0.3699, allocations: 134.3 kB / 0.5235 GB, free: 7.984 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002212/0.3701, allocations: 87.52 kB / 0.5235 GB, free: 7.945 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 5.351e-05/0.3702, allocations: 13.12 kB / 0.5236 GB, free: 7.945 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 6.426e-05/0.3703, allocations: 14.41 kB / 0.5236 GB, free: 7.945 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 4.491e-05/0.3703, allocations: 45.8 kB / 0.5236 GB, free: 7.91 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 0.000147/0.3705, allocations: 105.4 kB / 0.5237 GB, free: 7.852 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003385/0.3708, allocations: 217 kB / 0.5239 GB, free: 7.773 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.18e-06/0.3708, allocations: 5.5 kB / 0.5239 GB, free: 7.77 MB / 382.1 MB Notification: Performance of FrontEnd: time 1.272e-06/0.3708, allocations: 0 / 0.5239 GB, free: 7.77 MB / 382.1 MB Notification: Performance of Transformations before backend: time 1.118e-05/0.3708, allocations: 3.938 kB / 0.5239 GB, free: 7.766 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.0008067/0.3716, allocations: 447.3 kB / 0.5244 GB, free: 7.391 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.782e-05/0.3717, allocations: 10.58 kB / 0.5244 GB, free: 7.391 MB / 382.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.638e-05/0.3717, allocations: 45.69 kB / 0.5244 GB, free: 7.344 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.663e-05/0.3718, allocations: 28.67 kB / 0.5244 GB, free: 7.328 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004307/0.3722, allocations: 211.2 kB / 0.5246 GB, free: 7.145 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.274e-05/0.3722, allocations: 9.531 kB / 0.5246 GB, free: 7.141 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.631e-05/0.3723, allocations: 13.75 kB / 0.5247 GB, free: 7.137 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002694/0.3725, allocations: 169.1 kB / 0.5248 GB, free: 7.016 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.457e-05/0.3725, allocations: 1.156 kB / 0.5248 GB, free: 7.016 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.778e-05/0.3726, allocations: 5.094 kB / 0.5248 GB, free: 7.012 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.935e-06/0.3726, allocations: 3.406 kB / 0.5248 GB, free: 7.012 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001955/0.3728, allocations: 94.75 kB / 0.5249 GB, free: 6.98 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008003/0.3736, allocations: 0.78 MB / 0.5257 GB, free: 6.289 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001653/0.3737, allocations: 75.59 kB / 0.5258 GB, free: 6.242 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 6.338e-05/0.3738, allocations: 34.92 kB / 0.5258 GB, free: 6.223 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.634e-05/0.3738, allocations: 1 kB / 0.5258 GB, free: 6.223 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.738e-05/0.3738, allocations: 39.69 kB / 0.5258 GB, free: 6.176 MB / 382.1 MB Notification: Performance of pre-optimization done (n=8): time 1.302e-06/0.3738, allocations: 1.125 kB / 0.5258 GB, free: 6.176 MB / 382.1 MB Notification: Performance of matching and sorting (n=8): time 0.0002912/0.3741, allocations: 124.4 kB / 0.5259 GB, free: 6.105 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.456e-05/0.3741, allocations: 56.62 kB / 0.526 GB, free: 6.039 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002679/0.3744, allocations: 268.3 kB / 0.5263 GB, free: 5.883 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 1.004e-05/0.3744, allocations: 27.27 kB / 0.5263 GB, free: 5.852 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 7.631e-05/0.3745, allocations: 142.9 kB / 0.5264 GB, free: 5.727 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.519e-05/0.3745, allocations: 29.55 kB / 0.5264 GB, free: 5.703 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.608e-05/0.3746, allocations: 35.89 kB / 0.5265 GB, free: 5.672 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 6.652e-05/0.3746, allocations: 334.4 kB / 0.5268 GB, free: 5.348 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.905e-05/0.3747, allocations: 25.11 kB / 0.5268 GB, free: 5.34 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.419e-05/0.3748, allocations: 51.5 kB / 0.5269 GB, free: 5.301 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005036/0.3753, allocations: 161.1 kB / 0.527 GB, free: 5.223 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.753e-06/0.3753, allocations: 0 / 0.527 GB, free: 5.223 MB / 382.1 MB Notification: Performance of matching and sorting (n=14) (initialization): time 0.0001854/0.3754, allocations: 134.7 kB / 0.5272 GB, free: 5.148 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.433e-05/0.3755, allocations: 6.531 kB / 0.5272 GB, free: 5.148 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.35e-06/0.3755, allocations: 5.328 kB / 0.5272 GB, free: 5.145 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.513e-05/0.3755, allocations: 5.469 kB / 0.5272 GB, free: 5.141 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001636/0.3756, allocations: 33.53 kB / 0.5272 GB, free: 5.133 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.983e-06/0.3757, allocations: 5.219 kB / 0.5272 GB, free: 5.129 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001001/0.3758, allocations: 23.27 kB / 0.5272 GB, free: 5.109 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.395e-06/0.3758, allocations: 3.594 kB / 0.5272 GB, free: 5.109 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.0001473/0.3759, allocations: 136.8 kB / 0.5274 GB, free: 4.977 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.18e-05/0.376, allocations: 22.39 kB / 0.5274 GB, free: 4.965 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.243e-05/0.376, allocations: 24.78 kB / 0.5274 GB, free: 4.953 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.886e-06/0.376, allocations: 1.219 kB / 0.5274 GB, free: 4.953 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.17e-06/0.376, allocations: 3.938 kB / 0.5274 GB, free: 4.949 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.836e-06/0.376, allocations: 3.938 kB / 0.5274 GB, free: 4.945 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002122/0.3762, allocations: 214.1 kB / 0.5276 GB, free: 4.758 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.173e-06/0.3762, allocations: 1.156 kB / 0.5276 GB, free: 4.758 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001476/0.3764, allocations: 17.72 kB / 0.5276 GB, free: 4.758 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.856e-06/0.3764, allocations: 5.875 kB / 0.5276 GB, free: 4.754 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.034e-05/0.3764, allocations: 4 kB / 0.5276 GB, free: 4.75 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.934e-06/0.3764, allocations: 1.188 kB / 0.5276 GB, free: 4.75 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.013e-06/0.3764, allocations: 4.641 kB / 0.5277 GB, free: 4.746 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002402/0.3766, allocations: 230.1 kB / 0.5279 GB, free: 4.57 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 3.786e-05/0.3767, allocations: 28.06 kB / 0.5279 GB, free: 4.551 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.165e-05/0.3767, allocations: 2.031 kB / 0.5279 GB, free: 4.551 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001027/0.3768, allocations: 5.312 kB / 0.5279 GB, free: 4.547 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.941e-05/0.3768, allocations: 7.594 kB / 0.5279 GB, free: 4.543 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.583e-06/0.3768, allocations: 7.5 kB / 0.5279 GB, free: 4.539 MB / 382.1 MB Notification: Performance of sorting global known variables: time 0.0001565/0.377, allocations: 197.6 kB / 0.5281 GB, free: 4.426 MB / 382.1 MB Notification: Performance of sort global known variables: time 7e-08/0.377, allocations: 0 / 0.5281 GB, free: 4.426 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.0002595/0.3772, allocations: 38.03 kB / 0.5281 GB, free: 4.422 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.000388/0.3776, allocations: 0.771 MB / 0.5289 GB, free: 3.703 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.0001871/0.3778, allocations: 74.16 kB / 0.529 GB, free: 3.676 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 2.044e-06/0.3778, allocations: 1.188 kB / 0.529 GB, free: 3.676 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 5.681e-05/0.3779, allocations: 33.19 kB / 0.529 GB, free: 3.664 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003727/0.3783, allocations: 63.28 kB / 0.5291 GB, free: 3.629 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00244/0.3807, allocations: 2.305 MB / 0.5313 GB, free: 1.977 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001801/0.3809, allocations: 0.7295 MB / 0.532 GB, free: 1.281 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 0.0001123/0.381, allocations: 30.67 kB / 0.5321 GB, free: 1.273 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.336e-05/0.3811, allocations: 64.62 kB / 0.5321 GB, free: 1.227 MB / 382.1 MB Notification: Performance of SimCode: time 3e-07/0.3811, allocations: 0 / 0.5321 GB, free: 1.227 MB / 382.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0351/0.4162, allocations: 4.845 MB / 0.5368 GB, free: 0.6367 MB / 382.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 11.3/11.71, allocations: 5.406 kB / 0.5369 GB, free: 0.6367 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.454910353990272] Failed to read output from testmodel.py, exit status != 0: 11.824596603866667 11.845166272 11.470398411 Calling exit ...