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.001093/0.001093, allocations: 83.58 kB / 20.45 MB, free: 4.121 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.001194/0.001194, allocations: 165 kB / 23.82 MB, free: 0.7539 MB / 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 0.9615/0.9615, allocations: 177.1 MB / 204.2 MB, free: 5.645 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.07361/0.07361, allocations: 18.14 MB / 278.9 MB, free: 11.33 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.084e-06/2.084e-06, allocations: 0 / 358.1 MB, free: 6.988 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.771e-05/2.98e-05, allocations: 2.312 kB / 358.1 MB, free: 6.984 MB / 282.7 MB Notification: Performance of NFInst.instantiate(AES.Coursework.ThermSys_component_models.HeatPump_case_001a): time 0.002915/0.002945, allocations: 2.26 MB / 360.4 MB, free: 4.711 MB / 282.7 MB Notification: Performance of NFInst.instExpressions: time 0.0003791/0.003324, allocations: 171.3 kB / 360.5 MB, free: 4.543 MB / 282.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.367e-05/0.003388, allocations: 8 kB / 360.5 MB, free: 4.535 MB / 282.7 MB Notification: Performance of NFTyping.typeComponents: time 6.838e-05/0.003456, allocations: 31.7 kB / 360.6 MB, free: 4.504 MB / 282.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0001203/0.003577, allocations: 63.36 kB / 360.6 MB, free: 4.441 MB / 282.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001489/0.003726, allocations: 51.92 kB / 360.7 MB, free: 4.391 MB / 282.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001947/0.00392, allocations: 246.8 kB / 360.9 MB, free: 4.148 MB / 282.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.000195/0.004115, allocations: 75.94 kB / 361 MB, free: 4.074 MB / 282.7 MB Notification: Performance of NFEvalConstants.evaluate: time 7.816e-05/0.004193, allocations: 83.83 kB / 361.1 MB, free: 3.992 MB / 282.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.000127/0.00432, allocations: 75.78 kB / 361.2 MB, free: 3.918 MB / 282.7 MB Notification: Performance of NFPackage.collectConstants: time 3.736e-05/0.004358, allocations: 24 kB / 361.2 MB, free: 3.895 MB / 282.7 MB Notification: Performance of NFFlatten.collectFunctions: time 2.765e-05/0.004385, allocations: 20 kB / 361.2 MB, free: 3.875 MB / 282.7 MB Notification: Performance of NFScalarize.scalarize: time 4.079e-05/0.004426, allocations: 47.83 kB / 361.3 MB, free: 3.828 MB / 282.7 MB Notification: Performance of NFVerifyModel.verify: time 7.616e-05/0.004502, allocations: 87.8 kB / 361.3 MB, free: 3.742 MB / 282.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0002037/0.004706, allocations: 147.5 kB / 361.5 MB, free: 3.598 MB / 282.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.116e-06/0.004709, allocations: 0 / 361.5 MB, free: 3.598 MB / 282.7 MB Notification: Performance of FrontEnd: time 1.493e-06/0.004711, allocations: 0 / 361.5 MB, free: 3.598 MB / 282.7 MB Notification: Performance of Transformations before backend: time 6.572e-06/0.004717, allocations: 4 kB / 361.5 MB, free: 3.594 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.0005466/0.005264, allocations: 0.5081 MB / 362 MB, free: 3.047 MB / 282.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.087e-05/0.005305, allocations: 12.92 kB / 362 MB, free: 3.035 MB / 282.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.664e-05/0.005371, allocations: 44.8 kB / 362.1 MB, free: 2.992 MB / 282.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001038/0.005475, allocations: 136.2 kB / 362.2 MB, free: 2.832 MB / 282.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.034e-05/0.005496, allocations: 20.88 kB / 362.2 MB, free: 2.812 MB / 282.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.687e-05/0.005522, allocations: 24.38 kB / 362.2 MB, free: 2.789 MB / 282.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002213/0.005744, allocations: 152.7 kB / 362.4 MB, free: 2.633 MB / 282.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.28e-05/0.005757, allocations: 192 / 362.4 MB, free: 2.633 MB / 282.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.164e-05/0.005778, allocations: 8.375 kB / 362.4 MB, free: 2.625 MB / 282.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.066e-05/0.005789, allocations: 4.375 kB / 362.4 MB, free: 2.621 MB / 282.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001316/0.00592, allocations: 102.8 kB / 362.5 MB, free: 2.52 MB / 282.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007378/0.006658, allocations: 0.5573 MB / 363 MB, free: 1.93 MB / 282.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002658/0.006924, allocations: 135.1 kB / 363.2 MB, free: 1.785 MB / 282.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002136/0.007138, allocations: 120.3 kB / 363.3 MB, free: 1.664 MB / 282.7 MB Notification: Performance of preOpt evalFunc (simulation): time 3.165e-05/0.007169, allocations: 7.984 kB / 363.3 MB, free: 1.656 MB / 282.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.492e-05/0.007194, allocations: 33.39 kB / 363.3 MB, free: 1.613 MB / 282.7 MB Notification: Performance of pre-optimization done (n=20): time 1.262e-06/0.007195, allocations: 3.938 kB / 363.3 MB, free: 1.609 MB / 282.7 MB Notification: Performance of matching and sorting (n=20): time 0.001121/0.008316, allocations: 470.9 kB / 363.8 MB, free: 1.137 MB / 282.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.11e-05/0.008348, allocations: 55.41 kB / 363.9 MB, free: 1.07 MB / 282.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.663e-05/0.008444, allocations: 185.8 kB / 364 MB, free: 0.8711 MB / 282.7 MB Notification: Performance of collectPreVariables (initialization): time 1.333e-05/0.008457, allocations: 29.7 kB / 364.1 MB, free: 0.8359 MB / 282.7 MB Notification: Performance of collectInitialEqns (initialization): time 7.705e-05/0.008535, allocations: 195 kB / 364.3 MB, free: 0.6406 MB / 282.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.306e-05/0.008568, allocations: 67.39 kB / 364.3 MB, free: 0.5742 MB / 282.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.761e-05/0.008615, allocations: 47.36 kB / 364.4 MB, free: 0.5195 MB / 282.7 MB Notification: Performance of setup shared object (initialization): time 0.0001201/0.008735, allocations: 0.5 MB / 364.9 MB, free: 8 kB / 282.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.82e-05/0.008793, allocations: 27.98 kB / 364.9 MB, free: 15.98 MB / 298.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 7.341e-05/0.008867, allocations: 79.31 kB / 365 MB, free: 15.89 MB / 298.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001231/0.00899, allocations: 121.1 kB / 365.1 MB, free: 15.75 MB / 298.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.835e-06/0.008993, allocations: 0 / 365.1 MB, free: 15.75 MB / 298.7 MB Notification: Performance of matching and sorting (n=25) (initialization): time 0.000375/0.009368, allocations: 284.5 kB / 365.4 MB, free: 15.46 MB / 298.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.761e-05/0.009385, allocations: 6.969 kB / 365.4 MB, free: 15.46 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.18e-06/0.009391, allocations: 0 / 365.4 MB, free: 15.46 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005173/0.009908, allocations: 219.2 kB / 365.6 MB, free: 15.23 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.879e-05/0.009967, allocations: 23.98 kB / 365.6 MB, free: 15.21 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004553/0.01452, allocations: 4.482 MB / 370.1 MB, free: 10.48 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.165e-05/0.01459, allocations: 15.89 kB / 370.1 MB, free: 10.47 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.553e-05/0.01461, allocations: 8 kB / 370.1 MB, free: 10.46 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.0001311/0.01474, allocations: 172.5 kB / 370.3 MB, free: 10.28 MB / 298.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.147e-05/0.01478, allocations: 19.97 kB / 370.3 MB, free: 10.26 MB / 298.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000529/0.01531, allocations: 265.4 kB / 370.6 MB, free: 9.988 MB / 298.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.106e-06/0.01531, allocations: 0 / 370.6 MB, free: 9.988 MB / 298.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.854e-06/0.01531, allocations: 4 kB / 370.6 MB, free: 9.984 MB / 298.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.819e-06/0.01532, allocations: 3.984 kB / 370.6 MB, free: 9.98 MB / 298.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002285/0.01555, allocations: 184.6 kB / 370.8 MB, free: 9.766 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.624e-06/0.01555, allocations: 0 / 370.8 MB, free: 9.766 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.36e-05/0.01561, allocations: 15.98 kB / 370.8 MB, free: 9.75 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0006235/0.01624, allocations: 215.5 kB / 371 MB, free: 9.531 MB / 298.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.343e-05/0.01625, allocations: 4.062 kB / 371 MB, free: 9.527 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.00331/0.01956, allocations: 4.443 MB / 375.4 MB, free: 4.84 MB / 298.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.643e-06/0.01956, allocations: 0 / 375.4 MB, free: 4.84 MB / 298.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005678/0.02013, allocations: 405.6 kB / 375.8 MB, free: 4.418 MB / 298.7 MB Notification: Performance of postOpt removeConstants (simulation): time 1.792e-05/0.02015, allocations: 12.08 kB / 375.8 MB, free: 4.406 MB / 298.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.615e-05/0.02016, allocations: 11.94 kB / 375.8 MB, free: 4.395 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.683e-05/0.02024, allocations: 4 kB / 375.9 MB, free: 4.391 MB / 298.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.807e-05/0.02029, allocations: 23.86 kB / 375.9 MB, free: 4.367 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.135e-05/0.0203, allocations: 8 kB / 375.9 MB, free: 4.359 MB / 298.7 MB Notification: Performance of sorting global known variables: time 7.116e-05/0.02037, allocations: 146.5 kB / 376 MB, free: 4.219 MB / 298.7 MB Notification: Performance of sort global known variables: time 1.11e-07/0.02037, allocations: 0 / 376 MB, free: 4.219 MB / 298.7 MB Notification: Performance of remove unused functions: time 0.000597/0.02097, allocations: 75.89 kB / 376.1 MB, free: 4.145 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.0001324/0.0211, allocations: 106.8 kB / 376.2 MB, free: 4.035 MB / 298.7 MB Notification: Performance of simCode: created initialization part: time 0.0007148/0.02181, allocations: 0.4899 MB / 376.7 MB, free: 3.508 MB / 298.7 MB Notification: Performance of simCode: created event and clocks part: time 3.306e-06/0.02182, allocations: 4.188 kB / 376.7 MB, free: 3.504 MB / 298.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0004445/0.02226, allocations: 463.1 kB / 377.1 MB, free: 3.012 MB / 298.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003216/0.02258, allocations: 16 kB / 377.2 MB, free: 2.996 MB / 298.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00126/0.02384, allocations: 446.4 kB / 377.6 MB, free: 2.531 MB / 298.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 6.844e-05/0.02391, allocations: 91.81 kB / 377.7 MB, free: 2.418 MB / 298.7 MB Notification: Performance of simCode: alias equations: time 2.641e-05/0.02394, allocations: 1.5 kB / 377.7 MB, free: 2.414 MB / 298.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.472e-05/0.02396, allocations: 12.5 kB / 377.7 MB, free: 2.402 MB / 298.7 MB Notification: Performance of SimCode: time 1.292e-06/0.02396, allocations: 0 / 377.7 MB, free: 2.402 MB / 298.7 MB Notification: Performance of Templates: time 0.004729/0.02869, allocations: 2.798 MB / 380.5 MB, free: 15.62 MB / 314.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.1696437071077526]