Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr AES_AES.Coursework.ThermSys_control_problems.Thermal_control_central_local_sources.Tcontrol_central_local_01_CenFirst.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/AES main/package.mo", uses=false) Using package AES with version (/home/hudson/saved_omc/libraries/.openmodelica/libraries/AES main/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: translateModel(AES.Coursework.ThermSys_control_problems.Thermal_control_central_local_sources.Tcontrol_central_local_01_CenFirst,tolerance=1e-06,outputFormat="empty",numberOfIntervals=10000,variableFilter="",fileNamePrefix="AES_AES.Coursework.ThermSys_control_problems.Thermal_control_central_local_sources.Tcontrol_central_local_01_CenFirst") translateModel(AES.Coursework.ThermSys_control_problems.Thermal_control_central_local_sources.Tcontrol_central_local_01_CenFirst,tolerance=1e-06,outputFormat="empty",numberOfIntervals=10000,variableFilter="",fileNamePrefix="AES_AES.Coursework.ThermSys_control_problems.Thermal_control_central_local_sources.Tcontrol_central_local_01_CenFirst") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001008/0.001007, allocations: 91.84 kB / 15.36 MB, free: 0.7383 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.009448/0.009448, allocations: 169.9 kB / 16.26 MB, free: 6.613 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.406/1.406, allocations: 223.3 MB / 240.3 MB, free: 5.355 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/AES main/package.mo): time 0.2127/0.2127, allocations: 22.34 MB / 313.8 MB, free: 13.07 MB / 254.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0003734/0.0003735, allocations: 8 kB / 382.6 MB, free: 10.16 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3035/0.3039, allocations: 55.98 MB / 438.6 MB, free: 39.26 MB / 350.1 MB Notification: Performance of NFInst.instantiate(AES.Coursework.ThermSys_control_problems.Thermal_control_central_local_sources.Tcontrol_central_local_01_CenFirst): time 0.003211/0.3072, allocations: 3.046 MB / 441.6 MB, free: 37.04 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.001402/0.3086, allocations: 0.6121 MB / 442.2 MB, free: 36.59 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004358/0.3091, allocations: 8.594 kB / 442.2 MB, free: 36.59 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002363/0.3093, allocations: 54.19 kB / 442.3 MB, free: 36.56 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0004997/0.3098, allocations: 114.1 kB / 442.4 MB, free: 36.48 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0006679/0.3105, allocations: 265.7 kB / 442.7 MB, free: 36.32 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.000774/0.3113, allocations: 0.6399 MB / 443.3 MB, free: 36.01 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0004443/0.3118, allocations: 273.8 kB / 443.6 MB, free: 35.88 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003052/0.3121, allocations: 189.7 kB / 443.8 MB, free: 35.79 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002757/0.3124, allocations: 230.3 kB / 444 MB, free: 35.68 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 5.863e-05/0.3124, allocations: 20.69 kB / 444 MB, free: 35.68 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 5.791e-05/0.3125, allocations: 23.03 kB / 444 MB, free: 35.68 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 9.676e-05/0.3126, allocations: 107.7 kB / 444.1 MB, free: 35.62 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0002091/0.3128, allocations: 277.6 kB / 444.4 MB, free: 35.43 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0004465/0.3133, allocations: 0.6073 MB / 445 MB, free: 35.24 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.086e-06/0.3133, allocations: 3.938 kB / 445 MB, free: 35.24 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.313e-06/0.3133, allocations: 0 / 445 MB, free: 35.24 MB / 350.1 MB Notification: Performance of Transformations before backend: time 8.416e-06/0.3133, allocations: 0 / 445 MB, free: 35.24 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: 137 * Number of variables: 137 Notification: Performance of Generate backend data structure: time 0.001185/0.3145, allocations: 0.7893 MB / 445.8 MB, free: 34.66 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.054e-05/0.3145, allocations: 12.47 kB / 445.8 MB, free: 34.65 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001023/0.3146, allocations: 66.91 kB / 445.9 MB, free: 34.62 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003604/0.315, allocations: 386.6 kB / 446.3 MB, free: 34.3 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.028e-05/0.3151, allocations: 41.5 kB / 446.3 MB, free: 34.28 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 7.763e-05/0.3151, allocations: 50.03 kB / 446.3 MB, free: 34.27 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0009484/0.3161, allocations: 0.5901 MB / 446.9 MB, free: 34.01 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.153e-05/0.3161, allocations: 4.172 kB / 446.9 MB, free: 34.01 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.145e-05/0.3162, allocations: 33.36 kB / 447 MB, free: 33.98 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.2e-05/0.3162, allocations: 17.78 kB / 447 MB, free: 33.98 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000874/0.3171, allocations: 459.4 kB / 447.4 MB, free: 33.84 MB / 350.1 MB Warning: The model contains alias variables with redundant start and/or conflicting nominal values. It is recommended to resolve the conflicts, because otherwise the system could be hard to solve. To print the conflicting alias sets and the chosen candidates please use -d=aliasConflicts. Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002199/0.3193, allocations: 2.031 MB / 449.5 MB, free: 32.37 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0008254/0.3201, allocations: 466.7 kB / 449.9 MB, free: 32.2 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004641/0.3206, allocations: 278.8 kB / 450.2 MB, free: 32.1 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 4.332e-05/0.3207, allocations: 10.09 kB / 450.2 MB, free: 32.09 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.547e-05/0.3207, allocations: 39.88 kB / 450.2 MB, free: 32.05 MB / 350.1 MB Notification: Performance of pre-optimization done (n=49): time 2.164e-06/0.3207, allocations: 0 / 450.2 MB, free: 32.05 MB / 350.1 MB Notification: Performance of matching and sorting (n=49): time 0.001254/0.322, allocations: 0.6388 MB / 450.9 MB, free: 31.82 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.192e-05/0.322, allocations: 136.8 kB / 451 MB, free: 31.66 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002139/0.3222, allocations: 280.8 kB / 451.3 MB, free: 31.51 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 3.432e-05/0.3223, allocations: 41.2 kB / 451.3 MB, free: 31.47 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001155/0.3224, allocations: 256.7 kB / 451.6 MB, free: 31.26 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 9.333e-05/0.3225, allocations: 175 kB / 451.8 MB, free: 31.12 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.54e-05/0.3226, allocations: 41.55 kB / 451.8 MB, free: 31.09 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 6.703e-05/0.3226, allocations: 362.7 kB / 452.1 MB, free: 30.75 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003508/0.323, allocations: 179.1 kB / 452.3 MB, free: 30.7 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004127/0.3234, allocations: 271.1 kB / 452.6 MB, free: 30.55 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.003429/0.3269, allocations: 1.016 MB / 453.6 MB, free: 30.23 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.105e-06/0.3269, allocations: 3.344 kB / 453.6 MB, free: 30.23 MB / 350.1 MB Notification: Performance of matching and sorting (n=60) (initialization): time 0.0009388/0.3278, allocations: 0.5409 MB / 454.1 MB, free: 30.01 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 7.384e-05/0.3279, allocations: 123.8 kB / 454.3 MB, free: 29.88 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.865e-06/0.3279, allocations: 4.156 kB / 454.3 MB, free: 29.87 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.949e-05/0.328, allocations: 4.844 kB / 454.3 MB, free: 29.87 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005301/0.3285, allocations: 131.3 kB / 454.4 MB, free: 29.86 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.829e-06/0.3285, allocations: 2.812 kB / 454.4 MB, free: 29.86 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003522/0.3289, allocations: 77.09 kB / 454.5 MB, free: 29.82 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.31e-05/0.3289, allocations: 20.81 kB / 454.5 MB, free: 29.82 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 7.123e-06/0.3289, allocations: 3.75 kB / 454.5 MB, free: 29.82 MB / 350.1 MB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.0006181/0.3295, allocations: 388.8 kB / 454.9 MB, free: 29.67 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.058e-06/0.3296, allocations: 1.062 kB / 454.9 MB, free: 29.67 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 5.73e-06/0.3296, allocations: 8.188 kB / 454.9 MB, free: 29.67 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004319/0.33, allocations: 110.3 kB / 455 MB, free: 29.66 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.059e-06/0.33, allocations: 3.031 kB / 455 MB, free: 29.66 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000246/0.3303, allocations: 51.34 kB / 455.1 MB, free: 29.63 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.81e-05/0.3303, allocations: 19.55 kB / 455.1 MB, free: 29.62 MB / 350.1 MB Warning: Assuming fixed start value for the following 3 variables: Ccen.T:VARIABLE(min = max(0.0, max(0.0, max(0.0, max(0.0, max(0.0, max(0.0, 0.0)))))) start = 313.15 unit = "K" fixed = true nominal = 300.0 ) "Temperature of element" type: Real Cloc1.T:VARIABLE(min = max(0.0, max(0.0, max(0.0, max(0.0, max(0.0, 0.0))))) start = 293.15 unit = "K" fixed = true nominal = 300.0 ) "Temperature of element" type: Real Cloc2.T:VARIABLE(min = max(0.0, max(0.0, max(0.0, max(0.0, max(0.0, 0.0))))) start = 293.15 unit = "K" fixed = true nominal = 300.0 ) "Temperature of element" type: Real Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 6 * 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 (60): * Single equations (assignments): 60 * 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.0003865/0.3307, allocations: 301.4 kB / 455.4 MB, free: 29.38 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.206e-05/0.3308, allocations: 38.31 kB / 455.4 MB, free: 29.36 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001185/0.332, allocations: 0.6306 MB / 456 MB, free: 29.11 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.19e-05/0.332, allocations: 6.844 kB / 456 MB, free: 29.11 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.492e-06/0.332, allocations: 0 / 456 MB, free: 29.11 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.516e-06/0.332, allocations: 4.234 kB / 456 MB, free: 29.11 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006641/0.3327, allocations: 0.5894 MB / 456.6 MB, free: 28.74 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.325e-06/0.3327, allocations: 0 / 456.6 MB, free: 28.74 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005939/0.3333, allocations: 139.6 kB / 456.8 MB, free: 28.73 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.56e-06/0.3333, allocations: 6.75 kB / 456.8 MB, free: 28.72 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.45e-05/0.3334, allocations: 19.77 kB / 456.8 MB, free: 28.71 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.35e-06/0.3334, allocations: 6.281 kB / 456.8 MB, free: 28.71 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.142e-06/0.3334, allocations: 0 / 456.8 MB, free: 28.71 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001458/0.3348, allocations: 0.9166 MB / 457.7 MB, free: 28.3 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 6.844e-05/0.3349, allocations: 126.5 kB / 457.8 MB, free: 28.17 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.906e-05/0.335, allocations: 14.86 kB / 457.9 MB, free: 28.16 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002991/0.3353, allocations: 45.64 kB / 457.9 MB, free: 28.14 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.281e-05/0.3354, allocations: 37.3 kB / 457.9 MB, free: 28.14 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.206e-05/0.3354, allocations: 18.98 kB / 458 MB, free: 28.13 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.0001773/0.3356, allocations: 196.3 kB / 458.2 MB, free: 28.02 MB / 350.1 MB Notification: Performance of sort global known variables: time 1.31e-07/0.3356, allocations: 0 / 458.2 MB, free: 28.02 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0006889/0.3363, allocations: 237.4 kB / 458.4 MB, free: 27.95 MB / 350.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 6 (Ccen.T,Cloc1.T,C1.FO.y,C2.FO.y,Cloc2.T,Cc.FO.y) * 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 (65): * Single equations (assignments): 65 * 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.0001492/0.3365, allocations: 120.6 kB / 458.5 MB, free: 27.85 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.001322/0.3378, allocations: 0.6942 MB / 459.2 MB, free: 27.64 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 2.945e-06/0.3378, allocations: 0 / 459.2 MB, free: 27.64 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0004733/0.3383, allocations: 285.4 kB / 459.5 MB, free: 27.55 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005328/0.3388, allocations: 87.39 kB / 459.6 MB, free: 27.51 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002137/0.341, allocations: 1.555 MB / 461.1 MB, free: 26.55 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003447/0.3413, allocations: 0.8687 MB / 462 MB, free: 25.84 MB / 350.1 MB Notification: Performance of simCode: alias equations: time 0.0003635/0.3417, allocations: 79.36 kB / 462.1 MB, free: 25.82 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001435/0.3419, allocations: 49.3 kB / 462.1 MB, free: 25.8 MB / 350.1 MB Notification: Performance of SimCode: time 3.11e-07/0.3419, allocations: 0 / 462.1 MB, free: 25.8 MB / 350.1 MB Notification: Performance of Templates: time 0.01136/0.3532, allocations: 4.777 MB / 466.9 MB, free: 25.52 MB / 350.1 MB make -j1 -f AES_AES.Coursework.ThermSys_control_problems.Thermal_control_central_local_sources.Tcontrol_central_local_01_CenFirst.makefile (rm -f AES_AES.Coursework.ThermSys_control_problems.Thermal_control_central_local_sources.Tcontrol_central_local_01_CenFirst.pipe ; mkfifo AES_AES.Coursework.ThermSys_control_problems.Thermal_control_central_local_sources.Tcontrol_central_local_01_CenFirst.pipe ; head -c 1048576 < AES_AES.Coursework.ThermSys_control_problems.Thermal_control_central_local_sources.Tcontrol_central_local_01_CenFirst.pipe >> ../files/AES_AES.Coursework.ThermSys_control_problems.Thermal_control_central_local_sources.Tcontrol_central_local_01_CenFirst.sim & ./AES_AES.Coursework.ThermSys_control_problems.Thermal_control_central_local_sources.Tcontrol_central_local_01_CenFirst -lv=LOG_STATS -s=dassl -abortSlowSimulation -alarm=480 -lv LOG_STATS > AES_AES.Coursework.ThermSys_control_problems.Thermal_control_central_local_sources.Tcontrol_central_local_01_CenFirst.pipe 2>&1)