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.0008505/0.0008505, allocations: 72.95 kB / 20.74 MB, free: 3.746 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.0009726/0.0009726, allocations: 173 kB / 24.17 MB, free: 328 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 1.058/1.058, allocations: 177.2 MB / 204.6 MB, free: 5.445 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.06804/0.06804, allocations: 18.13 MB / 279.2 MB, free: 11.17 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.462e-06/1.462e-06, allocations: 0 / 305.4 MB, free: 72 kB / 266.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.527e-05/1.673e-05, allocations: 6.891 kB / 305.4 MB, free: 68 kB / 266.7 MB Notification: Performance of NFInst.instantiate(AES.Coursework.ThermSys_component_models.HeatPump_case_001a): time 0.002489/0.002506, allocations: 2.25 MB / 307.6 MB, free: 14.54 MB / 282.7 MB Notification: Performance of NFInst.instExpressions: time 0.0003625/0.002868, allocations: 181 kB / 307.8 MB, free: 14.38 MB / 282.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.629e-05/0.002925, allocations: 4 kB / 307.8 MB, free: 14.38 MB / 282.7 MB Notification: Performance of NFTyping.typeComponents: time 6.102e-05/0.002986, allocations: 28.75 kB / 307.8 MB, free: 14.36 MB / 282.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0001145/0.0031, allocations: 67.77 kB / 307.9 MB, free: 14.3 MB / 282.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001283/0.003229, allocations: 44.55 kB / 307.9 MB, free: 14.27 MB / 282.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001799/0.003408, allocations: 250.8 kB / 308.2 MB, free: 14.05 MB / 282.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001439/0.003552, allocations: 87.81 kB / 308.3 MB, free: 13.97 MB / 282.7 MB Notification: Performance of NFEvalConstants.evaluate: time 6.443e-05/0.003617, allocations: 79.12 kB / 308.3 MB, free: 13.9 MB / 282.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001324/0.003749, allocations: 77.05 kB / 308.4 MB, free: 13.85 MB / 282.7 MB Notification: Performance of NFPackage.collectConstants: time 3.199e-05/0.003781, allocations: 24 kB / 308.4 MB, free: 13.82 MB / 282.7 MB Notification: Performance of NFFlatten.collectFunctions: time 2.795e-05/0.003809, allocations: 20 kB / 308.5 MB, free: 13.8 MB / 282.7 MB Notification: Performance of NFScalarize.scalarize: time 3.751e-05/0.003847, allocations: 49.19 kB / 308.5 MB, free: 13.77 MB / 282.7 MB Notification: Performance of NFVerifyModel.verify: time 5.896e-05/0.003906, allocations: 81.66 kB / 308.6 MB, free: 13.7 MB / 282.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001452/0.004051, allocations: 150.9 kB / 308.7 MB, free: 13.57 MB / 282.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.873e-06/0.004053, allocations: 0.6094 kB / 308.7 MB, free: 13.57 MB / 282.7 MB Notification: Performance of FrontEnd: time 6.51e-07/0.004053, allocations: 0 / 308.7 MB, free: 13.57 MB / 282.7 MB Notification: Performance of Transformations before backend: time 3.237e-06/0.004057, allocations: 0 / 308.7 MB, free: 13.57 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.0003794/0.004436, allocations: 407 kB / 309.1 MB, free: 13.18 MB / 282.7 MB Notification: Performance of prepare preOptimizeDAE: time 2.786e-05/0.004464, allocations: 8.922 kB / 309.1 MB, free: 13.17 MB / 282.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.404e-05/0.004508, allocations: 36.3 kB / 309.2 MB, free: 13.14 MB / 282.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 7.756e-05/0.004585, allocations: 138 kB / 309.3 MB, free: 12.98 MB / 282.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.565e-05/0.004601, allocations: 13.67 kB / 309.3 MB, free: 12.97 MB / 282.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.939e-05/0.00462, allocations: 24.38 kB / 309.3 MB, free: 12.95 MB / 282.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001536/0.004774, allocations: 144.7 kB / 309.5 MB, free: 12.83 MB / 282.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.324e-06/0.004781, allocations: 192 / 309.5 MB, free: 12.83 MB / 282.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.3e-05/0.004794, allocations: 16.31 kB / 309.5 MB, free: 12.81 MB / 282.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.713e-06/0.004801, allocations: 5.031 kB / 309.5 MB, free: 12.81 MB / 282.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.981e-05/0.004871, allocations: 63.2 kB / 309.6 MB, free: 12.75 MB / 282.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005118/0.005383, allocations: 431.8 kB / 310 MB, free: 12.35 MB / 282.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001607/0.005543, allocations: 104.4 kB / 310.1 MB, free: 12.25 MB / 282.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001488/0.005692, allocations: 109.1 kB / 310.2 MB, free: 12.16 MB / 282.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.743e-05/0.00571, allocations: 4.656 kB / 310.2 MB, free: 12.16 MB / 282.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.772e-05/0.005727, allocations: 31.17 kB / 310.2 MB, free: 12.12 MB / 282.7 MB Notification: Performance of pre-optimization done (n=20): time 1.513e-06/0.005729, allocations: 0 / 310.2 MB, free: 12.12 MB / 282.7 MB Notification: Performance of matching and sorting (n=20): time 0.0007589/0.006488, allocations: 421.1 kB / 310.6 MB, free: 11.71 MB / 282.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.706e-05/0.006515, allocations: 55.41 kB / 310.7 MB, free: 11.64 MB / 282.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.851e-05/0.006583, allocations: 137.1 kB / 310.8 MB, free: 11.5 MB / 282.7 MB Notification: Performance of collectPreVariables (initialization): time 1.314e-05/0.006597, allocations: 29.7 kB / 310.9 MB, free: 11.46 MB / 282.7 MB Notification: Performance of collectInitialEqns (initialization): time 5.325e-05/0.00665, allocations: 140.3 kB / 311 MB, free: 11.32 MB / 282.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.219e-05/0.006682, allocations: 75.36 kB / 311.1 MB, free: 11.25 MB / 282.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.529e-05/0.006727, allocations: 37.69 kB / 311.1 MB, free: 11.2 MB / 282.7 MB Notification: Performance of setup shared object (initialization): time 7.387e-05/0.006801, allocations: 322.8 kB / 311.4 MB, free: 10.88 MB / 282.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 2.219e-05/0.006823, allocations: 19.98 kB / 311.4 MB, free: 10.86 MB / 282.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 4.341e-05/0.006867, allocations: 56.88 kB / 311.5 MB, free: 10.79 MB / 282.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 7.724e-05/0.006944, allocations: 95.88 kB / 311.6 MB, free: 10.69 MB / 282.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.174e-06/0.006946, allocations: 0 / 311.6 MB, free: 10.69 MB / 282.7 MB Notification: Performance of matching and sorting (n=25) (initialization): time 0.0002559/0.007202, allocations: 229.5 kB / 311.8 MB, free: 10.45 MB / 282.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.065e-05/0.007213, allocations: 7.984 kB / 311.8 MB, free: 10.45 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.417e-06/0.007216, allocations: 0 / 311.8 MB, free: 10.45 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003767/0.007593, allocations: 197.6 kB / 312 MB, free: 10.25 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.698e-05/0.00764, allocations: 19.98 kB / 312 MB, free: 10.23 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001762/0.009402, allocations: 3.069 MB / 315.1 MB, free: 6.984 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.883e-05/0.009441, allocations: 15.89 kB / 315.1 MB, free: 6.969 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.623e-06/0.009448, allocations: 4 kB / 315.1 MB, free: 6.965 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 6.639e-05/0.009514, allocations: 117.8 kB / 315.2 MB, free: 6.84 MB / 282.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.051e-05/0.009534, allocations: 15.92 kB / 315.3 MB, free: 6.824 MB / 282.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002698/0.009804, allocations: 220.8 kB / 315.5 MB, free: 6.598 MB / 282.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.264e-06/0.009806, allocations: 4 kB / 315.5 MB, free: 6.594 MB / 282.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.683e-06/0.009808, allocations: 7.875 kB / 315.5 MB, free: 6.586 MB / 282.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.845e-06/0.009811, allocations: 7.938 kB / 315.5 MB, free: 6.578 MB / 282.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001314/0.009942, allocations: 133.8 kB / 315.6 MB, free: 6.43 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.382e-06/0.009944, allocations: 0 / 315.6 MB, free: 6.43 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.902e-05/0.009973, allocations: 15.98 kB / 315.6 MB, free: 6.414 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0003251/0.0103, allocations: 193.5 kB / 315.8 MB, free: 6.219 MB / 282.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.035e-06/0.01031, allocations: 3.984 kB / 315.8 MB, free: 6.215 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001705/0.01201, allocations: 3.04 MB / 318.9 MB, free: 3.004 MB / 282.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.11e-07/0.01201, allocations: 0 / 318.9 MB, free: 3.004 MB / 282.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002614/0.01227, allocations: 307.7 kB / 319.2 MB, free: 2.684 MB / 282.7 MB Notification: Performance of postOpt removeConstants (simulation): time 1.005e-05/0.01228, allocations: 15.88 kB / 319.2 MB, free: 2.668 MB / 282.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.354e-06/0.01229, allocations: 4 kB / 319.2 MB, free: 2.664 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.663e-05/0.01233, allocations: 4 kB / 319.2 MB, free: 2.66 MB / 282.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.363e-05/0.01235, allocations: 15.97 kB / 319.2 MB, free: 2.645 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.609e-06/0.01236, allocations: 4 kB / 319.2 MB, free: 2.641 MB / 282.7 MB Notification: Performance of sorting global known variables: time 1.76e-05/0.01237, allocations: 24.78 kB / 319.2 MB, free: 2.613 MB / 282.7 MB Notification: Performance of sort global known variables: time 6.1e-08/0.01237, allocations: 4 kB / 319.2 MB, free: 2.609 MB / 282.7 MB Notification: Performance of remove unused functions: time 0.0002844/0.01266, allocations: 75.84 kB / 319.3 MB, free: 2.535 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 6.867e-05/0.01273, allocations: 80.42 kB / 319.4 MB, free: 2.449 MB / 282.7 MB Notification: Performance of simCode: created initialization part: time 0.0003459/0.01307, allocations: 385.7 kB / 319.8 MB, free: 2.043 MB / 282.7 MB Notification: Performance of simCode: created event and clocks part: time 3.106e-06/0.01308, allocations: 192 / 319.8 MB, free: 2.043 MB / 282.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0002125/0.01329, allocations: 345.8 kB / 320.1 MB, free: 1.676 MB / 282.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000126/0.01341, allocations: 10.8 kB / 320.1 MB, free: 1.668 MB / 282.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007149/0.01413, allocations: 439 kB / 320.5 MB, free: 1.211 MB / 282.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.823e-05/0.01418, allocations: 79.98 kB / 320.6 MB, free: 1.113 MB / 282.7 MB Notification: Performance of simCode: alias equations: time 2.799e-05/0.01421, allocations: 9.484 kB / 320.6 MB, free: 1.102 MB / 282.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.663e-05/0.01425, allocations: 55.38 kB / 320.7 MB, free: 1.047 MB / 282.7 MB Notification: Performance of SimCode: time 5.11e-07/0.01425, allocations: 0 / 320.7 MB, free: 1.047 MB / 282.7 MB Notification: Performance of Templates: time 0.004357/0.01861, allocations: 2.93 MB / 323.6 MB, free: 14.16 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 -lv LOG_STATS > AES_AES.Coursework.ThermSys_component_models.HeatPump_case_001a.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 2.9731506290845573]