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.001051/0.001051, allocations: 73.89 kB / 20.67 MB, free: 3.828 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.001208/0.001208, allocations: 181 kB / 24.08 MB, free: 428 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.059/1.059, allocations: 177.1 MB / 204.5 MB, free: 5.516 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.06356/0.06356, allocations: 18.14 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.854e-06/1.854e-06, allocations: 0 / 358.6 MB, free: 7.762 MB / 330.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.747e-05/2.933e-05, allocations: 5.547 kB / 358.6 MB, free: 7.758 MB / 330.7 MB Notification: Performance of NFInst.instantiate(AES.Coursework.ThermSys_component_models.HeatPump_case_001a): time 0.003935/0.003964, allocations: 2.249 MB / 360.9 MB, free: 5.496 MB / 330.7 MB Notification: Performance of NFInst.instExpressions: time 0.0005576/0.004521, allocations: 171.3 kB / 361 MB, free: 5.328 MB / 330.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001061/0.004628, allocations: 4 kB / 361 MB, free: 5.324 MB / 330.7 MB Notification: Performance of NFTyping.typeComponents: time 8.468e-05/0.004712, allocations: 31.72 kB / 361.1 MB, free: 5.293 MB / 330.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0001649/0.004877, allocations: 59.36 kB / 361.1 MB, free: 5.234 MB / 330.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001705/0.005048, allocations: 47.92 kB / 361.2 MB, free: 5.188 MB / 330.7 MB Notification: Performance of NFFlatten.flatten: time 0.0003826/0.00543, allocations: 250.8 kB / 361.4 MB, free: 4.941 MB / 330.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002033/0.005634, allocations: 79.81 kB / 361.5 MB, free: 4.867 MB / 330.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001263/0.00576, allocations: 87.81 kB / 361.6 MB, free: 4.781 MB / 330.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001842/0.005944, allocations: 79.77 kB / 361.7 MB, free: 4.703 MB / 330.7 MB Notification: Performance of NFPackage.collectConstants: time 3.907e-05/0.005983, allocations: 20 kB / 361.7 MB, free: 4.684 MB / 330.7 MB Notification: Performance of NFFlatten.collectFunctions: time 4.016e-05/0.006023, allocations: 24 kB / 361.7 MB, free: 4.66 MB / 330.7 MB Notification: Performance of NFScalarize.scalarize: time 4.378e-05/0.006067, allocations: 43.83 kB / 361.7 MB, free: 4.617 MB / 330.7 MB Notification: Performance of NFVerifyModel.verify: time 8.76e-05/0.006155, allocations: 79.83 kB / 361.8 MB, free: 4.539 MB / 330.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0002308/0.006385, allocations: 151.5 kB / 362 MB, free: 4.391 MB / 330.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.698e-06/0.00639, allocations: 3.984 kB / 362 MB, free: 4.387 MB / 330.7 MB Notification: Performance of FrontEnd: time 1.312e-06/0.006391, allocations: 0 / 362 MB, free: 4.387 MB / 330.7 MB Notification: Performance of Transformations before backend: time 6.773e-06/0.006398, allocations: 0 / 362 MB, free: 4.387 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.0005927/0.006991, allocations: 0.5158 MB / 362.5 MB, free: 3.832 MB / 330.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.304e-05/0.007034, allocations: 8.922 kB / 362.5 MB, free: 3.824 MB / 330.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.697e-05/0.007111, allocations: 44.73 kB / 362.5 MB, free: 3.781 MB / 330.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001133/0.007224, allocations: 140.3 kB / 362.7 MB, free: 3.617 MB / 330.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.305e-05/0.007247, allocations: 12.88 kB / 362.7 MB, free: 3.602 MB / 330.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.723e-05/0.007274, allocations: 24.38 kB / 362.7 MB, free: 3.578 MB / 330.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002319/0.007506, allocations: 148.6 kB / 362.9 MB, free: 3.426 MB / 330.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.174e-05/0.007518, allocations: 192 / 362.9 MB, free: 3.426 MB / 330.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.783e-05/0.007536, allocations: 12.38 kB / 362.9 MB, free: 3.414 MB / 330.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.107e-05/0.007547, allocations: 12.31 kB / 362.9 MB, free: 3.402 MB / 330.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001186/0.007666, allocations: 67.38 kB / 362.9 MB, free: 3.34 MB / 330.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008619/0.008527, allocations: 0.5227 MB / 363.5 MB, free: 2.789 MB / 330.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002782/0.008806, allocations: 128.3 kB / 363.6 MB, free: 2.656 MB / 330.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002311/0.009037, allocations: 111.7 kB / 363.7 MB, free: 2.543 MB / 330.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.287e-05/0.00906, allocations: 4 kB / 363.7 MB, free: 2.539 MB / 330.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.909e-05/0.009089, allocations: 41.39 kB / 363.7 MB, free: 2.488 MB / 330.7 MB Notification: Performance of pre-optimization done (n=20): time 2.024e-06/0.009091, allocations: 0 / 363.7 MB, free: 2.488 MB / 330.7 MB Notification: Performance of matching and sorting (n=20): time 0.001284/0.01038, allocations: 440.3 kB / 364.2 MB, free: 2.043 MB / 330.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.37e-05/0.01041, allocations: 55.41 kB / 364.2 MB, free: 1.977 MB / 330.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001132/0.01052, allocations: 188.1 kB / 364.4 MB, free: 1.777 MB / 330.7 MB Notification: Performance of collectPreVariables (initialization): time 1.708e-05/0.01054, allocations: 33.7 kB / 364.4 MB, free: 1.738 MB / 330.7 MB Notification: Performance of collectInitialEqns (initialization): time 9.294e-05/0.01063, allocations: 198.9 kB / 364.6 MB, free: 1.539 MB / 330.7 MB Notification: Performance of collectInitialBindings (initialization): time 4.652e-05/0.01068, allocations: 71.38 kB / 364.7 MB, free: 1.469 MB / 330.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003129/0.01099, allocations: 47.28 kB / 364.8 MB, free: 1.414 MB / 330.7 MB Notification: Performance of setup shared object (initialization): time 0.0001493/0.01114, allocations: 0.4962 MB / 365.3 MB, free: 0.9062 MB / 330.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 4.567e-05/0.01119, allocations: 23.98 kB / 365.3 MB, free: 0.8828 MB / 330.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 7.075e-05/0.01126, allocations: 66.7 kB / 365.3 MB, free: 0.8008 MB / 330.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001375/0.01139, allocations: 109.4 kB / 365.4 MB, free: 0.6797 MB / 330.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.314e-06/0.0114, allocations: 0 / 365.4 MB, free: 0.6797 MB / 330.7 MB Notification: Performance of matching and sorting (n=25) (initialization): time 0.0005078/0.0119, allocations: 264.5 kB / 365.7 MB, free: 416 kB / 330.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.787e-05/0.01192, allocations: 4 kB / 365.7 MB, free: 412 kB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.875e-06/0.01193, allocations: 4 kB / 365.7 MB, free: 408 kB / 330.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006503/0.01258, allocations: 215.2 kB / 365.9 MB, free: 184 kB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.216e-05/0.01266, allocations: 23.98 kB / 365.9 MB, free: 160 kB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003615/0.01628, allocations: 4.401 MB / 370.3 MB, free: 11.52 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.891e-05/0.01635, allocations: 11.89 kB / 370.4 MB, free: 11.51 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.09e-05/0.01636, allocations: 8 kB / 370.4 MB, free: 11.5 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.0001171/0.01647, allocations: 176.4 kB / 370.5 MB, free: 11.32 MB / 346.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.248e-05/0.01652, allocations: 23.91 kB / 370.6 MB, free: 11.3 MB / 346.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004586/0.01698, allocations: 244.2 kB / 370.8 MB, free: 11.05 MB / 346.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.388e-06/0.01698, allocations: 4 kB / 370.8 MB, free: 11.04 MB / 346.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.123e-06/0.01698, allocations: 0 / 370.8 MB, free: 11.04 MB / 346.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.99e-06/0.01699, allocations: 3.984 kB / 370.8 MB, free: 11.04 MB / 346.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002209/0.01721, allocations: 157.1 kB / 371 MB, free: 10.86 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.045e-06/0.01721, allocations: 64 / 371 MB, free: 10.86 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.332e-05/0.01726, allocations: 12 kB / 371 MB, free: 10.85 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0005632/0.01783, allocations: 223.5 kB / 371.2 MB, free: 10.62 MB / 346.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.1e-05/0.01784, allocations: 3.938 kB / 371.2 MB, free: 10.62 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003257/0.02109, allocations: 4.366 MB / 375.6 MB, free: 6.031 MB / 346.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.353e-06/0.0211, allocations: 0 / 375.6 MB, free: 6.031 MB / 346.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004863/0.02158, allocations: 386.8 kB / 375.9 MB, free: 5.625 MB / 346.7 MB Notification: Performance of postOpt removeConstants (simulation): time 2.056e-05/0.0216, allocations: 19.83 kB / 376 MB, free: 5.605 MB / 346.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.352e-05/0.02162, allocations: 4 kB / 376 MB, free: 5.602 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.137e-05/0.02169, allocations: 4 kB / 376 MB, free: 5.598 MB / 346.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.438e-05/0.02172, allocations: 19.97 kB / 376 MB, free: 5.578 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.514e-06/0.02173, allocations: 4 kB / 376 MB, free: 5.574 MB / 346.7 MB Notification: Performance of sorting global known variables: time 5.978e-05/0.02179, allocations: 139.1 kB / 376.1 MB, free: 5.438 MB / 346.7 MB Notification: Performance of sort global known variables: time 9e-08/0.02179, allocations: 3.938 kB / 376.1 MB, free: 5.434 MB / 346.7 MB Notification: Performance of remove unused functions: time 0.0005955/0.02239, allocations: 71.89 kB / 376.2 MB, free: 5.363 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.0001285/0.02251, allocations: 103.2 kB / 376.3 MB, free: 5.25 MB / 346.7 MB Notification: Performance of simCode: created initialization part: time 0.0005769/0.02309, allocations: 499.1 kB / 376.8 MB, free: 4.723 MB / 346.7 MB Notification: Performance of simCode: created event and clocks part: time 7.394e-06/0.0231, allocations: 0 / 376.8 MB, free: 4.723 MB / 346.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0003947/0.02349, allocations: 457.8 kB / 377.2 MB, free: 4.238 MB / 346.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003122/0.0238, allocations: 20.25 kB / 377.3 MB, free: 4.219 MB / 346.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001194/0.025, allocations: 445.8 kB / 377.7 MB, free: 3.758 MB / 346.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 8.791e-05/0.02509, allocations: 83.92 kB / 377.8 MB, free: 3.652 MB / 346.7 MB Notification: Performance of simCode: alias equations: time 4.122e-05/0.02513, allocations: 9.484 kB / 377.8 MB, free: 3.641 MB / 346.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.243e-05/0.0252, allocations: 82.2 kB / 377.9 MB, free: 3.559 MB / 346.7 MB Notification: Performance of SimCode: time 7.81e-07/0.0252, allocations: 0 / 377.9 MB, free: 3.559 MB / 346.7 MB Notification: Performance of Templates: time 0.007516/0.03272, allocations: 2.927 MB / 380.8 MB, free: 0.6641 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: 3.039304038975388]