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.0009535/0.0009535, allocations: 78.66 kB / 21.46 MB, free: 3.043 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.001128/0.001128, allocations: 163.6 kB / 24.86 MB, free: 8.766 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 1.016/1.016, allocations: 177.1 MB / 205.3 MB, free: 5.484 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.08001/0.08001, allocations: 18.14 MB / 280 MB, free: 11.14 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.543e-06/1.543e-06, allocations: 0 / 358.6 MB, free: 8.574 MB / 330.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.58e-05/2.734e-05, allocations: 6.312 kB / 358.6 MB, free: 8.566 MB / 330.7 MB Notification: Performance of NFInst.instantiate(AES.Coursework.ThermSys_component_models.HeatExchanger_1vol_case_002): time 0.003686/0.003713, allocations: 2.602 MB / 361.2 MB, free: 5.953 MB / 330.7 MB Notification: Performance of NFInst.instExpressions: time 0.000602/0.004315, allocations: 350.7 kB / 361.5 MB, free: 5.609 MB / 330.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001226/0.004438, allocations: 15.94 kB / 361.5 MB, free: 5.594 MB / 330.7 MB Notification: Performance of NFTyping.typeComponents: time 6.474e-05/0.004503, allocations: 35.58 kB / 361.6 MB, free: 5.559 MB / 330.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0002199/0.004723, allocations: 127 kB / 361.7 MB, free: 5.434 MB / 330.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001845/0.004907, allocations: 79.7 kB / 361.8 MB, free: 5.355 MB / 330.7 MB Notification: Performance of NFFlatten.flatten: time 0.0002458/0.005153, allocations: 377.9 kB / 362.1 MB, free: 4.984 MB / 330.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001999/0.005353, allocations: 146.1 kB / 362.3 MB, free: 4.848 MB / 330.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.000178/0.005531, allocations: 151.5 kB / 362.4 MB, free: 4.699 MB / 330.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001298/0.005661, allocations: 91.72 kB / 362.5 MB, free: 4.609 MB / 330.7 MB Notification: Performance of NFPackage.collectConstants: time 2.649e-05/0.005687, allocations: 16 kB / 362.5 MB, free: 4.594 MB / 330.7 MB Notification: Performance of NFFlatten.collectFunctions: time 8.422e-05/0.005771, allocations: 51.97 kB / 362.6 MB, free: 4.543 MB / 330.7 MB Notification: Performance of NFScalarize.scalarize: time 3.609e-05/0.005807, allocations: 55.75 kB / 362.6 MB, free: 4.488 MB / 330.7 MB Notification: Performance of NFVerifyModel.verify: time 7.439e-05/0.005882, allocations: 95.77 kB / 362.7 MB, free: 4.395 MB / 330.7 MB Notification: Performance of NFConvertDAE.convert: time 0.000227/0.006109, allocations: 215.1 kB / 362.9 MB, free: 4.184 MB / 330.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.795e-06/0.006112, allocations: 0 / 362.9 MB, free: 4.184 MB / 330.7 MB Notification: Performance of FrontEnd: time 1.473e-06/0.006113, allocations: 0 / 362.9 MB, free: 4.184 MB / 330.7 MB Notification: Performance of Transformations before backend: time 4.368e-06/0.006118, allocations: 4 kB / 362.9 MB, free: 4.18 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: 45 * Number of variables: 45 Notification: Performance of Generate backend data structure: time 0.0005546/0.006672, allocations: 0.6008 MB / 363.5 MB, free: 3.535 MB / 330.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.419e-05/0.006706, allocations: 12.92 kB / 363.5 MB, free: 3.523 MB / 330.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.472e-05/0.006761, allocations: 44.75 kB / 363.6 MB, free: 3.48 MB / 330.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002398/0.007001, allocations: 239.5 kB / 363.8 MB, free: 3.215 MB / 330.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.626e-05/0.007017, allocations: 16.75 kB / 363.8 MB, free: 3.199 MB / 330.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.61e-05/0.007043, allocations: 20.36 kB / 363.9 MB, free: 3.18 MB / 330.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001905/0.007234, allocations: 188.8 kB / 364 MB, free: 2.969 MB / 330.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.576e-06/0.007242, allocations: 192 / 364 MB, free: 2.969 MB / 330.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.278e-05/0.007255, allocations: 4.375 kB / 364 MB, free: 2.965 MB / 330.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.195e-06/0.007263, allocations: 12.38 kB / 364.1 MB, free: 2.953 MB / 330.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.244e-05/0.007356, allocations: 65.45 kB / 364.1 MB, free: 2.891 MB / 330.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006157/0.007971, allocations: 0.842 MB / 365 MB, free: 2.004 MB / 330.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001346/0.008106, allocations: 79.14 kB / 365 MB, free: 1.914 MB / 330.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 3.053e-05/0.008137, allocations: 23.69 kB / 365.1 MB, free: 1.887 MB / 330.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.683e-05/0.008153, allocations: 11.98 kB / 365.1 MB, free: 1.875 MB / 330.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.799e-05/0.008171, allocations: 33.39 kB / 365.1 MB, free: 1.832 MB / 330.7 MB Notification: Performance of pre-optimization done (n=10): time 1.173e-06/0.008173, allocations: 0 / 365.1 MB, free: 1.832 MB / 330.7 MB Notification: Performance of matching and sorting (n=10): time 0.0001832/0.008356, allocations: 113.5 kB / 365.2 MB, free: 1.715 MB / 330.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.733e-05/0.008383, allocations: 55.34 kB / 365.3 MB, free: 1.648 MB / 330.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001475/0.008531, allocations: 292.1 kB / 365.6 MB, free: 1.348 MB / 330.7 MB Notification: Performance of collectPreVariables (initialization): time 1.29e-05/0.008544, allocations: 29.7 kB / 365.6 MB, free: 1.312 MB / 330.7 MB Notification: Performance of collectInitialEqns (initialization): time 9.102e-05/0.008635, allocations: 218.9 kB / 365.8 MB, free: 1.094 MB / 330.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.072e-05/0.008655, allocations: 43.61 kB / 365.8 MB, free: 1.051 MB / 330.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.126e-05/0.008697, allocations: 43.34 kB / 365.9 MB, free: 1 MB / 330.7 MB Notification: Performance of setup shared object (initialization): time 0.0001215/0.008818, allocations: 0.5156 MB / 366.4 MB, free: 484 kB / 330.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 2.726e-05/0.008845, allocations: 15.98 kB / 366.4 MB, free: 468 kB / 330.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 3.968e-05/0.008885, allocations: 49.48 kB / 366.5 MB, free: 408 kB / 330.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001119/0.008997, allocations: 95.2 kB / 366.6 MB, free: 300 kB / 330.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.265e-06/0.008999, allocations: 0 / 366.6 MB, free: 300 kB / 330.7 MB Notification: Performance of matching and sorting (n=18) (initialization): time 0.0001351/0.009134, allocations: 133.4 kB / 366.7 MB, free: 160 kB / 330.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.308e-05/0.009147, allocations: 12.05 kB / 366.7 MB, free: 148 kB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.717e-06/0.009151, allocations: 4 kB / 366.7 MB, free: 144 kB / 330.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 7.313e-06/0.009158, allocations: 0 / 366.7 MB, free: 144 kB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001133/0.009272, allocations: 31.98 kB / 366.7 MB, free: 112 kB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.415e-06/0.009274, allocations: 4 kB / 366.7 MB, free: 108 kB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.144e-05/0.009326, allocations: 15.84 kB / 366.8 MB, free: 92 kB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.406e-06/0.009334, allocations: 4 kB / 366.8 MB, free: 88 kB / 330.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 0.0001275/0.009461, allocations: 183.2 kB / 366.9 MB, free: 15.9 MB / 346.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.995e-05/0.009491, allocations: 23.86 kB / 367 MB, free: 15.88 MB / 346.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001578/0.009649, allocations: 127.4 kB / 367.1 MB, free: 15.74 MB / 346.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.533e-06/0.009651, allocations: 0 / 367.1 MB, free: 15.74 MB / 346.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.323e-06/0.009652, allocations: 4 kB / 367.1 MB, free: 15.73 MB / 346.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.525e-06/0.009655, allocations: 0 / 367.1 MB, free: 15.73 MB / 346.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000152/0.009807, allocations: 173 kB / 367.3 MB, free: 15.54 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.62e-07/0.009807, allocations: 0 / 367.3 MB, free: 15.54 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.752e-05/0.009905, allocations: 35.92 kB / 367.3 MB, free: 15.5 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.206e-06/0.009908, allocations: 3.984 kB / 367.3 MB, free: 15.5 MB / 346.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.117e-05/0.009919, allocations: 0 / 367.3 MB, free: 15.5 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.813e-06/0.009921, allocations: 4 kB / 367.3 MB, free: 15.5 MB / 346.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.052e-06/0.009922, allocations: 0 / 367.3 MB, free: 15.5 MB / 346.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001875/0.01011, allocations: 278.9 kB / 367.6 MB, free: 15.21 MB / 346.7 MB Notification: Performance of postOpt removeConstants (simulation): time 2.121e-05/0.01013, allocations: 27.88 kB / 367.6 MB, free: 15.18 MB / 346.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.852e-05/0.01015, allocations: 7.938 kB / 367.6 MB, free: 15.17 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.478e-05/0.0102, allocations: 7.938 kB / 367.6 MB, free: 15.16 MB / 346.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.79e-05/0.01023, allocations: 7.984 kB / 367.6 MB, free: 15.16 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.12e-06/0.01024, allocations: 4 kB / 367.6 MB, free: 15.15 MB / 346.7 MB Notification: Performance of sorting global known variables: time 8.506e-05/0.01032, allocations: 193.1 kB / 367.8 MB, free: 14.96 MB / 346.7 MB Notification: Performance of sort global known variables: time 6e-08/0.01032, allocations: 0 / 367.8 MB, free: 14.96 MB / 346.7 MB Notification: Performance of remove unused functions: time 0.0001823/0.0105, allocations: 59.89 kB / 367.9 MB, free: 14.9 MB / 346.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.0001/0.0106, allocations: 103.2 kB / 368 MB, free: 14.79 MB / 346.7 MB Notification: Performance of simCode: created initialization part: time 0.0001173/0.01072, allocations: 79.59 kB / 368.1 MB, free: 14.71 MB / 346.7 MB Notification: Performance of simCode: created event and clocks part: time 1.854e-06/0.01072, allocations: 0 / 368.1 MB, free: 14.71 MB / 346.7 MB Notification: Performance of simCode: created simulation system equations: time 4.311e-05/0.01077, allocations: 50.45 kB / 368.1 MB, free: 14.66 MB / 346.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002433/0.01101, allocations: 63.09 kB / 368.2 MB, free: 14.6 MB / 346.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008707/0.01188, allocations: 0.5196 MB / 368.7 MB, free: 14.05 MB / 346.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 5.368e-05/0.01193, allocations: 88.27 kB / 368.8 MB, free: 13.95 MB / 346.7 MB Notification: Performance of simCode: alias equations: time 8.696e-05/0.01202, allocations: 34.27 kB / 368.8 MB, free: 13.91 MB / 346.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001327/0.01215, allocations: 130.2 kB / 368.9 MB, free: 13.78 MB / 346.7 MB Notification: Performance of SimCode: time 6.81e-07/0.01216, allocations: 8 kB / 368.9 MB, free: 13.77 MB / 346.7 MB Notification: Performance of Templates: time 0.004808/0.01696, allocations: 3.066 MB / 372 MB, free: 10.78 MB / 346.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: 3.0557575901038945]