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.000794/0.000794, allocations: 75.59 kB / 20.8 MB, free: 3.715 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.0007756/0.0007756, allocations: 170 kB / 24.09 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 0.9062/0.9062, allocations: 177.1 MB / 204.4 MB, free: 5.684 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.06326/0.06326, allocations: 18.13 MB / 279 MB, free: 11.47 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.353e-06/1.353e-06, allocations: 0.5469 kB / 416.6 MB, free: 12.5 MB / 330.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.581e-05/2.716e-05, allocations: 3.656 kB / 416.6 MB, free: 12.5 MB / 330.7 MB Notification: Performance of NFInst.instantiate(AES.Coursework.ThermSys_component_models.HeatPump_case_001): time 0.00204/0.002068, allocations: 1.674 MB / 418.2 MB, free: 11.36 MB / 330.7 MB Notification: Performance of NFInst.instExpressions: time 0.000197/0.002265, allocations: 66.08 kB / 418.3 MB, free: 11.31 MB / 330.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.095e-05/0.002316, allocations: 5.781 kB / 418.3 MB, free: 11.31 MB / 330.7 MB Notification: Performance of NFTyping.typeComponents: time 4.528e-05/0.002361, allocations: 8.094 kB / 418.3 MB, free: 11.3 MB / 330.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0001385/0.002499, allocations: 26.38 kB / 418.3 MB, free: 11.29 MB / 330.7 MB Notification: Performance of NFTyping.typeClassSections: time 4.892e-05/0.002548, allocations: 13.84 kB / 418.4 MB, free: 11.28 MB / 330.7 MB Notification: Performance of NFFlatten.flatten: time 9.406e-05/0.002642, allocations: 81.77 kB / 418.4 MB, free: 11.24 MB / 330.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001218/0.002764, allocations: 25.72 kB / 418.5 MB, free: 11.22 MB / 330.7 MB Notification: Performance of NFEvalConstants.evaluate: time 3.865e-05/0.002803, allocations: 27.31 kB / 418.5 MB, free: 11.21 MB / 330.7 MB Notification: Performance of NFSimplifyModel.simplify: time 9.069e-05/0.002893, allocations: 29.72 kB / 418.5 MB, free: 11.2 MB / 330.7 MB Notification: Performance of NFPackage.collectConstants: time 2.159e-05/0.002915, allocations: 6.875 kB / 418.5 MB, free: 11.2 MB / 330.7 MB Notification: Performance of NFFlatten.collectFunctions: time 1.406e-05/0.002929, allocations: 6.875 kB / 418.5 MB, free: 11.2 MB / 330.7 MB Notification: Performance of NFScalarize.scalarize: time 2.093e-05/0.00295, allocations: 15.94 kB / 418.5 MB, free: 11.19 MB / 330.7 MB Notification: Performance of NFVerifyModel.verify: time 3.387e-05/0.002984, allocations: 28.69 kB / 418.6 MB, free: 11.18 MB / 330.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001196/0.003104, allocations: 84.16 kB / 418.7 MB, free: 11.14 MB / 330.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.505e-06/0.003106, allocations: 4 kB / 418.7 MB, free: 11.14 MB / 330.7 MB Notification: Performance of FrontEnd: time 1.503e-06/0.003108, allocations: 0 / 418.7 MB, free: 11.14 MB / 330.7 MB Notification: Performance of Transformations before backend: time 4.148e-06/0.003112, allocations: 1.375 kB / 418.7 MB, free: 11.14 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: 22 * Number of variables: 22 Notification: Performance of Generate backend data structure: time 0.0003246/0.003436, allocations: 292.9 kB / 418.9 MB, free: 10.85 MB / 330.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.734e-05/0.003474, allocations: 14.52 kB / 419 MB, free: 10.85 MB / 330.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.035e-05/0.003504, allocations: 10.39 kB / 419 MB, free: 10.84 MB / 330.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 6.286e-05/0.003567, allocations: 113.8 kB / 419.1 MB, free: 10.71 MB / 330.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.362e-05/0.00358, allocations: 12.62 kB / 419.1 MB, free: 10.7 MB / 330.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.594e-05/0.003596, allocations: 5.938 kB / 419.1 MB, free: 10.7 MB / 330.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001468/0.003743, allocations: 99.14 kB / 419.2 MB, free: 10.64 MB / 330.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.168e-06/0.003752, allocations: 0 / 419.2 MB, free: 10.64 MB / 330.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.185e-05/0.003764, allocations: 0.5 kB / 419.2 MB, free: 10.64 MB / 330.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.31e-06/0.00377, allocations: 2.469 kB / 419.2 MB, free: 10.64 MB / 330.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.56e-05/0.003845, allocations: 50.94 kB / 419.2 MB, free: 10.62 MB / 330.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003793/0.004224, allocations: 296.4 kB / 419.5 MB, free: 10.37 MB / 330.7 MB Notification: Performance of preOpt comSubExp (simulation): time 8.344e-05/0.004308, allocations: 52.39 kB / 419.6 MB, free: 10.34 MB / 330.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 3.009e-05/0.004338, allocations: 24.25 kB / 419.6 MB, free: 10.32 MB / 330.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.537e-05/0.004353, allocations: 1.188 kB / 419.6 MB, free: 10.32 MB / 330.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.406e-05/0.004367, allocations: 36.53 kB / 419.6 MB, free: 10.28 MB / 330.7 MB Notification: Performance of pre-optimization done (n=6): time 1.092e-06/0.004368, allocations: 0 / 419.6 MB, free: 10.28 MB / 330.7 MB Notification: Performance of matching and sorting (n=6): time 0.0001532/0.004522, allocations: 72.92 kB / 419.7 MB, free: 10.23 MB / 330.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.024e-05/0.004542, allocations: 54.28 kB / 419.8 MB, free: 10.17 MB / 330.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.064e-05/0.004593, allocations: 108.5 kB / 419.9 MB, free: 10.06 MB / 330.7 MB Notification: Performance of collectPreVariables (initialization): time 4.569e-06/0.004597, allocations: 31.08 kB / 419.9 MB, free: 10.03 MB / 330.7 MB Notification: Performance of collectInitialEqns (initialization): time 3.262e-05/0.00463, allocations: 108.2 kB / 420 MB, free: 9.926 MB / 330.7 MB Notification: Performance of collectInitialBindings (initialization): time 1.015e-05/0.00464, allocations: 24.7 kB / 420 MB, free: 9.906 MB / 330.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.579e-05/0.004666, allocations: 24.45 kB / 420.1 MB, free: 9.883 MB / 330.7 MB Notification: Performance of setup shared object (initialization): time 3.14e-05/0.004697, allocations: 318.6 kB / 420.4 MB, free: 9.566 MB / 330.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 2.327e-05/0.00472, allocations: 17.66 kB / 420.4 MB, free: 9.559 MB / 330.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 3.232e-05/0.004753, allocations: 36.09 kB / 420.4 MB, free: 9.527 MB / 330.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 5.181e-05/0.004804, allocations: 57.58 kB / 420.5 MB, free: 9.484 MB / 330.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.994e-06/0.004806, allocations: 0 / 420.5 MB, free: 9.484 MB / 330.7 MB Notification: Performance of matching and sorting (n=9) (initialization): time 8.128e-05/0.004888, allocations: 86.3 kB / 420.6 MB, free: 9.43 MB / 330.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.169e-05/0.004899, allocations: 8.781 kB / 420.6 MB, free: 9.426 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.061e-06/0.004906, allocations: 1.75 kB / 420.6 MB, free: 9.426 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.18e-05/0.004917, allocations: 1.188 kB / 420.6 MB, free: 9.426 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.84e-05/0.004996, allocations: 21.14 kB / 420.6 MB, free: 9.422 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.38e-06/0.005001, allocations: 1.406 kB / 420.6 MB, free: 9.422 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.099e-05/0.005022, allocations: 2.016 kB / 420.6 MB, free: 9.422 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.893e-06/0.005029, allocations: 6.625 kB / 420.6 MB, free: 9.418 MB / 330.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 4.207e-05/0.005071, allocations: 122.8 kB / 420.7 MB, free: 9.293 MB / 330.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.629e-05/0.005087, allocations: 11.55 kB / 420.7 MB, free: 9.285 MB / 330.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001201/0.005207, allocations: 83.45 kB / 420.8 MB, free: 9.227 MB / 330.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.764e-06/0.005209, allocations: 1.125 kB / 420.8 MB, free: 9.227 MB / 330.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.527e-06/0.005213, allocations: 0 / 420.8 MB, free: 9.227 MB / 330.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.727e-06/0.005216, allocations: 1.906 kB / 420.8 MB, free: 9.227 MB / 330.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 8.746e-05/0.005304, allocations: 128.2 kB / 420.9 MB, free: 9.09 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.92e-07/0.005305, allocations: 0 / 420.9 MB, free: 9.09 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.583e-05/0.005341, allocations: 13.42 kB / 421 MB, free: 9.09 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.014e-06/0.005343, allocations: 1.828 kB / 421 MB, free: 9.09 MB / 330.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.721e-06/0.005348, allocations: 0 / 421 MB, free: 9.09 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.393e-06/0.00535, allocations: 5.969 kB / 421 MB, free: 9.086 MB / 330.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.91e-07/0.00535, allocations: 0 / 421 MB, free: 9.086 MB / 330.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 7.744e-05/0.005428, allocations: 173.8 kB / 421.1 MB, free: 8.93 MB / 330.7 MB Notification: Performance of postOpt removeConstants (simulation): time 9.808e-06/0.005438, allocations: 11.5 kB / 421.1 MB, free: 8.922 MB / 330.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.002e-05/0.005448, allocations: 1.375 kB / 421.2 MB, free: 8.922 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.932e-05/0.005477, allocations: 0 / 421.2 MB, free: 8.922 MB / 330.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.655e-05/0.005493, allocations: 4.906 kB / 421.2 MB, free: 8.922 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.626e-06/0.005497, allocations: 1.828 kB / 421.2 MB, free: 8.922 MB / 330.7 MB Notification: Performance of sorting global known variables: time 2.011e-05/0.005517, allocations: 85.8 kB / 421.2 MB, free: 8.844 MB / 330.7 MB Notification: Performance of sort global known variables: time 5e-08/0.005517, allocations: 1.031 kB / 421.2 MB, free: 8.844 MB / 330.7 MB Notification: Performance of remove unused functions: time 0.0001605/0.005678, allocations: 24.67 kB / 421.3 MB, free: 8.832 MB / 330.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 5.637e-05/0.005734, allocations: 97.61 kB / 421.4 MB, free: 8.742 MB / 330.7 MB Notification: Performance of simCode: created initialization part: time 0.000101/0.005835, allocations: 45.27 kB / 421.4 MB, free: 8.727 MB / 330.7 MB Notification: Performance of simCode: created event and clocks part: time 1.422e-06/0.005837, allocations: 0 / 421.4 MB, free: 8.727 MB / 330.7 MB Notification: Performance of simCode: created simulation system equations: time 1.937e-05/0.005856, allocations: 17.95 kB / 421.4 MB, free: 8.723 MB / 330.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001975/0.006053, allocations: 13.31 kB / 421.4 MB, free: 8.715 MB / 330.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002984/0.006352, allocations: 162.8 kB / 421.6 MB, free: 8.578 MB / 330.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 5.02e-05/0.006402, allocations: 78.17 kB / 421.7 MB, free: 8.504 MB / 330.7 MB Notification: Performance of simCode: alias equations: time 2.675e-05/0.006429, allocations: 4.391 kB / 421.7 MB, free: 8.504 MB / 330.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.496e-05/0.006454, allocations: 12.55 kB / 421.7 MB, free: 8.496 MB / 330.7 MB Notification: Performance of SimCode: time 4.61e-07/0.006454, allocations: 1.438 kB / 421.7 MB, free: 8.496 MB / 330.7 MB Notification: Performance of Templates: time 0.00189/0.008344, allocations: 450.5 kB / 422.1 MB, free: 8.422 MB / 330.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=480 -s gbode -gbnls=internal -gberr=embedded -gbm=radauIIA3 -lv LOG_STATS > AES_AES.Coursework.ThermSys_component_models.HeatPump_case_001.pipe 2>&1) [Timeout 480] [Calling sys.exit(0), Time elapsed: 2.8535899724811316] Failed to read output from testmodel.py, exit status != 0: 0.01288331113755703 0.021556125000000002 0.016727778000000002 Calling exit ...