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.001302/0.001302, allocations: 110.4 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.001507/0.001507, allocations: 218.7 kB / 22.26 MB, free: 5.121 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.548/1.548, allocations: 230.6 MB / 256 MB, free: 7.965 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.1074/0.1074, allocations: 24.13 MB / 336.5 MB, free: 11.42 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: translateModel(AES.Coursework.ThermSys_component_models.HeatPump_case_001a,tolerance=1e-06,outputFormat="empty",numberOfIntervals=10000,variableFilter="",fileNamePrefix="AES_AES.Coursework.ThermSys_component_models.HeatPump_case_001a") translateModel(AES.Coursework.ThermSys_component_models.HeatPump_case_001a,tolerance=1e-06,outputFormat="empty",numberOfIntervals=10000,variableFilter="",fileNamePrefix="AES_AES.Coursework.ThermSys_component_models.HeatPump_case_001a") [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.002517/0.002517, allocations: 74.23 kB / 474.6 MB, free: 5.082 MB / 334.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3984/0.4009, allocations: 59.59 MB / 0.5217 GB, free: 10.89 MB / 382.1 MB Notification: Performance of NFInst.instantiate(AES.Coursework.ThermSys_component_models.HeatPump_case_001a): time 0.003776/0.4047, allocations: 2.247 MB / 0.5239 GB, free: 9.328 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.0005364/0.4052, allocations: 173.8 kB / 0.524 GB, free: 9.199 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001055/0.4053, allocations: 3.219 kB / 0.524 GB, free: 9.199 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001091/0.4054, allocations: 33.19 kB / 0.5241 GB, free: 9.18 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001591/0.4056, allocations: 59.83 kB / 0.5241 GB, free: 9.137 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002047/0.4058, allocations: 50.53 kB / 0.5242 GB, free: 9.105 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.0003029/0.4061, allocations: 243 kB / 0.5244 GB, free: 8.984 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002709/0.4063, allocations: 73.69 kB / 0.5245 GB, free: 8.949 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001139/0.4065, allocations: 91.78 kB / 0.5246 GB, free: 8.906 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002133/0.4067, allocations: 102.9 kB / 0.5246 GB, free: 8.855 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 4.758e-05/0.4067, allocations: 20.31 kB / 0.5247 GB, free: 8.855 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 4.956e-05/0.4068, allocations: 21.06 kB / 0.5247 GB, free: 8.855 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 4.549e-05/0.4068, allocations: 47.47 kB / 0.5247 GB, free: 8.824 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 0.000124/0.4069, allocations: 114 kB / 0.5248 GB, free: 8.758 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003265/0.4073, allocations: 240 kB / 0.5251 GB, free: 8.668 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.322e-06/0.4073, allocations: 0 / 0.5251 GB, free: 8.668 MB / 382.1 MB Notification: Performance of FrontEnd: time 2.444e-06/0.4073, allocations: 0 / 0.5251 GB, free: 8.668 MB / 382.1 MB Notification: Performance of Transformations before backend: time 9.277e-06/0.4073, allocations: 1.062 kB / 0.5251 GB, free: 8.668 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.00068/0.408, allocations: 425.1 kB / 0.5255 GB, free: 8.312 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.637e-05/0.408, allocations: 10.3 kB / 0.5255 GB, free: 8.312 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.539e-05/0.4081, allocations: 25.25 kB / 0.5255 GB, free: 8.301 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001218/0.4082, allocations: 130.7 kB / 0.5256 GB, free: 8.156 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.474e-05/0.4082, allocations: 19.06 kB / 0.5257 GB, free: 8.148 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.303e-05/0.4083, allocations: 23.59 kB / 0.5257 GB, free: 8.141 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003926/0.4087, allocations: 197.1 kB / 0.5259 GB, free: 8.043 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.392e-05/0.4087, allocations: 1.531 kB / 0.5259 GB, free: 8.043 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.342e-05/0.4087, allocations: 13.5 kB / 0.5259 GB, free: 8.031 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.28e-05/0.4087, allocations: 6.859 kB / 0.5259 GB, free: 8.031 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000271/0.409, allocations: 148.2 kB / 0.526 GB, free: 7.977 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001132/0.4101, allocations: 0.9024 MB / 0.5269 GB, free: 7.188 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002703/0.4104, allocations: 160.4 kB / 0.5271 GB, free: 7.113 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003256/0.4107, allocations: 131.8 kB / 0.5272 GB, free: 7.07 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.956e-05/0.4107, allocations: 2.188 kB / 0.5272 GB, free: 7.07 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.002e-05/0.4108, allocations: 40.62 kB / 0.5272 GB, free: 7.023 MB / 382.1 MB Notification: Performance of pre-optimization done (n=20): time 1.272e-06/0.4108, allocations: 0 / 0.5272 GB, free: 7.023 MB / 382.1 MB Notification: Performance of matching and sorting (n=20): time 0.002052/0.4128, allocations: 0.5368 MB / 0.5278 GB, free: 6.867 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.383e-05/0.4128, allocations: 66.06 kB / 0.5278 GB, free: 6.793 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001269/0.413, allocations: 130.7 kB / 0.5279 GB, free: 6.684 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 1.785e-05/0.413, allocations: 30.89 kB / 0.528 GB, free: 6.648 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 8.499e-05/0.4131, allocations: 152.4 kB / 0.5281 GB, free: 6.516 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.862e-05/0.4131, allocations: 67.56 kB / 0.5282 GB, free: 6.461 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.243e-05/0.4132, allocations: 42.64 kB / 0.5282 GB, free: 6.43 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 6.967e-05/0.4132, allocations: 321.1 kB / 0.5285 GB, free: 6.113 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 8.147e-05/0.4133, allocations: 46.48 kB / 0.5286 GB, free: 6.098 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 9.432e-05/0.4134, allocations: 75.98 kB / 0.5286 GB, free: 6.051 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001874/0.4136, allocations: 138.1 kB / 0.5288 GB, free: 5.965 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.065e-06/0.4136, allocations: 1.156 kB / 0.5288 GB, free: 5.965 MB / 382.1 MB Notification: Performance of matching and sorting (n=25) (initialization): time 0.0007514/0.4144, allocations: 328.2 kB / 0.5291 GB, free: 5.824 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.037e-05/0.4144, allocations: 4.562 kB / 0.5291 GB, free: 5.824 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.685e-06/0.4144, allocations: 2.141 kB / 0.5291 GB, free: 5.824 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0007227/0.4151, allocations: 184.1 kB / 0.5293 GB, free: 5.777 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001231/0.4152, allocations: 24.89 kB / 0.5293 GB, free: 5.773 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003692/0.4189, allocations: 3.612 MB / 0.5328 GB, free: 2.617 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.077e-05/0.419, allocations: 28.53 kB / 0.5328 GB, free: 2.594 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.593e-05/0.419, allocations: 5.625 kB / 0.5329 GB, free: 2.594 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.0001162/0.4191, allocations: 138.8 kB / 0.533 GB, free: 2.457 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.709e-05/0.4192, allocations: 10.77 kB / 0.533 GB, free: 2.453 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0007695/0.42, allocations: 317.1 kB / 0.5333 GB, free: 2.309 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.733e-06/0.42, allocations: 2.375 kB / 0.5333 GB, free: 2.309 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.352e-06/0.42, allocations: 0 / 0.5333 GB, free: 2.309 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.372e-06/0.42, allocations: 2.703 kB / 0.5333 GB, free: 2.309 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003372/0.4203, allocations: 241 kB / 0.5335 GB, free: 2.109 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.314e-06/0.4203, allocations: 0 / 0.5335 GB, free: 2.109 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.951e-05/0.4204, allocations: 12.75 kB / 0.5335 GB, free: 2.109 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.000666/0.421, allocations: 182.6 kB / 0.5337 GB, free: 2.062 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.483e-05/0.4211, allocations: 12.91 kB / 0.5337 GB, free: 2.051 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003917/0.425, allocations: 3.6 MB / 0.5372 GB, free: 14.91 MB / 398.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.358e-06/0.425, allocations: 3.938 kB / 0.5373 GB, free: 14.91 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008304/0.4258, allocations: 399 kB / 0.5376 GB, free: 14.67 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 2.123e-05/0.4258, allocations: 11.28 kB / 0.5376 GB, free: 14.67 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.718e-05/0.4258, allocations: 5.031 kB / 0.5376 GB, free: 14.66 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.533e-05/0.4259, allocations: 5.125 kB / 0.5377 GB, free: 14.66 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.604e-05/0.426, allocations: 18.89 kB / 0.5377 GB, free: 14.66 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.32e-05/0.426, allocations: 7.312 kB / 0.5377 GB, free: 14.65 MB / 398.1 MB Notification: Performance of sorting global known variables: time 7.241e-05/0.4261, allocations: 101.8 kB / 0.5378 GB, free: 14.57 MB / 398.1 MB Notification: Performance of sort global known variables: time 7e-08/0.4261, allocations: 1.062 kB / 0.5378 GB, free: 14.57 MB / 398.1 MB Notification: Performance of remove unused functions: time 0.0005636/0.4266, allocations: 76.56 kB / 0.5378 GB, free: 14.55 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.0001373/0.4268, allocations: 121.6 kB / 0.538 GB, free: 14.44 MB / 398.1 MB Notification: Performance of simCode: created initialization part: time 0.0007459/0.4275, allocations: 404.2 kB / 0.5383 GB, free: 14.14 MB / 398.1 MB Notification: Performance of simCode: created event and clocks part: time 3.606e-06/0.4275, allocations: 0 / 0.5383 GB, free: 14.14 MB / 398.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0005402/0.4281, allocations: 359.1 kB / 0.5387 GB, free: 13.87 MB / 398.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002818/0.4283, allocations: 9.656 kB / 0.5387 GB, free: 13.87 MB / 398.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00143/0.4298, allocations: 497.1 kB / 0.5392 GB, free: 13.62 MB / 398.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004177/0.4302, allocations: 0.7387 MB / 0.5399 GB, free: 12.91 MB / 398.1 MB Notification: Performance of simCode: alias equations: time 3.845e-05/0.4302, allocations: 6.109 kB / 0.5399 GB, free: 12.91 MB / 398.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.259e-05/0.4302, allocations: 11.03 kB / 0.5399 GB, free: 12.9 MB / 398.1 MB Notification: Performance of SimCode: time 2.91e-07/0.4302, allocations: 0 / 0.5399 GB, free: 12.9 MB / 398.1 MB Notification: Performance of Templates: time 0.008012/0.4383, allocations: 3.171 MB / 0.543 GB, free: 12.62 MB / 398.1 MB " [Timeout remaining time 660] make -j1 -f AES_AES.Coursework.ThermSys_component_models.HeatPump_case_001a.makefile [Timeout 660] (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 & ./AES_AES.Coursework.ThermSys_component_models.HeatPump_case_001a -lv=LOG_STDOUT,LOG_ASSERT,LOG_STATS -s=dassl -abortSlowSimulation -alarm=480 -lv LOG_STATS > AES_AES.Coursework.ThermSys_component_models.HeatPump_case_001a.pipe 2>&1) [Timeout 480] [Calling sys.exit(0), Time elapsed: 5.346077422844246] Failed to read output from testmodel.py, exit status != 0: 0.44829661888070405 0.46345828200000005 0.052794083000000006 Calling exit ...