Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr AES_AES.Coursework.ThermSys_component_models.HeatPump_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.0009823/0.0009823, allocations: 72.83 kB / 20.74 MB, free: 3.754 MB / 18.57 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.001066/0.001066, allocations: 173 kB / 24.17 MB, free: 336 kB / 18.57 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.084/1.084, allocations: 177.1 MB / 204.6 MB, free: 5.465 MB / 186.7 MB " [Timeout remaining time 179] 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.07207/0.07207, allocations: 18.14 MB / 279.2 MB, free: 11.19 MB / 266.7 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: translateModel(AES.Coursework.ThermSys_component_models.HeatPump_case_001,tolerance=1e-06,outputFormat="empty",numberOfIntervals=10000,variableFilter="",fileNamePrefix="AES_AES.Coursework.ThermSys_component_models.HeatPump_case_001") translateModel(AES.Coursework.ThermSys_component_models.HeatPump_case_001,tolerance=1e-06,outputFormat="empty",numberOfIntervals=10000,variableFilter="",fileNamePrefix="AES_AES.Coursework.ThermSys_component_models.HeatPump_case_001") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 2.174e-06/2.174e-06, allocations: 0 / 304.5 MB, free: 372 kB / 266.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.797e-05/3.015e-05, allocations: 3.625 kB / 304.5 MB, free: 368 kB / 266.7 MB Notification: Performance of NFInst.instantiate(AES.Coursework.ThermSys_component_models.HeatPump_case_001): time 0.003988/0.004018, allocations: 1.75 MB / 306.3 MB, free: 15.21 MB / 282.7 MB Notification: Performance of NFInst.instExpressions: time 0.0003796/0.004397, allocations: 64.14 kB / 306.3 MB, free: 15.16 MB / 282.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.164e-05/0.004459, allocations: 1.281 kB / 306.3 MB, free: 15.16 MB / 282.7 MB Notification: Performance of NFTyping.typeComponents: time 5.753e-05/0.004516, allocations: 7.859 kB / 306.3 MB, free: 15.16 MB / 282.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0001714/0.004688, allocations: 22.41 kB / 306.4 MB, free: 15.14 MB / 282.7 MB Notification: Performance of NFTyping.typeClassSections: time 6.936e-05/0.004757, allocations: 14.31 kB / 306.4 MB, free: 15.13 MB / 282.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001315/0.004889, allocations: 88.11 kB / 306.5 MB, free: 15.09 MB / 282.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001343/0.005023, allocations: 29.27 kB / 306.5 MB, free: 15.07 MB / 282.7 MB Notification: Performance of NFEvalConstants.evaluate: time 6.309e-05/0.005086, allocations: 27.98 kB / 306.5 MB, free: 15.06 MB / 282.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001298/0.005216, allocations: 26.27 kB / 306.5 MB, free: 15.05 MB / 282.7 MB Notification: Performance of NFPackage.collectConstants: time 2.712e-05/0.005243, allocations: 6.594 kB / 306.6 MB, free: 15.05 MB / 282.7 MB Notification: Performance of NFFlatten.collectFunctions: time 1.881e-05/0.005262, allocations: 10.38 kB / 306.6 MB, free: 15.05 MB / 282.7 MB Notification: Performance of NFScalarize.scalarize: time 2.513e-05/0.005287, allocations: 9.766 kB / 306.6 MB, free: 15.04 MB / 282.7 MB Notification: Performance of NFVerifyModel.verify: time 5.8e-05/0.005345, allocations: 35.69 kB / 306.6 MB, free: 15.02 MB / 282.7 MB Notification: Performance of NFConvertDAE.convert: time 0.000162/0.005507, allocations: 54.84 kB / 306.7 MB, free: 15 MB / 282.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.158e-06/0.005511, allocations: 0 / 306.7 MB, free: 15 MB / 282.7 MB Notification: Performance of FrontEnd: time 2.204e-06/0.005513, allocations: 5.281 kB / 306.7 MB, free: 14.99 MB / 282.7 MB Notification: Performance of Transformations before backend: time 5.32e-06/0.005519, allocations: 0 / 306.7 MB, free: 14.99 MB / 282.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 22 * Number of variables: 22 Notification: Performance of Generate backend data structure: time 0.0004055/0.005924, allocations: 279.5 kB / 306.9 MB, free: 14.73 MB / 282.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.208e-05/0.005966, allocations: 10.73 kB / 306.9 MB, free: 14.73 MB / 282.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.532e-05/0.006012, allocations: 10.86 kB / 307 MB, free: 14.73 MB / 282.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001026/0.006114, allocations: 120.5 kB / 307.1 MB, free: 14.59 MB / 282.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.465e-05/0.006139, allocations: 8.406 kB / 307.1 MB, free: 14.59 MB / 282.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.963e-05/0.006159, allocations: 10.78 kB / 307.1 MB, free: 14.59 MB / 282.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001392/0.006298, allocations: 72.69 kB / 307.2 MB, free: 14.54 MB / 282.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.557e-06/0.006307, allocations: 0.9844 kB / 307.2 MB, free: 14.54 MB / 282.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.046e-05/0.006318, allocations: 9.406 kB / 307.2 MB, free: 14.54 MB / 282.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.582e-06/0.006324, allocations: 1.188 kB / 307.2 MB, free: 14.54 MB / 282.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.677e-05/0.006371, allocations: 20.23 kB / 307.2 MB, free: 14.54 MB / 282.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005022/0.006873, allocations: 233 kB / 307.4 MB, free: 14.35 MB / 282.7 MB Notification: Performance of preOpt comSubExp (simulation): time 8.529e-05/0.006959, allocations: 43.36 kB / 307.5 MB, free: 14.32 MB / 282.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 2.632e-05/0.006985, allocations: 11.62 kB / 307.5 MB, free: 14.31 MB / 282.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.807e-05/0.007003, allocations: 2.516 kB / 307.5 MB, free: 14.31 MB / 282.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.79e-05/0.007031, allocations: 37.22 kB / 307.5 MB, free: 14.27 MB / 282.7 MB Notification: Performance of pre-optimization done (n=6): time 1.923e-06/0.007033, allocations: 0 / 307.5 MB, free: 14.27 MB / 282.7 MB Notification: Performance of matching and sorting (n=6): time 0.0001573/0.00719, allocations: 56.14 kB / 307.6 MB, free: 14.23 MB / 282.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.584e-05/0.007226, allocations: 52.56 kB / 307.6 MB, free: 14.17 MB / 282.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.504e-05/0.007311, allocations: 117.4 kB / 307.7 MB, free: 14.05 MB / 282.7 MB Notification: Performance of collectPreVariables (initialization): time 1.238e-05/0.007323, allocations: 28.09 kB / 307.8 MB, free: 14.02 MB / 282.7 MB Notification: Performance of collectInitialEqns (initialization): time 5.647e-05/0.00738, allocations: 103 kB / 307.9 MB, free: 13.92 MB / 282.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.068e-05/0.007401, allocations: 31.98 kB / 307.9 MB, free: 13.89 MB / 282.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.378e-05/0.007444, allocations: 22.41 kB / 307.9 MB, free: 13.88 MB / 282.7 MB Notification: Performance of setup shared object (initialization): time 0.0001011/0.007545, allocations: 317.8 kB / 308.2 MB, free: 13.56 MB / 282.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 2.162e-05/0.007567, allocations: 5.641 kB / 308.2 MB, free: 13.56 MB / 282.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 3.811e-05/0.007605, allocations: 25.58 kB / 308.3 MB, free: 13.54 MB / 282.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 7.581e-05/0.007681, allocations: 55.17 kB / 308.3 MB, free: 13.49 MB / 282.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.796e-06/0.007684, allocations: 0 / 308.3 MB, free: 13.49 MB / 282.7 MB Notification: Performance of matching and sorting (n=9) (initialization): time 0.000122/0.007806, allocations: 63.88 kB / 308.4 MB, free: 13.45 MB / 282.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.966e-05/0.007825, allocations: 5.688 kB / 308.4 MB, free: 13.45 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.054e-06/0.007832, allocations: 1.656 kB / 308.4 MB, free: 13.45 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.481e-05/0.007847, allocations: 0.5 kB / 308.4 MB, free: 13.45 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001108/0.007958, allocations: 16.09 kB / 308.4 MB, free: 13.45 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.415e-05/0.007972, allocations: 2.844 kB / 308.4 MB, free: 13.45 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.579e-05/0.008008, allocations: 5.75 kB / 308.4 MB, free: 13.45 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.01e-05/0.008018, allocations: 5.969 kB / 308.4 MB, free: 13.45 MB / 282.7 MB 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 (9): * 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: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 9.085e-05/0.008109, allocations: 125.2 kB / 308.5 MB, free: 13.32 MB / 282.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.775e-05/0.008137, allocations: 5.484 kB / 308.5 MB, free: 13.32 MB / 282.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001514/0.008288, allocations: 57.33 kB / 308.6 MB, free: 13.27 MB / 282.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.859e-06/0.008293, allocations: 0.6562 kB / 308.6 MB, free: 13.27 MB / 282.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.733e-06/0.008295, allocations: 0 / 308.6 MB, free: 13.27 MB / 282.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.118e-06/0.008299, allocations: 0.5625 kB / 308.6 MB, free: 13.27 MB / 282.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001677/0.008467, allocations: 89.16 kB / 308.7 MB, free: 13.17 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.296e-06/0.00847, allocations: 4.656 kB / 308.7 MB, free: 13.16 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.724e-05/0.008547, allocations: 18.09 kB / 308.7 MB, free: 13.15 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.689e-06/0.008552, allocations: 0 / 308.7 MB, free: 13.15 MB / 282.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.631e-06/0.008557, allocations: 4 kB / 308.7 MB, free: 13.14 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.386e-06/0.008561, allocations: 0.6562 kB / 308.7 MB, free: 13.14 MB / 282.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.537e-06/0.008564, allocations: 3.938 kB / 308.7 MB, free: 13.14 MB / 282.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001477/0.008712, allocations: 145.8 kB / 308.9 MB, free: 12.99 MB / 282.7 MB Notification: Performance of postOpt removeConstants (simulation): time 1.912e-05/0.008731, allocations: 4.594 kB / 308.9 MB, free: 12.98 MB / 282.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.245e-05/0.008744, allocations: 4 kB / 308.9 MB, free: 12.98 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.599e-05/0.0088, allocations: 8.547 kB / 308.9 MB, free: 12.97 MB / 282.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.659e-05/0.008816, allocations: 1.969 kB / 308.9 MB, free: 12.97 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.448e-06/0.008821, allocations: 4 kB / 308.9 MB, free: 12.97 MB / 282.7 MB Notification: Performance of sorting global known variables: time 2.452e-05/0.008845, allocations: 18.86 kB / 308.9 MB, free: 12.95 MB / 282.7 MB Notification: Performance of sort global known variables: time 8e-08/0.008845, allocations: 0 / 308.9 MB, free: 12.95 MB / 282.7 MB Notification: Performance of remove unused functions: time 0.0002547/0.0091, allocations: 23.89 kB / 308.9 MB, free: 12.93 MB / 282.7 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 (7): * Single equations (assignments): 7 * 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.0001157/0.009216, allocations: 73.12 kB / 309 MB, free: 12.85 MB / 282.7 MB Notification: Performance of simCode: created initialization part: time 0.0001028/0.009318, allocations: 32.36 kB / 309 MB, free: 12.82 MB / 282.7 MB Notification: Performance of simCode: created event and clocks part: time 5.661e-06/0.009324, allocations: 4 kB / 309 MB, free: 12.81 MB / 282.7 MB Notification: Performance of simCode: created simulation system equations: time 2.446e-05/0.009348, allocations: 22.62 kB / 309.1 MB, free: 12.79 MB / 282.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002064/0.009555, allocations: 4.688 kB / 309.1 MB, free: 12.79 MB / 282.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006487/0.0102, allocations: 178.3 kB / 309.2 MB, free: 12.59 MB / 282.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 5.178e-05/0.01026, allocations: 62.22 kB / 309.3 MB, free: 12.52 MB / 282.7 MB Notification: Performance of simCode: alias equations: time 5.13e-05/0.01031, allocations: 6.062 kB / 309.3 MB, free: 12.51 MB / 282.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.9e-05/0.01037, allocations: 51.94 kB / 309.3 MB, free: 12.46 MB / 282.7 MB Notification: Performance of SimCode: time 1.173e-06/0.01037, allocations: 4 kB / 309.4 MB, free: 12.46 MB / 282.7 MB Notification: Performance of Templates: time 0.002964/0.01333, allocations: 0.5005 MB / 309.9 MB, free: 12.15 MB / 282.7 MB " [Timeout remaining time 660] make -j1 -f AES_AES.Coursework.ThermSys_component_models.HeatPump_case_001.makefile [Timeout 660] (rm -f AES_AES.Coursework.ThermSys_component_models.HeatPump_case_001.pipe ; mkfifo AES_AES.Coursework.ThermSys_component_models.HeatPump_case_001.pipe ; head -c 1048576 < AES_AES.Coursework.ThermSys_component_models.HeatPump_case_001.pipe >> ../files/AES_AES.Coursework.ThermSys_component_models.HeatPump_case_001.sim & ./AES_AES.Coursework.ThermSys_component_models.HeatPump_case_001 -lv=LOG_STATS -s=dassl -abortSlowSimulation -alarm=240 -lv LOG_STATS > AES_AES.Coursework.ThermSys_component_models.HeatPump_case_001.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 2.856256030034274]