Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr AES_AES.Coursework.ThermSys_component_models.HeatPump_case_001.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.0009236/0.0009236, allocations: 87.58 kB / 20.45 MB, free: 4.121 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.000995/0.000995, allocations: 169 kB / 23.82 MB, free: 0.75 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 1.001/1.001, allocations: 177.1 MB / 204.2 MB, free: 5.211 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.09579/0.09579, allocations: 18.13 MB / 278.9 MB, free: 11.13 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_001,tolerance=1e-06,outputFormat="empty",numberOfIntervals=10000,variableFilter="",fileNamePrefix="AES_AES.Coursework.ThermSys_component_models.HeatPump_case_001") translateModel(AES.Coursework.ThermSys_component_models.HeatPump_case_001,tolerance=1e-06,outputFormat="empty",numberOfIntervals=10000,variableFilter="",fileNamePrefix="AES_AES.Coursework.ThermSys_component_models.HeatPump_case_001") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 2.886e-06/2.886e-06, allocations: 3.938 kB / 357.3 MB, free: 7.773 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 3.151e-05/3.44e-05, allocations: 5.266 kB / 357.3 MB, free: 7.77 MB / 282.7 MB Notification: Performance of NFInst.instantiate(AES.Coursework.ThermSys_component_models.HeatPump_case_001): time 0.003282/0.003316, allocations: 1.747 MB / 359 MB, free: 6.008 MB / 282.7 MB Notification: Performance of NFInst.instExpressions: time 0.000295/0.003611, allocations: 55.8 kB / 359.1 MB, free: 5.953 MB / 282.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.392e-05/0.003665, allocations: 0 / 359.1 MB, free: 5.953 MB / 282.7 MB Notification: Performance of NFTyping.typeComponents: time 5.647e-05/0.003722, allocations: 15.86 kB / 359.1 MB, free: 5.938 MB / 282.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0002847/0.004006, allocations: 23.78 kB / 359.1 MB, free: 5.914 MB / 282.7 MB Notification: Performance of NFTyping.typeClassSections: time 7.716e-05/0.004083, allocations: 23.97 kB / 359.2 MB, free: 5.891 MB / 282.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001268/0.00421, allocations: 75.66 kB / 359.2 MB, free: 5.816 MB / 282.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001426/0.004353, allocations: 20.22 kB / 359.3 MB, free: 5.793 MB / 282.7 MB Notification: Performance of NFEvalConstants.evaluate: time 4.707e-05/0.0044, allocations: 35.91 kB / 359.3 MB, free: 5.758 MB / 282.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001145/0.004514, allocations: 19.92 kB / 359.3 MB, free: 5.738 MB / 282.7 MB Notification: Performance of NFPackage.collectConstants: time 3.132e-05/0.004546, allocations: 8 kB / 359.3 MB, free: 5.73 MB / 282.7 MB Notification: Performance of NFFlatten.collectFunctions: time 1.704e-05/0.004563, allocations: 8 kB / 359.3 MB, free: 5.723 MB / 282.7 MB Notification: Performance of NFScalarize.scalarize: time 2.451e-05/0.004587, allocations: 15.91 kB / 359.3 MB, free: 5.707 MB / 282.7 MB Notification: Performance of NFVerifyModel.verify: time 4.415e-05/0.004631, allocations: 35.92 kB / 359.4 MB, free: 5.672 MB / 282.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001378/0.004769, allocations: 47.83 kB / 359.4 MB, free: 5.625 MB / 282.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.548e-06/0.004774, allocations: 7.922 kB / 359.4 MB, free: 5.617 MB / 282.7 MB Notification: Performance of FrontEnd: time 8.72e-07/0.004775, allocations: 0 / 359.4 MB, free: 5.617 MB / 282.7 MB Notification: Performance of Transformations before backend: time 6.332e-06/0.004781, allocations: 0 / 359.4 MB, free: 5.617 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: 22 * Number of variables: 22 Notification: Performance of Generate backend data structure: time 0.000491/0.005272, allocations: 404.6 kB / 359.8 MB, free: 5.184 MB / 282.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.533e-05/0.005327, allocations: 8.922 kB / 359.8 MB, free: 5.176 MB / 282.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.414e-05/0.005391, allocations: 16.89 kB / 359.9 MB, free: 5.16 MB / 282.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001193/0.005511, allocations: 120.5 kB / 360 MB, free: 5.016 MB / 282.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.553e-05/0.005526, allocations: 4.562 kB / 360 MB, free: 5.012 MB / 282.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.57e-05/0.005542, allocations: 12.38 kB / 360 MB, free: 5 MB / 282.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001558/0.005698, allocations: 82.66 kB / 360.1 MB, free: 4.914 MB / 282.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.678e-06/0.005707, allocations: 0 / 360.1 MB, free: 4.914 MB / 282.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.375e-05/0.005721, allocations: 8 kB / 360.1 MB, free: 4.906 MB / 282.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.416e-06/0.00573, allocations: 0 / 360.1 MB, free: 4.906 MB / 282.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.758e-05/0.005807, allocations: 38.03 kB / 360.1 MB, free: 4.871 MB / 282.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005893/0.006396, allocations: 343.6 kB / 360.5 MB, free: 4.5 MB / 282.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001064/0.006503, allocations: 51.05 kB / 360.5 MB, free: 4.438 MB / 282.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.173e-05/0.006545, allocations: 23.78 kB / 360.5 MB, free: 4.41 MB / 282.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.047e-05/0.006565, allocations: 4 kB / 360.5 MB, free: 4.406 MB / 282.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.539e-05/0.00659, allocations: 41.33 kB / 360.6 MB, free: 4.355 MB / 282.7 MB Notification: Performance of pre-optimization done (n=6): time 1.503e-06/0.006592, allocations: 0 / 360.6 MB, free: 4.355 MB / 282.7 MB Notification: Performance of matching and sorting (n=6): time 0.0001919/0.006784, allocations: 65.64 kB / 360.6 MB, free: 4.285 MB / 282.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.74e-05/0.006821, allocations: 51.41 kB / 360.7 MB, free: 4.223 MB / 282.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001024/0.006924, allocations: 165.9 kB / 360.8 MB, free: 4.043 MB / 282.7 MB Notification: Performance of collectPreVariables (initialization): time 1.307e-05/0.006937, allocations: 25.7 kB / 360.9 MB, free: 4.012 MB / 282.7 MB Notification: Performance of collectInitialEqns (initialization): time 7.726e-05/0.007014, allocations: 154.9 kB / 361 MB, free: 3.855 MB / 282.7 MB Notification: Performance of collectInitialBindings (initialization): time 1.826e-05/0.007032, allocations: 23.8 kB / 361 MB, free: 3.832 MB / 282.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.246e-05/0.007075, allocations: 27.38 kB / 361.1 MB, free: 3.797 MB / 282.7 MB Notification: Performance of setup shared object (initialization): time 0.0001375/0.007212, allocations: 0.4922 MB / 361.6 MB, free: 3.293 MB / 282.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 3.093e-05/0.007243, allocations: 12 kB / 361.6 MB, free: 3.281 MB / 282.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 4.654e-05/0.00729, allocations: 38.98 kB / 361.6 MB, free: 3.23 MB / 282.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 7.431e-05/0.007364, allocations: 47.06 kB / 361.7 MB, free: 3.172 MB / 282.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.863e-06/0.007366, allocations: 0 / 361.7 MB, free: 3.172 MB / 282.7 MB Notification: Performance of matching and sorting (n=9) (initialization): time 0.0001338/0.0075, allocations: 97.47 kB / 361.8 MB, free: 3.07 MB / 282.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.541e-05/0.007515, allocations: 4 kB / 361.8 MB, free: 3.066 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.601e-06/0.007521, allocations: 0 / 361.8 MB, free: 3.066 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.567e-05/0.007536, allocations: 12 kB / 361.8 MB, free: 3.055 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001105/0.007647, allocations: 12.5 kB / 361.8 MB, free: 3.043 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.033e-05/0.007657, allocations: 7.984 kB / 361.8 MB, free: 3.035 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.199e-05/0.007689, allocations: 0 / 361.8 MB, free: 3.035 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.977e-06/0.007698, allocations: 8 kB / 361.8 MB, free: 3.027 MB / 282.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 3 * 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 (9): * 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: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 8.538e-05/0.007783, allocations: 164.5 kB / 362 MB, free: 2.855 MB / 282.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.306e-05/0.007836, allocations: 7.953 kB / 362 MB, free: 2.848 MB / 282.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001687/0.008005, allocations: 74.05 kB / 362 MB, free: 2.77 MB / 282.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.737e-06/0.008009, allocations: 4 kB / 362 MB, free: 2.766 MB / 282.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.677e-06/0.008013, allocations: 0 / 362 MB, free: 2.766 MB / 282.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.106e-06/0.008016, allocations: 4 kB / 362 MB, free: 2.762 MB / 282.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001219/0.008138, allocations: 136.5 kB / 362.2 MB, free: 2.594 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.074e-06/0.00814, allocations: 0 / 362.2 MB, free: 2.594 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.108e-05/0.008211, allocations: 15.98 kB / 362.2 MB, free: 2.578 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.186e-06/0.008214, allocations: 0 / 362.2 MB, free: 2.578 MB / 282.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.855e-06/0.008222, allocations: 0 / 362.2 MB, free: 2.578 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.773e-06/0.008224, allocations: 0 / 362.2 MB, free: 2.578 MB / 282.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.435e-06/0.008226, allocations: 0 / 362.2 MB, free: 2.578 MB / 282.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000134/0.00836, allocations: 223.9 kB / 362.4 MB, free: 2.34 MB / 282.7 MB Notification: Performance of postOpt removeConstants (simulation): time 1.201e-05/0.008372, allocations: 0 / 362.4 MB, free: 2.34 MB / 282.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.538e-05/0.008387, allocations: 4 kB / 362.4 MB, free: 2.336 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.269e-05/0.00842, allocations: 4 kB / 362.4 MB, free: 2.332 MB / 282.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.098e-05/0.008441, allocations: 7.984 kB / 362.4 MB, free: 2.324 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.791e-06/0.008447, allocations: 0 / 362.4 MB, free: 2.324 MB / 282.7 MB Notification: Performance of sorting global known variables: time 4.816e-05/0.008495, allocations: 135.2 kB / 362.6 MB, free: 2.191 MB / 282.7 MB Notification: Performance of sort global known variables: time 5e-08/0.008495, allocations: 0 / 362.6 MB, free: 2.191 MB / 282.7 MB Notification: Performance of remove unused functions: time 0.0001558/0.008651, allocations: 19.89 kB / 362.6 MB, free: 2.172 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 (7): * Single equations (assignments): 7 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.00011/0.008761, allocations: 91.25 kB / 362.7 MB, free: 2.074 MB / 282.7 MB Notification: Performance of simCode: created initialization part: time 0.0001117/0.008873, allocations: 43.61 kB / 362.7 MB, free: 2.027 MB / 282.7 MB Notification: Performance of simCode: created event and clocks part: time 1.503e-06/0.008874, allocations: 128 / 362.7 MB, free: 2.027 MB / 282.7 MB Notification: Performance of simCode: created simulation system equations: time 2.685e-05/0.008901, allocations: 31.67 kB / 362.7 MB, free: 1.992 MB / 282.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002054/0.009106, allocations: 9.906 kB / 362.8 MB, free: 1.984 MB / 282.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005169/0.009623, allocations: 182.4 kB / 362.9 MB, free: 1.777 MB / 282.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.645e-05/0.00966, allocations: 59.34 kB / 363 MB, free: 1.699 MB / 282.7 MB Notification: Performance of simCode: alias equations: time 3.079e-05/0.00969, allocations: 8 kB / 363 MB, free: 1.691 MB / 282.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.654e-05/0.009717, allocations: 12.5 kB / 363 MB, free: 1.68 MB / 282.7 MB Notification: Performance of SimCode: time 9.62e-07/0.009718, allocations: 3.938 kB / 363 MB, free: 1.676 MB / 282.7 MB Notification: Performance of Templates: time 0.002311/0.01203, allocations: 488.2 kB / 363.5 MB, free: 1.207 MB / 282.7 MB " [Timeout remaining time 660] make -j1 -f AES_AES.Coursework.ThermSys_component_models.HeatPump_case_001.makefile [Timeout 660] (rm -f AES_AES.Coursework.ThermSys_component_models.HeatPump_case_001.pipe ; mkfifo AES_AES.Coursework.ThermSys_component_models.HeatPump_case_001.pipe ; head -c 1048576 < AES_AES.Coursework.ThermSys_component_models.HeatPump_case_001.pipe >> ../files/AES_AES.Coursework.ThermSys_component_models.HeatPump_case_001.sim & ./AES_AES.Coursework.ThermSys_component_models.HeatPump_case_001 -lv=LOG_STATS -s=dassl -abortSlowSimulation -alarm=240 -lv LOG_STATS > AES_AES.Coursework.ThermSys_component_models.HeatPump_case_001.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 2.748767490964383]