Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr AES_AES.Coursework.ThermSys_component_models.HeatExchanger_1vol_case_003.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.001086/0.001086, allocations: 81.09 kB / 20.67 MB, free: 3.824 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.001301/0.001301, allocations: 177 kB / 24.08 MB, free: 432 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.046/1.046, allocations: 177.1 MB / 204.5 MB, free: 5.508 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.07432/0.07432, allocations: 18.14 MB / 279.2 MB, free: 11.17 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_003,tolerance=1e-06,outputFormat="empty",numberOfIntervals=500,variableFilter="",fileNamePrefix="AES_AES.Coursework.ThermSys_component_models.HeatExchanger_1vol_case_003") translateModel(AES.Coursework.ThermSys_component_models.HeatExchanger_1vol_case_003,tolerance=1e-06,outputFormat="empty",numberOfIntervals=500,variableFilter="",fileNamePrefix="AES_AES.Coursework.ThermSys_component_models.HeatExchanger_1vol_case_003") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.864e-06/1.864e-06, allocations: 0 / 357.8 MB, free: 8.547 MB / 330.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.292e-05/2.479e-05, allocations: 2.312 kB / 357.8 MB, free: 8.543 MB / 330.7 MB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/AES main/ProcessComponents/Thermal/Liquid/HE_LiquidLiquid_1vol.mo:4:3-4:45:writable] Warning: An inner declaration for outer component system could not be found and was automatically generated. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/AES main/ProcessComponents/Thermal/Liquid/HE_LiquidLiquid_1vol.mo:4:3-4:45:writable] Notification: The diagnostics message for the missing inner is: Your model is using an outer \"system\" component but an inner \"system\" component is not defined. Drag AES.ProcessComponents.Thermal.System_settings.System_liquid into your model to specify the working fluid properties. Notification: Performance of NFInst.instantiate(AES.Coursework.ThermSys_component_models.HeatExchanger_1vol_case_003): time 0.02267/0.0227, allocations: 26.52 MB / 384.3 MB, free: 14.18 MB / 362.7 MB Notification: Performance of NFInst.instExpressions: time 0.001846/0.02454, allocations: 406.4 kB / 384.7 MB, free: 13.79 MB / 362.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002874/0.02483, allocations: 19.88 kB / 384.7 MB, free: 13.77 MB / 362.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0001288/0.02496, allocations: 47.5 kB / 384.8 MB, free: 13.72 MB / 362.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0004366/0.02539, allocations: 154.7 kB / 384.9 MB, free: 13.57 MB / 362.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002506/0.02564, allocations: 83.81 kB / 385 MB, free: 13.48 MB / 362.7 MB Notification: Performance of NFFlatten.flatten: time 0.0004691/0.02611, allocations: 441.6 kB / 385.4 MB, free: 13.05 MB / 362.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0003684/0.02648, allocations: 227.5 kB / 385.7 MB, free: 12.83 MB / 362.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003221/0.0268, allocations: 187.5 kB / 385.8 MB, free: 12.65 MB / 362.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002362/0.02704, allocations: 143.6 kB / 386 MB, free: 12.51 MB / 362.7 MB Notification: Performance of NFPackage.collectConstants: time 5.595e-05/0.0271, allocations: 28 kB / 386 MB, free: 12.48 MB / 362.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001288/0.02722, allocations: 55.97 kB / 386.1 MB, free: 12.43 MB / 362.7 MB Notification: Performance of NFScalarize.scalarize: time 6.202e-05/0.02729, allocations: 75.66 kB / 386.1 MB, free: 12.35 MB / 362.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0001233/0.02741, allocations: 135.7 kB / 386.3 MB, free: 12.22 MB / 362.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0003936/0.0278, allocations: 282.9 kB / 386.5 MB, free: 11.94 MB / 362.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.937e-06/0.02781, allocations: 0 / 386.5 MB, free: 11.94 MB / 362.7 MB Notification: Performance of FrontEnd: time 1.232e-06/0.02781, allocations: 0 / 386.5 MB, free: 11.94 MB / 362.7 MB Notification: Performance of Transformations before backend: time 6.733e-06/0.02782, allocations: 0 / 386.5 MB, free: 11.94 MB / 362.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 57 * Number of variables: 57 Notification: Performance of Generate backend data structure: time 0.0009073/0.02872, allocations: 0.663 MB / 387.2 MB, free: 11.24 MB / 362.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.615e-05/0.02877, allocations: 12.92 kB / 387.2 MB, free: 11.23 MB / 362.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 9.735e-05/0.02887, allocations: 56.7 kB / 387.3 MB, free: 11.17 MB / 362.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003474/0.02921, allocations: 271.3 kB / 387.5 MB, free: 10.88 MB / 362.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.459e-05/0.02924, allocations: 20.88 kB / 387.6 MB, free: 10.86 MB / 362.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.738e-05/0.02929, allocations: 24.38 kB / 387.6 MB, free: 10.83 MB / 362.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003469/0.02963, allocations: 225.3 kB / 387.8 MB, free: 10.59 MB / 362.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.323e-05/0.02967, allocations: 8.172 kB / 387.8 MB, free: 10.58 MB / 362.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.174e-05/0.02969, allocations: 8.375 kB / 387.8 MB, free: 10.57 MB / 362.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.498e-06/0.0297, allocations: 12.38 kB / 387.8 MB, free: 10.56 MB / 362.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001489/0.02985, allocations: 109.3 kB / 387.9 MB, free: 10.46 MB / 362.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007652/0.03061, allocations: 0.8408 MB / 388.8 MB, free: 9.578 MB / 362.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001683/0.03078, allocations: 111 kB / 388.9 MB, free: 9.457 MB / 362.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 8.088e-05/0.03086, allocations: 67.83 kB / 389 MB, free: 9.387 MB / 362.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.035e-05/0.03088, allocations: 7.938 kB / 389 MB, free: 9.379 MB / 362.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.104e-05/0.0309, allocations: 41.38 kB / 389 MB, free: 9.328 MB / 362.7 MB Notification: Performance of preOpt simplifyInStream (simulation): time 0.0001379/0.03104, allocations: 43.94 kB / 389 MB, free: 9.285 MB / 362.7 MB Notification: Performance of pre-optimization done (n=18): time 1.333e-06/0.03104, allocations: 0 / 389 MB, free: 9.285 MB / 362.7 MB Notification: Performance of matching and sorting (n=18): time 0.0006138/0.03165, allocations: 291.5 kB / 389.3 MB, free: 8.992 MB / 362.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.685e-05/0.03168, allocations: 55.41 kB / 389.4 MB, free: 8.926 MB / 362.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001535/0.03183, allocations: 310.1 kB / 389.7 MB, free: 8.602 MB / 362.7 MB Notification: Performance of collectPreVariables (initialization): time 1.669e-05/0.03185, allocations: 29.7 kB / 389.7 MB, free: 8.566 MB / 362.7 MB Notification: Performance of collectInitialEqns (initialization): time 9.478e-05/0.03195, allocations: 231 kB / 389.9 MB, free: 8.336 MB / 362.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.527e-05/0.03198, allocations: 71.41 kB / 390 MB, free: 8.266 MB / 362.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.52e-05/0.03204, allocations: 59.12 kB / 390.1 MB, free: 8.199 MB / 362.7 MB Notification: Performance of setup shared object (initialization): time 0.0001169/0.03215, allocations: 0.5079 MB / 390.6 MB, free: 7.68 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 4.142e-05/0.0322, allocations: 27.97 kB / 390.6 MB, free: 7.652 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 5.887e-05/0.03225, allocations: 63.31 kB / 390.7 MB, free: 7.582 MB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001544/0.03241, allocations: 149.7 kB / 390.8 MB, free: 7.43 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.026e-06/0.03241, allocations: 3.984 kB / 390.8 MB, free: 7.426 MB / 362.7 MB Notification: Performance of matching and sorting (n=25) (initialization): time 0.0003598/0.03277, allocations: 243.7 kB / 391.1 MB, free: 7.18 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.185e-05/0.03278, allocations: 8 kB / 391.1 MB, free: 7.172 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.429e-06/0.03279, allocations: 0 / 391.1 MB, free: 7.172 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004686/0.03326, allocations: 131.5 kB / 391.2 MB, free: 7.039 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001147/0.03337, allocations: 43.91 kB / 391.2 MB, free: 6.996 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0003303/0.0337, allocations: 0.8156 MB / 392 MB, free: 6.148 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.38e-05/0.03377, allocations: 15.97 kB / 392.1 MB, free: 6.133 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.329e-05/0.03378, allocations: 7.984 kB / 392.1 MB, free: 6.125 MB / 362.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: 2 * 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 (21): * Single equations (assignments): 20 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 0 systems * Non-linear torn systems (#iteration vars, #inner vars): 1 system {(1,4)} Notification: Performance of prepare postOptimizeDAE: time 0.000128/0.03391, allocations: 172.4 kB / 392.2 MB, free: 5.945 MB / 362.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.373e-05/0.03394, allocations: 31.86 kB / 392.3 MB, free: 5.914 MB / 362.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004645/0.0344, allocations: 295.1 kB / 392.6 MB, free: 5.609 MB / 362.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.354e-06/0.03441, allocations: 0 / 392.6 MB, free: 5.609 MB / 362.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.092e-06/0.03441, allocations: 0 / 392.6 MB, free: 5.609 MB / 362.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.216e-06/0.03441, allocations: 0 / 392.6 MB, free: 5.609 MB / 362.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005604/0.03497, allocations: 0.5825 MB / 393.1 MB, free: 4.98 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.035e-06/0.03497, allocations: 3.984 kB / 393.1 MB, free: 4.977 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001142/0.03509, allocations: 43.92 kB / 393.2 MB, free: 4.934 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0003131/0.0354, allocations: 115.6 kB / 393.3 MB, free: 4.816 MB / 362.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.364e-05/0.03542, allocations: 15.97 kB / 393.3 MB, free: 4.801 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0002644/0.03568, allocations: 0.8272 MB / 394.1 MB, free: 3.941 MB / 362.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.244e-06/0.03568, allocations: 7.938 kB / 394.2 MB, free: 3.934 MB / 362.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005473/0.03623, allocations: 456.5 kB / 394.6 MB, free: 3.457 MB / 362.7 MB Notification: Performance of postOpt removeConstants (simulation): time 2.798e-05/0.03626, allocations: 31.81 kB / 394.6 MB, free: 3.426 MB / 362.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.227e-05/0.03628, allocations: 4 kB / 394.6 MB, free: 3.422 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.315e-05/0.03635, allocations: 8 kB / 394.6 MB, free: 3.414 MB / 362.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.422e-05/0.03639, allocations: 19.89 kB / 394.7 MB, free: 3.395 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.828e-06/0.0364, allocations: 12 kB / 394.7 MB, free: 3.383 MB / 362.7 MB Notification: Performance of sorting global known variables: time 8.416e-05/0.03648, allocations: 206.9 kB / 394.9 MB, free: 3.18 MB / 362.7 MB Notification: Performance of sort global known variables: time 6e-08/0.03648, allocations: 4.031 kB / 394.9 MB, free: 3.176 MB / 362.7 MB Notification: Performance of remove unused functions: time 0.0001987/0.03668, allocations: 71.89 kB / 394.9 MB, free: 3.105 MB / 362.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 3 * 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 (21): * Single equations (assignments): 20 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 0 systems * Non-linear torn systems (#iteration vars, #inner vars): 1 system {(1,6)} Notification: Performance of Backend phase and start with SimCode phase: time 0.000118/0.0368, allocations: 107.1 kB / 395.1 MB, free: 2.992 MB / 362.7 MB Notification: Performance of simCode: created initialization part: time 0.0002343/0.03703, allocations: 141.1 kB / 395.2 MB, free: 2.852 MB / 362.7 MB Notification: Performance of simCode: created event and clocks part: time 1.272e-06/0.03703, allocations: 3.938 kB / 395.2 MB, free: 2.848 MB / 362.7 MB Notification: Performance of simCode: created simulation system equations: time 0.000109/0.03714, allocations: 100.8 kB / 395.3 MB, free: 2.746 MB / 362.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002719/0.03741, allocations: 72.95 kB / 395.4 MB, free: 2.672 MB / 362.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009144/0.03833, allocations: 0.6319 MB / 396 MB, free: 1.996 MB / 362.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.986e-05/0.03838, allocations: 96.61 kB / 396.1 MB, free: 1.879 MB / 362.7 MB Notification: Performance of simCode: alias equations: time 9.336e-05/0.03847, allocations: 42.95 kB / 396.1 MB, free: 1.84 MB / 362.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000144/0.03862, allocations: 146.1 kB / 396.3 MB, free: 1.695 MB / 362.7 MB Notification: Performance of SimCode: time 1.232e-06/0.03862, allocations: 0 / 396.3 MB, free: 1.695 MB / 362.7 MB Notification: Performance of Templates: time 0.005944/0.04456, allocations: 4.305 MB / 400.6 MB, free: 13.49 MB / 378.7 MB " [Timeout remaining time 660] make -j1 -f AES_AES.Coursework.ThermSys_component_models.HeatExchanger_1vol_case_003.makefile [Timeout 660] (rm -f AES_AES.Coursework.ThermSys_component_models.HeatExchanger_1vol_case_003.pipe ; mkfifo AES_AES.Coursework.ThermSys_component_models.HeatExchanger_1vol_case_003.pipe ; head -c 1048576 < AES_AES.Coursework.ThermSys_component_models.HeatExchanger_1vol_case_003.pipe >> ../files/AES_AES.Coursework.ThermSys_component_models.HeatExchanger_1vol_case_003.sim & ./AES_AES.Coursework.ThermSys_component_models.HeatExchanger_1vol_case_003 -lv=LOG_STATS -s=dassl -abortSlowSimulation -alarm=240 -lv LOG_STATS > AES_AES.Coursework.ThermSys_component_models.HeatExchanger_1vol_case_003.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 3.060087434016168]