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.0008284/0.0008282, allocations: 86.88 kB / 15.06 MB, free: 1.09 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.0009271/0.0009271, allocations: 168.7 kB / 15.95 MB, free: 204 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.49/1.49, allocations: 223.3 MB / 240 MB, free: 5.414 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/AES main/package.mo): time 0.2341/0.2341, allocations: 22.35 MB / 313.4 MB, free: 13.14 MB / 254.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0003443/0.0003444, allocations: 8 kB / 381.9 MB, free: 10.56 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3507/0.3511, allocations: 55.97 MB / 437.9 MB, free: 39.41 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.002797/0.3539, allocations: 2.9 MB / 440.8 MB, free: 37.32 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.000909/0.3549, allocations: 0.6035 MB / 441.4 MB, free: 36.87 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001943/0.3551, allocations: 14.75 kB / 441.4 MB, free: 36.87 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.00016/0.3553, allocations: 57.78 kB / 441.5 MB, free: 36.84 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002806/0.3555, allocations: 96.94 kB / 441.6 MB, free: 36.77 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004541/0.356, allocations: 223.7 kB / 441.8 MB, free: 36.65 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0005222/0.3565, allocations: 0.6152 MB / 442.4 MB, free: 36.34 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0003437/0.3569, allocations: 239.8 kB / 442.6 MB, free: 36.24 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001826/0.3571, allocations: 184.2 kB / 442.8 MB, free: 36.17 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002215/0.3573, allocations: 222 kB / 443 MB, free: 36.06 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 4.883e-05/0.3574, allocations: 21.03 kB / 443.1 MB, free: 36.06 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 5.7e-05/0.3574, allocations: 21.94 kB / 443.1 MB, free: 36.06 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 9.119e-05/0.3575, allocations: 103.7 kB / 443.2 MB, free: 36.01 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 7.984e-05/0.3576, allocations: 116 kB / 443.3 MB, free: 35.93 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003372/0.358, allocations: 493.9 kB / 443.8 MB, free: 35.81 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.691e-06/0.358, allocations: 0 / 443.8 MB, free: 35.81 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.814e-06/0.358, allocations: 0 / 443.8 MB, free: 35.81 MB / 350.1 MB Notification: Performance of Transformations before backend: time 7.384e-06/0.358, allocations: 0 / 443.8 MB, free: 35.81 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.001156/0.3591, allocations: 0.7941 MB / 444.6 MB, free: 35.24 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.625e-05/0.3592, allocations: 11.53 kB / 444.6 MB, free: 35.24 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001013/0.3593, allocations: 65.06 kB / 444.7 MB, free: 35.21 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003952/0.3597, allocations: 373.7 kB / 445 MB, free: 34.91 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.288e-05/0.3597, allocations: 44.12 kB / 445.1 MB, free: 34.89 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 7.424e-05/0.3598, allocations: 60.22 kB / 445.1 MB, free: 34.86 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0009007/0.3607, allocations: 0.5791 MB / 445.7 MB, free: 34.61 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.744e-05/0.3608, allocations: 0 / 445.7 MB, free: 34.61 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.781e-05/0.3608, allocations: 29.17 kB / 445.7 MB, free: 34.59 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.145e-05/0.3608, allocations: 15.03 kB / 445.7 MB, free: 34.59 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0008042/0.3616, allocations: 452.2 kB / 446.2 MB, free: 34.45 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.002084/0.3637, allocations: 2.026 MB / 448.2 MB, free: 32.99 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000782/0.3645, allocations: 462.7 kB / 448.7 MB, free: 32.82 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004238/0.365, allocations: 286 kB / 448.9 MB, free: 32.71 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 4.225e-05/0.365, allocations: 13.84 kB / 449 MB, free: 32.71 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.007e-05/0.365, allocations: 42.12 kB / 449 MB, free: 32.66 MB / 350.1 MB Notification: Performance of pre-optimization done (n=49): time 2.305e-06/0.365, allocations: 112 / 449 MB, free: 32.66 MB / 350.1 MB Notification: Performance of matching and sorting (n=49): time 0.001147/0.3662, allocations: 0.6406 MB / 449.6 MB, free: 32.43 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.381e-05/0.3662, allocations: 138.5 kB / 449.8 MB, free: 32.27 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002077/0.3665, allocations: 283.1 kB / 450 MB, free: 32.11 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 3.02e-05/0.3665, allocations: 33.64 kB / 450.1 MB, free: 32.07 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001078/0.3666, allocations: 255.9 kB / 450.3 MB, free: 31.86 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 8.943e-05/0.3667, allocations: 179 kB / 450.5 MB, free: 31.72 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.324e-05/0.3667, allocations: 11.31 kB / 450.5 MB, free: 31.71 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 6.309e-05/0.3668, allocations: 346.4 kB / 450.9 MB, free: 31.39 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003238/0.3671, allocations: 178 kB / 451 MB, free: 31.33 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003582/0.3675, allocations: 270.5 kB / 451.3 MB, free: 31.18 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003659/0.3679, allocations: 213.6 kB / 451.5 MB, free: 31.1 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.334e-06/0.3679, allocations: 0 / 451.5 MB, free: 31.1 MB / 350.1 MB Notification: Performance of matching and sorting (n=60) (initialization): time 0.0008238/0.3687, allocations: 0.5309 MB / 452 MB, free: 30.89 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 5.149e-05/0.3688, allocations: 139.1 kB / 452.2 MB, free: 30.74 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.344e-06/0.3688, allocations: 3.5 kB / 452.2 MB, free: 30.74 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.401e-05/0.3688, allocations: 2.625 kB / 452.2 MB, free: 30.74 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005015/0.3693, allocations: 129.7 kB / 452.3 MB, free: 30.73 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.031e-05/0.3693, allocations: 2.625 kB / 452.3 MB, free: 30.73 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002786/0.3696, allocations: 70.84 kB / 452.4 MB, free: 30.7 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.083e-05/0.3697, allocations: 17.12 kB / 452.4 MB, free: 30.7 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 5.521e-06/0.3697, allocations: 2.625 kB / 452.4 MB, free: 30.7 MB / 350.1 MB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.000555/0.3702, allocations: 390.7 kB / 452.8 MB, free: 30.54 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.436e-06/0.3702, allocations: 6.781 kB / 452.8 MB, free: 30.54 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 3.828e-06/0.3703, allocations: 2.625 kB / 452.8 MB, free: 30.54 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000403/0.3707, allocations: 113.7 kB / 452.9 MB, free: 30.53 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.638e-06/0.3707, allocations: 2.625 kB / 452.9 MB, free: 30.53 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002101/0.3709, allocations: 51.47 kB / 452.9 MB, free: 30.5 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.511e-05/0.3709, allocations: 14.06 kB / 453 MB, free: 30.5 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.0002742/0.3712, allocations: 298.3 kB / 453.3 MB, free: 30.26 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.153e-05/0.3713, allocations: 37.91 kB / 453.3 MB, free: 30.24 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001027/0.3723, allocations: 0.6291 MB / 453.9 MB, free: 29.98 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.184e-06/0.3723, allocations: 10.78 kB / 453.9 MB, free: 29.98 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.152e-06/0.3723, allocations: 2.656 kB / 453.9 MB, free: 29.98 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.035e-06/0.3723, allocations: 3.328 kB / 453.9 MB, free: 29.98 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005409/0.3729, allocations: 0.6 MB / 454.5 MB, free: 29.6 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.294e-06/0.3729, allocations: 0 / 454.5 MB, free: 29.6 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000555/0.3735, allocations: 139.3 kB / 454.7 MB, free: 29.59 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.967e-06/0.3735, allocations: 2.625 kB / 454.7 MB, free: 29.59 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.392e-05/0.3735, allocations: 12.72 kB / 454.7 MB, free: 29.58 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.719e-06/0.3735, allocations: 6.312 kB / 454.7 MB, free: 29.58 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.305e-06/0.3735, allocations: 0 / 454.7 MB, free: 29.58 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001234/0.3748, allocations: 0.9171 MB / 455.6 MB, free: 29.16 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 6.271e-05/0.3748, allocations: 125.4 kB / 455.7 MB, free: 29.04 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.897e-05/0.3749, allocations: 11.56 kB / 455.7 MB, free: 29.03 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002783/0.3752, allocations: 42.23 kB / 455.8 MB, free: 29.02 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.676e-05/0.3753, allocations: 36.61 kB / 455.8 MB, free: 29.02 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.537e-05/0.3753, allocations: 19.95 kB / 455.8 MB, free: 29.01 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.0001685/0.3755, allocations: 201.5 kB / 456 MB, free: 28.89 MB / 350.1 MB Notification: Performance of sort global known variables: time 1.3e-07/0.3755, allocations: 0 / 456 MB, free: 28.89 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0006494/0.3762, allocations: 237.6 kB / 456.3 MB, free: 28.82 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.0001405/0.3763, allocations: 122.3 kB / 456.4 MB, free: 28.71 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.001289/0.3776, allocations: 0.6812 MB / 457.1 MB, free: 28.5 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 2.425e-06/0.3776, allocations: 1.25 kB / 457.1 MB, free: 28.5 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0004627/0.3781, allocations: 283 kB / 457.3 MB, free: 28.42 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005002/0.3786, allocations: 90.39 kB / 457.4 MB, free: 28.38 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002131/0.3807, allocations: 1.474 MB / 458.9 MB, free: 27.48 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000362/0.3811, allocations: 0.8783 MB / 459.8 MB, free: 26.76 MB / 350.1 MB Notification: Performance of simCode: alias equations: time 0.0003856/0.3815, allocations: 85.86 kB / 459.9 MB, free: 26.74 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001462/0.3817, allocations: 50.09 kB / 459.9 MB, free: 26.72 MB / 350.1 MB Notification: Performance of SimCode: time 9.32e-07/0.3817, allocations: 0 / 459.9 MB, free: 26.72 MB / 350.1 MB Notification: Performance of Templates: time 0.01092/0.3926, allocations: 4.601 MB / 464.5 MB, free: 26.45 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)