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.0007134/0.0007134, allocations: 72.19 kB / 9.903 MB, free: 0.7852 MB / 10.45 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.0008983/0.001612, allocations: 435.8 kB / 10.33 MB, free: 368 kB / 10.45 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.0006856/0.0006856, allocations: 161.1 kB / 11.23 MB, free: 2.941 MB / 13.93 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.000818/0.001504, allocations: 463.6 kB / 11.68 MB, free: 2.484 MB / 13.93 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.9137/0.9137, allocations: 177.2 MB / 189.6 MB, free: 5.32 MB / 186.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.08027/0.994, allocations: 53.66 MB / 243.2 MB, free: 15.59 MB / 250.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.06258/0.06258, allocations: 18.12 MB / 262.1 MB, free: 13.14 MB / 266.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.009902/0.07248, allocations: 6.777 MB / 268.9 MB, free: 6.355 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 1.372e-06/1.372e-06, allocations: 0 / 270.3 MB, free: 4.902 MB / 266.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.98e-05/2.117e-05, allocations: 2.312 kB / 270.3 MB, free: 4.898 MB / 266.7 MB Notification: Performance of NFInst.instantiate(AES.Coursework.ThermSys_component_models.HeatPump_case_001): time 0.002873/0.002895, allocations: 1.778 MB / 272.1 MB, free: 3.102 MB / 266.7 MB Notification: Performance of NFInst.instExpressions: time 0.0001542/0.003049, allocations: 67.67 kB / 272.2 MB, free: 3.035 MB / 266.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 4.121e-05/0.00309, allocations: 0 / 272.2 MB, free: 3.035 MB / 266.7 MB Notification: Performance of NFTyping.typeComponents: time 4.448e-05/0.003135, allocations: 11.92 kB / 272.2 MB, free: 3.023 MB / 266.7 MB Notification: Performance of NFTyping.typeBindings: time 7.178e-05/0.003206, allocations: 27.77 kB / 272.2 MB, free: 2.996 MB / 266.7 MB Notification: Performance of NFTyping.typeClassSections: time 4.939e-05/0.003256, allocations: 19.98 kB / 272.2 MB, free: 2.977 MB / 266.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001125/0.003368, allocations: 83.53 kB / 272.3 MB, free: 2.895 MB / 266.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001121/0.00348, allocations: 32.19 kB / 272.3 MB, free: 2.859 MB / 266.7 MB Notification: Performance of NFEvalConstants.evaluate: time 7.991e-05/0.00356, allocations: 47.91 kB / 272.4 MB, free: 2.812 MB / 266.7 MB Notification: Performance of NFSimplifyModel.simplify: time 9.936e-05/0.00366, allocations: 31.89 kB / 272.4 MB, free: 2.781 MB / 266.7 MB Notification: Performance of NFPackage.collectConstants: time 2.354e-05/0.003683, allocations: 4 kB / 272.4 MB, free: 2.777 MB / 266.7 MB Notification: Performance of NFFlatten.collectFunctions: time 1.564e-05/0.003699, allocations: 8 kB / 272.4 MB, free: 2.77 MB / 266.7 MB Notification: Performance of NFScalarize.scalarize: time 2.783e-05/0.003727, allocations: 11.94 kB / 272.4 MB, free: 2.758 MB / 266.7 MB Notification: Performance of NFVerifyModel.verify: time 3.709e-05/0.003764, allocations: 20 kB / 272.4 MB, free: 2.738 MB / 266.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001166/0.00388, allocations: 47.84 kB / 272.5 MB, free: 2.691 MB / 266.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.313e-05/0.003893, allocations: 0 / 272.5 MB, free: 2.691 MB / 266.7 MB Notification: Performance of FrontEnd: time 5.91e-07/0.003894, allocations: 0 / 272.5 MB, free: 2.691 MB / 266.7 MB Notification: Performance of Transformations before backend: time 1.386e-05/0.003908, allocations: 0 / 272.5 MB, free: 2.691 MB / 266.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.000406/0.004314, allocations: 296.5 kB / 272.8 MB, free: 2.375 MB / 266.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.097e-05/0.004345, allocations: 8.031 kB / 272.8 MB, free: 2.367 MB / 266.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.92e-05/0.004384, allocations: 16.86 kB / 272.8 MB, free: 2.352 MB / 266.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 9.744e-05/0.004481, allocations: 117.7 kB / 272.9 MB, free: 2.211 MB / 266.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.456e-05/0.004496, allocations: 8.562 kB / 272.9 MB, free: 2.203 MB / 266.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.605e-05/0.004512, allocations: 12.38 kB / 272.9 MB, free: 2.191 MB / 266.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001152/0.004627, allocations: 77.72 kB / 273 MB, free: 2.113 MB / 266.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.548e-06/0.004637, allocations: 3.984 kB / 273 MB, free: 2.109 MB / 266.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.514e-06/0.004644, allocations: 0 / 273 MB, free: 2.109 MB / 266.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.514e-06/0.004652, allocations: 4 kB / 273 MB, free: 2.105 MB / 266.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.016e-05/0.004702, allocations: 20 kB / 273 MB, free: 2.086 MB / 266.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004267/0.005129, allocations: 240 kB / 273.3 MB, free: 1.836 MB / 266.7 MB Notification: Performance of preOpt comSubExp (simulation): time 7.946e-05/0.005208, allocations: 38.5 kB / 273.3 MB, free: 1.789 MB / 266.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 2.563e-05/0.005234, allocations: 12.84 kB / 273.3 MB, free: 1.773 MB / 266.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.103e-05/0.005255, allocations: 4 kB / 273.3 MB, free: 1.77 MB / 266.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.517e-05/0.00528, allocations: 38.56 kB / 273.4 MB, free: 1.723 MB / 266.7 MB Notification: Performance of pre-optimization done (n=6): time 1.493e-06/0.005281, allocations: 0 / 273.4 MB, free: 1.723 MB / 266.7 MB Notification: Performance of matching and sorting (n=6): time 0.0001385/0.00542, allocations: 53.67 kB / 273.4 MB, free: 1.664 MB / 266.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.669e-05/0.005457, allocations: 55.34 kB / 273.5 MB, free: 1.598 MB / 266.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.727e-05/0.005524, allocations: 106.7 kB / 273.6 MB, free: 1.48 MB / 266.7 MB Notification: Performance of collectPreVariables (initialization): time 1.309e-05/0.005537, allocations: 29.7 kB / 273.6 MB, free: 1.445 MB / 266.7 MB Notification: Performance of collectInitialEqns (initialization): time 5.111e-05/0.005588, allocations: 108.1 kB / 273.7 MB, free: 1.336 MB / 266.7 MB Notification: Performance of collectInitialBindings (initialization): time 1.859e-05/0.005607, allocations: 27.78 kB / 273.7 MB, free: 1.309 MB / 266.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.649e-05/0.005643, allocations: 17.72 kB / 273.8 MB, free: 1.285 MB / 266.7 MB Notification: Performance of setup shared object (initialization): time 9.029e-05/0.005733, allocations: 322.8 kB / 274.1 MB, free: 0.9609 MB / 266.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.773e-05/0.005751, allocations: 8 kB / 274.1 MB, free: 0.9531 MB / 266.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 3.045e-05/0.005782, allocations: 30.5 kB / 274.1 MB, free: 0.9141 MB / 266.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 5.882e-05/0.00584, allocations: 46.42 kB / 274.2 MB, free: 0.8594 MB / 266.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.004e-06/0.005842, allocations: 0 / 274.2 MB, free: 0.8594 MB / 266.7 MB Notification: Performance of matching and sorting (n=9) (initialization): time 8.788e-05/0.00593, allocations: 65.61 kB / 274.2 MB, free: 0.7891 MB / 266.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.68e-05/0.005947, allocations: 11.12 kB / 274.2 MB, free: 0.7812 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.488e-06/0.005952, allocations: 0 / 274.2 MB, free: 0.7812 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 9.828e-06/0.005961, allocations: 0 / 274.2 MB, free: 0.7812 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001316/0.006093, allocations: 20.05 kB / 274.3 MB, free: 0.7617 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.759e-06/0.006098, allocations: 8 kB / 274.3 MB, free: 0.7539 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.793e-05/0.006196, allocations: 4.453 kB / 274.3 MB, free: 0.75 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.249e-05/0.006208, allocations: 4 kB / 274.3 MB, free: 0.7461 MB / 266.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 7.679e-05/0.006285, allocations: 125.6 kB / 274.4 MB, free: 0.6133 MB / 266.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.04e-05/0.006305, allocations: 4 kB / 274.4 MB, free: 0.6094 MB / 266.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001221/0.006428, allocations: 62.09 kB / 274.5 MB, free: 0.5391 MB / 266.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.395e-06/0.00643, allocations: 0 / 274.5 MB, free: 0.5391 MB / 266.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.655e-06/0.006433, allocations: 4 kB / 274.5 MB, free: 0.5352 MB / 266.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.455e-06/0.006435, allocations: 0 / 274.5 MB, free: 0.5352 MB / 266.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001002/0.006535, allocations: 89.81 kB / 274.6 MB, free: 440 kB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.794e-06/0.006537, allocations: 0 / 274.6 MB, free: 440 kB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.686e-05/0.006614, allocations: 23.88 kB / 274.6 MB, free: 416 kB / 266.7 MB Notification: Performance of postOpt removeConstants (simulation): time 1.048e-05/0.006624, allocations: 7.938 kB / 274.6 MB, free: 408 kB / 266.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.326e-06/0.006628, allocations: 4 kB / 274.6 MB, free: 404 kB / 266.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.807e-06/0.006632, allocations: 0 / 274.6 MB, free: 404 kB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.923e-06/0.006633, allocations: 0 / 274.6 MB, free: 404 kB / 266.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.052e-06/0.006635, allocations: 0 / 274.6 MB, free: 404 kB / 266.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 8.01e-05/0.006715, allocations: 147.5 kB / 274.7 MB, free: 240 kB / 266.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.336e-06/0.006723, allocations: 4 kB / 274.7 MB, free: 236 kB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.393e-05/0.006787, allocations: 3.984 kB / 274.7 MB, free: 232 kB / 266.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.079e-05/0.006798, allocations: 8 kB / 274.7 MB, free: 224 kB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.434e-06/0.0068, allocations: 0 / 274.7 MB, free: 224 kB / 266.7 MB Notification: Performance of sorting global known variables: time 1.397e-05/0.006814, allocations: 12.84 kB / 274.8 MB, free: 208 kB / 266.7 MB Notification: Performance of sort global known variables: time 6e-08/0.006814, allocations: 0 / 274.8 MB, free: 208 kB / 266.7 MB Notification: Performance of remove unused functions: time 0.0001246/0.006939, allocations: 16 kB / 274.8 MB, free: 192 kB / 266.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 6.998e-05/0.007009, allocations: 80.36 kB / 274.9 MB, free: 104 kB / 266.7 MB Notification: Performance of simCode: created initialization part: time 6.432e-05/0.007073, allocations: 32.83 kB / 274.9 MB, free: 68 kB / 266.7 MB Notification: Performance of simCode: created event and clocks part: time 7.313e-06/0.00708, allocations: 0 / 274.9 MB, free: 68 kB / 266.7 MB Notification: Performance of simCode: created simulation system equations: time 1.48e-05/0.007095, allocations: 24.92 kB / 274.9 MB, free: 40 kB / 266.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001415/0.007237, allocations: 8 kB / 274.9 MB, free: 32 kB / 266.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.08921/0.09645, allocations: 177.7 kB / 275.1 MB, free: 3.844 MB / 266.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.446e-05/0.09648, allocations: 62.05 kB / 275.2 MB, free: 3.773 MB / 266.7 MB Notification: Performance of simCode: alias equations: time 3.821e-05/0.09652, allocations: 5.875 kB / 275.2 MB, free: 3.773 MB / 266.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.817e-05/0.09656, allocations: 55.62 kB / 275.2 MB, free: 3.73 MB / 266.7 MB Notification: Performance of SimCode: time 1.223e-06/0.09656, allocations: 0 / 275.2 MB, free: 3.73 MB / 266.7 MB Notification: Performance of Templates: time 0.002008/0.09857, allocations: 0.5084 MB / 275.7 MB, free: 3.723 MB / 266.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.362711828202009]