Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr AES_AES.Coursework.ThermSys_component_models.HeatPump_case_001a.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.001222/0.001222, allocations: 101.3 kB / 19.73 MB, free: 2.133 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.001406/0.001406, allocations: 218.7 kB / 23.03 MB, free: 4.949 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.485/1.485, allocations: 230.6 MB / 256.8 MB, free: 7.812 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.1025/0.1025, allocations: 22.94 MB / 336.2 MB, free: 12.43 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) Ignoring simflag -noemit -variableFilter=.* since it seems broken on HelloWorld Running command: "" <> buildModelFMU(AES.Coursework.ThermSys_component_models.HeatPump_case_001a,fileNamePrefix="AES_AES_Coursework_ThermSys_component_models_HeatPump_case_001a",fmuType="cs",version="2.0",platforms={"static"}) "" <> buildModelFMU(AES.Coursework.ThermSys_component_models.HeatPump_case_001a,fileNamePrefix="AES_AES_Coursework_ThermSys_component_models_HeatPump_case_001a",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.003212/0.003212, allocations: 67.89 kB / 473 MB, free: 7.121 MB / 334.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3829/0.3861, allocations: 59.3 MB / 0.5198 GB, free: 10.95 MB / 382.1 MB Notification: Performance of NFInst.instantiate(AES.Coursework.ThermSys_component_models.HeatPump_case_001a): time 0.003416/0.3895, allocations: 2.119 MB / 0.5219 GB, free: 9.52 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.0003036/0.3898, allocations: 173.8 kB / 0.522 GB, free: 9.391 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.403e-05/0.3899, allocations: 3.688 kB / 0.522 GB, free: 9.391 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 7.191e-05/0.3899, allocations: 27.06 kB / 0.522 GB, free: 9.375 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001279/0.3901, allocations: 62.94 kB / 0.5221 GB, free: 9.328 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001526/0.3902, allocations: 49.78 kB / 0.5222 GB, free: 9.301 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002309/0.3905, allocations: 237.1 kB / 0.5224 GB, free: 9.184 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001852/0.3906, allocations: 86.59 kB / 0.5225 GB, free: 9.137 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 8.653e-05/0.3907, allocations: 91.67 kB / 0.5226 GB, free: 9.094 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001623/0.3909, allocations: 102.6 kB / 0.5226 GB, free: 9.043 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 3.72e-05/0.3909, allocations: 20.31 kB / 0.5227 GB, free: 9.043 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 4.218e-05/0.391, allocations: 25.72 kB / 0.5227 GB, free: 9.039 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 4.17e-05/0.391, allocations: 41.41 kB / 0.5227 GB, free: 9.012 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 9.757e-05/0.3911, allocations: 98.48 kB / 0.5228 GB, free: 8.961 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002669/0.3914, allocations: 237.7 kB / 0.5231 GB, free: 8.871 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.37e-06/0.3914, allocations: 1.062 kB / 0.5231 GB, free: 8.871 MB / 382.1 MB Notification: Performance of FrontEnd: time 2.013e-06/0.3914, allocations: 0.8906 kB / 0.5231 GB, free: 8.871 MB / 382.1 MB Notification: Performance of Transformations before backend: time 6.442e-06/0.3914, allocations: 0 / 0.5231 GB, free: 8.871 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: 59 * Number of variables: 59 Notification: Performance of Generate backend data structure: time 0.0005844/0.392, allocations: 425.8 kB / 0.5235 GB, free: 8.516 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.263e-05/0.392, allocations: 10.67 kB / 0.5235 GB, free: 8.516 MB / 382.1 MB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 2.259e-05/0.392, allocations: 7.062 kB / 0.5235 GB, free: 8.516 MB / 382.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.457e-05/0.3921, allocations: 59.61 kB / 0.5235 GB, free: 8.461 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.636e-05/0.3921, allocations: 25.36 kB / 0.5236 GB, free: 8.449 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 7.949e-05/0.3922, allocations: 130.2 kB / 0.5237 GB, free: 8.305 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.867e-05/0.3922, allocations: 18.38 kB / 0.5237 GB, free: 8.297 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.977e-05/0.3923, allocations: 28.62 kB / 0.5237 GB, free: 8.285 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003327/0.3926, allocations: 197.5 kB / 0.5239 GB, free: 8.188 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.14e-05/0.3926, allocations: 4.906 kB / 0.5239 GB, free: 8.184 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.937e-05/0.3926, allocations: 9.875 kB / 0.5239 GB, free: 8.176 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.146e-05/0.3926, allocations: 6.812 kB / 0.5239 GB, free: 8.176 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002491/0.3929, allocations: 148.4 kB / 0.5241 GB, free: 8.121 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008429/0.3937, allocations: 0.5578 MB / 0.5246 GB, free: 7.719 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003229/0.394, allocations: 164 kB / 0.5248 GB, free: 7.645 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002938/0.3943, allocations: 126.7 kB / 0.5249 GB, free: 7.605 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.413e-05/0.3944, allocations: 6.25 kB / 0.5249 GB, free: 7.602 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.358e-05/0.3944, allocations: 36.84 kB / 0.5249 GB, free: 7.559 MB / 382.1 MB Notification: Performance of pre-optimization done (n=20): time 1.373e-06/0.3944, allocations: 0 / 0.5249 GB, free: 7.559 MB / 382.1 MB Notification: Performance of matching and sorting (n=20): time 0.001915/0.3963, allocations: 0.5388 MB / 0.5255 GB, free: 7.402 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.401e-05/0.3963, allocations: 57.59 kB / 0.5255 GB, free: 7.336 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.547e-05/0.3964, allocations: 134.6 kB / 0.5257 GB, free: 7.223 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 1.376e-05/0.3964, allocations: 29.7 kB / 0.5257 GB, free: 7.188 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 5.556e-05/0.3965, allocations: 146.8 kB / 0.5258 GB, free: 7.059 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.547e-05/0.3965, allocations: 79.53 kB / 0.5259 GB, free: 6.996 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.258e-05/0.3966, allocations: 36.52 kB / 0.5259 GB, free: 6.969 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 4.514e-05/0.3966, allocations: 328.9 kB / 0.5262 GB, free: 6.648 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 7.191e-05/0.3967, allocations: 41.03 kB / 0.5263 GB, free: 6.637 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 8.763e-05/0.3968, allocations: 78.72 kB / 0.5264 GB, free: 6.586 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001632/0.3969, allocations: 141.5 kB / 0.5265 GB, free: 6.5 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.864e-06/0.3969, allocations: 0 / 0.5265 GB, free: 6.5 MB / 382.1 MB Notification: Performance of matching and sorting (n=25) (initialization): time 0.0006853/0.3976, allocations: 324.1 kB / 0.5268 GB, free: 6.363 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.552e-05/0.3976, allocations: 5.281 kB / 0.5268 GB, free: 6.363 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.26e-06/0.3976, allocations: 1.094 kB / 0.5268 GB, free: 6.363 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.000684/0.3983, allocations: 174.2 kB / 0.527 GB, free: 6.324 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.362e-05/0.3984, allocations: 25.61 kB / 0.527 GB, free: 6.32 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003544/0.402, allocations: 3.607 MB / 0.5305 GB, free: 3.16 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.19e-05/0.4021, allocations: 20.19 kB / 0.5305 GB, free: 3.145 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.364e-05/0.4021, allocations: 5.906 kB / 0.5305 GB, free: 3.145 MB / 382.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 4 * 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 (11): * Single equations (assignments): 9 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 0 systems * Non-linear torn systems (#iteration vars, #inner vars): 2 systems {(1,7), (1,7)} Notification: Performance of prepare postOptimizeDAE: time 0.0001032/0.4022, allocations: 136.9 kB / 0.5307 GB, free: 3.012 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.43e-05/0.4022, allocations: 8.641 kB / 0.5307 GB, free: 3.008 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0007527/0.403, allocations: 314.3 kB / 0.531 GB, free: 2.867 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.857e-06/0.403, allocations: 7.156 kB / 0.531 GB, free: 2.863 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.944e-06/0.403, allocations: 0.5625 kB / 0.531 GB, free: 2.863 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.498e-06/0.403, allocations: 0.7031 kB / 0.531 GB, free: 2.863 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002518/0.4032, allocations: 230.3 kB / 0.5312 GB, free: 2.664 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.844e-06/0.4032, allocations: 4 kB / 0.5312 GB, free: 2.66 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.519e-05/0.4033, allocations: 12.92 kB / 0.5312 GB, free: 2.66 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0006488/0.4039, allocations: 178.2 kB / 0.5314 GB, free: 2.617 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.276e-05/0.4039, allocations: 5.438 kB / 0.5314 GB, free: 2.613 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003525/0.4075, allocations: 3.589 MB / 0.5349 GB, free: 15.47 MB / 398.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.483e-06/0.4075, allocations: 0 / 0.5349 GB, free: 15.47 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008439/0.4083, allocations: 396 kB / 0.5353 GB, free: 15.24 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 2.26e-05/0.4083, allocations: 13.08 kB / 0.5353 GB, free: 15.23 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.977e-05/0.4084, allocations: 10.06 kB / 0.5353 GB, free: 15.23 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.249e-05/0.4084, allocations: 1 kB / 0.5353 GB, free: 15.23 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.855e-05/0.4085, allocations: 19.02 kB / 0.5353 GB, free: 15.22 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.037e-05/0.4085, allocations: 3.719 kB / 0.5353 GB, free: 15.22 MB / 398.1 MB Notification: Performance of sorting global known variables: time 8.603e-05/0.4086, allocations: 104.9 kB / 0.5354 GB, free: 15.14 MB / 398.1 MB Notification: Performance of sort global known variables: time 7e-08/0.4086, allocations: 0 / 0.5354 GB, free: 15.14 MB / 398.1 MB Notification: Performance of remove unused functions: time 0.0005628/0.4091, allocations: 76.81 kB / 0.5355 GB, free: 15.12 MB / 398.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * 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 simulation (6): * Single equations (assignments): 4 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 0 systems * Non-linear torn systems (#iteration vars, #inner vars): 2 systems {(1,7), (1,7)} Notification: Performance of Backend phase and start with SimCode phase: time 0.001165/0.4103, allocations: 0.927 MB / 0.5364 GB, free: 14.35 MB / 398.1 MB Notification: Performance of simCode: created initialization part: time 0.0007997/0.4111, allocations: 406.3 kB / 0.5368 GB, free: 14.06 MB / 398.1 MB Notification: Performance of simCode: created event and clocks part: time 3.516e-06/0.4111, allocations: 0.625 kB / 0.5368 GB, free: 14.06 MB / 398.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0005802/0.4117, allocations: 351.9 kB / 0.5371 GB, free: 13.79 MB / 398.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002938/0.412, allocations: 17.06 kB / 0.5372 GB, free: 13.79 MB / 398.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001573/0.4136, allocations: 0.5339 MB / 0.5377 GB, free: 13.49 MB / 398.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001437/0.4137, allocations: 126.1 kB / 0.5378 GB, free: 13.41 MB / 398.1 MB Notification: Performance of simCode: alias equations: time 3.633e-05/0.4137, allocations: 8.422 kB / 0.5378 GB, free: 13.4 MB / 398.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.115e-05/0.4138, allocations: 48.16 kB / 0.5378 GB, free: 13.36 MB / 398.1 MB Notification: Performance of SimCode: time 4.1e-07/0.4138, allocations: 0 / 0.5378 GB, free: 13.36 MB / 398.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03057/0.4444, allocations: 4.642 MB / 0.5424 GB, free: 12.63 MB / 398.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 13.01/13.46, allocations: 12.84 kB / 0.5424 GB, free: 12.62 MB / 398.1 MB " [Timeout remaining time 646] (rm -f AES_AES.Coursework.ThermSys_component_models.HeatPump_case_001a.pipe ; mkfifo AES_AES.Coursework.ThermSys_component_models.HeatPump_case_001a.pipe ; head -c 1048576 < AES_AES.Coursework.ThermSys_component_models.HeatPump_case_001a.pipe >> ../files/AES_AES.Coursework.ThermSys_component_models.HeatPump_case_001a.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_AES_AES_Coursework_ThermSys_component_models_HeatPump_case_001a_fmu --startTime=0 --stopTime=10000 --stepSize=1 --timeout=50 --tolerance=1e-06 AES_AES_Coursework_ThermSys_component_models_HeatPump_case_001a.fmu > AES_AES.Coursework.ThermSys_component_models.HeatPump_case_001a.pipe 2>&1) [Timeout 52.5] [Calling sys.exit(0), Time elapsed: 16.44797625800129] Failed to read output from testmodel.py, exit status != 0: 13.634959791088477 13.650370492 13.255739706 Calling exit ...