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.001431/0.001431, allocations: 81.5 kB / 19.96 MB, free: 1.742 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.001582/0.001582, allocations: 178.9 kB / 23.24 MB, free: 4.859 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.541/1.541, allocations: 177.1 MB / 203.5 MB, free: 9.164 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.1071/0.1071, allocations: 18.13 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.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 2.214e-06/2.214e-06, allocations: 0 / 415.6 MB, free: 2.562 MB / 334.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 3.9e-05/4.122e-05, allocations: 4.531 kB / 415.6 MB, free: 2.559 MB / 334.1 MB Notification: Performance of NFInst.instantiate(AES.Coursework.ThermSys_component_models.HeatExchanger_1vol_case_002): time 0.006447/0.006488, allocations: 2.409 MB / 418 MB, free: 136 kB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.001339/0.007827, allocations: 354.7 kB / 418.3 MB, free: 15.79 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003331/0.00816, allocations: 11.94 kB / 418.3 MB, free: 15.77 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001692/0.008329, allocations: 43.58 kB / 418.4 MB, free: 15.73 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0006105/0.00894, allocations: 134.9 kB / 418.5 MB, free: 15.6 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004093/0.009349, allocations: 71.78 kB / 418.6 MB, free: 15.53 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0006649/0.01001, allocations: 370 kB / 418.9 MB, free: 15.16 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0004252/0.01044, allocations: 142 kB / 419.1 MB, free: 15.02 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0004481/0.01089, allocations: 147.6 kB / 419.2 MB, free: 14.88 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002864/0.01117, allocations: 91.72 kB / 419.3 MB, free: 14.79 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 7.19e-05/0.01125, allocations: 23.94 kB / 419.3 MB, free: 14.77 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.000205/0.01145, allocations: 55.89 kB / 419.4 MB, free: 14.71 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 7.919e-05/0.01153, allocations: 51.7 kB / 419.5 MB, free: 14.66 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.000225/0.01175, allocations: 95.77 kB / 419.5 MB, free: 14.57 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0006022/0.01236, allocations: 299 kB / 419.8 MB, free: 14.27 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.488e-06/0.01236, allocations: 3.938 kB / 419.8 MB, free: 14.27 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.493e-06/0.01236, allocations: 4 kB / 419.8 MB, free: 14.27 MB / 350.1 MB Notification: Performance of Transformations before backend: time 1.136e-05/0.01237, allocations: 0 / 419.8 MB, free: 14.27 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: 45 * Number of variables: 45 Notification: Performance of Generate backend data structure: time 0.001293/0.01367, allocations: 0.497 MB / 420.3 MB, free: 13.73 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.595e-05/0.01371, allocations: 8.922 kB / 420.3 MB, free: 13.72 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001187/0.01383, allocations: 36.75 kB / 420.4 MB, free: 13.69 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000564/0.0144, allocations: 228.7 kB / 420.6 MB, free: 13.44 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.714e-05/0.01443, allocations: 16.75 kB / 420.6 MB, free: 13.42 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.912e-05/0.01449, allocations: 20.36 kB / 420.6 MB, free: 13.4 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005704/0.01506, allocations: 204.8 kB / 420.8 MB, free: 13.18 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.93e-05/0.01508, allocations: 4.172 kB / 420.8 MB, free: 13.18 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.574e-05/0.01512, allocations: 8.375 kB / 420.9 MB, free: 13.17 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.115e-05/0.01513, allocations: 4.375 kB / 420.9 MB, free: 13.17 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004245/0.01555, allocations: 124.8 kB / 421 MB, free: 13.05 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001551/0.0171, allocations: 0.7052 MB / 421.7 MB, free: 12.3 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003843/0.01749, allocations: 94.66 kB / 421.8 MB, free: 12.2 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001216/0.01761, allocations: 40.84 kB / 421.8 MB, free: 12.15 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.254e-05/0.01763, allocations: 0 / 421.8 MB, free: 12.15 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.997e-05/0.01767, allocations: 38.56 kB / 421.9 MB, free: 12.11 MB / 350.1 MB Notification: Performance of pre-optimization done (n=10): time 1.423e-06/0.01767, allocations: 0 / 421.9 MB, free: 12.11 MB / 350.1 MB Notification: Performance of matching and sorting (n=10): time 0.000549/0.01822, allocations: 137.5 kB / 422 MB, free: 11.96 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.419e-05/0.01829, allocations: 51.41 kB / 422 MB, free: 11.9 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004223/0.01871, allocations: 257.8 kB / 422.3 MB, free: 11.64 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 4.316e-05/0.01875, allocations: 29.7 kB / 422.3 MB, free: 11.61 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001889/0.01894, allocations: 176.2 kB / 422.5 MB, free: 11.43 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 5.209e-05/0.01899, allocations: 35.69 kB / 422.5 MB, free: 11.39 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001134/0.01911, allocations: 41.64 kB / 422.6 MB, free: 11.35 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0002226/0.01933, allocations: 335.1 kB / 422.9 MB, free: 11.01 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000144/0.01947, allocations: 39.97 kB / 422.9 MB, free: 10.97 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001782/0.01965, allocations: 54.56 kB / 423 MB, free: 10.91 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001942/0.02159, allocations: 257.1 kB / 423.2 MB, free: 10.65 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.376e-06/0.0216, allocations: 3.938 kB / 423.2 MB, free: 10.65 MB / 350.1 MB Notification: Performance of matching and sorting (n=18) (initialization): time 0.0004974/0.02209, allocations: 165.4 kB / 423.4 MB, free: 10.48 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.122e-05/0.02212, allocations: 4 kB / 423.4 MB, free: 10.48 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.073e-06/0.02212, allocations: 4 kB / 423.4 MB, free: 10.47 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.861e-05/0.02214, allocations: 0 / 423.4 MB, free: 10.47 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003411/0.02248, allocations: 35.92 kB / 423.4 MB, free: 10.44 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.882e-05/0.0225, allocations: 11.97 kB / 423.5 MB, free: 10.43 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000205/0.02271, allocations: 15.91 kB / 423.5 MB, free: 10.41 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.367e-05/0.02273, allocations: 12 kB / 423.5 MB, free: 10.4 MB / 350.1 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.0002612/0.02299, allocations: 141.7 kB / 423.6 MB, free: 10.25 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.139e-05/0.02307, allocations: 19.86 kB / 423.6 MB, free: 10.23 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004892/0.02356, allocations: 158.3 kB / 423.8 MB, free: 10.08 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.228e-06/0.02357, allocations: 0 / 423.8 MB, free: 10.08 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.847e-06/0.02357, allocations: 4 kB / 423.8 MB, free: 10.07 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.578e-06/0.02358, allocations: 4 kB / 423.8 MB, free: 10.07 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004372/0.02402, allocations: 205.1 kB / 424 MB, free: 9.84 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.525e-06/0.02402, allocations: 0 / 424 MB, free: 9.84 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003103/0.02433, allocations: 31.92 kB / 424 MB, free: 9.809 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 7.905e-06/0.02434, allocations: 4 kB / 424 MB, free: 9.805 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.833e-05/0.02436, allocations: 4 kB / 424 MB, free: 9.801 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.565e-06/0.02436, allocations: 0 / 424 MB, free: 9.801 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.283e-06/0.02436, allocations: 0 / 424 MB, free: 9.801 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006228/0.02498, allocations: 275.2 kB / 424.3 MB, free: 9.516 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 6.748e-05/0.02505, allocations: 23.88 kB / 424.3 MB, free: 9.492 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.778e-05/0.02511, allocations: 4 kB / 424.3 MB, free: 9.488 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002026/0.02531, allocations: 0 / 424.3 MB, free: 9.488 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.523e-05/0.02538, allocations: 15.97 kB / 424.4 MB, free: 9.473 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.514e-05/0.02539, allocations: 4 kB / 424.4 MB, free: 9.469 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.0002881/0.02568, allocations: 181.2 kB / 424.5 MB, free: 9.293 MB / 350.1 MB Notification: Performance of sort global known variables: time 1.4e-07/0.02568, allocations: 0 / 424.5 MB, free: 9.293 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0005626/0.02624, allocations: 63.89 kB / 424.6 MB, free: 9.23 MB / 350.1 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.0002028/0.02644, allocations: 103.2 kB / 424.7 MB, free: 9.117 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.0003713/0.02682, allocations: 95.78 kB / 424.8 MB, free: 9.023 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 2.545e-06/0.02682, allocations: 0 / 424.8 MB, free: 9.023 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001502/0.02697, allocations: 47.92 kB / 424.8 MB, free: 8.977 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006548/0.02762, allocations: 56.53 kB / 424.9 MB, free: 8.922 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001554/0.02918, allocations: 0.5043 MB / 425.4 MB, free: 8.387 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002293/0.02941, allocations: 146.8 kB / 425.5 MB, free: 8.223 MB / 350.1 MB Notification: Performance of simCode: alias equations: time 0.0002078/0.02961, allocations: 34.28 kB / 425.6 MB, free: 8.191 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.42e-05/0.02971, allocations: 24.5 kB / 425.6 MB, free: 8.168 MB / 350.1 MB Notification: Performance of SimCode: time 7.81e-07/0.02971, allocations: 0 / 425.6 MB, free: 8.168 MB / 350.1 MB Notification: Performance of Templates: time 0.01173/0.04144, allocations: 2.741 MB / 428.3 MB, free: 5.496 MB / 350.1 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.606823198497295] Failed to read output from testmodel.py, exit status != 0: 0.05582539737224579 0.07913536 0.061711759000000005 Calling exit ...