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_02_LocFirst.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_02_LocFirst,tolerance=1e-06,outputFormat="empty",numberOfIntervals=10000,variableFilter="",fileNamePrefix="AES_AES.Coursework.ThermSys_control_problems.Thermal_control_central_local_sources.Tcontrol_central_local_02_LocFirst") translateModel(AES.Coursework.ThermSys_control_problems.Thermal_control_central_local_sources.Tcontrol_central_local_02_LocFirst,tolerance=1e-06,outputFormat="empty",numberOfIntervals=10000,variableFilter="",fileNamePrefix="AES_AES.Coursework.ThermSys_control_problems.Thermal_control_central_local_sources.Tcontrol_central_local_02_LocFirst") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001078/0.001078, allocations: 91.61 kB / 15.06 MB, free: 1.098 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.001568/0.001569, allocations: 172.7 kB / 15.95 MB, free: 208 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.443/1.443, allocations: 223.3 MB / 240 MB, free: 5.406 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/AES main/package.mo): time 0.2576/0.2576, allocations: 22.34 MB / 313.4 MB, free: 13.08 MB / 254.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0004788/0.0004789, allocations: 8 kB / 381.9 MB, free: 10.54 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3879/0.3884, allocations: 55.98 MB / 437.9 MB, free: 39.2 MB / 350.1 MB Notification: Performance of NFInst.instantiate(AES.Coursework.ThermSys_control_problems.Thermal_control_central_local_sources.Tcontrol_central_local_02_LocFirst): time 0.003492/0.3919, allocations: 2.903 MB / 440.8 MB, free: 37.11 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.001078/0.393, allocations: 0.5935 MB / 441.4 MB, free: 36.68 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002169/0.3933, allocations: 14.62 kB / 441.4 MB, free: 36.67 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001573/0.3934, allocations: 48.97 kB / 441.5 MB, free: 36.64 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003051/0.3937, allocations: 103.2 kB / 441.6 MB, free: 36.57 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004788/0.3942, allocations: 229.2 kB / 441.8 MB, free: 36.45 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0006689/0.3949, allocations: 0.6095 MB / 442.4 MB, free: 36.15 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.000375/0.3953, allocations: 240.8 kB / 442.6 MB, free: 36.05 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001786/0.3955, allocations: 185.1 kB / 442.8 MB, free: 35.97 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002358/0.3957, allocations: 225.7 kB / 443 MB, free: 35.86 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 5.11e-05/0.3958, allocations: 23.19 kB / 443.1 MB, free: 35.86 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 5.791e-05/0.3958, allocations: 21.12 kB / 443.1 MB, free: 35.86 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 8.913e-05/0.3959, allocations: 102 kB / 443.2 MB, free: 35.81 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 8.528e-05/0.396, allocations: 117.6 kB / 443.3 MB, free: 35.73 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003509/0.3964, allocations: 491.8 kB / 443.8 MB, free: 35.61 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.59e-06/0.3964, allocations: 10.41 kB / 443.8 MB, free: 35.61 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.663e-06/0.3964, allocations: 0 / 443.8 MB, free: 35.61 MB / 350.1 MB Notification: Performance of Transformations before backend: time 1.335e-05/0.3964, allocations: 0 / 443.8 MB, free: 35.61 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.001162/0.3976, allocations: 0.7853 MB / 444.6 MB, free: 35.04 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.22e-05/0.3976, allocations: 8.562 kB / 444.6 MB, free: 35.04 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000101/0.3977, allocations: 65.38 kB / 444.6 MB, free: 35.01 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004045/0.3982, allocations: 369.1 kB / 445 MB, free: 34.71 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.412e-05/0.3982, allocations: 41.53 kB / 445 MB, free: 34.7 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 8.554e-05/0.3983, allocations: 60.23 kB / 445.1 MB, free: 34.67 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000996/0.3993, allocations: 0.579 MB / 445.7 MB, free: 34.42 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.371e-05/0.3993, allocations: 7.375 kB / 445.7 MB, free: 34.42 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.124e-05/0.3994, allocations: 25.8 kB / 445.7 MB, free: 34.4 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.451e-05/0.3994, allocations: 16 kB / 445.7 MB, free: 34.39 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0008357/0.4003, allocations: 458.7 kB / 446.2 MB, free: 34.25 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.002432/0.4027, allocations: 2.037 MB / 448.2 MB, free: 32.78 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0008076/0.4035, allocations: 459.1 kB / 448.7 MB, free: 32.61 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004339/0.404, allocations: 277.1 kB / 448.9 MB, free: 32.51 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 4.236e-05/0.404, allocations: 9.125 kB / 448.9 MB, free: 32.51 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.289e-05/0.404, allocations: 41.59 kB / 449 MB, free: 32.46 MB / 350.1 MB Notification: Performance of pre-optimization done (n=49): time 1.833e-06/0.4041, allocations: 4 kB / 449 MB, free: 32.46 MB / 350.1 MB Notification: Performance of matching and sorting (n=49): time 0.001279/0.4053, allocations: 0.6321 MB / 449.6 MB, free: 32.23 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.2e-05/0.4054, allocations: 142.9 kB / 449.8 MB, free: 32.07 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002464/0.4057, allocations: 279.7 kB / 450 MB, free: 31.91 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 3.552e-05/0.4057, allocations: 36.58 kB / 450.1 MB, free: 31.88 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001379/0.4059, allocations: 259.3 kB / 450.3 MB, free: 31.66 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001126/0.406, allocations: 177.2 kB / 450.5 MB, free: 31.52 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.415e-05/0.406, allocations: 10.25 kB / 450.5 MB, free: 31.52 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 8.143e-05/0.4061, allocations: 348.8 kB / 450.8 MB, free: 31.19 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003289/0.4064, allocations: 182.6 kB / 451 MB, free: 31.12 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003896/0.4068, allocations: 265.3 kB / 451.3 MB, free: 30.98 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003715/0.4072, allocations: 214.9 kB / 451.5 MB, free: 30.9 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.404e-06/0.4072, allocations: 0 / 451.5 MB, free: 30.9 MB / 350.1 MB Notification: Performance of matching and sorting (n=60) (initialization): time 0.0008383/0.4081, allocations: 0.5338 MB / 452 MB, free: 30.68 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 6.366e-05/0.4081, allocations: 132 kB / 452.2 MB, free: 30.54 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.057e-06/0.4081, allocations: 2.625 kB / 452.2 MB, free: 30.54 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.793e-05/0.4082, allocations: 6.562 kB / 452.2 MB, free: 30.54 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004936/0.4087, allocations: 127.3 kB / 452.3 MB, free: 30.53 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.869e-06/0.4087, allocations: 3.344 kB / 452.3 MB, free: 30.53 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002921/0.409, allocations: 70.3 kB / 452.4 MB, free: 30.5 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.406e-05/0.409, allocations: 17.73 kB / 452.4 MB, free: 30.5 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 7.013e-06/0.409, allocations: 5.25 kB / 452.4 MB, free: 30.5 MB / 350.1 MB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.0005794/0.4096, allocations: 394.2 kB / 452.8 MB, free: 30.34 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.655e-06/0.4096, allocations: 4.156 kB / 452.8 MB, free: 30.34 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 6.663e-06/0.4097, allocations: 6.188 kB / 452.8 MB, free: 30.34 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000397/0.4101, allocations: 107.5 kB / 452.9 MB, free: 30.33 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.689e-06/0.4101, allocations: 2.562 kB / 452.9 MB, free: 30.33 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002059/0.4103, allocations: 48.02 kB / 452.9 MB, free: 30.3 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.852e-05/0.4103, allocations: 21.47 kB / 453 MB, free: 30.3 MB / 350.1 MB Warning: Assuming fixed start value for the following 3 variables: 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 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 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 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.000347/0.4107, allocations: 297.7 kB / 453.2 MB, free: 30.05 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.731e-05/0.4107, allocations: 47 kB / 453.3 MB, free: 30.03 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001079/0.4118, allocations: 0.6292 MB / 453.9 MB, free: 29.77 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.204e-06/0.4118, allocations: 7.062 kB / 453.9 MB, free: 29.77 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.733e-06/0.4119, allocations: 0 / 453.9 MB, free: 29.77 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.566e-06/0.4119, allocations: 7.375 kB / 453.9 MB, free: 29.77 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005889/0.4125, allocations: 0.5931 MB / 454.5 MB, free: 29.4 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.964e-06/0.4125, allocations: 0 / 454.5 MB, free: 29.4 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005394/0.413, allocations: 143.4 kB / 454.7 MB, free: 29.38 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 6.212e-06/0.413, allocations: 2.531 kB / 454.7 MB, free: 29.38 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.31e-05/0.4131, allocations: 13.34 kB / 454.7 MB, free: 29.38 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.26e-06/0.4131, allocations: 6.797 kB / 454.7 MB, free: 29.37 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.984e-06/0.4131, allocations: 3.328 kB / 454.7 MB, free: 29.37 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001493/0.4146, allocations: 0.913 MB / 455.6 MB, free: 28.96 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 6.692e-05/0.4147, allocations: 131.3 kB / 455.7 MB, free: 28.83 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.217e-05/0.4148, allocations: 11.19 kB / 455.7 MB, free: 28.82 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002656/0.415, allocations: 44.27 kB / 455.8 MB, free: 28.8 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.357e-05/0.4151, allocations: 36.89 kB / 455.8 MB, free: 28.8 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.917e-05/0.4151, allocations: 20.45 kB / 455.8 MB, free: 28.8 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.0001736/0.4153, allocations: 192.5 kB / 456 MB, free: 28.68 MB / 350.1 MB Notification: Performance of sort global known variables: time 1.082e-06/0.4153, allocations: 1.062 kB / 456 MB, free: 28.68 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0007462/0.4161, allocations: 241 kB / 456.3 MB, free: 28.61 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0001742/0.4163, allocations: 118.3 kB / 456.4 MB, free: 28.5 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.001331/0.4176, allocations: 0.692 MB / 457.1 MB, free: 28.29 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 3.406e-06/0.4176, allocations: 0 / 457.1 MB, free: 28.29 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0004534/0.4181, allocations: 276.5 kB / 457.3 MB, free: 28.21 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005437/0.4186, allocations: 81.95 kB / 457.4 MB, free: 28.17 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002626/0.4213, allocations: 1.485 MB / 458.9 MB, free: 27.27 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005576/0.4218, allocations: 0.8671 MB / 459.8 MB, free: 26.55 MB / 350.1 MB Notification: Performance of simCode: alias equations: time 0.0005113/0.4224, allocations: 87.55 kB / 459.9 MB, free: 26.54 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002505/0.4226, allocations: 47.98 kB / 459.9 MB, free: 26.52 MB / 350.1 MB Notification: Performance of SimCode: time 3.41e-07/0.4226, allocations: 4 kB / 459.9 MB, free: 26.52 MB / 350.1 MB Notification: Performance of Templates: time 0.01317/0.4358, allocations: 4.601 MB / 464.5 MB, free: 26.25 MB / 350.1 MB make -j1 -f AES_AES.Coursework.ThermSys_control_problems.Thermal_control_central_local_sources.Tcontrol_central_local_02_LocFirst.makefile (rm -f AES_AES.Coursework.ThermSys_control_problems.Thermal_control_central_local_sources.Tcontrol_central_local_02_LocFirst.pipe ; mkfifo AES_AES.Coursework.ThermSys_control_problems.Thermal_control_central_local_sources.Tcontrol_central_local_02_LocFirst.pipe ; head -c 1048576 < AES_AES.Coursework.ThermSys_control_problems.Thermal_control_central_local_sources.Tcontrol_central_local_02_LocFirst.pipe >> ../files/AES_AES.Coursework.ThermSys_control_problems.Thermal_control_central_local_sources.Tcontrol_central_local_02_LocFirst.sim & ./AES_AES.Coursework.ThermSys_control_problems.Thermal_control_central_local_sources.Tcontrol_central_local_02_LocFirst -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_02_LocFirst.pipe 2>&1)