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.001033/0.001033, allocations: 73.98 kB / 20.67 MB, free: 3.828 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.001025/0.001025, allocations: 177.3 kB / 24.08 MB, free: 428 kB / 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.011/1.011, allocations: 177.1 MB / 204.5 MB, free: 5.512 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.08274/0.08274, allocations: 18.14 MB / 279.2 MB, free: 11.16 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.483e-06/1.483e-06, allocations: 0 / 357.8 MB, free: 8.559 MB / 330.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.01e-05/2.158e-05, allocations: 2.312 kB / 357.8 MB, free: 8.555 MB / 330.7 MB Notification: Performance of NFInst.instantiate(AES.Coursework.ThermSys_component_models.HeatExchanger_1vol_case_002): time 0.006146/0.006168, allocations: 2.592 MB / 360.4 MB, free: 5.949 MB / 330.7 MB Notification: Performance of NFInst.instExpressions: time 0.0006376/0.006805, allocations: 354.7 kB / 360.7 MB, free: 5.602 MB / 330.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001293/0.006935, allocations: 15.88 kB / 360.7 MB, free: 5.586 MB / 330.7 MB Notification: Performance of NFTyping.typeComponents: time 7.002e-05/0.007005, allocations: 31.64 kB / 360.8 MB, free: 5.555 MB / 330.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0002493/0.007254, allocations: 134.9 kB / 360.9 MB, free: 5.422 MB / 330.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.000183/0.007437, allocations: 75.77 kB / 361 MB, free: 5.348 MB / 330.7 MB Notification: Performance of NFFlatten.flatten: time 0.003275/0.01071, allocations: 381.9 kB / 361.3 MB, free: 4.973 MB / 330.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002095/0.01092, allocations: 146.1 kB / 361.5 MB, free: 4.836 MB / 330.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001969/0.01112, allocations: 151.5 kB / 361.6 MB, free: 4.688 MB / 330.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001298/0.01125, allocations: 91.72 kB / 361.7 MB, free: 4.598 MB / 330.7 MB Notification: Performance of NFPackage.collectConstants: time 3.24e-05/0.01128, allocations: 20 kB / 361.7 MB, free: 4.578 MB / 330.7 MB Notification: Performance of NFFlatten.collectFunctions: time 9.252e-05/0.01137, allocations: 51.97 kB / 361.8 MB, free: 4.527 MB / 330.7 MB Notification: Performance of NFScalarize.scalarize: time 3.504e-05/0.01141, allocations: 47.77 kB / 361.8 MB, free: 4.48 MB / 330.7 MB Notification: Performance of NFVerifyModel.verify: time 8.02e-05/0.01149, allocations: 95.77 kB / 361.9 MB, free: 4.387 MB / 330.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0002415/0.01173, allocations: 211.1 kB / 362.1 MB, free: 4.18 MB / 330.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.735e-06/0.01173, allocations: 4 kB / 362.1 MB, free: 4.176 MB / 330.7 MB Notification: Performance of FrontEnd: time 7.82e-07/0.01173, allocations: 0 / 362.1 MB, free: 4.176 MB / 330.7 MB Notification: Performance of Transformations before backend: time 3.397e-06/0.01174, allocations: 0 / 362.1 MB, free: 4.176 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.0007129/0.01245, allocations: 0.6008 MB / 362.7 MB, free: 3.531 MB / 330.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.632e-05/0.01249, allocations: 16.92 kB / 362.8 MB, free: 3.516 MB / 330.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.975e-05/0.01255, allocations: 40.75 kB / 362.8 MB, free: 3.477 MB / 330.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002448/0.01279, allocations: 239.5 kB / 363 MB, free: 3.211 MB / 330.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.717e-05/0.01281, allocations: 16.75 kB / 363.1 MB, free: 3.195 MB / 330.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.927e-05/0.01284, allocations: 24.3 kB / 363.1 MB, free: 3.172 MB / 330.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000214/0.01305, allocations: 184.9 kB / 363.3 MB, free: 2.965 MB / 330.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.586e-06/0.01306, allocations: 192 / 363.3 MB, free: 2.965 MB / 330.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.494e-05/0.01307, allocations: 12.38 kB / 363.3 MB, free: 2.953 MB / 330.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.634e-06/0.01308, allocations: 4.375 kB / 363.3 MB, free: 2.949 MB / 330.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001041/0.01319, allocations: 69.45 kB / 363.3 MB, free: 2.883 MB / 330.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003687/0.01687, allocations: 0.8381 MB / 364.2 MB, free: 2 MB / 330.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001414/0.01701, allocations: 79.14 kB / 364.3 MB, free: 1.91 MB / 330.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 3.847e-05/0.01705, allocations: 35.67 kB / 364.3 MB, free: 1.871 MB / 330.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.488e-05/0.01707, allocations: 0 / 364.3 MB, free: 1.871 MB / 330.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.134e-05/0.01709, allocations: 37.39 kB / 364.3 MB, free: 1.824 MB / 330.7 MB Notification: Performance of pre-optimization done (n=10): time 8.62e-07/0.01709, allocations: 0 / 364.3 MB, free: 1.824 MB / 330.7 MB Notification: Performance of matching and sorting (n=10): time 0.0001964/0.01729, allocations: 109.5 kB / 364.4 MB, free: 1.711 MB / 330.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.746e-05/0.01731, allocations: 59.28 kB / 364.5 MB, free: 1.641 MB / 330.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001743/0.01749, allocations: 296.1 kB / 364.8 MB, free: 1.336 MB / 330.7 MB Notification: Performance of collectPreVariables (initialization): time 1.221e-05/0.0175, allocations: 25.7 kB / 364.8 MB, free: 1.305 MB / 330.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001031/0.0176, allocations: 226.9 kB / 365 MB, free: 1.078 MB / 330.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.416e-05/0.01763, allocations: 35.64 kB / 365.1 MB, free: 1.043 MB / 330.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.36e-05/0.01768, allocations: 47.34 kB / 365.1 MB, free: 0.9883 MB / 330.7 MB Notification: Performance of setup shared object (initialization): time 0.0001235/0.0178, allocations: 0.5078 MB / 365.6 MB, free: 480 kB / 330.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 3.063e-05/0.01783, allocations: 15.98 kB / 365.6 MB, free: 464 kB / 330.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 4.977e-05/0.01788, allocations: 51.02 kB / 365.7 MB, free: 400 kB / 330.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001221/0.01801, allocations: 101.6 kB / 365.8 MB, free: 288 kB / 330.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.924e-06/0.01801, allocations: 0 / 365.8 MB, free: 288 kB / 330.7 MB Notification: Performance of matching and sorting (n=18) (initialization): time 0.0001602/0.01817, allocations: 125.5 kB / 365.9 MB, free: 156 kB / 330.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.27e-05/0.01818, allocations: 14.66 kB / 365.9 MB, free: 144 kB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.248e-06/0.01819, allocations: 0 / 365.9 MB, free: 144 kB / 330.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.158e-05/0.0182, allocations: 0 / 365.9 MB, free: 144 kB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001374/0.01833, allocations: 39.92 kB / 366 MB, free: 104 kB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.847e-06/0.01834, allocations: 3.984 kB / 366 MB, free: 100 kB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.687e-05/0.01841, allocations: 15.84 kB / 366 MB, free: 84 kB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.024e-05/0.01842, allocations: 8 kB / 366 MB, free: 76 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.0003754/0.01879, allocations: 172.5 kB / 366.2 MB, free: 15.89 MB / 346.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.668e-05/0.01883, allocations: 23.86 kB / 366.2 MB, free: 15.87 MB / 346.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001811/0.01901, allocations: 131.2 kB / 366.3 MB, free: 15.73 MB / 346.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.004e-06/0.01901, allocations: 4 kB / 366.3 MB, free: 15.73 MB / 346.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.343e-06/0.01901, allocations: 0 / 366.3 MB, free: 15.73 MB / 346.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.969e-06/0.01902, allocations: 8 kB / 366.3 MB, free: 15.72 MB / 346.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001804/0.0192, allocations: 169 kB / 366.5 MB, free: 15.53 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.273e-06/0.0192, allocations: 0 / 366.5 MB, free: 15.53 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.003127/0.02233, allocations: 31.98 kB / 366.5 MB, free: 15.5 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.855e-06/0.02233, allocations: 0 / 366.5 MB, free: 15.5 MB / 346.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.213e-05/0.02234, allocations: 4 kB / 366.5 MB, free: 15.5 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.676e-06/0.02234, allocations: 3.984 kB / 366.5 MB, free: 15.49 MB / 346.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.352e-06/0.02235, allocations: 0 / 366.5 MB, free: 15.49 MB / 346.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002245/0.02257, allocations: 283.6 kB / 366.8 MB, free: 15.2 MB / 346.7 MB Notification: Performance of postOpt removeConstants (simulation): time 2.788e-05/0.0226, allocations: 19.84 kB / 366.8 MB, free: 15.18 MB / 346.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.389e-05/0.02262, allocations: 11.94 kB / 366.8 MB, free: 15.16 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.784e-05/0.0227, allocations: 0 / 366.8 MB, free: 15.16 MB / 346.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.172e-05/0.02273, allocations: 11.98 kB / 366.8 MB, free: 15.15 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.56e-06/0.02274, allocations: 0 / 366.8 MB, free: 15.15 MB / 346.7 MB Notification: Performance of sorting global known variables: time 9.954e-05/0.02284, allocations: 197.1 kB / 367 MB, free: 14.96 MB / 346.7 MB Notification: Performance of sort global known variables: time 7e-08/0.02284, allocations: 0 / 367 MB, free: 14.96 MB / 346.7 MB Notification: Performance of remove unused functions: time 0.00026/0.0231, allocations: 59.89 kB / 367.1 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.0001035/0.0232, allocations: 103.2 kB / 367.2 MB, free: 14.79 MB / 346.7 MB Notification: Performance of simCode: created initialization part: time 0.0001326/0.02333, allocations: 86.8 kB / 367.3 MB, free: 14.7 MB / 346.7 MB Notification: Performance of simCode: created event and clocks part: time 1.323e-06/0.02333, allocations: 0 / 367.3 MB, free: 14.7 MB / 346.7 MB Notification: Performance of simCode: created simulation system equations: time 4.875e-05/0.02338, allocations: 39.61 kB / 367.3 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.0003168/0.0237, allocations: 64.83 kB / 367.4 MB, free: 14.6 MB / 346.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001002/0.0247, allocations: 0.5235 MB / 367.9 MB, free: 14.04 MB / 346.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 5.316e-05/0.02475, allocations: 80.28 kB / 368 MB, free: 13.95 MB / 346.7 MB Notification: Performance of simCode: alias equations: time 9.514e-05/0.02485, allocations: 34.27 kB / 368 MB, free: 13.91 MB / 346.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001504/0.025, allocations: 142.1 kB / 368.2 MB, free: 13.77 MB / 346.7 MB Notification: Performance of SimCode: time 5.31e-07/0.025, allocations: 0 / 368.2 MB, free: 13.77 MB / 346.7 MB Notification: Performance of Templates: time 0.004556/0.02956, allocations: 3.033 MB / 371.2 MB, free: 10.82 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: 2.890420204028487]