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: "" <> buildModelFMU(AES.Coursework.ThermSys_control_problems.Thermal_control_central_local_sources.Tcontrol_central_local_01_CenFirst,fileNamePrefix="AES_AES_Coursework_ThermSys_control_problems_Thermal_control_central_local_sources_Tcontrol_central_local_01_CenFirst",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(AES.Coursework.ThermSys_control_problems.Thermal_control_central_local_sources.Tcontrol_central_local_01_CenFirst,fileNamePrefix="AES_AES_Coursework_ThermSys_control_problems_Thermal_control_central_local_sources_Tcontrol_central_local_01_CenFirst",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0008111/0.0008111, allocations: 84.38 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.0008959/0.000896, 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.362/1.362, allocations: 223.2 MB / 240 MB, free: 5.418 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/AES main/package.mo): time 0.2254/0.2254, allocations: 22.36 MB / 313.4 MB, free: 13.07 MB / 254.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0003296/0.0003298, allocations: 12 kB / 382.1 MB, free: 10.43 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3091/0.3094, allocations: 55.98 MB / 438 MB, free: 39.24 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.002568/0.312, allocations: 2.903 MB / 440.9 MB, free: 37.14 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.0008785/0.3129, allocations: 0.6071 MB / 441.5 MB, free: 36.7 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001874/0.3131, allocations: 12.16 kB / 441.6 MB, free: 36.7 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.000131/0.3133, allocations: 45.98 kB / 441.6 MB, free: 36.68 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002505/0.3135, allocations: 107.4 kB / 441.7 MB, free: 36.6 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004256/0.3139, allocations: 226.7 kB / 441.9 MB, free: 36.48 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0005158/0.3145, allocations: 0.6057 MB / 442.5 MB, free: 36.18 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0003232/0.3148, allocations: 240.8 kB / 442.8 MB, free: 36.08 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001739/0.315, allocations: 189.2 kB / 442.9 MB, free: 36 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002213/0.3152, allocations: 216.8 kB / 443.2 MB, free: 35.9 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 4.888e-05/0.3153, allocations: 22.12 kB / 443.2 MB, free: 35.9 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 5.236e-05/0.3153, allocations: 21.88 kB / 443.2 MB, free: 35.9 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 8.416e-05/0.3154, allocations: 103.5 kB / 443.3 MB, free: 35.84 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 9.57e-05/0.3155, allocations: 117.8 kB / 443.4 MB, free: 35.76 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003194/0.3158, allocations: 492.1 kB / 443.9 MB, free: 35.65 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.466e-06/0.3159, allocations: 3.406 kB / 443.9 MB, free: 35.65 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.322e-06/0.3159, allocations: 0 / 443.9 MB, free: 35.65 MB / 350.1 MB Notification: Performance of Transformations before backend: time 6.933e-06/0.3159, allocations: 0 / 443.9 MB, free: 35.65 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.00104/0.3169, allocations: 0.7968 MB / 444.7 MB, free: 35.07 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.899e-05/0.317, allocations: 8.625 kB / 444.7 MB, free: 35.07 MB / 350.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 9.093e-05/0.3171, allocations: 95.72 kB / 444.8 MB, free: 35 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.681e-05/0.3172, allocations: 64.81 kB / 444.9 MB, free: 34.97 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003759/0.3175, allocations: 375.4 kB / 445.2 MB, free: 34.66 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.876e-05/0.3176, allocations: 39.25 kB / 445.3 MB, free: 34.65 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 7.579e-05/0.3177, allocations: 57.84 kB / 445.3 MB, free: 34.63 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0008899/0.3186, allocations: 0.5784 MB / 445.9 MB, free: 34.38 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.945e-05/0.3186, allocations: 7.953 kB / 445.9 MB, free: 34.37 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.421e-05/0.3186, allocations: 25.75 kB / 445.9 MB, free: 34.35 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.096e-05/0.3186, allocations: 14.16 kB / 446 MB, free: 34.35 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007917/0.3194, allocations: 458.2 kB / 446.4 MB, free: 34.21 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.002296/0.3218, allocations: 2.034 MB / 448.4 MB, free: 32.74 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0007832/0.3225, allocations: 452.2 kB / 448.9 MB, free: 32.58 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004333/0.323, allocations: 284.7 kB / 449.2 MB, free: 32.47 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 4.558e-05/0.323, allocations: 13.7 kB / 449.2 MB, free: 32.47 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.234e-05/0.3231, allocations: 37.88 kB / 449.2 MB, free: 32.43 MB / 350.1 MB Notification: Performance of pre-optimization done (n=49): time 2.264e-06/0.3231, allocations: 0 / 449.2 MB, free: 32.43 MB / 350.1 MB Notification: Performance of matching and sorting (n=49): time 0.001228/0.3243, allocations: 0.6389 MB / 449.8 MB, free: 32.19 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.658e-05/0.3244, allocations: 138.6 kB / 450 MB, free: 32.03 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002313/0.3246, allocations: 284 kB / 450.3 MB, free: 31.87 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 3.155e-05/0.3247, allocations: 33.45 kB / 450.3 MB, free: 31.84 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001207/0.3248, allocations: 257.4 kB / 450.5 MB, free: 31.62 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001088/0.3249, allocations: 179.3 kB / 450.7 MB, free: 31.48 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.32e-05/0.3249, allocations: 9.719 kB / 450.7 MB, free: 31.48 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 7.589e-05/0.325, allocations: 349 kB / 451.1 MB, free: 31.15 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003279/0.3253, allocations: 178.3 kB / 451.2 MB, free: 31.09 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003813/0.3257, allocations: 267.1 kB / 451.5 MB, free: 30.95 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003815/0.3261, allocations: 206.2 kB / 451.7 MB, free: 30.87 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.807e-06/0.3261, allocations: 2.625 kB / 451.7 MB, free: 30.87 MB / 350.1 MB Notification: Performance of matching and sorting (n=60) (initialization): time 0.0008605/0.327, allocations: 0.5307 MB / 452.2 MB, free: 30.66 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 6.326e-05/0.3271, allocations: 135.9 kB / 452.4 MB, free: 30.51 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.105e-06/0.3271, allocations: 2.625 kB / 452.4 MB, free: 30.51 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.783e-05/0.3271, allocations: 6.656 kB / 452.4 MB, free: 30.5 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005173/0.3276, allocations: 129.6 kB / 452.5 MB, free: 30.49 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.465e-06/0.3277, allocations: 3.594 kB / 452.5 MB, free: 30.49 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002941/0.328, allocations: 74.92 kB / 452.6 MB, free: 30.46 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.029e-05/0.328, allocations: 11.38 kB / 452.6 MB, free: 30.46 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 6.713e-06/0.328, allocations: 5.5 kB / 452.6 MB, free: 30.46 MB / 350.1 MB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.0005622/0.3286, allocations: 398.3 kB / 453 MB, free: 30.3 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.325e-06/0.3286, allocations: 0 / 453 MB, free: 30.3 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 4.157e-06/0.3286, allocations: 2.594 kB / 453 MB, free: 30.3 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004003/0.329, allocations: 117.1 kB / 453.1 MB, free: 30.29 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.349e-06/0.329, allocations: 3.062 kB / 453.1 MB, free: 30.29 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002077/0.3292, allocations: 44.89 kB / 453.1 MB, free: 30.27 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.6e-05/0.3293, allocations: 20.3 kB / 453.2 MB, free: 30.26 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.0003/0.3296, allocations: 300.1 kB / 453.5 MB, free: 30.02 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.781e-05/0.3297, allocations: 44.41 kB / 453.5 MB, free: 29.99 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001088/0.3307, allocations: 0.633 MB / 454.1 MB, free: 29.74 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.853e-06/0.3308, allocations: 5.281 kB / 454.1 MB, free: 29.74 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.671e-06/0.3308, allocations: 0 / 454.1 MB, free: 29.74 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.504e-06/0.3308, allocations: 3.469 kB / 454.1 MB, free: 29.74 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005907/0.3314, allocations: 0.5958 MB / 454.7 MB, free: 29.37 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.274e-06/0.3314, allocations: 0 / 454.7 MB, free: 29.37 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005914/0.332, allocations: 138.5 kB / 454.9 MB, free: 29.36 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.912e-06/0.332, allocations: 2.094 kB / 454.9 MB, free: 29.36 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.329e-05/0.332, allocations: 20.56 kB / 454.9 MB, free: 29.34 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.957e-06/0.3321, allocations: 2.25 kB / 454.9 MB, free: 29.34 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.162e-06/0.3321, allocations: 0 / 454.9 MB, free: 29.34 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001334/0.3334, allocations: 0.9184 MB / 455.8 MB, free: 28.93 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 6.682e-05/0.3335, allocations: 126.2 kB / 455.9 MB, free: 28.8 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.901e-05/0.3335, allocations: 11.25 kB / 456 MB, free: 28.79 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002795/0.3338, allocations: 41.66 kB / 456 MB, free: 28.78 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.248e-05/0.3339, allocations: 39.69 kB / 456 MB, free: 28.77 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.191e-05/0.334, allocations: 16 kB / 456 MB, free: 28.77 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.0001753/0.3341, allocations: 200.9 kB / 456.2 MB, free: 28.65 MB / 350.1 MB Notification: Performance of sort global known variables: time 1.2e-07/0.3342, allocations: 1.156 kB / 456.2 MB, free: 28.65 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0006282/0.3348, allocations: 232.6 kB / 456.5 MB, free: 28.58 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.001673/0.3365, allocations: 1.488 MB / 458 MB, free: 27.61 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.001239/0.3377, allocations: 0.6886 MB / 458.6 MB, free: 27.39 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 2.685e-06/0.3377, allocations: 0 / 458.6 MB, free: 27.39 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0004723/0.3382, allocations: 282.7 kB / 458.9 MB, free: 27.31 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005231/0.3387, allocations: 74.55 kB / 459 MB, free: 27.28 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004405/0.3432, allocations: 3.009 MB / 462 MB, free: 25.66 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003501/0.3435, allocations: 0.8772 MB / 462.9 MB, free: 24.94 MB / 350.1 MB Notification: Performance of simCode: alias equations: time 0.0003802/0.3439, allocations: 85.86 kB / 463 MB, free: 24.92 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002629/0.3442, allocations: 197.6 kB / 463.2 MB, free: 24.78 MB / 350.1 MB Notification: Performance of SimCode: time 6.91e-07/0.3442, allocations: 0 / 463.2 MB, free: 24.78 MB / 350.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02458/0.3688, allocations: 8.627 MB / 471.8 MB, free: 24.25 MB / 350.1 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001635/0.369, allocations: 253.3 kB / 472 MB, free: 23.91 MB / 350.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 1.952/2.321, allocations: 1.094 kB / 472 MB, free: 23.91 MB / 350.1 MB (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 & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_AES_AES_Coursework_ThermSys_control_problems_Thermal_control_central_local_sources_Tcontrol_central_local_01_CenFirst_fmu --startTime=0 --stopTime=10000 --timeout=50 --tolerance=1e-06 AES_AES_Coursework_ThermSys_control_problems_Thermal_control_central_local_sources_Tcontrol_central_local_01_CenFirst.fmu > AES_AES.Coursework.ThermSys_control_problems.Thermal_control_central_local_sources.Tcontrol_central_local_01_CenFirst.pipe 2>&1) Environment - environmentSimulation: