Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr AES_AES.Coursework.ThermSys_component_models.HeatExchanger_1vol_case_002.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.0006895/0.0006895, allocations: 72.19 kB / 9.903 MB, free: 0.7852 MB / 10.45 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.0009062/0.001596, 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.0006926/0.0006926, allocations: 161.1 kB / 11.23 MB, free: 2.941 MB / 13.93 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.0008824/0.001575, 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 1.006/1.006, allocations: 177.2 MB / 189.6 MB, free: 5.309 MB / 186.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.08648/1.093, allocations: 53.66 MB / 243.2 MB, free: 15.58 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.06302/0.06302, allocations: 18.13 MB / 262.1 MB, free: 13.15 MB / 266.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.01103/0.07404, allocations: 6.782 MB / 268.9 MB, free: 6.348 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.HeatExchanger_1vol_case_002,tolerance=1e-06,outputFormat="empty",numberOfIntervals=500,variableFilter="",fileNamePrefix="AES_AES.Coursework.ThermSys_component_models.HeatExchanger_1vol_case_002") translateModel(AES.Coursework.ThermSys_component_models.HeatExchanger_1vol_case_002,tolerance=1e-06,outputFormat="empty",numberOfIntervals=500,variableFilter="",fileNamePrefix="AES_AES.Coursework.ThermSys_component_models.HeatExchanger_1vol_case_002") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.824e-06/1.824e-06, allocations: 0 / 270.3 MB, free: 4.898 MB / 266.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.116e-05/2.298e-05, allocations: 2.312 kB / 270.3 MB, free: 4.895 MB / 266.7 MB Notification: Performance of NFInst.instantiate(AES.Coursework.ThermSys_component_models.HeatExchanger_1vol_case_002): time 0.004191/0.004214, allocations: 2.638 MB / 272.9 MB, free: 2.234 MB / 266.7 MB Notification: Performance of NFInst.instExpressions: time 0.001055/0.005269, allocations: 366.5 kB / 273.3 MB, free: 1.875 MB / 266.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002091/0.005478, allocations: 11.94 kB / 273.3 MB, free: 1.863 MB / 266.7 MB Notification: Performance of NFTyping.typeComponents: time 8.982e-05/0.005568, allocations: 35.58 kB / 273.4 MB, free: 1.828 MB / 266.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0003014/0.005869, allocations: 134.9 kB / 273.5 MB, free: 1.695 MB / 266.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002254/0.006095, allocations: 71.72 kB / 273.6 MB, free: 1.625 MB / 266.7 MB Notification: Performance of NFFlatten.flatten: time 0.0004401/0.006535, allocations: 382 kB / 273.9 MB, free: 1.25 MB / 266.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0003001/0.006835, allocations: 152 kB / 274.1 MB, free: 1.102 MB / 266.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0004019/0.007237, allocations: 247.3 kB / 274.3 MB, free: 0.8594 MB / 266.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001891/0.007426, allocations: 91.72 kB / 274.4 MB, free: 0.7695 MB / 266.7 MB Notification: Performance of NFPackage.collectConstants: time 4.125e-05/0.007467, allocations: 20 kB / 274.4 MB, free: 0.75 MB / 266.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001407/0.007608, allocations: 51.97 kB / 274.5 MB, free: 0.6992 MB / 266.7 MB Notification: Performance of NFScalarize.scalarize: time 4.343e-05/0.007651, allocations: 35.81 kB / 274.5 MB, free: 0.6641 MB / 266.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0001028/0.007754, allocations: 83.81 kB / 274.6 MB, free: 0.582 MB / 266.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0003185/0.008073, allocations: 207.1 kB / 274.8 MB, free: 388 kB / 266.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.824e-05/0.008091, allocations: 0 / 274.8 MB, free: 388 kB / 266.7 MB Notification: Performance of FrontEnd: time 1.262e-06/0.008092, allocations: 0 / 274.8 MB, free: 388 kB / 266.7 MB Notification: Performance of Transformations before backend: time 2.227e-05/0.008114, allocations: 0 / 274.8 MB, free: 388 kB / 266.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 45 * Number of variables: 45 Notification: Performance of Generate backend data structure: time 0.1233/0.1314, allocations: 0.5283 MB / 275.3 MB, free: 2.895 MB / 266.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.224e-05/0.1314, allocations: 11.53 kB / 275.3 MB, free: 2.895 MB / 266.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.837e-05/0.1315, allocations: 36.52 kB / 275.4 MB, free: 2.895 MB / 266.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002427/0.1317, allocations: 220.1 kB / 275.6 MB, free: 2.75 MB / 266.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.93e-05/0.1317, allocations: 19.78 kB / 275.6 MB, free: 2.75 MB / 266.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.79e-05/0.1318, allocations: 17.78 kB / 275.6 MB, free: 2.75 MB / 266.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001922/0.132, allocations: 180.8 kB / 275.8 MB, free: 2.664 MB / 266.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.967e-06/0.132, allocations: 0.8438 kB / 275.8 MB, free: 2.664 MB / 266.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.185e-05/0.132, allocations: 10.09 kB / 275.8 MB, free: 2.664 MB / 266.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.085e-06/0.132, allocations: 6.766 kB / 275.8 MB, free: 2.664 MB / 266.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.357e-05/0.1321, allocations: 57.75 kB / 275.9 MB, free: 2.66 MB / 266.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005358/0.1326, allocations: 0.5815 MB / 276.5 MB, free: 2.242 MB / 266.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001402/0.1328, allocations: 67.94 kB / 276.5 MB, free: 2.219 MB / 266.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 2.785e-05/0.1328, allocations: 22.66 kB / 276.5 MB, free: 2.211 MB / 266.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.173e-05/0.1328, allocations: 2.875 kB / 276.5 MB, free: 2.211 MB / 266.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.637e-05/0.1328, allocations: 36.53 kB / 276.6 MB, free: 2.172 MB / 266.7 MB Notification: Performance of pre-optimization done (n=10): time 2.104e-06/0.1328, allocations: 1.094 kB / 276.6 MB, free: 2.172 MB / 266.7 MB Notification: Performance of matching and sorting (n=10): time 0.0001551/0.133, allocations: 84.47 kB / 276.7 MB, free: 2.141 MB / 266.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.013e-05/0.133, allocations: 54 kB / 276.7 MB, free: 2.078 MB / 266.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001308/0.1331, allocations: 236.4 kB / 277 MB, free: 1.965 MB / 266.7 MB Notification: Performance of collectPreVariables (initialization): time 8.586e-06/0.1331, allocations: 26.64 kB / 277 MB, free: 1.934 MB / 266.7 MB Notification: Performance of collectInitialEqns (initialization): time 5.516e-05/0.1332, allocations: 157.6 kB / 277.1 MB, free: 1.816 MB / 266.7 MB Notification: Performance of collectInitialBindings (initialization): time 1.967e-05/0.1332, allocations: 41.89 kB / 277.2 MB, free: 1.793 MB / 266.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.537e-05/0.1333, allocations: 34.56 kB / 277.2 MB, free: 1.777 MB / 266.7 MB Notification: Performance of setup shared object (initialization): time 3.995e-05/0.1333, allocations: 340.2 kB / 277.5 MB, free: 1.461 MB / 266.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 2.58e-05/0.1333, allocations: 13.52 kB / 277.6 MB, free: 1.461 MB / 266.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 3.642e-05/0.1334, allocations: 46.22 kB / 277.6 MB, free: 1.434 MB / 266.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001045/0.1335, allocations: 87.72 kB / 277.7 MB, free: 1.41 MB / 266.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.314e-06/0.1335, allocations: 1.188 kB / 277.7 MB, free: 1.41 MB / 266.7 MB Notification: Performance of matching and sorting (n=18) (initialization): time 0.0001168/0.1336, allocations: 101.4 kB / 277.8 MB, free: 1.379 MB / 266.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.32e-05/0.1336, allocations: 6.75 kB / 277.8 MB, free: 1.379 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.25e-06/0.1336, allocations: 1.797 kB / 277.8 MB, free: 1.379 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.089e-05/0.1336, allocations: 1.781 kB / 277.8 MB, free: 1.379 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002321/0.1338, allocations: 49.47 kB / 277.8 MB, free: 1.379 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.887e-06/0.1338, allocations: 3.953 kB / 277.8 MB, free: 1.379 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.383e-05/0.1339, allocations: 13.83 kB / 277.9 MB, free: 1.371 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.965e-06/0.1339, allocations: 4.812 kB / 277.9 MB, free: 1.371 MB / 266.7 MB Warning: Assuming fixed start value for the following 2 variables: HE.Tho:VARIABLE(min = 0.0 start = 339.5666268514094 unit = \"K\" fixed = true nominal = 300.0 ) type: Real HE.Tco:VARIABLE(min = 0.0 start = 299.958408982322 unit = \"K\" fixed = true nominal = 300.0 ) type: Real 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 (18): * Single equations (assignments): 18 * 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 9.413e-05/0.134, allocations: 126.3 kB / 278 MB, free: 1.25 MB / 266.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.81e-05/0.134, allocations: 18.52 kB / 278 MB, free: 1.25 MB / 266.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001672/0.1342, allocations: 116.9 kB / 278.1 MB, free: 1.207 MB / 266.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.437e-06/0.1342, allocations: 2.188 kB / 278.1 MB, free: 1.207 MB / 266.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.553e-06/0.1342, allocations: 0.9688 kB / 278.1 MB, free: 1.207 MB / 266.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.246e-06/0.1342, allocations: 1.516 kB / 278.1 MB, free: 1.207 MB / 266.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001433/0.1343, allocations: 135 kB / 278.3 MB, free: 1.129 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.864e-06/0.1344, allocations: 1.656 kB / 278.3 MB, free: 1.129 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001288/0.1345, allocations: 34.98 kB / 278.3 MB, free: 1.129 MB / 266.7 MB Notification: Performance of postOpt removeConstants (simulation): time 2.277e-05/0.1345, allocations: 23.52 kB / 278.3 MB, free: 1.113 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.835e-06/0.1345, allocations: 0.5 kB / 278.3 MB, free: 1.113 MB / 266.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.341e-05/0.1345, allocations: 7.641 kB / 278.3 MB, free: 1.113 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.096e-06/0.1345, allocations: 5.453 kB / 278.3 MB, free: 1.113 MB / 266.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.252e-06/0.1345, allocations: 0 / 278.3 MB, free: 1.113 MB / 266.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000174/0.1347, allocations: 207.4 kB / 278.5 MB, free: 0.9805 MB / 266.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.048e-05/0.1347, allocations: 6.844 kB / 278.5 MB, free: 0.9805 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.639e-05/0.1348, allocations: 1.219 kB / 278.5 MB, free: 0.9805 MB / 266.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.697e-05/0.1348, allocations: 11.47 kB / 278.5 MB, free: 0.9805 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.981e-06/0.1348, allocations: 8.516 kB / 278.6 MB, free: 0.9805 MB / 266.7 MB Notification: Performance of sorting global known variables: time 7.011e-05/0.1349, allocations: 81.95 kB / 278.6 MB, free: 0.9727 MB / 266.7 MB Notification: Performance of sort global known variables: time 5e-08/0.1349, allocations: 0.8125 kB / 278.6 MB, free: 0.9727 MB / 266.7 MB Notification: Performance of remove unused functions: time 0.0001929/0.1351, allocations: 63.39 kB / 278.7 MB, free: 0.9609 MB / 266.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 2 (HE.Tho,HE.Tco) * 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 (13): * Single equations (assignments): 13 * 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.0001263/0.1352, allocations: 83.12 kB / 278.8 MB, free: 0.8945 MB / 266.7 MB Notification: Performance of simCode: created initialization part: time 0.0001344/0.1353, allocations: 69.17 kB / 278.8 MB, free: 0.8867 MB / 266.7 MB Notification: Performance of simCode: created event and clocks part: time 9.558e-06/0.1353, allocations: 4.031 kB / 278.9 MB, free: 0.8867 MB / 266.7 MB Notification: Performance of simCode: created simulation system equations: time 5.446e-05/0.1354, allocations: 36.39 kB / 278.9 MB, free: 0.8789 MB / 266.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002536/0.1356, allocations: 77.88 kB / 279 MB, free: 0.875 MB / 266.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003932/0.1396, allocations: 0.4919 MB / 279.5 MB, free: 0.6016 MB / 266.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.565e-05/0.1396, allocations: 82.78 kB / 279.5 MB, free: 0.5312 MB / 266.7 MB Notification: Performance of simCode: alias equations: time 0.0001137/0.1397, allocations: 40.92 kB / 279.6 MB, free: 0.5273 MB / 266.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001258/0.1399, allocations: 107.3 kB / 279.7 MB, free: 492 kB / 266.7 MB Notification: Performance of SimCode: time 1.453e-06/0.1399, allocations: 1.031 kB / 279.7 MB, free: 492 kB / 266.7 MB Notification: Performance of Templates: time 0.006002/0.1459, allocations: 3.263 MB / 282.9 MB, free: 264 kB / 266.7 MB " [Timeout remaining time 660] make -j1 -f AES_AES.Coursework.ThermSys_component_models.HeatExchanger_1vol_case_002.makefile [Timeout 660] (rm -f AES_AES.Coursework.ThermSys_component_models.HeatExchanger_1vol_case_002.pipe ; mkfifo AES_AES.Coursework.ThermSys_component_models.HeatExchanger_1vol_case_002.pipe ; head -c 1048576 < AES_AES.Coursework.ThermSys_component_models.HeatExchanger_1vol_case_002.pipe >> ../files/AES_AES.Coursework.ThermSys_component_models.HeatExchanger_1vol_case_002.sim & ./AES_AES.Coursework.ThermSys_component_models.HeatExchanger_1vol_case_002 -lv=LOG_STATS -s=dassl -abortSlowSimulation -alarm=240 -lv LOG_STATS > AES_AES.Coursework.ThermSys_component_models.HeatExchanger_1vol_case_002.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 2.7391207637265325]