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.0009429/0.0009429, allocations: 72.95 kB / 20.74 MB, free: 3.75 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.001006/0.001006, allocations: 173 kB / 24.17 MB, free: 332 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.9977/0.9977, allocations: 177.2 MB / 204.6 MB, free: 5.484 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.06455/0.06455, allocations: 18.14 MB / 279.2 MB, free: 11.21 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.914e-06/1.914e-06, allocations: 0 / 305.4 MB, free: 100 kB / 266.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.606e-05/2.797e-05, allocations: 2.312 kB / 305.4 MB, free: 96 kB / 266.7 MB Notification: Performance of NFInst.instantiate(AES.Coursework.ThermSys_component_models.HeatPump_case_001a): time 0.003133/0.003161, allocations: 2.294 MB / 307.7 MB, free: 14.53 MB / 282.7 MB Notification: Performance of NFInst.instExpressions: time 0.000518/0.003679, allocations: 191.7 kB / 307.9 MB, free: 14.36 MB / 282.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.752e-05/0.003747, allocations: 4 kB / 307.9 MB, free: 14.36 MB / 282.7 MB Notification: Performance of NFTyping.typeComponents: time 6.941e-05/0.003816, allocations: 31.98 kB / 307.9 MB, free: 14.34 MB / 282.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0001354/0.003952, allocations: 64.5 kB / 308 MB, free: 14.28 MB / 282.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001665/0.004118, allocations: 52.91 kB / 308 MB, free: 14.25 MB / 282.7 MB Notification: Performance of NFFlatten.flatten: time 0.0002172/0.004335, allocations: 250.3 kB / 308.3 MB, free: 14.02 MB / 282.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001707/0.004506, allocations: 78.98 kB / 308.4 MB, free: 13.96 MB / 282.7 MB Notification: Performance of NFEvalConstants.evaluate: time 9.337e-05/0.004599, allocations: 80.77 kB / 308.4 MB, free: 13.89 MB / 282.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001414/0.004741, allocations: 80.56 kB / 308.5 MB, free: 13.83 MB / 282.7 MB Notification: Performance of NFPackage.collectConstants: time 3.268e-05/0.004773, allocations: 20 kB / 308.5 MB, free: 13.81 MB / 282.7 MB Notification: Performance of NFFlatten.collectFunctions: time 2.188e-05/0.004795, allocations: 20 kB / 308.5 MB, free: 13.79 MB / 282.7 MB Notification: Performance of NFScalarize.scalarize: time 3.863e-05/0.004834, allocations: 47.55 kB / 308.6 MB, free: 13.75 MB / 282.7 MB Notification: Performance of NFVerifyModel.verify: time 7.047e-05/0.004904, allocations: 80.39 kB / 308.7 MB, free: 13.68 MB / 282.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001995/0.005104, allocations: 161.6 kB / 308.8 MB, free: 13.55 MB / 282.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.369e-06/0.005108, allocations: 4 kB / 308.8 MB, free: 13.55 MB / 282.7 MB Notification: Performance of FrontEnd: time 1.112e-06/0.005109, allocations: 0 / 308.8 MB, free: 13.55 MB / 282.7 MB Notification: Performance of Transformations before backend: time 4.779e-06/0.005114, allocations: 0 / 308.8 MB, free: 13.55 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.0004189/0.005533, allocations: 399.5 kB / 309.2 MB, free: 13.16 MB / 282.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.652e-05/0.00557, allocations: 8.922 kB / 309.2 MB, free: 13.15 MB / 282.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.506e-05/0.005625, allocations: 36.16 kB / 309.3 MB, free: 13.12 MB / 282.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 9.555e-05/0.00572, allocations: 130.1 kB / 309.4 MB, free: 12.97 MB / 282.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.875e-05/0.005739, allocations: 21.58 kB / 309.4 MB, free: 12.95 MB / 282.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.721e-05/0.005756, allocations: 24.38 kB / 309.4 MB, free: 12.93 MB / 282.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001776/0.005934, allocations: 148.5 kB / 309.6 MB, free: 12.8 MB / 282.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.779e-06/0.005944, allocations: 192 / 309.6 MB, free: 12.8 MB / 282.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.319e-05/0.005957, allocations: 9.031 kB / 309.6 MB, free: 12.8 MB / 282.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.917e-06/0.005966, allocations: 8.375 kB / 309.6 MB, free: 12.79 MB / 282.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.965e-05/0.006045, allocations: 59.92 kB / 309.7 MB, free: 12.74 MB / 282.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005802/0.006625, allocations: 418.6 kB / 310.1 MB, free: 12.35 MB / 282.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001804/0.006806, allocations: 119.9 kB / 310.2 MB, free: 12.23 MB / 282.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001427/0.006949, allocations: 92.77 kB / 310.3 MB, free: 12.14 MB / 282.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.056e-05/0.006969, allocations: 8 kB / 310.3 MB, free: 12.13 MB / 282.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.563e-05/0.006995, allocations: 42.55 kB / 310.3 MB, free: 12.08 MB / 282.7 MB Notification: Performance of pre-optimization done (n=20): time 1.443e-06/0.006996, allocations: 0 / 310.3 MB, free: 12.08 MB / 282.7 MB Notification: Performance of matching and sorting (n=20): time 0.0007702/0.007766, allocations: 413.5 kB / 310.7 MB, free: 11.67 MB / 282.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.129e-05/0.007798, allocations: 51.41 kB / 310.8 MB, free: 11.61 MB / 282.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.044e-05/0.007878, allocations: 138.5 kB / 310.9 MB, free: 11.46 MB / 282.7 MB Notification: Performance of collectPreVariables (initialization): time 1.529e-05/0.007893, allocations: 33.64 kB / 310.9 MB, free: 11.42 MB / 282.7 MB Notification: Performance of collectInitialEqns (initialization): time 6.386e-05/0.007957, allocations: 144.3 kB / 311.1 MB, free: 11.27 MB / 282.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.85e-05/0.007996, allocations: 75.38 kB / 311.2 MB, free: 11.2 MB / 282.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.611e-05/0.008042, allocations: 41.67 kB / 311.2 MB, free: 11.15 MB / 282.7 MB Notification: Performance of setup shared object (initialization): time 8.804e-05/0.00813, allocations: 326.8 kB / 311.5 MB, free: 10.82 MB / 282.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 2.188e-05/0.008152, allocations: 16 kB / 311.5 MB, free: 10.81 MB / 282.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 4.687e-05/0.008199, allocations: 60.92 kB / 311.6 MB, free: 10.74 MB / 282.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 8.158e-05/0.00828, allocations: 88 kB / 311.7 MB, free: 10.64 MB / 282.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.154e-06/0.008282, allocations: 0 / 311.7 MB, free: 10.64 MB / 282.7 MB Notification: Performance of matching and sorting (n=25) (initialization): time 0.0002903/0.008573, allocations: 225.9 kB / 311.9 MB, free: 10.41 MB / 282.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.28e-05/0.008586, allocations: 8 kB / 311.9 MB, free: 10.4 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.092e-06/0.008592, allocations: 4.094 kB / 311.9 MB, free: 10.4 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003939/0.008986, allocations: 201.5 kB / 312.1 MB, free: 10.2 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.567e-05/0.009051, allocations: 27.92 kB / 312.1 MB, free: 10.17 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002384/0.01144, allocations: 3.07 MB / 315.2 MB, free: 6.926 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.689e-05/0.01148, allocations: 15.89 kB / 315.2 MB, free: 6.91 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.11e-05/0.01149, allocations: 11.98 kB / 315.2 MB, free: 6.898 MB / 282.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 8.784e-05/0.01158, allocations: 121.7 kB / 315.4 MB, free: 6.77 MB / 282.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.292e-05/0.0116, allocations: 12 kB / 315.4 MB, free: 6.758 MB / 282.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002929/0.0119, allocations: 227.8 kB / 315.6 MB, free: 6.523 MB / 282.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.025e-06/0.0119, allocations: 4 kB / 315.6 MB, free: 6.52 MB / 282.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.342e-06/0.0119, allocations: 128 / 315.6 MB, free: 6.52 MB / 282.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.332e-06/0.01191, allocations: 7.984 kB / 315.6 MB, free: 6.512 MB / 282.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001577/0.01207, allocations: 125.7 kB / 315.7 MB, free: 6.371 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.825e-06/0.01207, allocations: 0 / 315.7 MB, free: 6.371 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.606e-05/0.01211, allocations: 19.98 kB / 315.7 MB, free: 6.352 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0003601/0.01247, allocations: 193.5 kB / 315.9 MB, free: 6.156 MB / 282.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.265e-05/0.01249, allocations: 8 kB / 315.9 MB, free: 6.148 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.00193/0.01442, allocations: 3.044 MB / 319 MB, free: 2.934 MB / 282.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.193e-06/0.01442, allocations: 4 kB / 319 MB, free: 2.93 MB / 282.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002835/0.0147, allocations: 303.2 kB / 319.3 MB, free: 2.613 MB / 282.7 MB Notification: Performance of postOpt removeConstants (simulation): time 1.173e-05/0.01471, allocations: 11.89 kB / 319.3 MB, free: 2.602 MB / 282.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.277e-06/0.01472, allocations: 7.938 kB / 319.3 MB, free: 2.594 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.942e-05/0.01476, allocations: 4 kB / 319.3 MB, free: 2.59 MB / 282.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.731e-05/0.0148, allocations: 15.97 kB / 319.3 MB, free: 2.574 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.261e-06/0.01481, allocations: 4 kB / 319.3 MB, free: 2.57 MB / 282.7 MB Notification: Performance of sorting global known variables: time 2.09e-05/0.01483, allocations: 27.36 kB / 319.4 MB, free: 2.543 MB / 282.7 MB Notification: Performance of sort global known variables: time 6e-08/0.01483, allocations: 0 / 319.4 MB, free: 2.543 MB / 282.7 MB Notification: Performance of remove unused functions: time 0.0003835/0.01521, allocations: 79.84 kB / 319.4 MB, free: 2.465 MB / 282.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.0001226/0.01533, allocations: 92.33 kB / 319.5 MB, free: 2.367 MB / 282.7 MB Notification: Performance of simCode: created initialization part: time 0.0004634/0.0158, allocations: 377.7 kB / 319.9 MB, free: 1.969 MB / 282.7 MB Notification: Performance of simCode: created event and clocks part: time 5.34e-06/0.0158, allocations: 4 kB / 319.9 MB, free: 1.965 MB / 282.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0002479/0.01605, allocations: 346 kB / 320.2 MB, free: 1.598 MB / 282.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001737/0.01622, allocations: 19.42 kB / 320.3 MB, free: 1.582 MB / 282.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008217/0.01704, allocations: 431 kB / 320.7 MB, free: 1.133 MB / 282.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 5.422e-05/0.0171, allocations: 83.97 kB / 320.8 MB, free: 1.031 MB / 282.7 MB Notification: Performance of simCode: alias equations: time 2.914e-05/0.01713, allocations: 9.5 kB / 320.8 MB, free: 1.02 MB / 282.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.863e-05/0.01718, allocations: 55.38 kB / 320.8 MB, free: 0.9648 MB / 282.7 MB Notification: Performance of SimCode: time 1.462e-06/0.01718, allocations: 0 / 320.8 MB, free: 0.9648 MB / 282.7 MB Notification: Performance of Templates: time 0.004638/0.02182, allocations: 2.922 MB / 323.7 MB, free: 14.09 MB / 298.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 -s gbode -gbm=radauIIA3 -lv LOG_STATS > AES_AES.Coursework.ThermSys_component_models.HeatPump_case_001a.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 2.8118580197915435]