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.0009964/0.0009964, allocations: 78.66 kB / 21.46 MB, free: 3.043 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.001117/0.001117, allocations: 168.4 kB / 24.86 MB, free: 8.641 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.9811/0.9811, allocations: 177.1 MB / 205.3 MB, free: 5.531 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.06634/0.06634, allocations: 18.14 MB / 280 MB, free: 11.19 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.443e-06/1.443e-06, allocations: 0 / 359.4 MB, free: 7.738 MB / 330.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.326e-05/2.471e-05, allocations: 2.312 kB / 359.4 MB, free: 7.734 MB / 330.7 MB Notification: Performance of NFInst.instantiate(AES.Coursework.ThermSys_component_models.HeatPump_case_001a): time 0.002471/0.002496, allocations: 2.239 MB / 361.6 MB, free: 5.484 MB / 330.7 MB Notification: Performance of NFInst.instExpressions: time 0.0003278/0.002823, allocations: 175.4 kB / 361.8 MB, free: 5.312 MB / 330.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.601e-05/0.002879, allocations: 0 / 361.8 MB, free: 5.312 MB / 330.7 MB Notification: Performance of NFTyping.typeComponents: time 6.523e-05/0.002945, allocations: 31.66 kB / 361.8 MB, free: 5.281 MB / 330.7 MB Notification: Performance of NFTyping.typeBindings: time 0.000119/0.003063, allocations: 63.41 kB / 361.9 MB, free: 5.219 MB / 330.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001325/0.003196, allocations: 55.91 kB / 362 MB, free: 5.164 MB / 330.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001675/0.003364, allocations: 250.7 kB / 362.2 MB, free: 4.918 MB / 330.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001465/0.00351, allocations: 87.8 kB / 362.3 MB, free: 4.836 MB / 330.7 MB Notification: Performance of NFEvalConstants.evaluate: time 6.229e-05/0.003572, allocations: 79.83 kB / 362.4 MB, free: 4.758 MB / 330.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001147/0.003687, allocations: 71.78 kB / 362.4 MB, free: 4.688 MB / 330.7 MB Notification: Performance of NFPackage.collectConstants: time 2.952e-05/0.003717, allocations: 20 kB / 362.5 MB, free: 4.668 MB / 330.7 MB Notification: Performance of NFFlatten.collectFunctions: time 2.216e-05/0.003739, allocations: 20 kB / 362.5 MB, free: 4.648 MB / 330.7 MB Notification: Performance of NFScalarize.scalarize: time 3.39e-05/0.003773, allocations: 51.83 kB / 362.5 MB, free: 4.598 MB / 330.7 MB Notification: Performance of NFVerifyModel.verify: time 5.665e-05/0.003829, allocations: 79.81 kB / 362.6 MB, free: 4.52 MB / 330.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001537/0.003983, allocations: 155.5 kB / 362.8 MB, free: 4.367 MB / 330.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.254e-06/0.003985, allocations: 0 / 362.8 MB, free: 4.367 MB / 330.7 MB Notification: Performance of FrontEnd: time 8.22e-07/0.003986, allocations: 0 / 362.8 MB, free: 4.367 MB / 330.7 MB Notification: Performance of Transformations before backend: time 3.847e-06/0.00399, allocations: 4 kB / 362.8 MB, free: 4.363 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.0004206/0.00441, allocations: 0.5119 MB / 363.3 MB, free: 3.812 MB / 330.7 MB Notification: Performance of prepare preOptimizeDAE: time 2.97e-05/0.00444, allocations: 8.922 kB / 363.3 MB, free: 3.805 MB / 330.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.761e-05/0.004488, allocations: 44.8 kB / 363.3 MB, free: 3.762 MB / 330.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 8.509e-05/0.004573, allocations: 136.3 kB / 363.5 MB, free: 3.602 MB / 330.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.605e-05/0.004589, allocations: 16.88 kB / 363.5 MB, free: 3.582 MB / 330.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.976e-05/0.004609, allocations: 24.38 kB / 363.5 MB, free: 3.559 MB / 330.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001435/0.004752, allocations: 136.7 kB / 363.6 MB, free: 3.418 MB / 330.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.576e-06/0.004761, allocations: 4.188 kB / 363.6 MB, free: 3.414 MB / 330.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.404e-05/0.004775, allocations: 12.38 kB / 363.6 MB, free: 3.402 MB / 330.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.77e-06/0.004781, allocations: 4.375 kB / 363.6 MB, free: 3.398 MB / 330.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.415e-05/0.004855, allocations: 71.38 kB / 363.7 MB, free: 3.332 MB / 330.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005509/0.005406, allocations: 0.5383 MB / 364.3 MB, free: 2.766 MB / 330.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001605/0.005566, allocations: 117.3 kB / 364.4 MB, free: 2.641 MB / 330.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001483/0.005714, allocations: 114.1 kB / 364.5 MB, free: 2.527 MB / 330.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.845e-05/0.005733, allocations: 4 kB / 364.5 MB, free: 2.523 MB / 330.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.733e-05/0.00575, allocations: 33.39 kB / 364.5 MB, free: 2.48 MB / 330.7 MB Notification: Performance of pre-optimization done (n=20): time 1.282e-06/0.005751, allocations: 4 kB / 364.5 MB, free: 2.477 MB / 330.7 MB Notification: Performance of matching and sorting (n=20): time 0.0008436/0.006595, allocations: 444.3 kB / 365 MB, free: 2.027 MB / 330.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.564e-05/0.006621, allocations: 51.41 kB / 365 MB, free: 1.965 MB / 330.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.662e-05/0.006707, allocations: 200.8 kB / 365.2 MB, free: 1.754 MB / 330.7 MB Notification: Performance of collectPreVariables (initialization): time 1.538e-05/0.006723, allocations: 29.7 kB / 365.2 MB, free: 1.719 MB / 330.7 MB Notification: Performance of collectInitialEqns (initialization): time 8.493e-05/0.006807, allocations: 187 kB / 365.4 MB, free: 1.531 MB / 330.7 MB Notification: Performance of collectInitialBindings (initialization): time 5.152e-05/0.006859, allocations: 83.34 kB / 365.5 MB, free: 1.449 MB / 330.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.597e-05/0.006925, allocations: 43.36 kB / 365.5 MB, free: 1.398 MB / 330.7 MB Notification: Performance of setup shared object (initialization): time 0.0001392/0.007064, allocations: 0.4962 MB / 366 MB, free: 0.8906 MB / 330.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 2.941e-05/0.007094, allocations: 23.97 kB / 366.1 MB, free: 0.8672 MB / 330.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 4.801e-05/0.007142, allocations: 66.7 kB / 366.1 MB, free: 0.7852 MB / 330.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 8.721e-05/0.007229, allocations: 102.6 kB / 366.2 MB, free: 0.668 MB / 330.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.974e-06/0.007231, allocations: 0 / 366.2 MB, free: 0.668 MB / 330.7 MB Notification: Performance of matching and sorting (n=25) (initialization): time 0.0003276/0.007558, allocations: 271.1 kB / 366.5 MB, free: 400 kB / 330.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.178e-05/0.00757, allocations: 8 kB / 366.5 MB, free: 392 kB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.627e-06/0.007574, allocations: 0 / 366.5 MB, free: 392 kB / 330.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004222/0.007996, allocations: 215.2 kB / 366.7 MB, free: 168 kB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.08e-05/0.008047, allocations: 19.98 kB / 366.7 MB, free: 148 kB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00238/0.01043, allocations: 4.405 MB / 371.1 MB, free: 11.51 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.469e-05/0.01047, allocations: 15.89 kB / 371.1 MB, free: 11.49 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.224e-06/0.01048, allocations: 4 kB / 371.1 MB, free: 11.49 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 7.681e-05/0.01056, allocations: 180.5 kB / 371.3 MB, free: 11.3 MB / 346.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.618e-05/0.01058, allocations: 19.91 kB / 371.3 MB, free: 11.28 MB / 346.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003043/0.01089, allocations: 244 kB / 371.6 MB, free: 11.03 MB / 346.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.593e-06/0.01089, allocations: 0 / 371.6 MB, free: 11.03 MB / 346.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.52e-07/0.01089, allocations: 0 / 371.6 MB, free: 11.03 MB / 346.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.268e-06/0.01089, allocations: 7.984 kB / 371.6 MB, free: 11.02 MB / 346.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001385/0.01103, allocations: 153.1 kB / 371.7 MB, free: 10.85 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.493e-06/0.01103, allocations: 0 / 371.7 MB, free: 10.85 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.127e-05/0.01106, allocations: 15.94 kB / 371.8 MB, free: 10.83 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0003702/0.01143, allocations: 211.4 kB / 372 MB, free: 10.62 MB / 346.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.574e-06/0.01144, allocations: 7.938 kB / 372 MB, free: 10.61 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001987/0.01343, allocations: 4.37 MB / 376.3 MB, free: 6.02 MB / 346.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.864e-06/0.01343, allocations: 4 kB / 376.3 MB, free: 6.016 MB / 346.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003128/0.01374, allocations: 382.8 kB / 376.7 MB, free: 5.613 MB / 346.7 MB Notification: Performance of postOpt removeConstants (simulation): time 1.212e-05/0.01376, allocations: 19.83 kB / 376.7 MB, free: 5.594 MB / 346.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.675e-06/0.01376, allocations: 4 kB / 376.7 MB, free: 5.59 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.96e-05/0.0138, allocations: 8 kB / 376.7 MB, free: 5.582 MB / 346.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.803e-05/0.01383, allocations: 15.97 kB / 376.8 MB, free: 5.566 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.3e-06/0.01384, allocations: 7.938 kB / 376.8 MB, free: 5.559 MB / 346.7 MB Notification: Performance of sorting global known variables: time 0.0001741/0.01401, allocations: 143.1 kB / 376.9 MB, free: 5.418 MB / 346.7 MB Notification: Performance of sort global known variables: time 4e-08/0.01401, allocations: 0 / 376.9 MB, free: 5.418 MB / 346.7 MB Notification: Performance of remove unused functions: time 0.0003099/0.01432, allocations: 71.89 kB / 377 MB, free: 5.348 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 7.487e-05/0.0144, allocations: 99.25 kB / 377.1 MB, free: 5.238 MB / 346.7 MB Notification: Performance of simCode: created initialization part: time 0.0003553/0.01475, allocations: 495.1 kB / 377.6 MB, free: 4.715 MB / 346.7 MB Notification: Performance of simCode: created event and clocks part: time 1.633e-06/0.01475, allocations: 0 / 377.6 MB, free: 4.715 MB / 346.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0002588/0.01501, allocations: 465.3 kB / 378 MB, free: 4.223 MB / 346.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001838/0.01519, allocations: 15.94 kB / 378 MB, free: 4.207 MB / 346.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007554/0.01595, allocations: 442.4 kB / 378.5 MB, free: 3.746 MB / 346.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 5.619e-05/0.01601, allocations: 79.97 kB / 378.5 MB, free: 3.645 MB / 346.7 MB Notification: Performance of simCode: alias equations: time 2.608e-05/0.01603, allocations: 5.5 kB / 378.5 MB, free: 3.637 MB / 346.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.832e-05/0.01608, allocations: 82.2 kB / 378.6 MB, free: 3.555 MB / 346.7 MB Notification: Performance of SimCode: time 9.31e-07/0.01608, allocations: 0 / 378.6 MB, free: 3.555 MB / 346.7 MB Notification: Performance of Templates: time 0.004883/0.02096, allocations: 3.006 MB / 381.6 MB, free: 0.5742 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.9043721817433834]