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.002002/0.002002, allocations: 84.23 kB / 20.23 MB, free: 4.211 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.002513/0.002513, allocations: 157.7 kB / 23.53 MB, free: 0.9062 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 1.569/1.569, allocations: 177.1 MB / 203.9 MB, free: 5.582 MB / 186.7 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.1102/0.1102, allocations: 18.14 MB / 278.5 MB, free: 11.3 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.214e-06/2.214e-06, allocations: 0 / 357.3 MB, free: 8.543 MB / 330.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 3.037e-05/3.258e-05, allocations: 2.312 kB / 357.3 MB, free: 8.539 MB / 330.7 MB Notification: Performance of NFInst.instantiate(AES.Coursework.ThermSys_component_models.HeatPump_case_001a): time 0.006633/0.006665, allocations: 2.121 MB / 359.5 MB, free: 6.406 MB / 330.7 MB Notification: Performance of NFInst.instExpressions: time 0.000769/0.007434, allocations: 175.3 kB / 359.6 MB, free: 6.234 MB / 330.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001247/0.007559, allocations: 4 kB / 359.6 MB, free: 6.23 MB / 330.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0001369/0.007696, allocations: 31.59 kB / 359.7 MB, free: 6.199 MB / 330.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0002784/0.007974, allocations: 59.47 kB / 359.7 MB, free: 6.141 MB / 330.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002666/0.008241, allocations: 51.91 kB / 359.8 MB, free: 6.09 MB / 330.7 MB Notification: Performance of NFFlatten.flatten: time 0.000491/0.008732, allocations: 246.8 kB / 360 MB, free: 5.848 MB / 330.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0003208/0.009052, allocations: 83.94 kB / 360.1 MB, free: 5.77 MB / 330.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001676/0.00922, allocations: 79.83 kB / 360.2 MB, free: 5.691 MB / 330.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002696/0.00949, allocations: 75.72 kB / 360.2 MB, free: 5.617 MB / 330.7 MB Notification: Performance of NFPackage.collectConstants: time 6.617e-05/0.009556, allocations: 20 kB / 360.3 MB, free: 5.598 MB / 330.7 MB Notification: Performance of NFFlatten.collectFunctions: time 7.355e-05/0.009629, allocations: 24 kB / 360.3 MB, free: 5.574 MB / 330.7 MB Notification: Performance of NFScalarize.scalarize: time 8.896e-05/0.009718, allocations: 43.83 kB / 360.3 MB, free: 5.531 MB / 330.7 MB Notification: Performance of NFVerifyModel.verify: time 0.000176/0.009894, allocations: 75.89 kB / 360.4 MB, free: 5.457 MB / 330.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0005301/0.01042, allocations: 251.1 kB / 360.7 MB, free: 5.211 MB / 330.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.086e-05/0.01044, allocations: 4 kB / 360.7 MB, free: 5.207 MB / 330.7 MB Notification: Performance of FrontEnd: time 2.174e-06/0.01044, allocations: 0 / 360.7 MB, free: 5.207 MB / 330.7 MB Notification: Performance of Transformations before backend: time 7.875e-06/0.01045, allocations: 4 kB / 360.7 MB, free: 5.203 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.001147/0.01159, allocations: 418 kB / 361.1 MB, free: 4.762 MB / 330.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.291e-05/0.01165, allocations: 8.922 kB / 361.1 MB, free: 4.754 MB / 330.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001491/0.01179, allocations: 40.8 kB / 361.1 MB, free: 4.715 MB / 330.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002528/0.01205, allocations: 133.5 kB / 361.2 MB, free: 4.559 MB / 330.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.324e-05/0.01209, allocations: 12.88 kB / 361.3 MB, free: 4.543 MB / 330.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.562e-05/0.01216, allocations: 24.38 kB / 361.3 MB, free: 4.52 MB / 330.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006682/0.01282, allocations: 204.6 kB / 361.5 MB, free: 4.312 MB / 330.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.718e-05/0.01284, allocations: 4.188 kB / 361.5 MB, free: 4.309 MB / 330.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.486e-05/0.0129, allocations: 12.38 kB / 361.5 MB, free: 4.297 MB / 330.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.795e-05/0.01291, allocations: 4.375 kB / 361.5 MB, free: 4.293 MB / 330.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00049/0.0134, allocations: 141.9 kB / 361.6 MB, free: 4.156 MB / 330.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00177/0.01517, allocations: 0.5228 MB / 362.2 MB, free: 3.602 MB / 330.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0006688/0.01584, allocations: 158.5 kB / 362.3 MB, free: 3.441 MB / 330.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006315/0.01647, allocations: 132.8 kB / 362.5 MB, free: 3.309 MB / 330.7 MB Notification: Performance of preOpt evalFunc (simulation): time 4.299e-05/0.01652, allocations: 7.984 kB / 362.5 MB, free: 3.301 MB / 330.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.652e-05/0.01657, allocations: 34.56 kB / 362.5 MB, free: 3.258 MB / 330.7 MB Notification: Performance of pre-optimization done (n=20): time 3.026e-06/0.01658, allocations: 0 / 362.5 MB, free: 3.258 MB / 330.7 MB Notification: Performance of matching and sorting (n=20): time 0.003876/0.02045, allocations: 0.5598 MB / 363.1 MB, free: 2.688 MB / 330.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.099e-05/0.02053, allocations: 55.41 kB / 363.1 MB, free: 2.621 MB / 330.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002621/0.0208, allocations: 133.8 kB / 363.2 MB, free: 2.48 MB / 330.7 MB Notification: Performance of collectPreVariables (initialization): time 4.66e-05/0.02084, allocations: 33.69 kB / 363.3 MB, free: 2.441 MB / 330.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001975/0.02104, allocations: 148.2 kB / 363.4 MB, free: 2.293 MB / 330.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001088/0.02115, allocations: 67.39 kB / 363.5 MB, free: 2.227 MB / 330.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001252/0.02127, allocations: 41.7 kB / 363.5 MB, free: 2.18 MB / 330.7 MB Notification: Performance of setup shared object (initialization): time 0.0002811/0.02156, allocations: 326.8 kB / 363.8 MB, free: 1.852 MB / 330.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001685/0.02172, allocations: 43.98 kB / 363.9 MB, free: 1.809 MB / 330.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000217/0.02194, allocations: 75.41 kB / 364 MB, free: 1.723 MB / 330.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004248/0.02237, allocations: 146.3 kB / 364.1 MB, free: 1.57 MB / 330.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.858e-06/0.02237, allocations: 0 / 364.1 MB, free: 1.57 MB / 330.7 MB Notification: Performance of matching and sorting (n=25) (initialization): time 0.001522/0.02389, allocations: 334.9 kB / 364.4 MB, free: 1.23 MB / 330.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.502e-05/0.02392, allocations: 4 kB / 364.4 MB, free: 1.227 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.015e-05/0.02393, allocations: 0 / 364.4 MB, free: 1.227 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001986/0.02591, allocations: 265.5 kB / 364.7 MB, free: 0.9609 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001932/0.02611, allocations: 23.92 kB / 364.7 MB, free: 0.9375 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.008567/0.03467, allocations: 3.566 MB / 368.3 MB, free: 13.17 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001796/0.03485, allocations: 19.84 kB / 368.3 MB, free: 13.15 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.757e-05/0.03488, allocations: 12.06 kB / 368.3 MB, free: 13.14 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 0.0002429/0.03512, allocations: 133.8 kB / 368.4 MB, free: 13 MB / 346.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.667e-05/0.03521, allocations: 19.94 kB / 368.5 MB, free: 12.98 MB / 346.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001501/0.03671, allocations: 311.7 kB / 368.8 MB, free: 12.66 MB / 346.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.579e-06/0.03672, allocations: 0 / 368.8 MB, free: 12.66 MB / 346.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.914e-06/0.03672, allocations: 0 / 368.8 MB, free: 12.66 MB / 346.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.809e-06/0.03672, allocations: 0 / 368.8 MB, free: 12.66 MB / 346.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004846/0.03721, allocations: 189.1 kB / 368.9 MB, free: 12.45 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.208e-06/0.03721, allocations: 0 / 368.9 MB, free: 12.45 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001267/0.03734, allocations: 12 kB / 369 MB, free: 12.43 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.002057/0.03939, allocations: 269.5 kB / 369.2 MB, free: 12.16 MB / 346.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.814e-05/0.03941, allocations: 0 / 369.2 MB, free: 12.16 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.008379/0.04779, allocations: 3.549 MB / 372.8 MB, free: 8.418 MB / 346.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.898e-06/0.0478, allocations: 0 / 372.8 MB, free: 8.418 MB / 346.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001618/0.04941, allocations: 400.8 kB / 373.2 MB, free: 8.004 MB / 346.7 MB Notification: Performance of postOpt removeConstants (simulation): time 5.079e-05/0.04946, allocations: 11.89 kB / 373.2 MB, free: 7.992 MB / 346.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.01e-05/0.0495, allocations: 7.984 kB / 373.2 MB, free: 7.984 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000173/0.04968, allocations: 8 kB / 373.2 MB, free: 7.977 MB / 346.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.418e-05/0.04976, allocations: 23.84 kB / 373.2 MB, free: 7.953 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.43e-05/0.04979, allocations: 8 kB / 373.2 MB, free: 7.945 MB / 346.7 MB Notification: Performance of sorting global known variables: time 0.0001516/0.04994, allocations: 95.27 kB / 373.3 MB, free: 7.852 MB / 346.7 MB Notification: Performance of sort global known variables: time 1.9e-07/0.04994, allocations: 0 / 373.3 MB, free: 7.852 MB / 346.7 MB Notification: Performance of remove unused functions: time 0.001106/0.05104, allocations: 75.84 kB / 373.4 MB, free: 7.777 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 0.0003206/0.05136, allocations: 103.2 kB / 373.5 MB, free: 7.664 MB / 346.7 MB Notification: Performance of simCode: created initialization part: time 0.001448/0.05281, allocations: 418.2 kB / 373.9 MB, free: 7.234 MB / 346.7 MB Notification: Performance of simCode: created event and clocks part: time 5.24e-06/0.05282, allocations: 3.938 kB / 373.9 MB, free: 7.23 MB / 346.7 MB Notification: Performance of simCode: created simulation system equations: time 0.001045/0.05386, allocations: 353 kB / 374.2 MB, free: 6.859 MB / 346.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005277/0.05439, allocations: 11.94 kB / 374.3 MB, free: 6.848 MB / 346.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00285/0.05724, allocations: 497.1 kB / 374.7 MB, free: 6.336 MB / 346.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002695/0.05751, allocations: 124.2 kB / 374.9 MB, free: 6.195 MB / 346.7 MB Notification: Performance of simCode: alias equations: time 5.532e-05/0.05756, allocations: 5.5 kB / 374.9 MB, free: 6.191 MB / 346.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.523e-05/0.05762, allocations: 12.5 kB / 374.9 MB, free: 6.176 MB / 346.7 MB Notification: Performance of SimCode: time 9.12e-07/0.05762, allocations: 4 kB / 374.9 MB, free: 6.172 MB / 346.7 MB Notification: Performance of Templates: time 0.01352/0.07114, allocations: 2.706 MB / 377.6 MB, free: 3.488 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=480 -lv LOG_STATS > AES_AES.Coursework.ThermSys_component_models.HeatPump_case_001a.pipe 2>&1) [Timeout 480] [Calling sys.exit(0), Time elapsed: 4.873102334910072]