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.001001/0.001001, allocations: 87.56 kB / 20.97 MB, free: 3.586 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.001151/0.001151, allocations: 177 kB / 24.28 MB, free: 284 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.045/1.045, allocations: 177.1 MB / 204.6 MB, free: 5.637 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.07565/0.07565, allocations: 18.14 MB / 279.2 MB, free: 11.4 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_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: Performance of FrontEnd - loaded program: time 2.134e-06/2.134e-06, allocations: 0 / 358.1 MB, free: 7.387 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.895e-05/3.109e-05, allocations: 2.312 kB / 358.1 MB, free: 7.383 MB / 282.7 MB Notification: Performance of NFInst.instantiate(AES.Coursework.ThermSys_component_models.HeatPump_case_001a): time 0.004183/0.004214, allocations: 2.249 MB / 360.3 MB, free: 5.117 MB / 282.7 MB Notification: Performance of NFInst.instExpressions: time 0.0005775/0.004792, allocations: 179.3 kB / 360.5 MB, free: 4.941 MB / 282.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001079/0.0049, allocations: 4 kB / 360.5 MB, free: 4.938 MB / 282.7 MB Notification: Performance of NFTyping.typeComponents: time 9.722e-05/0.004997, allocations: 23.72 kB / 360.5 MB, free: 4.914 MB / 282.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0001855/0.005182, allocations: 67.34 kB / 360.6 MB, free: 4.848 MB / 282.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001912/0.005374, allocations: 51.92 kB / 360.6 MB, free: 4.797 MB / 282.7 MB Notification: Performance of NFFlatten.flatten: time 0.0002936/0.005667, allocations: 250.8 kB / 360.9 MB, free: 4.551 MB / 282.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002372/0.005904, allocations: 75.94 kB / 360.9 MB, free: 4.477 MB / 282.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.000124/0.006028, allocations: 87.83 kB / 361 MB, free: 4.391 MB / 282.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001911/0.006219, allocations: 71.78 kB / 361.1 MB, free: 4.32 MB / 282.7 MB Notification: Performance of NFPackage.collectConstants: time 5.128e-05/0.006271, allocations: 20 kB / 361.1 MB, free: 4.301 MB / 282.7 MB Notification: Performance of NFFlatten.collectFunctions: time 3.842e-05/0.006309, allocations: 20 kB / 361.1 MB, free: 4.281 MB / 282.7 MB Notification: Performance of NFScalarize.scalarize: time 5.033e-05/0.00636, allocations: 51.81 kB / 361.2 MB, free: 4.23 MB / 282.7 MB Notification: Performance of NFVerifyModel.verify: time 9.915e-05/0.006459, allocations: 83.83 kB / 361.3 MB, free: 4.148 MB / 282.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0002537/0.006712, allocations: 151.5 kB / 361.4 MB, free: 4 MB / 282.7 MB Notification: Performance of FrontEnd - DAE generated: time 5.24e-06/0.006718, allocations: 0 / 361.4 MB, free: 4 MB / 282.7 MB Notification: Performance of FrontEnd: time 1.804e-06/0.006719, allocations: 0 / 361.4 MB, free: 4 MB / 282.7 MB Notification: Performance of Transformations before backend: time 9.588e-06/0.006729, allocations: 0 / 361.4 MB, free: 4 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: 59 * Number of variables: 59 Notification: Performance of Generate backend data structure: time 0.0007491/0.007478, allocations: 0.512 MB / 361.9 MB, free: 3.449 MB / 282.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.125e-05/0.007529, allocations: 8.922 kB / 361.9 MB, free: 3.441 MB / 282.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001001/0.007629, allocations: 44.8 kB / 362 MB, free: 3.398 MB / 282.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001504/0.00778, allocations: 136.3 kB / 362.1 MB, free: 3.238 MB / 282.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.618e-05/0.007806, allocations: 16.88 kB / 362.1 MB, free: 3.223 MB / 282.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.087e-05/0.007847, allocations: 24.38 kB / 362.2 MB, free: 3.199 MB / 282.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003216/0.008168, allocations: 156.7 kB / 362.3 MB, free: 3.039 MB / 282.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.414e-05/0.008183, allocations: 4.188 kB / 362.3 MB, free: 3.035 MB / 282.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.421e-05/0.008207, allocations: 8.375 kB / 362.3 MB, free: 3.027 MB / 282.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.632e-05/0.008223, allocations: 12.38 kB / 362.3 MB, free: 3.016 MB / 282.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002114/0.008435, allocations: 94.8 kB / 362.4 MB, free: 2.922 MB / 282.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001065/0.009499, allocations: 0.5534 MB / 363 MB, free: 2.336 MB / 282.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000438/0.009937, allocations: 139 kB / 363.1 MB, free: 2.188 MB / 282.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002179/0.01016, allocations: 119.8 kB / 363.2 MB, free: 2.066 MB / 282.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.561e-05/0.01018, allocations: 4 kB / 363.2 MB, free: 2.062 MB / 282.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.606e-05/0.01021, allocations: 33.39 kB / 363.3 MB, free: 2.02 MB / 282.7 MB Notification: Performance of pre-optimization done (n=20): time 3.216e-06/0.01021, allocations: 7.984 kB / 363.3 MB, free: 2.012 MB / 282.7 MB Notification: Performance of matching and sorting (n=20): time 0.001131/0.01134, allocations: 466.7 kB / 363.7 MB, free: 1.543 MB / 282.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.211e-05/0.01137, allocations: 55.41 kB / 363.8 MB, free: 1.477 MB / 282.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001073/0.01148, allocations: 192.9 kB / 364 MB, free: 1.273 MB / 282.7 MB Notification: Performance of collectPreVariables (initialization): time 1.433e-05/0.0115, allocations: 29.7 kB / 364 MB, free: 1.238 MB / 282.7 MB Notification: Performance of collectInitialEqns (initialization): time 7.759e-05/0.01157, allocations: 191 kB / 364.2 MB, free: 1.047 MB / 282.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.513e-05/0.01161, allocations: 67.39 kB / 364.3 MB, free: 0.9805 MB / 282.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.183e-05/0.01167, allocations: 51.36 kB / 364.3 MB, free: 0.9219 MB / 282.7 MB Notification: Performance of setup shared object (initialization): time 0.0001303/0.0118, allocations: 0.5 MB / 364.8 MB, free: 420 kB / 282.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 4.461e-05/0.01184, allocations: 27.98 kB / 364.8 MB, free: 392 kB / 282.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 7.117e-05/0.01192, allocations: 79.31 kB / 364.9 MB, free: 296 kB / 282.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001276/0.01204, allocations: 117.1 kB / 365 MB, free: 164 kB / 282.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.234e-06/0.01205, allocations: 0 / 365 MB, free: 164 kB / 282.7 MB Notification: Performance of matching and sorting (n=25) (initialization): time 0.0004074/0.01245, allocations: 284.5 kB / 365.3 MB, free: 15.87 MB / 298.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.987e-05/0.01247, allocations: 8 kB / 365.3 MB, free: 15.86 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.741e-06/0.01248, allocations: 0 / 365.3 MB, free: 15.86 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.000556/0.01303, allocations: 219.2 kB / 365.5 MB, free: 15.64 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.497e-05/0.0131, allocations: 23.98 kB / 365.6 MB, free: 15.61 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002902/0.016, allocations: 4.481 MB / 370 MB, free: 10.89 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.854e-05/0.01605, allocations: 15.89 kB / 370 MB, free: 10.88 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.608e-06/0.01606, allocations: 4 kB / 370.1 MB, free: 10.87 MB / 298.7 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.0001053/0.01617, allocations: 176.5 kB / 370.2 MB, free: 10.69 MB / 298.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.631e-05/0.01619, allocations: 19.95 kB / 370.2 MB, free: 10.67 MB / 298.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003753/0.01657, allocations: 261.4 kB / 370.5 MB, free: 10.4 MB / 298.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.056e-06/0.01657, allocations: 8 kB / 370.5 MB, free: 10.39 MB / 298.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.944e-06/0.01657, allocations: 0 / 370.5 MB, free: 10.39 MB / 298.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.537e-06/0.01658, allocations: 0 / 370.5 MB, free: 10.39 MB / 298.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001782/0.01675, allocations: 188.5 kB / 370.7 MB, free: 10.17 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.505e-06/0.01676, allocations: 0 / 370.7 MB, free: 10.17 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.456e-05/0.01679, allocations: 12 kB / 370.7 MB, free: 10.16 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004302/0.01722, allocations: 215.5 kB / 370.9 MB, free: 9.941 MB / 298.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.269e-05/0.01723, allocations: 12 kB / 370.9 MB, free: 9.93 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.00226/0.01949, allocations: 4.447 MB / 375.4 MB, free: 5.238 MB / 298.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.062e-06/0.01949, allocations: 0 / 375.4 MB, free: 5.238 MB / 298.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003758/0.01987, allocations: 401.6 kB / 375.8 MB, free: 4.82 MB / 298.7 MB Notification: Performance of postOpt removeConstants (simulation): time 1.089e-05/0.01988, allocations: 8.078 kB / 375.8 MB, free: 4.812 MB / 298.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.049e-05/0.01989, allocations: 8 kB / 375.8 MB, free: 4.805 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.287e-05/0.01993, allocations: 8 kB / 375.8 MB, free: 4.797 MB / 298.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.587e-05/0.01998, allocations: 19.86 kB / 375.8 MB, free: 4.777 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.602e-06/0.01999, allocations: 12 kB / 375.8 MB, free: 4.766 MB / 298.7 MB Notification: Performance of sorting global known variables: time 5.189e-05/0.02004, allocations: 143.1 kB / 376 MB, free: 4.625 MB / 298.7 MB Notification: Performance of sort global known variables: time 5e-08/0.02004, allocations: 0 / 376 MB, free: 4.625 MB / 298.7 MB Notification: Performance of remove unused functions: time 0.0003613/0.0204, allocations: 71.89 kB / 376 MB, free: 4.555 MB / 298.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 (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.0001092/0.02051, allocations: 103.2 kB / 376.1 MB, free: 4.445 MB / 298.7 MB Notification: Performance of simCode: created initialization part: time 0.0005009/0.02101, allocations: 0.4938 MB / 376.6 MB, free: 3.914 MB / 298.7 MB Notification: Performance of simCode: created event and clocks part: time 2.144e-06/0.02101, allocations: 0 / 376.6 MB, free: 3.914 MB / 298.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0002755/0.02129, allocations: 463.1 kB / 377.1 MB, free: 3.422 MB / 298.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002151/0.0215, allocations: 15.94 kB / 377.1 MB, free: 3.406 MB / 298.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000935/0.02244, allocations: 450.6 kB / 377.5 MB, free: 2.938 MB / 298.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 6.534e-05/0.0225, allocations: 95.75 kB / 377.6 MB, free: 2.82 MB / 298.7 MB Notification: Performance of simCode: alias equations: time 2.775e-05/0.02253, allocations: 5.5 kB / 377.6 MB, free: 2.812 MB / 298.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.446e-05/0.02256, allocations: 12.5 kB / 377.6 MB, free: 2.801 MB / 298.7 MB Notification: Performance of SimCode: time 8.72e-07/0.02256, allocations: 4 kB / 377.6 MB, free: 2.797 MB / 298.7 MB Notification: Performance of Templates: time 0.004635/0.02719, allocations: 2.8 MB / 380.4 MB, free: 20 kB / 298.7 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 -variableFilter=.* -abortSlowSimulation -alarm=240 -lv LOG_STATS > AES_AES.Coursework.ThermSys_component_models.HeatPump_case_001a.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 3.1089629167690873]