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.0008053/0.0008053, allocations: 97.95 kB / 15.36 MB, free: 0.7344 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.005175/0.005175, allocations: 171.8 kB / 16.27 MB, free: 6.648 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.402/1.402, allocations: 223.3 MB / 240.3 MB, free: 5.23 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/AES main/package.mo): time 0.2232/0.2232, allocations: 22.35 MB / 313.8 MB, free: 13.07 MB / 254.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0003456/0.0003457, allocations: 8 kB / 382.6 MB, free: 10.12 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3634/0.3637, allocations: 55.97 MB / 438.6 MB, free: 39.43 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.003202/0.367, allocations: 3.045 MB / 441.6 MB, free: 37.21 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.001064/0.3681, allocations: 0.6141 MB / 442.2 MB, free: 36.77 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002076/0.3683, allocations: 12.34 kB / 442.2 MB, free: 36.77 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001961/0.3685, allocations: 58.16 kB / 442.3 MB, free: 36.73 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003375/0.3689, allocations: 99.83 kB / 442.4 MB, free: 36.66 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0005314/0.3694, allocations: 275.7 kB / 442.7 MB, free: 36.49 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0005677/0.37, allocations: 0.6414 MB / 443.3 MB, free: 36.19 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0004034/0.3704, allocations: 274.3 kB / 443.6 MB, free: 36.05 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001888/0.3706, allocations: 184.3 kB / 443.8 MB, free: 35.97 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002355/0.3708, allocations: 232.7 kB / 444 MB, free: 35.86 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 5.719e-05/0.3709, allocations: 22.12 kB / 444 MB, free: 35.86 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 5.344e-05/0.371, allocations: 27.41 kB / 444 MB, free: 35.86 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 9.871e-05/0.3711, allocations: 105.3 kB / 444.1 MB, free: 35.8 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001849/0.3713, allocations: 272.4 kB / 444.4 MB, free: 35.61 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0004407/0.3717, allocations: 0.6105 MB / 445 MB, free: 35.41 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.628e-06/0.3717, allocations: 4 kB / 445 MB, free: 35.41 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.993e-06/0.3717, allocations: 0 / 445 MB, free: 35.41 MB / 350.1 MB Notification: Performance of Transformations before backend: time 6.974e-06/0.3717, allocations: 0 / 445 MB, free: 35.41 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.001224/0.373, allocations: 0.7903 MB / 445.8 MB, free: 34.83 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.467e-05/0.373, allocations: 12.72 kB / 445.8 MB, free: 34.82 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001188/0.3731, allocations: 70.12 kB / 445.9 MB, free: 34.79 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003815/0.3735, allocations: 379.5 kB / 446.3 MB, free: 34.48 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.544e-05/0.3736, allocations: 43.47 kB / 446.3 MB, free: 34.46 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 8.393e-05/0.3737, allocations: 59.59 kB / 446.4 MB, free: 34.44 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0009586/0.3746, allocations: 0.5857 MB / 446.9 MB, free: 34.18 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.426e-05/0.3747, allocations: 192 / 446.9 MB, free: 34.18 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.855e-05/0.3747, allocations: 25.5 kB / 447 MB, free: 34.16 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.656e-05/0.3748, allocations: 11.91 kB / 447 MB, free: 34.16 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0009191/0.3757, allocations: 464.2 kB / 447.4 MB, free: 34.02 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.002277/0.378, allocations: 2.035 MB / 449.5 MB, free: 32.55 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0008553/0.3788, allocations: 472.9 kB / 449.9 MB, free: 32.38 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004462/0.3793, allocations: 281.9 kB / 450.2 MB, free: 32.27 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.686e-05/0.3793, allocations: 11.14 kB / 450.2 MB, free: 32.27 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.793e-05/0.3794, allocations: 37.06 kB / 450.2 MB, free: 32.23 MB / 350.1 MB Notification: Performance of pre-optimization done (n=49): time 1.693e-06/0.3794, allocations: 0 / 450.2 MB, free: 32.23 MB / 350.1 MB Notification: Performance of matching and sorting (n=49): time 0.001272/0.3807, allocations: 0.6449 MB / 450.9 MB, free: 31.99 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.738e-05/0.3807, allocations: 137.5 kB / 451 MB, free: 31.84 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002146/0.3809, allocations: 281.6 kB / 451.3 MB, free: 31.68 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 3.456e-05/0.381, allocations: 36.33 kB / 451.3 MB, free: 31.64 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001243/0.3811, allocations: 260 kB / 451.6 MB, free: 31.43 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 9.043e-05/0.3812, allocations: 166.9 kB / 451.8 MB, free: 31.3 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.254e-05/0.3813, allocations: 49.55 kB / 451.8 MB, free: 31.27 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 7.566e-05/0.3813, allocations: 353.1 kB / 452.1 MB, free: 30.93 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003662/0.3817, allocations: 180.1 kB / 452.3 MB, free: 30.88 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004093/0.3821, allocations: 276.1 kB / 452.6 MB, free: 30.72 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.003573/0.3857, allocations: 1.018 MB / 453.6 MB, free: 30.4 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.729e-06/0.3857, allocations: 0 / 453.6 MB, free: 30.4 MB / 350.1 MB Notification: Performance of matching and sorting (n=60) (initialization): time 0.0009811/0.3867, allocations: 0.5378 MB / 454.1 MB, free: 30.19 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 5.612e-05/0.3868, allocations: 125.5 kB / 454.3 MB, free: 30.05 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.528e-06/0.3868, allocations: 3.469 kB / 454.3 MB, free: 30.05 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.035e-05/0.3868, allocations: 2.625 kB / 454.3 MB, free: 30.05 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005248/0.3874, allocations: 134.7 kB / 454.4 MB, free: 30.04 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.037e-05/0.3874, allocations: 7.406 kB / 454.4 MB, free: 30.03 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003496/0.3877, allocations: 72.78 kB / 454.5 MB, free: 30 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.029e-05/0.3878, allocations: 19.5 kB / 454.5 MB, free: 30 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 7.555e-06/0.3878, allocations: 4.281 kB / 454.5 MB, free: 30 MB / 350.1 MB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.0006108/0.3884, allocations: 391.2 kB / 454.9 MB, free: 29.85 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.645e-06/0.3884, allocations: 0 / 454.9 MB, free: 29.85 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 4.769e-06/0.3885, allocations: 6.312 kB / 454.9 MB, free: 29.85 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004523/0.3889, allocations: 111.6 kB / 455 MB, free: 29.84 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.829e-06/0.3889, allocations: 3.312 kB / 455 MB, free: 29.84 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002415/0.3892, allocations: 50.53 kB / 455.1 MB, free: 29.8 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.845e-05/0.3892, allocations: 19.94 kB / 455.1 MB, free: 29.8 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.0004247/0.3896, allocations: 305 kB / 455.4 MB, free: 29.55 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.502e-05/0.3897, allocations: 41.41 kB / 455.4 MB, free: 29.54 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001403/0.3911, allocations: 0.632 MB / 456.1 MB, free: 29.28 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.001e-05/0.3912, allocations: 6.875 kB / 456.1 MB, free: 29.28 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.791e-06/0.3912, allocations: 0 / 456.1 MB, free: 29.28 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.927e-06/0.3912, allocations: 8.766 kB / 456.1 MB, free: 29.28 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006555/0.3918, allocations: 0.5876 MB / 456.7 MB, free: 28.91 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.184e-06/0.3919, allocations: 0 / 456.7 MB, free: 28.91 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000619/0.3925, allocations: 135.4 kB / 456.8 MB, free: 28.9 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.931e-06/0.3925, allocations: 2.031 kB / 456.8 MB, free: 28.9 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.793e-05/0.3925, allocations: 16.53 kB / 456.8 MB, free: 28.89 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.619e-06/0.3926, allocations: 2.719 kB / 456.8 MB, free: 28.89 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.654e-06/0.3926, allocations: 4 kB / 456.8 MB, free: 28.89 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001577/0.3941, allocations: 0.924 MB / 457.7 MB, free: 28.47 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 7.057e-05/0.3942, allocations: 122.2 kB / 457.9 MB, free: 28.35 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.257e-05/0.3943, allocations: 19.88 kB / 457.9 MB, free: 28.33 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003034/0.3946, allocations: 39.22 kB / 457.9 MB, free: 28.32 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.297e-05/0.3947, allocations: 36.11 kB / 457.9 MB, free: 28.32 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.215e-05/0.3947, allocations: 24.11 kB / 458 MB, free: 28.31 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.0001734/0.3949, allocations: 196.2 kB / 458.2 MB, free: 28.2 MB / 350.1 MB Notification: Performance of sort global known variables: time 1.2e-07/0.3949, allocations: 0 / 458.2 MB, free: 28.2 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0007052/0.3956, allocations: 236.7 kB / 458.4 MB, free: 28.12 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.0001504/0.3958, allocations: 122.9 kB / 458.5 MB, free: 28.02 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.001387/0.3972, allocations: 0.6886 MB / 459.2 MB, free: 27.82 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 3.406e-06/0.3972, allocations: 0.9375 kB / 459.2 MB, free: 27.82 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0004985/0.3977, allocations: 283.5 kB / 459.5 MB, free: 27.73 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000549/0.3983, allocations: 92.27 kB / 459.6 MB, free: 27.68 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002059/0.4003, allocations: 1.546 MB / 461.1 MB, free: 26.73 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003229/0.4007, allocations: 0.8707 MB / 462 MB, free: 26.02 MB / 350.1 MB Notification: Performance of simCode: alias equations: time 0.000359/0.401, allocations: 79.62 kB / 462.1 MB, free: 26 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001432/0.4012, allocations: 46.38 kB / 462.1 MB, free: 25.98 MB / 350.1 MB Notification: Performance of SimCode: time 5.51e-07/0.4012, allocations: 3.938 kB / 462.1 MB, free: 25.98 MB / 350.1 MB Notification: Performance of Templates: time 0.01106/0.4123, allocations: 4.777 MB / 466.9 MB, free: 25.7 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)