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.0009283/0.0009283, allocations: 75.59 kB / 20.8 MB, free: 3.715 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.001052/0.001052, allocations: 170 kB / 24.1 MB, free: 424 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 0.837/0.837, allocations: 177.1 MB / 204.4 MB, free: 5.699 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.05874/0.05874, allocations: 18.12 MB / 279 MB, free: 11.47 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.313e-06/1.313e-06, allocations: 0 / 417.4 MB, free: 11.85 MB / 330.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.205e-05/2.337e-05, allocations: 6.219 kB / 417.4 MB, free: 11.84 MB / 330.7 MB Notification: Performance of NFInst.instantiate(AES.Coursework.ThermSys_component_models.HeatPump_case_001a): time 0.00209/0.002113, allocations: 2.116 MB / 419.5 MB, free: 10.42 MB / 330.7 MB Notification: Performance of NFInst.instExpressions: time 0.0002883/0.002402, allocations: 174.4 kB / 419.6 MB, free: 10.29 MB / 330.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.293e-05/0.002465, allocations: 7.719 kB / 419.7 MB, free: 10.29 MB / 330.7 MB Notification: Performance of NFTyping.typeComponents: time 5.572e-05/0.00252, allocations: 26.73 kB / 419.7 MB, free: 10.27 MB / 330.7 MB Notification: Performance of NFTyping.typeBindings: time 9.58e-05/0.002616, allocations: 64.81 kB / 419.7 MB, free: 10.22 MB / 330.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001251/0.002741, allocations: 56.05 kB / 419.8 MB, free: 10.19 MB / 330.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001617/0.002903, allocations: 245.8 kB / 420 MB, free: 10.06 MB / 330.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001495/0.003052, allocations: 79 kB / 420.1 MB, free: 10.02 MB / 330.7 MB Notification: Performance of NFEvalConstants.evaluate: time 6.844e-05/0.003121, allocations: 75.27 kB / 420.2 MB, free: 9.992 MB / 330.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001251/0.003246, allocations: 79.42 kB / 420.3 MB, free: 9.965 MB / 330.7 MB Notification: Performance of NFPackage.collectConstants: time 3.084e-05/0.003277, allocations: 20.06 kB / 420.3 MB, free: 9.965 MB / 330.7 MB Notification: Performance of NFFlatten.collectFunctions: time 2.637e-05/0.003303, allocations: 22.03 kB / 420.3 MB, free: 9.965 MB / 330.7 MB Notification: Performance of NFScalarize.scalarize: time 3.133e-05/0.003335, allocations: 49.7 kB / 420.4 MB, free: 9.93 MB / 330.7 MB Notification: Performance of NFVerifyModel.verify: time 6.634e-05/0.003401, allocations: 81.89 kB / 420.4 MB, free: 9.895 MB / 330.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0002213/0.003622, allocations: 236.8 kB / 420.7 MB, free: 9.809 MB / 330.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.913e-06/0.003624, allocations: 1.281 kB / 420.7 MB, free: 9.809 MB / 330.7 MB Notification: Performance of FrontEnd: time 8.72e-07/0.003625, allocations: 0 / 420.7 MB, free: 9.809 MB / 330.7 MB Notification: Performance of Transformations before backend: time 5.44e-06/0.00363, allocations: 0 / 420.7 MB, free: 9.809 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.000395/0.004025, allocations: 419.2 kB / 421.1 MB, free: 9.457 MB / 330.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.192e-05/0.004057, allocations: 11.36 kB / 421.1 MB, free: 9.457 MB / 330.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.871e-05/0.004096, allocations: 23.77 kB / 421.1 MB, free: 9.445 MB / 330.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 6.638e-05/0.004162, allocations: 143.2 kB / 421.3 MB, free: 9.289 MB / 330.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.634e-05/0.004179, allocations: 18.34 kB / 421.3 MB, free: 9.281 MB / 330.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.225e-05/0.004201, allocations: 23.97 kB / 421.3 MB, free: 9.273 MB / 330.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002295/0.004431, allocations: 193.8 kB / 421.5 MB, free: 9.18 MB / 330.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.041e-05/0.004441, allocations: 1.781 kB / 421.5 MB, free: 9.18 MB / 330.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.371e-05/0.004455, allocations: 10.83 kB / 421.5 MB, free: 9.172 MB / 330.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.192e-06/0.004461, allocations: 6.062 kB / 421.5 MB, free: 9.172 MB / 330.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001688/0.00463, allocations: 147.1 kB / 421.6 MB, free: 9.117 MB / 330.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006067/0.005236, allocations: 0.5176 MB / 422.2 MB, free: 8.762 MB / 330.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002318/0.005468, allocations: 159.6 kB / 422.3 MB, free: 8.691 MB / 330.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001977/0.005666, allocations: 124.4 kB / 422.4 MB, free: 8.656 MB / 330.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.078e-05/0.005687, allocations: 6.938 kB / 422.4 MB, free: 8.652 MB / 330.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.079e-05/0.005697, allocations: 37.41 kB / 422.5 MB, free: 8.609 MB / 330.7 MB Notification: Performance of pre-optimization done (n=20): time 1.152e-06/0.005699, allocations: 0 / 422.5 MB, free: 8.609 MB / 330.7 MB Notification: Performance of matching and sorting (n=20): time 0.001042/0.00674, allocations: 0.5458 MB / 423 MB, free: 8.449 MB / 330.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.052e-05/0.006761, allocations: 53.56 kB / 423.1 MB, free: 8.387 MB / 330.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.254e-05/0.006823, allocations: 135.7 kB / 423.2 MB, free: 8.273 MB / 330.7 MB Notification: Performance of collectPreVariables (initialization): time 7.905e-06/0.006831, allocations: 30.83 kB / 423.2 MB, free: 8.238 MB / 330.7 MB Notification: Performance of collectInitialEqns (initialization): time 4.215e-05/0.006873, allocations: 147.1 kB / 423.4 MB, free: 8.105 MB / 330.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.334e-05/0.006897, allocations: 73.31 kB / 423.5 MB, free: 8.047 MB / 330.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.632e-05/0.006933, allocations: 42.42 kB / 423.5 MB, free: 8.016 MB / 330.7 MB Notification: Performance of setup shared object (initialization): time 2.837e-05/0.006961, allocations: 325.3 kB / 423.8 MB, free: 7.695 MB / 330.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.085e-05/0.007012, allocations: 46.16 kB / 423.9 MB, free: 7.68 MB / 330.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.613e-05/0.007078, allocations: 82.42 kB / 423.9 MB, free: 7.625 MB / 330.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001188/0.007197, allocations: 138 kB / 424.1 MB, free: 7.543 MB / 330.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.994e-06/0.007199, allocations: 0.9375 kB / 424.1 MB, free: 7.543 MB / 330.7 MB Notification: Performance of matching and sorting (n=25) (initialization): time 0.0003824/0.007581, allocations: 332.1 kB / 424.4 MB, free: 7.398 MB / 330.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.102e-05/0.007593, allocations: 5.375 kB / 424.4 MB, free: 7.398 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.9e-06/0.007597, allocations: 0.6562 kB / 424.4 MB, free: 7.398 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003629/0.00796, allocations: 177 kB / 424.6 MB, free: 7.359 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.401e-05/0.008014, allocations: 27.81 kB / 424.6 MB, free: 7.352 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001921/0.009936, allocations: 3.555 MB / 428.2 MB, free: 4.277 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.973e-05/0.009976, allocations: 17.03 kB / 428.2 MB, free: 4.266 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.456e-06/0.009984, allocations: 9.406 kB / 428.2 MB, free: 4.262 MB / 330.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 5.396e-05/0.01004, allocations: 131.7 kB / 428.3 MB, free: 4.133 MB / 330.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.662e-05/0.01005, allocations: 9.391 kB / 428.3 MB, free: 4.129 MB / 330.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004046/0.01046, allocations: 308.7 kB / 428.6 MB, free: 3.992 MB / 330.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.184e-06/0.01046, allocations: 6.578 kB / 428.6 MB, free: 3.988 MB / 330.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.32e-07/0.01046, allocations: 4 kB / 428.6 MB, free: 3.984 MB / 330.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.847e-06/0.01047, allocations: 1.172 kB / 428.6 MB, free: 3.984 MB / 330.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000135/0.0106, allocations: 193.3 kB / 428.8 MB, free: 3.816 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.964e-06/0.0106, allocations: 4.75 kB / 428.8 MB, free: 3.812 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.049e-05/0.01063, allocations: 12.66 kB / 428.8 MB, free: 3.812 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002889/0.01092, allocations: 171 kB / 429 MB, free: 3.777 MB / 330.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.748e-06/0.01093, allocations: 5.828 kB / 429 MB, free: 3.773 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001792/0.01272, allocations: 3.536 MB / 432.6 MB, free: 0.6953 MB / 330.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.62e-07/0.01273, allocations: 0 / 432.6 MB, free: 0.6953 MB / 330.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003593/0.01308, allocations: 394.4 kB / 432.9 MB, free: 476 kB / 330.7 MB Notification: Performance of postOpt removeConstants (simulation): time 9.387e-06/0.01309, allocations: 14.25 kB / 433 MB, free: 468 kB / 330.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.404e-06/0.0131, allocations: 5.188 kB / 433 MB, free: 464 kB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.026e-05/0.01314, allocations: 0.5156 kB / 433 MB, free: 464 kB / 330.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.251e-05/0.01317, allocations: 22.84 kB / 433 MB, free: 456 kB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.43e-06/0.01318, allocations: 4.438 kB / 433 MB, free: 456 kB / 330.7 MB Notification: Performance of sorting global known variables: time 2.751e-05/0.01321, allocations: 100.1 kB / 433.1 MB, free: 372 kB / 330.7 MB Notification: Performance of sort global known variables: time 7e-08/0.01321, allocations: 4 kB / 433.1 MB, free: 368 kB / 330.7 MB Notification: Performance of remove unused functions: time 0.0003185/0.01353, allocations: 77.59 kB / 433.2 MB, free: 348 kB / 330.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 5.84e-05/0.01358, allocations: 102.3 kB / 433.3 MB, free: 252 kB / 330.7 MB Notification: Performance of simCode: created initialization part: time 0.0003619/0.01395, allocations: 409.4 kB / 433.7 MB, free: 15.96 MB / 346.7 MB Notification: Performance of simCode: created event and clocks part: time 1.483e-06/0.01395, allocations: 192 / 433.7 MB, free: 15.96 MB / 346.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0002395/0.01419, allocations: 363.5 kB / 434 MB, free: 15.68 MB / 346.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001763/0.01436, allocations: 15.44 kB / 434 MB, free: 15.67 MB / 346.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007279/0.01509, allocations: 482.4 kB / 434.5 MB, free: 15.43 MB / 346.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 8.838e-05/0.01518, allocations: 126.8 kB / 434.6 MB, free: 15.34 MB / 346.7 MB Notification: Performance of simCode: alias equations: time 2.152e-05/0.0152, allocations: 6.203 kB / 434.6 MB, free: 15.34 MB / 346.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.815e-05/0.01522, allocations: 11.28 kB / 434.6 MB, free: 15.33 MB / 346.7 MB Notification: Performance of SimCode: time 3.91e-07/0.01522, allocations: 5.469 kB / 434.7 MB, free: 15.33 MB / 346.7 MB Notification: Performance of Templates: time 0.004146/0.01937, allocations: 2.687 MB / 437.3 MB, free: 15.05 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 -s gbode -gbnls=internal -gberr=embedded -gbm=radauIIA3 -lv LOG_STATS > AES_AES.Coursework.ThermSys_component_models.HeatPump_case_001a.pipe 2>&1) [Timeout 480] [Calling sys.exit(0), Time elapsed: 2.7395309852436185] Failed to read output from testmodel.py, exit status != 0: 0.023573187179863453 0.031615216 0.026380816 Calling exit ...