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.000997/0.000997, allocations: 91.56 kB / 20.46 MB, free: 4.117 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.0009895/0.0009895, allocations: 173 kB / 23.82 MB, free: 0.75 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.997/0.997, allocations: 177.1 MB / 204.2 MB, free: 5.648 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.07142/0.07142, allocations: 18.13 MB / 278.9 MB, free: 11.34 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 1.613e-06/1.613e-06, allocations: 0 / 358.1 MB, free: 8.062 MB / 330.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.044e-05/2.205e-05, allocations: 2.312 kB / 358.1 MB, free: 8.059 MB / 330.7 MB Notification: Performance of NFInst.instantiate(AES.Coursework.ThermSys_component_models.HeatPump_case_001a): time 0.002357/0.002379, allocations: 2.264 MB / 360.4 MB, free: 5.785 MB / 330.7 MB Notification: Performance of NFInst.instExpressions: time 0.0003413/0.00272, allocations: 179.4 kB / 360.6 MB, free: 5.609 MB / 330.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.971e-05/0.00278, allocations: 4 kB / 360.6 MB, free: 5.605 MB / 330.7 MB Notification: Performance of NFTyping.typeComponents: time 6.054e-05/0.002841, allocations: 31.66 kB / 360.6 MB, free: 5.574 MB / 330.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0001116/0.002952, allocations: 59.36 kB / 360.7 MB, free: 5.516 MB / 330.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001251/0.003077, allocations: 51.92 kB / 360.7 MB, free: 5.465 MB / 330.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001681/0.003245, allocations: 254.8 kB / 360.9 MB, free: 5.215 MB / 330.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001356/0.003381, allocations: 71.81 kB / 361 MB, free: 5.148 MB / 330.7 MB Notification: Performance of NFEvalConstants.evaluate: time 6.313e-05/0.003444, allocations: 87.83 kB / 361.1 MB, free: 5.062 MB / 330.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001132/0.003557, allocations: 75.77 kB / 361.2 MB, free: 4.988 MB / 330.7 MB Notification: Performance of NFPackage.collectConstants: time 2.895e-05/0.003586, allocations: 20 kB / 361.2 MB, free: 4.969 MB / 330.7 MB Notification: Performance of NFFlatten.collectFunctions: time 2.772e-05/0.003614, allocations: 24 kB / 361.2 MB, free: 4.945 MB / 330.7 MB Notification: Performance of NFScalarize.scalarize: time 2.811e-05/0.003642, allocations: 43.83 kB / 361.3 MB, free: 4.902 MB / 330.7 MB Notification: Performance of NFVerifyModel.verify: time 6.224e-05/0.003704, allocations: 87.81 kB / 361.4 MB, free: 4.816 MB / 330.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001424/0.003847, allocations: 147.5 kB / 361.5 MB, free: 4.672 MB / 330.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.733e-06/0.003848, allocations: 0 / 361.5 MB, free: 4.672 MB / 330.7 MB Notification: Performance of FrontEnd: time 6.11e-07/0.003849, allocations: 0 / 361.5 MB, free: 4.672 MB / 330.7 MB Notification: Performance of Transformations before backend: time 4.178e-06/0.003853, allocations: 0 / 361.5 MB, free: 4.672 MB / 330.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.0004279/0.004281, allocations: 0.512 MB / 362 MB, free: 4.121 MB / 330.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.346e-05/0.004315, allocations: 8.922 kB / 362 MB, free: 4.113 MB / 330.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.776e-05/0.004372, allocations: 48.8 kB / 362.1 MB, free: 4.066 MB / 330.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 9.086e-05/0.004463, allocations: 140.2 kB / 362.2 MB, free: 3.902 MB / 330.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.739e-05/0.004481, allocations: 16.88 kB / 362.2 MB, free: 3.883 MB / 330.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.112e-05/0.004502, allocations: 24.38 kB / 362.2 MB, free: 3.859 MB / 330.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001958/0.004697, allocations: 160.7 kB / 362.4 MB, free: 3.695 MB / 330.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.616e-06/0.004706, allocations: 192 / 362.4 MB, free: 3.695 MB / 330.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.401e-05/0.00472, allocations: 12.38 kB / 362.4 MB, free: 3.684 MB / 330.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.105e-06/0.004728, allocations: 8.375 kB / 362.4 MB, free: 3.676 MB / 330.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000121/0.004849, allocations: 86.88 kB / 362.5 MB, free: 3.594 MB / 330.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006441/0.005493, allocations: 0.5533 MB / 363.1 MB, free: 3.004 MB / 330.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002215/0.005715, allocations: 135.1 kB / 363.2 MB, free: 2.859 MB / 330.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001885/0.005903, allocations: 119.6 kB / 363.3 MB, free: 2.738 MB / 330.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.614e-05/0.005929, allocations: 4 kB / 363.3 MB, free: 2.734 MB / 330.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.252e-05/0.005952, allocations: 37.39 kB / 363.3 MB, free: 2.688 MB / 330.7 MB Notification: Performance of pre-optimization done (n=20): time 1.503e-06/0.005954, allocations: 0 / 363.3 MB, free: 2.688 MB / 330.7 MB Notification: Performance of matching and sorting (n=20): time 0.0009086/0.006862, allocations: 475.2 kB / 363.8 MB, free: 2.211 MB / 330.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.123e-05/0.006893, allocations: 51.41 kB / 363.9 MB, free: 2.148 MB / 330.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001028/0.006996, allocations: 189.8 kB / 364 MB, free: 1.945 MB / 330.7 MB Notification: Performance of collectPreVariables (initialization): time 1.388e-05/0.00701, allocations: 33.64 kB / 364.1 MB, free: 1.906 MB / 330.7 MB Notification: Performance of collectInitialEqns (initialization): time 6.858e-05/0.007079, allocations: 191 kB / 364.3 MB, free: 1.715 MB / 330.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.571e-05/0.007114, allocations: 71.39 kB / 364.3 MB, free: 1.645 MB / 330.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.446e-05/0.007159, allocations: 47.36 kB / 364.4 MB, free: 1.59 MB / 330.7 MB Notification: Performance of setup shared object (initialization): time 0.0001255/0.007284, allocations: 0.4961 MB / 364.9 MB, free: 1.082 MB / 330.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 4.258e-05/0.007327, allocations: 31.98 kB / 364.9 MB, free: 1.051 MB / 330.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.782e-05/0.007395, allocations: 74.66 kB / 365 MB, free: 0.9609 MB / 330.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001198/0.007514, allocations: 114.7 kB / 365.1 MB, free: 0.832 MB / 330.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.774e-06/0.007516, allocations: 0 / 365.1 MB, free: 0.832 MB / 330.7 MB Notification: Performance of matching and sorting (n=25) (initialization): time 0.0003579/0.007874, allocations: 287.5 kB / 365.4 MB, free: 0.5391 MB / 330.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.376e-05/0.007888, allocations: 8 kB / 365.4 MB, free: 0.5312 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.681e-06/0.007894, allocations: 0 / 365.4 MB, free: 0.5312 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004656/0.008359, allocations: 219.2 kB / 365.6 MB, free: 316 kB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.323e-05/0.008412, allocations: 23.98 kB / 365.6 MB, free: 292 kB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002421/0.01083, allocations: 4.491 MB / 370.1 MB, free: 11.55 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.856e-05/0.01088, allocations: 15.89 kB / 370.1 MB, free: 11.54 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.147e-05/0.01089, allocations: 4 kB / 370.1 MB, free: 11.53 MB / 346.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 9.273e-05/0.01099, allocations: 172.5 kB / 370.3 MB, free: 11.35 MB / 346.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.637e-05/0.01101, allocations: 23.91 kB / 370.3 MB, free: 11.33 MB / 346.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003482/0.01136, allocations: 253.4 kB / 370.6 MB, free: 11.07 MB / 346.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.845e-06/0.01136, allocations: 8 kB / 370.6 MB, free: 11.06 MB / 346.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.51e-07/0.01136, allocations: 0 / 370.6 MB, free: 11.06 MB / 346.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.22e-06/0.01137, allocations: 3.984 kB / 370.6 MB, free: 11.05 MB / 346.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001546/0.01152, allocations: 180.5 kB / 370.8 MB, free: 10.84 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.493e-06/0.01153, allocations: 7.938 kB / 370.8 MB, free: 10.84 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.133e-05/0.01156, allocations: 11.98 kB / 370.8 MB, free: 10.82 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0003881/0.01195, allocations: 215.2 kB / 371 MB, free: 10.61 MB / 346.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.047e-06/0.01195, allocations: 4 kB / 371 MB, free: 10.6 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002108/0.01406, allocations: 4.455 MB / 375.4 MB, free: 5.91 MB / 346.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.72e-07/0.01406, allocations: 0 / 375.4 MB, free: 5.91 MB / 346.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003387/0.0144, allocations: 401.4 kB / 375.8 MB, free: 5.492 MB / 346.7 MB Notification: Performance of postOpt removeConstants (simulation): time 9.658e-06/0.01441, allocations: 11.91 kB / 375.8 MB, free: 5.48 MB / 346.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.276e-06/0.01442, allocations: 4 kB / 375.9 MB, free: 5.477 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.824e-05/0.01446, allocations: 8 kB / 375.9 MB, free: 5.469 MB / 346.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.97e-05/0.01449, allocations: 19.91 kB / 375.9 MB, free: 5.449 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.244e-06/0.01449, allocations: 16.11 kB / 375.9 MB, free: 5.434 MB / 346.7 MB Notification: Performance of sorting global known variables: time 4.338e-05/0.01454, allocations: 147 kB / 376 MB, free: 5.289 MB / 346.7 MB Notification: Performance of sort global known variables: time 5.1e-08/0.01454, allocations: 0 / 376 MB, free: 5.289 MB / 346.7 MB Notification: Performance of remove unused functions: time 0.0003033/0.01484, allocations: 71.89 kB / 376.1 MB, free: 5.219 MB / 346.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 6.877e-05/0.01491, allocations: 95.25 kB / 376.2 MB, free: 5.113 MB / 346.7 MB Notification: Performance of simCode: created initialization part: time 0.0004126/0.01532, allocations: 0.4989 MB / 376.7 MB, free: 4.574 MB / 346.7 MB Notification: Performance of simCode: created event and clocks part: time 2.255e-06/0.01532, allocations: 0 / 376.7 MB, free: 4.574 MB / 346.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0002791/0.0156, allocations: 463.1 kB / 377.2 MB, free: 4.082 MB / 346.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001924/0.0158, allocations: 15.98 kB / 377.2 MB, free: 4.066 MB / 346.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008455/0.01664, allocations: 438.7 kB / 377.6 MB, free: 3.609 MB / 346.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 6.182e-05/0.0167, allocations: 83.97 kB / 377.7 MB, free: 3.504 MB / 346.7 MB Notification: Performance of simCode: alias equations: time 3.141e-05/0.01674, allocations: 5.5 kB / 377.7 MB, free: 3.496 MB / 346.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.668e-05/0.01676, allocations: 16.5 kB / 377.7 MB, free: 3.48 MB / 346.7 MB Notification: Performance of SimCode: time 9.72e-07/0.01676, allocations: 0 / 377.7 MB, free: 3.48 MB / 346.7 MB Notification: Performance of Templates: time 0.004199/0.02096, allocations: 2.867 MB / 380.6 MB, free: 0.6367 MB / 346.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: 2.99187617469579]