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.0007508/0.0007508, 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.000764/0.000764, 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.8506/0.8506, allocations: 177.1 MB / 204.3 MB, free: 5.742 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.05939/0.05939, allocations: 18.12 MB / 278.8 MB, free: 11.54 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.733e-06/1.733e-06, allocations: 1.031 kB / 416.3 MB, free: 12.52 MB / 330.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.021e-05/2.194e-05, allocations: 2.281 kB / 416.3 MB, free: 12.52 MB / 330.7 MB Notification: Performance of NFInst.instantiate(AES.Coursework.ThermSys_component_models.HeatExchanger_1vol_case_002): time 0.002022/0.002044, allocations: 2.415 MB / 418.7 MB, free: 10.89 MB / 330.7 MB Notification: Performance of NFInst.instExpressions: time 0.0004571/0.002501, allocations: 354 kB / 419.1 MB, free: 10.64 MB / 330.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001009/0.002602, allocations: 16.16 kB / 419.1 MB, free: 10.64 MB / 330.7 MB Notification: Performance of NFTyping.typeComponents: time 5.303e-05/0.002655, allocations: 39.03 kB / 419.1 MB, free: 10.61 MB / 330.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0001848/0.00284, allocations: 136.1 kB / 419.3 MB, free: 10.52 MB / 330.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001592/0.002999, allocations: 71.38 kB / 419.3 MB, free: 10.48 MB / 330.7 MB Notification: Performance of NFFlatten.flatten: time 0.0002156/0.003215, allocations: 373.8 kB / 419.7 MB, free: 10.28 MB / 330.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001838/0.003398, allocations: 140.9 kB / 419.8 MB, free: 10.21 MB / 330.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001527/0.003551, allocations: 146.8 kB / 420 MB, free: 10.16 MB / 330.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001042/0.003655, allocations: 94.48 kB / 420.1 MB, free: 10.13 MB / 330.7 MB Notification: Performance of NFPackage.collectConstants: time 2.481e-05/0.00368, allocations: 18.72 kB / 420.1 MB, free: 10.13 MB / 330.7 MB Notification: Performance of NFFlatten.collectFunctions: time 7.811e-05/0.003758, allocations: 54.88 kB / 420.1 MB, free: 10.12 MB / 330.7 MB Notification: Performance of NFScalarize.scalarize: time 2.723e-05/0.003786, allocations: 49.98 kB / 420.2 MB, free: 10.09 MB / 330.7 MB Notification: Performance of NFVerifyModel.verify: time 6.745e-05/0.003853, allocations: 100.7 kB / 420.3 MB, free: 10.05 MB / 330.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0002632/0.004116, allocations: 299.8 kB / 420.6 MB, free: 9.938 MB / 330.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.824e-06/0.004118, allocations: 0.8438 kB / 420.6 MB, free: 9.938 MB / 330.7 MB Notification: Performance of FrontEnd: time 6.12e-07/0.004119, allocations: 0 / 420.6 MB, free: 9.938 MB / 330.7 MB Notification: Performance of Transformations before backend: time 4.438e-06/0.004123, allocations: 0 / 420.6 MB, free: 9.938 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.0004805/0.004603, allocations: 0.4999 MB / 421.1 MB, free: 9.52 MB / 330.7 MB Notification: Performance of prepare preOptimizeDAE: time 2.743e-05/0.004631, allocations: 10.73 kB / 421.1 MB, free: 9.52 MB / 330.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.911e-05/0.00467, allocations: 35.34 kB / 421.1 MB, free: 9.5 MB / 330.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002293/0.004899, allocations: 224.7 kB / 421.4 MB, free: 9.312 MB / 330.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.626e-05/0.004916, allocations: 16.31 kB / 421.4 MB, free: 9.305 MB / 330.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.629e-05/0.004942, allocations: 17.47 kB / 421.4 MB, free: 9.301 MB / 330.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002184/0.00516, allocations: 205.1 kB / 421.6 MB, free: 9.18 MB / 330.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.939e-06/0.00517, allocations: 1.344 kB / 421.6 MB, free: 9.18 MB / 330.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.37e-05/0.005184, allocations: 9.5 kB / 421.6 MB, free: 9.172 MB / 330.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.91e-06/0.005189, allocations: 5.844 kB / 421.6 MB, free: 9.172 MB / 330.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001574/0.005346, allocations: 127.3 kB / 421.7 MB, free: 9.125 MB / 330.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000538/0.005884, allocations: 0.7146 MB / 422.4 MB, free: 8.531 MB / 330.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001671/0.006051, allocations: 90.75 kB / 422.5 MB, free: 8.48 MB / 330.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.769e-05/0.006099, allocations: 39.5 kB / 422.6 MB, free: 8.461 MB / 330.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.656e-05/0.006115, allocations: 1.859 kB / 422.6 MB, free: 8.461 MB / 330.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 8.757e-06/0.006124, allocations: 37.69 kB / 422.6 MB, free: 8.418 MB / 330.7 MB Notification: Performance of pre-optimization done (n=10): time 1.643e-06/0.006126, allocations: 4 kB / 422.6 MB, free: 8.414 MB / 330.7 MB Notification: Performance of matching and sorting (n=10): time 0.0002136/0.006339, allocations: 140 kB / 422.7 MB, free: 8.34 MB / 330.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 1.67e-05/0.006356, allocations: 52.62 kB / 422.8 MB, free: 8.277 MB / 330.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00014/0.006496, allocations: 255.2 kB / 423 MB, free: 8.121 MB / 330.7 MB Notification: Performance of collectPreVariables (initialization): time 8.035e-06/0.006504, allocations: 27.17 kB / 423.1 MB, free: 8.09 MB / 330.7 MB Notification: Performance of collectInitialEqns (initialization): time 5.734e-05/0.006562, allocations: 178.8 kB / 423.2 MB, free: 7.938 MB / 330.7 MB Notification: Performance of collectInitialBindings (initialization): time 1.64e-05/0.006578, allocations: 38.94 kB / 423.3 MB, free: 7.906 MB / 330.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.92e-05/0.006617, allocations: 32.86 kB / 423.3 MB, free: 7.883 MB / 330.7 MB Notification: Performance of setup shared object (initialization): time 3.555e-05/0.006653, allocations: 335.1 kB / 423.6 MB, free: 7.559 MB / 330.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.023e-05/0.006703, allocations: 38.2 kB / 423.7 MB, free: 7.543 MB / 330.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 5.609e-05/0.006759, allocations: 57.59 kB / 423.7 MB, free: 7.508 MB / 330.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006318/0.007391, allocations: 258.7 kB / 424 MB, free: 7.414 MB / 330.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.653e-06/0.007392, allocations: 0 / 424 MB, free: 7.414 MB / 330.7 MB Notification: Performance of matching and sorting (n=18) (initialization): time 0.0001638/0.007556, allocations: 164.2 kB / 424.2 MB, free: 7.328 MB / 330.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.068e-05/0.007567, allocations: 5.25 kB / 424.2 MB, free: 7.328 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.907e-06/0.007571, allocations: 2.422 kB / 424.2 MB, free: 7.328 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.103e-05/0.007582, allocations: 2.5 kB / 424.2 MB, free: 7.328 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001081/0.00769, allocations: 43.28 kB / 424.2 MB, free: 7.32 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.51e-06/0.007695, allocations: 1.938 kB / 424.2 MB, free: 7.32 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.434e-05/0.00775, allocations: 20.31 kB / 424.2 MB, free: 7.305 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.657e-06/0.007758, allocations: 8.297 kB / 424.2 MB, free: 7.301 MB / 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 9.307e-05/0.007851, allocations: 145.3 kB / 424.4 MB, free: 7.164 MB / 330.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.297e-05/0.007874, allocations: 28.02 kB / 424.4 MB, free: 7.148 MB / 330.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001852/0.00806, allocations: 150.3 kB / 424.5 MB, free: 7.074 MB / 330.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.555e-06/0.008062, allocations: 6.141 kB / 424.6 MB, free: 7.07 MB / 330.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.745e-06/0.008065, allocations: 0 / 424.6 MB, free: 7.07 MB / 330.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.436e-06/0.008068, allocations: 2.047 kB / 424.6 MB, free: 7.07 MB / 330.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001392/0.008207, allocations: 206.5 kB / 424.8 MB, free: 6.902 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.022e-06/0.008209, allocations: 4 kB / 424.8 MB, free: 6.898 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.307e-05/0.008302, allocations: 35.12 kB / 424.8 MB, free: 6.891 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.102e-06/0.008303, allocations: 0 / 424.8 MB, free: 6.891 MB / 330.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.616e-06/0.008311, allocations: 2.031 kB / 424.8 MB, free: 6.891 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.763e-06/0.008313, allocations: 2.047 kB / 424.8 MB, free: 6.891 MB / 330.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.012e-06/0.008314, allocations: 0 / 424.8 MB, free: 6.891 MB / 330.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001947/0.008509, allocations: 272.1 kB / 425.1 MB, free: 6.703 MB / 330.7 MB Notification: Performance of postOpt removeConstants (simulation): time 2.366e-05/0.008532, allocations: 23.62 kB / 425.1 MB, free: 6.688 MB / 330.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.822e-05/0.008551, allocations: 2.547 kB / 425.1 MB, free: 6.688 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.426e-05/0.008605, allocations: 0.875 kB / 425.1 MB, free: 6.688 MB / 330.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.936e-05/0.008634, allocations: 16.64 kB / 425.1 MB, free: 6.68 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.529e-06/0.008639, allocations: 6.906 kB / 425.1 MB, free: 6.676 MB / 330.7 MB Notification: Performance of sorting global known variables: time 9.185e-05/0.008731, allocations: 178.3 kB / 425.3 MB, free: 6.574 MB / 330.7 MB Notification: Performance of sort global known variables: time 5e-08/0.008731, allocations: 0 / 425.3 MB, free: 6.574 MB / 330.7 MB Notification: Performance of remove unused functions: time 0.0001897/0.00892, allocations: 62.47 kB / 425.4 MB, free: 6.559 MB / 330.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 8.628e-05/0.009007, allocations: 106.3 kB / 425.5 MB, free: 6.461 MB / 330.7 MB Notification: Performance of simCode: created initialization part: time 0.000146/0.009153, allocations: 94.97 kB / 425.5 MB, free: 6.43 MB / 330.7 MB Notification: Performance of simCode: created event and clocks part: time 2.194e-06/0.009155, allocations: 0 / 425.5 MB, free: 6.43 MB / 330.7 MB Notification: Performance of simCode: created simulation system equations: time 5.109e-05/0.009206, allocations: 47.7 kB / 425.6 MB, free: 6.414 MB / 330.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002331/0.009439, allocations: 62.47 kB / 425.7 MB, free: 6.387 MB / 330.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005849/0.01002, allocations: 0.5282 MB / 426.2 MB, free: 6.023 MB / 330.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 8.352e-05/0.01011, allocations: 150.4 kB / 426.3 MB, free: 5.938 MB / 330.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.159e-05/0.01015, allocations: 26.98 kB / 426.4 MB, free: 5.926 MB / 330.7 MB Notification: Performance of SimCode: time 5.92e-07/0.01015, allocations: 0 / 426.4 MB, free: 5.926 MB / 330.7 MB Notification: Performance of Templates: time 0.003739/0.01389, allocations: 3.12 MB / 429.5 MB, free: 5.664 MB / 330.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=480 -lv LOG_STATS > AES_AES.Coursework.ThermSys_component_models.HeatExchanger_1vol_case_002.pipe 2>&1) [Timeout 480] [Calling sys.exit(0), Time elapsed: 4.530136712826788] Failed to read output from testmodel.py, exit status != 0: 0.019734355621039867 0.02762792 0.021897758 Calling exit ...