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.001337/0.001337, allocations: 75.88 kB / 19.96 MB, free: 1.746 MB / 14.72 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.002212/0.002212, allocations: 170.3 kB / 23.24 MB, free: 4.859 MB / 14.72 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.571/1.571, allocations: 177.1 MB / 203.5 MB, free: 9.152 MB / 190.1 MB " [Timeout remaining time 178] 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.1044/0.1044, allocations: 18.14 MB / 278.1 MB, free: 15.04 MB / 270.1 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.814e-06/1.814e-06, allocations: 0 / 415.6 MB, free: 2.562 MB / 334.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 3.509e-05/3.69e-05, allocations: 10.22 kB / 415.6 MB, free: 2.551 MB / 334.1 MB Notification: Performance of NFInst.instantiate(AES.Coursework.ThermSys_component_models.HeatPump_case_001): time 0.003196/0.003233, allocations: 1.678 MB / 417.3 MB, free: 0.8594 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.0002778/0.003511, allocations: 59.75 kB / 417.3 MB, free: 0.8008 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.904e-05/0.00357, allocations: 0 / 417.3 MB, free: 0.8008 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 5.943e-05/0.003629, allocations: 11.92 kB / 417.3 MB, free: 0.7891 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001661/0.003795, allocations: 23.78 kB / 417.3 MB, free: 0.7656 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 6.187e-05/0.003857, allocations: 15.98 kB / 417.4 MB, free: 0.75 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.000141/0.003998, allocations: 83.58 kB / 417.4 MB, free: 0.668 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001693/0.004167, allocations: 20.22 kB / 417.5 MB, free: 0.6445 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 4.952e-05/0.004217, allocations: 27.97 kB / 417.5 MB, free: 0.6172 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001117/0.004329, allocations: 27.91 kB / 417.5 MB, free: 0.5898 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 3.604e-05/0.004365, allocations: 8 kB / 417.5 MB, free: 0.582 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 1.883e-05/0.004383, allocations: 8 kB / 417.5 MB, free: 0.5742 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 2.805e-05/0.004412, allocations: 19.88 kB / 417.6 MB, free: 0.5547 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 4.813e-05/0.00446, allocations: 27.91 kB / 417.6 MB, free: 0.5273 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001591/0.004619, allocations: 87.69 kB / 417.7 MB, free: 452 kB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.126e-06/0.004622, allocations: 0 / 417.7 MB, free: 452 kB / 334.1 MB Notification: Performance of FrontEnd: time 5.31e-07/0.004622, allocations: 0 / 417.7 MB, free: 452 kB / 334.1 MB Notification: Performance of Transformations before backend: time 5.12e-06/0.004628, allocations: 3.938 kB / 417.7 MB, free: 448 kB / 334.1 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.0005136/0.005141, allocations: 294.3 kB / 418 MB, free: 120 kB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.552e-05/0.005187, allocations: 12.92 kB / 418 MB, free: 108 kB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.402e-05/0.005231, allocations: 8.891 kB / 418 MB, free: 100 kB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001575/0.005388, allocations: 121.7 kB / 418.1 MB, free: 15.95 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.744e-05/0.005406, allocations: 8.5 kB / 418.1 MB, free: 15.95 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.345e-05/0.005429, allocations: 12.38 kB / 418.1 MB, free: 15.93 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002121/0.005641, allocations: 90.72 kB / 418.2 MB, free: 15.84 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.293e-05/0.005654, allocations: 0 / 418.2 MB, free: 15.84 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.676e-05/0.005671, allocations: 4 kB / 418.2 MB, free: 15.84 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.092e-06/0.005677, allocations: 4 kB / 418.2 MB, free: 15.83 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001075/0.005784, allocations: 47.98 kB / 418.3 MB, free: 15.79 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006193/0.006404, allocations: 296.3 kB / 418.6 MB, free: 15.46 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001331/0.006537, allocations: 54.56 kB / 418.6 MB, free: 15.4 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.873e-05/0.006586, allocations: 24.86 kB / 418.6 MB, free: 15.38 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.402e-05/0.00661, allocations: 0 / 418.6 MB, free: 15.38 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.707e-05/0.006637, allocations: 30.56 kB / 418.7 MB, free: 15.34 MB / 350.1 MB Notification: Performance of pre-optimization done (n=6): time 1.162e-06/0.006638, allocations: 0 / 418.7 MB, free: 15.34 MB / 350.1 MB Notification: Performance of matching and sorting (n=6): time 0.0002342/0.006872, allocations: 77.69 kB / 418.7 MB, free: 15.25 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.723e-05/0.006919, allocations: 51.41 kB / 418.8 MB, free: 15.19 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001104/0.00703, allocations: 105.8 kB / 418.9 MB, free: 15.08 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 2.386e-05/0.007054, allocations: 29.7 kB / 418.9 MB, free: 15.04 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 8.742e-05/0.007141, allocations: 108.2 kB / 419 MB, free: 14.93 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.38e-05/0.007165, allocations: 27.78 kB / 419.1 MB, free: 14.91 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.31e-05/0.007208, allocations: 21.72 kB / 419.1 MB, free: 14.88 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.000157/0.007365, allocations: 322.7 kB / 419.4 MB, free: 14.55 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 3.621e-05/0.007401, allocations: 19.92 kB / 419.4 MB, free: 14.54 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 4.88e-05/0.00745, allocations: 35.08 kB / 419.4 MB, free: 14.49 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 9.245e-05/0.007542, allocations: 54.52 kB / 419.5 MB, free: 14.43 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.513e-06/0.007544, allocations: 0 / 419.5 MB, free: 14.43 MB / 350.1 MB Notification: Performance of matching and sorting (n=9) (initialization): time 0.0001409/0.007685, allocations: 85.58 kB / 419.6 MB, free: 14.34 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.423e-05/0.007699, allocations: 8.062 kB / 419.6 MB, free: 14.33 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.158e-06/0.007708, allocations: 8 kB / 419.6 MB, free: 14.32 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.475e-05/0.007723, allocations: 0 / 419.6 MB, free: 14.32 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001308/0.007854, allocations: 19.98 kB / 419.6 MB, free: 14.3 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.971e-06/0.00786, allocations: 0 / 419.6 MB, free: 14.3 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.606e-05/0.007896, allocations: 192 / 419.6 MB, free: 14.3 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.646e-06/0.007904, allocations: 4 kB / 419.6 MB, free: 14.3 MB / 350.1 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 0.0001039/0.008008, allocations: 121.7 kB / 419.7 MB, free: 14.17 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.941e-05/0.008038, allocations: 7.953 kB / 419.7 MB, free: 14.16 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001784/0.008216, allocations: 82.03 kB / 419.8 MB, free: 14.08 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.198e-06/0.00822, allocations: 8 kB / 419.8 MB, free: 14.07 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.789e-06/0.008225, allocations: 0 / 419.8 MB, free: 14.07 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.196e-06/0.008228, allocations: 0 / 419.8 MB, free: 14.07 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001695/0.008398, allocations: 133.2 kB / 420 MB, free: 13.91 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.203e-06/0.008399, allocations: 0 / 420 MB, free: 13.91 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.888e-05/0.008468, allocations: 12 kB / 420 MB, free: 13.9 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.874e-06/0.00847, allocations: 0 / 420 MB, free: 13.9 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.547e-06/0.008479, allocations: 4 kB / 420 MB, free: 13.89 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.292e-06/0.00848, allocations: 0 / 420 MB, free: 13.89 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.11e-07/0.008481, allocations: 0 / 420 MB, free: 13.89 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001669/0.008648, allocations: 179.4 kB / 420.2 MB, free: 13.7 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 1.132e-05/0.008659, allocations: 8 kB / 420.2 MB, free: 13.7 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.41e-05/0.008673, allocations: 0 / 420.2 MB, free: 13.7 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.234e-05/0.008736, allocations: 4 kB / 420.2 MB, free: 13.69 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.346e-05/0.008759, allocations: 4 kB / 420.2 MB, free: 13.69 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.801e-06/0.008765, allocations: 3.984 kB / 420.2 MB, free: 13.68 MB / 350.1 MB Notification: Performance of sorting global known variables: time 4.74e-05/0.008812, allocations: 83.28 kB / 420.3 MB, free: 13.6 MB / 350.1 MB Notification: Performance of sort global known variables: time 9e-08/0.008813, allocations: 4 kB / 420.3 MB, free: 13.6 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0002395/0.009052, allocations: 15.95 kB / 420.3 MB, free: 13.58 MB / 350.1 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.000111/0.009163, allocations: 95.19 kB / 420.4 MB, free: 13.48 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.0001229/0.009286, allocations: 51.86 kB / 420.4 MB, free: 13.43 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 7.143e-06/0.009293, allocations: 0 / 420.4 MB, free: 13.43 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 3.539e-05/0.009328, allocations: 19.98 kB / 420.4 MB, free: 13.41 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002651/0.009594, allocations: 17.45 kB / 420.5 MB, free: 13.4 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004299/0.01002, allocations: 161.3 kB / 420.6 MB, free: 13.21 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 8e-05/0.0101, allocations: 75.33 kB / 420.7 MB, free: 13.12 MB / 350.1 MB Notification: Performance of simCode: alias equations: time 3.703e-05/0.01014, allocations: 8.125 kB / 420.7 MB, free: 13.11 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.655e-05/0.01018, allocations: 16.48 kB / 420.7 MB, free: 13.1 MB / 350.1 MB Notification: Performance of SimCode: time 4.01e-07/0.01018, allocations: 0 / 420.7 MB, free: 13.1 MB / 350.1 MB Notification: Performance of Templates: time 0.003222/0.0134, allocations: 447.8 kB / 421.1 MB, free: 12.66 MB / 350.1 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=480 -lv LOG_STATS > AES_AES.Coursework.ThermSys_component_models.HeatPump_case_001.pipe 2>&1) [Timeout 480] [Calling sys.exit(0), Time elapsed: 4.530494458973408] Failed to read output from testmodel.py, exit status != 0: 0.02281896397471428 0.037512460000000004 0.029739601 Calling exit ...