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.001985/0.001985, allocations: 85.22 kB / 19.96 MB, free: 1.758 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.0024/0.0024, allocations: 165.4 kB / 23.23 MB, free: 4.883 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.526/1.526, allocations: 177.1 MB / 203.5 MB, free: 9.176 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.1058/0.1058, allocations: 18.14 MB / 278.1 MB, free: 15.05 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_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.673e-06/1.673e-06, allocations: 0 / 416.4 MB, free: 1.789 MB / 334.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.846e-05/3.014e-05, allocations: 6.281 kB / 416.4 MB, free: 1.781 MB / 334.1 MB Notification: Performance of NFInst.instantiate(AES.Coursework.ThermSys_component_models.HeatPump_case_001a): time 0.003438/0.003468, allocations: 2.123 MB / 418.5 MB, free: 15.64 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.0003799/0.003848, allocations: 175.3 kB / 418.7 MB, free: 15.47 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.626e-05/0.003915, allocations: 4 kB / 418.7 MB, free: 15.47 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 7.858e-05/0.003993, allocations: 27.72 kB / 418.7 MB, free: 15.44 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001534/0.004147, allocations: 71.34 kB / 418.8 MB, free: 15.37 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001471/0.004294, allocations: 47.92 kB / 418.8 MB, free: 15.32 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002771/0.004571, allocations: 250.8 kB / 419.1 MB, free: 15.08 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001953/0.004766, allocations: 68.02 kB / 419.1 MB, free: 15.01 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 8.948e-05/0.004856, allocations: 79.83 kB / 419.2 MB, free: 14.93 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001535/0.005009, allocations: 79.77 kB / 419.3 MB, free: 14.86 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 4.178e-05/0.005051, allocations: 20 kB / 419.3 MB, free: 14.84 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 3.855e-05/0.005089, allocations: 20 kB / 419.3 MB, free: 14.82 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 5.558e-05/0.005145, allocations: 47.83 kB / 419.4 MB, free: 14.77 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.000103/0.005248, allocations: 79.81 kB / 419.4 MB, free: 14.69 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.000284/0.005532, allocations: 247.2 kB / 419.7 MB, free: 14.45 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 2.595e-06/0.005535, allocations: 0 / 419.7 MB, free: 14.45 MB / 350.1 MB Notification: Performance of FrontEnd: time 5.91e-07/0.005535, allocations: 0 / 419.7 MB, free: 14.45 MB / 350.1 MB Notification: Performance of Transformations before backend: time 5.28e-06/0.00554, allocations: 0 / 419.7 MB, free: 14.45 MB / 350.1 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.000649/0.006189, allocations: 421.9 kB / 420.1 MB, free: 14 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.624e-05/0.006226, allocations: 12.86 kB / 420.1 MB, free: 13.99 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.655e-05/0.006282, allocations: 28.8 kB / 420.1 MB, free: 13.96 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001394/0.006422, allocations: 129.5 kB / 420.3 MB, free: 13.81 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.425e-05/0.006446, allocations: 16.88 kB / 420.3 MB, free: 13.8 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.031e-05/0.006476, allocations: 24.38 kB / 420.3 MB, free: 13.77 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003881/0.006864, allocations: 196.7 kB / 420.5 MB, free: 13.57 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.384e-05/0.006878, allocations: 4.172 kB / 420.5 MB, free: 13.57 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.495e-05/0.006903, allocations: 12.36 kB / 420.5 MB, free: 13.56 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.698e-06/0.006913, allocations: 12.31 kB / 420.5 MB, free: 13.55 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002709/0.007184, allocations: 141.9 kB / 420.7 MB, free: 13.41 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000968/0.008152, allocations: 0.519 MB / 421.2 MB, free: 12.86 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003623/0.008514, allocations: 166.5 kB / 421.3 MB, free: 12.69 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003315/0.008845, allocations: 128.9 kB / 421.5 MB, free: 12.56 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.492e-05/0.00887, allocations: 4 kB / 421.5 MB, free: 12.55 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.924e-05/0.0089, allocations: 42.5 kB / 421.5 MB, free: 12.5 MB / 350.1 MB Notification: Performance of pre-optimization done (n=20): time 1.383e-06/0.008901, allocations: 0 / 421.5 MB, free: 12.5 MB / 350.1 MB Notification: Performance of matching and sorting (n=20): time 0.002093/0.01099, allocations: 0.5405 MB / 422 MB, free: 11.95 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.61e-05/0.01104, allocations: 51.41 kB / 422.1 MB, free: 11.89 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000143/0.01118, allocations: 133.8 kB / 422.2 MB, free: 11.75 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 2.333e-05/0.01121, allocations: 29.7 kB / 422.3 MB, free: 11.71 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001164/0.01132, allocations: 144.2 kB / 422.4 MB, free: 11.57 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 6.258e-05/0.01139, allocations: 75.38 kB / 422.5 MB, free: 11.49 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.6e-05/0.01145, allocations: 37.72 kB / 422.5 MB, free: 11.45 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001738/0.01162, allocations: 322.8 kB / 422.8 MB, free: 11.12 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000102/0.01173, allocations: 51.97 kB / 422.9 MB, free: 11.07 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000116/0.01184, allocations: 75.41 kB / 423 MB, free: 10.99 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000225/0.01207, allocations: 142 kB / 423.1 MB, free: 10.84 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.265e-06/0.01207, allocations: 0 / 423.1 MB, free: 10.84 MB / 350.1 MB Notification: Performance of matching and sorting (n=25) (initialization): time 0.0007971/0.01287, allocations: 333.7 kB / 423.4 MB, free: 10.5 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.615e-05/0.01288, allocations: 4 kB / 423.4 MB, free: 10.5 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.112e-06/0.01289, allocations: 0 / 423.4 MB, free: 10.5 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0007405/0.01363, allocations: 185.5 kB / 423.6 MB, free: 10.31 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.424e-05/0.01372, allocations: 20 kB / 423.6 MB, free: 10.29 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004647/0.01837, allocations: 3.557 MB / 427.2 MB, free: 6.543 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.291e-05/0.01845, allocations: 15.89 kB / 427.2 MB, free: 6.527 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.531e-05/0.01847, allocations: 7.984 kB / 427.2 MB, free: 6.52 MB / 350.1 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.0001355/0.01861, allocations: 129.8 kB / 427.3 MB, free: 6.383 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.461e-05/0.01864, allocations: 7.953 kB / 427.3 MB, free: 6.375 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000799/0.01944, allocations: 311.7 kB / 427.6 MB, free: 6.059 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.525e-06/0.01944, allocations: 0 / 427.6 MB, free: 6.059 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.132e-06/0.01944, allocations: 4 kB / 427.6 MB, free: 6.055 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.657e-06/0.01945, allocations: 4 kB / 427.6 MB, free: 6.051 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002733/0.01972, allocations: 193.3 kB / 427.8 MB, free: 5.832 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.563e-06/0.01972, allocations: 0 / 427.8 MB, free: 5.832 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.956e-05/0.01979, allocations: 15.98 kB / 427.9 MB, free: 5.816 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0006364/0.02043, allocations: 177.5 kB / 428 MB, free: 5.637 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.65e-05/0.02044, allocations: 4 kB / 428 MB, free: 5.633 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.00429/0.02473, allocations: 3.537 MB / 431.6 MB, free: 1.891 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.332e-06/0.02473, allocations: 0 / 431.6 MB, free: 1.891 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007796/0.02551, allocations: 395.6 kB / 432 MB, free: 1.484 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 1.798e-05/0.02553, allocations: 15.83 kB / 432 MB, free: 1.469 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.743e-05/0.02555, allocations: 8 kB / 432 MB, free: 1.461 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.243e-05/0.02563, allocations: 4 kB / 432 MB, free: 1.457 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.844e-05/0.02568, allocations: 15.91 kB / 432 MB, free: 1.441 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.123e-05/0.02569, allocations: 11.94 kB / 432 MB, free: 1.43 MB / 350.1 MB Notification: Performance of sorting global known variables: time 6.901e-05/0.02576, allocations: 95.27 kB / 432.1 MB, free: 1.336 MB / 350.1 MB Notification: Performance of sort global known variables: time 9e-08/0.02576, allocations: 4 kB / 432.1 MB, free: 1.332 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0005049/0.02627, allocations: 79.84 kB / 432.2 MB, free: 1.254 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 (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.0001366/0.0264, allocations: 107.2 kB / 432.3 MB, free: 1.141 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.000692/0.02709, allocations: 401.1 kB / 432.7 MB, free: 0.7227 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 2.345e-06/0.0271, allocations: 0 / 432.7 MB, free: 0.7227 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0005097/0.02761, allocations: 361.4 kB / 433 MB, free: 352 kB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002691/0.02788, allocations: 8 kB / 433 MB, free: 344 kB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00137/0.02925, allocations: 490.3 kB / 433.5 MB, free: 15.83 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001241/0.02937, allocations: 124.2 kB / 433.6 MB, free: 15.68 MB / 366.1 MB Notification: Performance of simCode: alias equations: time 2.864e-05/0.0294, allocations: 5.5 kB / 433.6 MB, free: 15.68 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.78e-05/0.02943, allocations: 12.5 kB / 433.7 MB, free: 15.66 MB / 366.1 MB Notification: Performance of SimCode: time 3.51e-07/0.02943, allocations: 3.938 kB / 433.7 MB, free: 15.66 MB / 366.1 MB Notification: Performance of Templates: time 0.006924/0.03635, allocations: 2.68 MB / 436.3 MB, free: 13.01 MB / 366.1 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=480 -lv LOG_STATS > AES_AES.Coursework.ThermSys_component_models.HeatPump_case_001a.pipe 2>&1) [Timeout 480] [Calling sys.exit(0), Time elapsed: 4.953826852142811] Failed to read output from testmodel.py, exit status != 0: 0.045060377568006516 0.276520965 0.050927783000000004 Calling exit ...