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.001199/0.001199, allocations: 104.3 kB / 19.7 MB, free: 2.156 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.001531/0.001531, allocations: 207.9 kB / 22.98 MB, free: 4.984 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.443/1.443, allocations: 230.6 MB / 256.8 MB, free: 7.801 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.122/0.122, allocations: 24.12 MB / 337.3 MB, free: 11.24 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.002039/0.002039, allocations: 63.91 kB / 475.2 MB, free: 4.965 MB / 334.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3067/0.3087, allocations: 59.61 MB / 0.5223 GB, free: 10.93 MB / 382.1 MB Notification: Performance of NFInst.instantiate(AES.Coursework.ThermSys_component_models.HeatPump_case_001a): time 0.002868/0.3116, allocations: 2.12 MB / 0.5244 GB, free: 9.508 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.0003053/0.3119, allocations: 175.2 kB / 0.5245 GB, free: 9.379 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.701e-05/0.312, allocations: 8.156 kB / 0.5246 GB, free: 9.375 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 6.486e-05/0.3121, allocations: 26.72 kB / 0.5246 GB, free: 9.359 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.000119/0.3122, allocations: 60.42 kB / 0.5246 GB, free: 9.316 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001288/0.3123, allocations: 47.31 kB / 0.5247 GB, free: 9.289 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002/0.3125, allocations: 242.5 kB / 0.5249 GB, free: 9.168 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001703/0.3127, allocations: 74.17 kB / 0.525 GB, free: 9.133 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 7.056e-05/0.3128, allocations: 87.16 kB / 0.5251 GB, free: 9.094 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001392/0.3129, allocations: 114.6 kB / 0.5252 GB, free: 9.031 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 4.067e-05/0.3129, allocations: 20.97 kB / 0.5252 GB, free: 9.031 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 3.717e-05/0.313, allocations: 20.16 kB / 0.5252 GB, free: 9.031 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 3.537e-05/0.313, allocations: 47.16 kB / 0.5253 GB, free: 9 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 7.87e-05/0.3131, allocations: 92.42 kB / 0.5254 GB, free: 8.953 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002442/0.3133, allocations: 239.7 kB / 0.5256 GB, free: 8.867 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.707e-06/0.3133, allocations: 0 / 0.5256 GB, free: 8.867 MB / 382.1 MB Notification: Performance of FrontEnd: time 2.094e-06/0.3133, allocations: 1.953 kB / 0.5256 GB, free: 8.867 MB / 382.1 MB Notification: Performance of Transformations before backend: time 1.044e-05/0.3133, allocations: 0 / 0.5256 GB, free: 8.867 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.0005255/0.3139, allocations: 425.6 kB / 0.526 GB, free: 8.512 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.167e-05/0.3139, allocations: 9.422 kB / 0.526 GB, free: 8.512 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.88e-05/0.3139, allocations: 25.42 kB / 0.526 GB, free: 8.5 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 7.857e-05/0.314, allocations: 134.3 kB / 0.5262 GB, free: 8.352 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.993e-05/0.314, allocations: 18.66 kB / 0.5262 GB, free: 8.344 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.341e-05/0.3141, allocations: 24.03 kB / 0.5262 GB, free: 8.336 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003183/0.3144, allocations: 194.2 kB / 0.5264 GB, free: 8.242 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.16e-05/0.3144, allocations: 1.281 kB / 0.5264 GB, free: 8.242 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.951e-05/0.3144, allocations: 14.12 kB / 0.5264 GB, free: 8.23 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.664e-06/0.3144, allocations: 9.594 kB / 0.5264 GB, free: 8.227 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002284/0.3147, allocations: 156.6 kB / 0.5265 GB, free: 8.164 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008062/0.3155, allocations: 0.5142 MB / 0.5271 GB, free: 7.801 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003555/0.3158, allocations: 162.8 kB / 0.5272 GB, free: 7.73 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003035/0.3161, allocations: 125.6 kB / 0.5273 GB, free: 7.691 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.46e-05/0.3162, allocations: 6.797 kB / 0.5273 GB, free: 7.688 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.497e-05/0.3162, allocations: 35.67 kB / 0.5274 GB, free: 7.648 MB / 382.1 MB Notification: Performance of pre-optimization done (n=20): time 1.293e-06/0.3162, allocations: 0 / 0.5274 GB, free: 7.648 MB / 382.1 MB Notification: Performance of matching and sorting (n=20): time 0.001936/0.3181, allocations: 0.5377 MB / 0.5279 GB, free: 7.492 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.124e-05/0.3181, allocations: 53.62 kB / 0.5279 GB, free: 7.43 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.075e-05/0.3182, allocations: 129.3 kB / 0.5281 GB, free: 7.32 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 1.234e-05/0.3182, allocations: 30.77 kB / 0.5281 GB, free: 7.285 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 5.839e-05/0.3183, allocations: 146.6 kB / 0.5282 GB, free: 7.156 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.546e-05/0.3183, allocations: 81.52 kB / 0.5283 GB, free: 7.09 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.757e-05/0.3184, allocations: 42.66 kB / 0.5284 GB, free: 7.059 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 6.022e-05/0.3185, allocations: 325.7 kB / 0.5287 GB, free: 6.738 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 8.445e-05/0.3186, allocations: 45.12 kB / 0.5287 GB, free: 6.723 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001045/0.3187, allocations: 77.25 kB / 0.5288 GB, free: 6.676 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002162/0.3189, allocations: 137.6 kB / 0.5289 GB, free: 6.594 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.224e-06/0.3189, allocations: 0 / 0.5289 GB, free: 6.594 MB / 382.1 MB Notification: Performance of matching and sorting (n=25) (initialization): time 0.0008168/0.3197, allocations: 338.4 kB / 0.5292 GB, free: 6.441 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.419e-05/0.3197, allocations: 10.95 kB / 0.5292 GB, free: 6.438 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.993e-06/0.3197, allocations: 1.375 kB / 0.5292 GB, free: 6.438 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0007282/0.3205, allocations: 175.4 kB / 0.5294 GB, free: 6.398 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000108/0.3206, allocations: 24.08 kB / 0.5294 GB, free: 6.395 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003994/0.3246, allocations: 3.548 MB / 0.5329 GB, free: 3.312 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.782e-05/0.3246, allocations: 16.78 kB / 0.5329 GB, free: 3.301 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.525e-05/0.3247, allocations: 5.594 kB / 0.5329 GB, free: 3.301 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 9.999e-05/0.3248, allocations: 139.1 kB / 0.5331 GB, free: 3.164 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.711e-05/0.3248, allocations: 18.03 kB / 0.5331 GB, free: 3.152 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0007429/0.3255, allocations: 301.9 kB / 0.5334 GB, free: 3.023 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.087e-06/0.3255, allocations: 2.281 kB / 0.5334 GB, free: 3.023 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.803e-06/0.3255, allocations: 0 / 0.5334 GB, free: 3.023 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.611e-06/0.3256, allocations: 4.922 kB / 0.5334 GB, free: 3.02 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002288/0.3258, allocations: 185.1 kB / 0.5335 GB, free: 2.859 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.916e-06/0.3258, allocations: 1.438 kB / 0.5335 GB, free: 2.859 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.169e-05/0.3259, allocations: 12.55 kB / 0.5336 GB, free: 2.859 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0006779/0.3265, allocations: 182.4 kB / 0.5337 GB, free: 2.812 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.165e-05/0.3265, allocations: 5.438 kB / 0.5337 GB, free: 2.809 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003435/0.33, allocations: 3.534 MB / 0.5372 GB, free: 15.74 MB / 398.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.415e-06/0.33, allocations: 0.5625 kB / 0.5372 GB, free: 15.74 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007994/0.3308, allocations: 396.1 kB / 0.5376 GB, free: 15.51 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 3.408e-05/0.3308, allocations: 12.7 kB / 0.5376 GB, free: 15.5 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.907e-05/0.3308, allocations: 11.05 kB / 0.5376 GB, free: 15.5 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.273e-05/0.3309, allocations: 5 kB / 0.5376 GB, free: 15.49 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.36e-05/0.331, allocations: 18.25 kB / 0.5376 GB, free: 15.49 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.928e-06/0.331, allocations: 3.656 kB / 0.5376 GB, free: 15.49 MB / 398.1 MB Notification: Performance of sorting global known variables: time 9.306e-05/0.3311, allocations: 103.6 kB / 0.5377 GB, free: 15.41 MB / 398.1 MB Notification: Performance of sort global known variables: time 7e-08/0.3311, allocations: 0 / 0.5377 GB, free: 15.41 MB / 398.1 MB Notification: Performance of remove unused functions: time 0.0006066/0.3317, allocations: 81.53 kB / 0.5378 GB, free: 15.38 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.0001403/0.3318, allocations: 99.53 kB / 0.5379 GB, free: 15.29 MB / 398.1 MB Notification: Performance of simCode: created initialization part: time 0.0007523/0.3326, allocations: 407 kB / 0.5383 GB, free: 15 MB / 398.1 MB Notification: Performance of simCode: created event and clocks part: time 3.316e-06/0.3326, allocations: 5.219 kB / 0.5383 GB, free: 14.99 MB / 398.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0005061/0.3331, allocations: 354.9 kB / 0.5386 GB, free: 14.72 MB / 398.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002854/0.3334, allocations: 20.92 kB / 0.5386 GB, free: 14.71 MB / 398.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001376/0.3347, allocations: 497.4 kB / 0.5391 GB, free: 14.46 MB / 398.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001451/0.3349, allocations: 134.1 kB / 0.5392 GB, free: 14.38 MB / 398.1 MB Notification: Performance of simCode: alias equations: time 3.634e-05/0.3349, allocations: 5.109 kB / 0.5392 GB, free: 14.37 MB / 398.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.433e-05/0.335, allocations: 10.06 kB / 0.5393 GB, free: 14.37 MB / 398.1 MB Notification: Performance of SimCode: time 7.02e-07/0.335, allocations: 5.688 kB / 0.5393 GB, free: 14.36 MB / 398.1 MB Notification: Performance of Templates: time 0.007278/0.3422, allocations: 2.959 MB / 0.5421 GB, free: 14.06 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 -s cvode -lv LOG_STATS > AES_AES.Coursework.ThermSys_component_models.HeatPump_case_001a.pipe 2>&1) [Timeout 480] [Calling sys.exit(0), Time elapsed: 4.8550670339900535] Failed to read output from testmodel.py, exit status != 0: 0.3513400669908151 0.365678424 0.049327100000000006 Calling exit ...