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.0007879/0.0007879, allocations: 80.45 kB / 20.71 MB, free: 3.859 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.0007707/0.0007707, allocations: 165.2 kB / 23.98 MB, free: 0.582 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 0.8776/0.8776, allocations: 177.1 MB / 204.3 MB, free: 5.746 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.05967/0.05967, allocations: 18.12 MB / 278.8 MB, free: 11.55 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_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.193e-06/1.193e-06, allocations: 0 / 417.1 MB, free: 12.12 MB / 330.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.004e-05/2.123e-05, allocations: 2.281 kB / 417.1 MB, free: 12.12 MB / 330.7 MB Notification: Performance of NFInst.instantiate(AES.Coursework.ThermSys_component_models.HeatPump_case_001a): time 0.00181/0.001831, allocations: 2.123 MB / 419.2 MB, free: 10.68 MB / 330.7 MB Notification: Performance of NFInst.instExpressions: time 0.0002428/0.002074, allocations: 177 kB / 419.4 MB, free: 10.55 MB / 330.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.446e-05/0.002128, allocations: 3.875 kB / 419.4 MB, free: 10.55 MB / 330.7 MB Notification: Performance of NFTyping.typeComponents: time 5.525e-05/0.002183, allocations: 31.44 kB / 419.4 MB, free: 10.53 MB / 330.7 MB Notification: Performance of NFTyping.typeBindings: time 8.834e-05/0.002272, allocations: 59.61 kB / 419.5 MB, free: 10.49 MB / 330.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001122/0.002384, allocations: 52.86 kB / 419.5 MB, free: 10.46 MB / 330.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001593/0.002543, allocations: 251.1 kB / 419.8 MB, free: 10.33 MB / 330.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001401/0.002683, allocations: 74.86 kB / 419.9 MB, free: 10.29 MB / 330.7 MB Notification: Performance of NFEvalConstants.evaluate: time 5.725e-05/0.00274, allocations: 79.81 kB / 419.9 MB, free: 10.26 MB / 330.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001083/0.002849, allocations: 74.14 kB / 420 MB, free: 10.23 MB / 330.7 MB Notification: Performance of NFPackage.collectConstants: time 3.493e-05/0.002884, allocations: 21.34 kB / 420 MB, free: 10.23 MB / 330.7 MB Notification: Performance of NFFlatten.collectFunctions: time 2.236e-05/0.002906, allocations: 20.84 kB / 420.1 MB, free: 10.23 MB / 330.7 MB Notification: Performance of NFScalarize.scalarize: time 2.726e-05/0.002933, allocations: 53.88 kB / 420.1 MB, free: 10.2 MB / 330.7 MB Notification: Performance of NFVerifyModel.verify: time 5.657e-05/0.00299, allocations: 77.64 kB / 420.2 MB, free: 10.16 MB / 330.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001967/0.003187, allocations: 241.6 kB / 420.4 MB, free: 10.07 MB / 330.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.204e-06/0.003189, allocations: 0.6562 kB / 420.4 MB, free: 10.07 MB / 330.7 MB Notification: Performance of FrontEnd: time 9.81e-07/0.00319, allocations: 0 / 420.4 MB, free: 10.07 MB / 330.7 MB Notification: Performance of Transformations before backend: time 4.448e-06/0.003194, allocations: 5.25 kB / 420.4 MB, free: 10.07 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: 59 * Number of variables: 59 Notification: Performance of Generate backend data structure: time 0.0003767/0.003571, allocations: 418.5 kB / 420.8 MB, free: 9.719 MB / 330.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.117e-05/0.003602, allocations: 11.48 kB / 420.8 MB, free: 9.719 MB / 330.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.738e-05/0.003639, allocations: 29.14 kB / 420.9 MB, free: 9.703 MB / 330.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 6.213e-05/0.003702, allocations: 130.3 kB / 421 MB, free: 9.559 MB / 330.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.595e-05/0.003718, allocations: 22.45 kB / 421 MB, free: 9.547 MB / 330.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.026e-05/0.003738, allocations: 27.38 kB / 421.1 MB, free: 9.535 MB / 330.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002181/0.003956, allocations: 198.3 kB / 421.2 MB, free: 9.438 MB / 330.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.838e-06/0.003966, allocations: 4.188 kB / 421.2 MB, free: 9.434 MB / 330.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.291e-05/0.003979, allocations: 7.062 kB / 421.3 MB, free: 9.43 MB / 330.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.901e-06/0.003985, allocations: 6.219 kB / 421.3 MB, free: 9.43 MB / 330.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001627/0.004147, allocations: 149.1 kB / 421.4 MB, free: 9.375 MB / 330.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005787/0.004726, allocations: 0.5062 MB / 421.9 MB, free: 9.023 MB / 330.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000232/0.004958, allocations: 169.4 kB / 422.1 MB, free: 8.945 MB / 330.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.000189/0.005147, allocations: 127.5 kB / 422.2 MB, free: 8.906 MB / 330.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.935e-05/0.005166, allocations: 2.906 kB / 422.2 MB, free: 8.906 MB / 330.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 9.808e-06/0.005176, allocations: 33 kB / 422.2 MB, free: 8.867 MB / 330.7 MB Notification: Performance of pre-optimization done (n=20): time 1.263e-06/0.005177, allocations: 0 / 422.2 MB, free: 8.867 MB / 330.7 MB Notification: Performance of matching and sorting (n=20): time 0.001044/0.006222, allocations: 0.5396 MB / 422.8 MB, free: 8.711 MB / 330.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.017e-05/0.006242, allocations: 58.5 kB / 422.8 MB, free: 8.645 MB / 330.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.965e-05/0.006301, allocations: 131.6 kB / 423 MB, free: 8.535 MB / 330.7 MB Notification: Performance of collectPreVariables (initialization): time 8.105e-06/0.00631, allocations: 29.7 kB / 423 MB, free: 8.5 MB / 330.7 MB Notification: Performance of collectInitialEqns (initialization): time 4.409e-05/0.006354, allocations: 152.3 kB / 423.1 MB, free: 8.363 MB / 330.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.524e-05/0.006379, allocations: 75.53 kB / 423.2 MB, free: 8.301 MB / 330.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.814e-05/0.006417, allocations: 42.23 kB / 423.3 MB, free: 8.27 MB / 330.7 MB Notification: Performance of setup shared object (initialization): time 2.552e-05/0.006443, allocations: 326.7 kB / 423.6 MB, free: 7.949 MB / 330.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.115e-05/0.006494, allocations: 44.52 kB / 423.6 MB, free: 7.934 MB / 330.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.164e-05/0.006555, allocations: 76.41 kB / 423.7 MB, free: 7.887 MB / 330.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001199/0.006675, allocations: 141.3 kB / 423.8 MB, free: 7.801 MB / 330.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.063e-06/0.006677, allocations: 0 / 423.8 MB, free: 7.801 MB / 330.7 MB Notification: Performance of matching and sorting (n=25) (initialization): time 0.0003821/0.007059, allocations: 330.9 kB / 424.2 MB, free: 7.656 MB / 330.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.26e-05/0.007072, allocations: 8.312 kB / 424.2 MB, free: 7.656 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.819e-06/0.007077, allocations: 1.688 kB / 424.2 MB, free: 7.656 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003658/0.007443, allocations: 171.2 kB / 424.3 MB, free: 7.621 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.299e-05/0.007496, allocations: 25.25 kB / 424.4 MB, free: 7.617 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001928/0.009423, allocations: 3.555 MB / 427.9 MB, free: 4.535 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.825e-05/0.009461, allocations: 21.86 kB / 427.9 MB, free: 4.52 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.318e-06/0.009471, allocations: 9.25 kB / 427.9 MB, free: 4.516 MB / 330.7 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 5.596e-05/0.009527, allocations: 129.8 kB / 428.1 MB, free: 4.391 MB / 330.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.725e-05/0.009544, allocations: 10.11 kB / 428.1 MB, free: 4.387 MB / 330.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003937/0.009938, allocations: 312 kB / 428.4 MB, free: 4.246 MB / 330.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.286e-06/0.009941, allocations: 6.859 kB / 428.4 MB, free: 4.242 MB / 330.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.41e-07/0.009942, allocations: 3.938 kB / 428.4 MB, free: 4.238 MB / 330.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.755e-06/0.009945, allocations: 1.297 kB / 428.4 MB, free: 4.238 MB / 330.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001401/0.01008, allocations: 189.5 kB / 428.6 MB, free: 4.074 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.522e-06/0.01009, allocations: 5.469 kB / 428.6 MB, free: 4.07 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.085e-05/0.01012, allocations: 12.66 kB / 428.6 MB, free: 4.07 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002924/0.01041, allocations: 169.5 kB / 428.8 MB, free: 4.035 MB / 330.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.097e-06/0.01042, allocations: 5.969 kB / 428.8 MB, free: 4.031 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001635/0.01205, allocations: 3.534 MB / 432.3 MB, free: 0.9531 MB / 330.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.513e-06/0.01206, allocations: 3.938 kB / 432.3 MB, free: 0.9492 MB / 330.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003634/0.01242, allocations: 401.8 kB / 432.7 MB, free: 0.7148 MB / 330.7 MB Notification: Performance of postOpt removeConstants (simulation): time 9.808e-06/0.01243, allocations: 13 kB / 432.7 MB, free: 0.707 MB / 330.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.724e-06/0.01244, allocations: 5.938 kB / 432.7 MB, free: 0.7031 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.987e-05/0.01248, allocations: 1.031 kB / 432.7 MB, free: 0.7031 MB / 330.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.162e-05/0.01251, allocations: 22.39 kB / 432.7 MB, free: 0.6953 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.57e-06/0.01251, allocations: 4.156 kB / 432.7 MB, free: 0.6953 MB / 330.7 MB Notification: Performance of sorting global known variables: time 2.759e-05/0.01254, allocations: 102.7 kB / 432.8 MB, free: 0.6133 MB / 330.7 MB Notification: Performance of sort global known variables: time 5e-08/0.01254, allocations: 0 / 432.8 MB, free: 0.6133 MB / 330.7 MB Notification: Performance of remove unused functions: time 0.0003011/0.01284, allocations: 77.41 kB / 432.9 MB, free: 0.5938 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 (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 6.101e-05/0.0129, allocations: 107.7 kB / 433 MB, free: 0.4961 MB / 330.7 MB Notification: Performance of simCode: created initialization part: time 0.000348/0.01325, allocations: 399.5 kB / 433.4 MB, free: 216 kB / 330.7 MB Notification: Performance of simCode: created event and clocks part: time 1.323e-06/0.01325, allocations: 0 / 433.4 MB, free: 216 kB / 330.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0002253/0.01348, allocations: 364.2 kB / 433.8 MB, free: 15.93 MB / 346.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001792/0.01366, allocations: 18.42 kB / 433.8 MB, free: 15.92 MB / 346.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007351/0.01439, allocations: 0.4996 MB / 434.3 MB, free: 15.64 MB / 346.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 8.431e-05/0.01448, allocations: 122.3 kB / 434.4 MB, free: 15.56 MB / 346.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.008e-05/0.0145, allocations: 11.78 kB / 434.4 MB, free: 15.55 MB / 346.7 MB Notification: Performance of SimCode: time 4.71e-07/0.0145, allocations: 4 kB / 434.4 MB, free: 15.55 MB / 346.7 MB Notification: Performance of Templates: time 0.003548/0.01805, allocations: 3.51 MB / 437.9 MB, free: 14.84 MB / 346.7 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.470320823602378] Failed to read output from testmodel.py, exit status != 0: 0.022671044804155827 0.030797728000000003 0.025915952000000003 Calling exit ...