Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr AES_AES.Coursework.ThermSys_control_problems.Thermal_control_actuator_split.Actuator_split_cascadeLoops.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_actuator_split.Actuator_split_cascadeLoops,fileNamePrefix="AES_AES_Coursework_ThermSys_control_problems_Thermal_control_actuator_split_Actuator_split_cascadeLoops",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(AES.Coursework.ThermSys_control_problems.Thermal_control_actuator_split.Actuator_split_cascadeLoops,fileNamePrefix="AES_AES_Coursework_ThermSys_control_problems_Thermal_control_actuator_split_Actuator_split_cascadeLoops",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.001541/0.001541, allocations: 99.55 kB / 15.05 MB, free: 1.105 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.001807/0.001807, allocations: 177.3 kB / 15.94 MB, free: 228 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.48/1.48, allocations: 223.2 MB / 239.9 MB, free: 5.316 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/AES main/package.mo): time 0.2145/0.2145, allocations: 22.34 MB / 313.3 MB, free: 13.1 MB / 254.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0003898/0.00039, allocations: 12 kB / 381.9 MB, free: 10.48 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3025/0.303, allocations: 55.97 MB / 437.9 MB, free: 39.23 MB / 350.1 MB Notification: Performance of NFInst.instantiate(AES.Coursework.ThermSys_control_problems.Thermal_control_actuator_split.Actuator_split_cascadeLoops): time 0.002392/0.3054, allocations: 2.271 MB / 440.2 MB, free: 37.61 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.0007446/0.3062, allocations: 469.5 kB / 440.6 MB, free: 37.27 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001671/0.3063, allocations: 7.875 kB / 440.6 MB, free: 37.27 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 7.095e-05/0.3064, allocations: 31.08 kB / 440.7 MB, free: 37.25 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.000269/0.3067, allocations: 81.78 kB / 440.7 MB, free: 37.2 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004077/0.3071, allocations: 187.4 kB / 440.9 MB, free: 37.1 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0003293/0.3075, allocations: 292.2 kB / 441.2 MB, free: 36.95 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002368/0.3077, allocations: 158.3 kB / 441.4 MB, free: 36.88 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 9.57e-05/0.3078, allocations: 118.2 kB / 441.5 MB, free: 36.82 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001507/0.308, allocations: 146.3 kB / 441.6 MB, free: 36.75 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 3.381e-05/0.308, allocations: 11.31 kB / 441.6 MB, free: 36.75 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 3.617e-05/0.3081, allocations: 17.62 kB / 441.7 MB, free: 36.75 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 4.454e-05/0.3081, allocations: 54.67 kB / 441.7 MB, free: 36.71 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 5.136e-05/0.3082, allocations: 95.28 kB / 441.8 MB, free: 36.64 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002275/0.3084, allocations: 322.1 kB / 442.1 MB, free: 36.57 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 2.584e-06/0.3084, allocations: 4 kB / 442.1 MB, free: 36.57 MB / 350.1 MB Notification: Performance of FrontEnd: time 2.053e-06/0.3084, allocations: 0 / 442.1 MB, free: 36.57 MB / 350.1 MB Notification: Performance of Transformations before backend: time 6.442e-06/0.3084, allocations: 0 / 442.1 MB, free: 36.57 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: 81 * Number of variables: 81 Notification: Performance of Generate backend data structure: time 0.0008755/0.3093, allocations: 0.6562 MB / 442.8 MB, free: 36.06 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.177e-05/0.3094, allocations: 8.438 kB / 442.8 MB, free: 36.06 MB / 350.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 7.088e-05/0.3094, allocations: 68.19 kB / 442.9 MB, free: 36 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.325e-05/0.3095, allocations: 55.86 kB / 442.9 MB, free: 35.97 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003227/0.3099, allocations: 322 kB / 443.2 MB, free: 35.7 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.97e-05/0.3099, allocations: 22.72 kB / 443.2 MB, free: 35.69 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.951e-05/0.3099, allocations: 35.44 kB / 443.3 MB, free: 35.68 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006003/0.3105, allocations: 388.4 kB / 443.7 MB, free: 35.5 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.495e-05/0.3106, allocations: 3.953 kB / 443.7 MB, free: 35.5 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.182e-05/0.3106, allocations: 15.28 kB / 443.7 MB, free: 35.48 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.787e-06/0.3106, allocations: 8.75 kB / 443.7 MB, free: 35.48 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005433/0.3112, allocations: 292.2 kB / 444 MB, free: 35.4 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.001447/0.3126, allocations: 1.166 MB / 445.1 MB, free: 34.64 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0005194/0.3132, allocations: 317.6 kB / 445.4 MB, free: 34.52 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.165e-05/0.3132, allocations: 6.25 kB / 445.5 MB, free: 34.52 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.984e-05/0.3132, allocations: 41.5 kB / 445.5 MB, free: 34.48 MB / 350.1 MB Notification: Performance of pre-optimization done (n=29): time 1.583e-06/0.3132, allocations: 3.938 kB / 445.5 MB, free: 34.47 MB / 350.1 MB Notification: Performance of matching and sorting (n=29): time 0.0008466/0.3141, allocations: 448.5 kB / 445.9 MB, free: 34.31 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.684e-05/0.3141, allocations: 131.5 kB / 446.1 MB, free: 34.16 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002221/0.3144, allocations: 269.2 kB / 446.3 MB, free: 34 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 2.493e-05/0.3144, allocations: 29.7 kB / 446.4 MB, free: 33.97 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 9.298e-05/0.3145, allocations: 203.1 kB / 446.6 MB, free: 33.8 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 6.122e-05/0.3146, allocations: 107.7 kB / 446.7 MB, free: 33.71 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.474e-05/0.3146, allocations: 6.781 kB / 446.7 MB, free: 33.71 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 6.455e-05/0.3146, allocations: 341.8 kB / 447 MB, free: 33.38 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002395/0.3149, allocations: 127.7 kB / 447.1 MB, free: 33.34 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002596/0.3152, allocations: 180.6 kB / 447.3 MB, free: 33.25 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002595/0.3154, allocations: 145.2 kB / 447.4 MB, free: 33.19 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.024e-06/0.3154, allocations: 0 / 447.4 MB, free: 33.19 MB / 350.1 MB Notification: Performance of matching and sorting (n=36) (initialization): time 0.0005879/0.316, allocations: 368.3 kB / 447.8 MB, free: 33.05 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 5.387e-05/0.3161, allocations: 189.8 kB / 448 MB, free: 32.86 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.471e-06/0.3161, allocations: 0 / 448 MB, free: 32.86 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.381e-05/0.3161, allocations: 3 kB / 448 MB, free: 32.86 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003395/0.3165, allocations: 81.03 kB / 448.1 MB, free: 32.85 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.095e-06/0.3165, allocations: 6.984 kB / 448.1 MB, free: 32.84 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002116/0.3167, allocations: 50 kB / 448.1 MB, free: 32.82 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.22e-05/0.3167, allocations: 9.906 kB / 448.1 MB, free: 32.82 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 6.643e-06/0.3167, allocations: 2.938 kB / 448.1 MB, free: 32.82 MB / 350.1 MB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.0002974/0.3171, allocations: 223.9 kB / 448.4 MB, free: 32.73 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.623e-06/0.3171, allocations: 0 / 448.4 MB, free: 32.73 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 3.096e-06/0.3171, allocations: 2.938 kB / 448.4 MB, free: 32.73 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002341/0.3173, allocations: 56.38 kB / 448.4 MB, free: 32.73 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.727e-06/0.3173, allocations: 7.656 kB / 448.4 MB, free: 32.72 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001455/0.3175, allocations: 28.58 kB / 448.4 MB, free: 32.71 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.561e-05/0.3175, allocations: 13.75 kB / 448.5 MB, free: 32.7 MB / 350.1 MB Warning: Assuming fixed start value for the following 3 variables: Cap.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 Act1.y:VARIABLE(flow=false start = Act1.y_start fixed = true ) "Connector of Real output signal" type: Real Act2.y:VARIABLE(flow=false start = Act2.y_start fixed = true ) "Connector of Real output signal" type: Real Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 2 * 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 (36): * Single equations (assignments): 36 * 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.0002911/0.3178, allocations: 249.8 kB / 448.7 MB, free: 32.48 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.451e-05/0.3179, allocations: 33.16 kB / 448.7 MB, free: 32.46 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0007055/0.3186, allocations: 383.8 kB / 449.1 MB, free: 32.3 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.789e-06/0.3186, allocations: 2.969 kB / 449.1 MB, free: 32.3 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.729e-06/0.3186, allocations: 0 / 449.1 MB, free: 32.3 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.931e-06/0.3186, allocations: 7.234 kB / 449.1 MB, free: 32.3 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004158/0.319, allocations: 426.7 kB / 449.5 MB, free: 32 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.064e-06/0.319, allocations: 2.875 kB / 449.5 MB, free: 32 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003554/0.3194, allocations: 77.44 kB / 449.6 MB, free: 32 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.835e-06/0.3194, allocations: 0 / 449.6 MB, free: 32 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.295e-05/0.3194, allocations: 7.469 kB / 449.6 MB, free: 31.99 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.957e-06/0.3194, allocations: 3.594 kB / 449.6 MB, free: 31.99 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.212e-06/0.3194, allocations: 7.875 kB / 449.6 MB, free: 31.98 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008884/0.3203, allocations: 0.5965 MB / 450.2 MB, free: 31.69 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.985e-05/0.3204, allocations: 108.6 kB / 450.3 MB, free: 31.57 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.657e-05/0.3205, allocations: 6.688 kB / 450.3 MB, free: 31.57 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002233/0.3207, allocations: 29.44 kB / 450.4 MB, free: 31.57 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.616e-05/0.3207, allocations: 23.97 kB / 450.4 MB, free: 31.56 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.57e-05/0.3208, allocations: 8.578 kB / 450.4 MB, free: 31.56 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.0001377/0.3209, allocations: 195.2 kB / 450.6 MB, free: 31.45 MB / 350.1 MB Notification: Performance of sort global known variables: time 1e-07/0.3209, allocations: 0 / 450.6 MB, free: 31.45 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0004253/0.3213, allocations: 143.9 kB / 450.7 MB, free: 31.4 MB / 350.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 6 (Act2.y,Act1.y,Cap.T,CT.FO.y,CA1.FO.y,CA2.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 (31): * Single equations (assignments): 31 * 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.001049/0.3224, allocations: 1.156 MB / 451.9 MB, free: 30.56 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.0007153/0.3231, allocations: 429.5 kB / 452.3 MB, free: 30.43 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 2.395e-06/0.3231, allocations: 128 / 452.3 MB, free: 30.43 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0002474/0.3234, allocations: 159.4 kB / 452.5 MB, free: 30.39 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003951/0.3238, allocations: 73.94 kB / 452.5 MB, free: 30.36 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003139/0.3269, allocations: 2.356 MB / 454.9 MB, free: 29.07 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002255/0.3272, allocations: 0.8091 MB / 455.7 MB, free: 28.36 MB / 350.1 MB Notification: Performance of simCode: alias equations: time 0.0001738/0.3274, allocations: 46.38 kB / 455.8 MB, free: 28.35 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001678/0.3275, allocations: 124.9 kB / 455.9 MB, free: 28.25 MB / 350.1 MB Notification: Performance of SimCode: time 1.012e-06/0.3275, allocations: 0 / 455.9 MB, free: 28.25 MB / 350.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02023/0.3478, allocations: 6.634 MB / 462.5 MB, free: 27.84 MB / 350.1 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.000232/0.3481, allocations: 227.8 kB / 462.7 MB, free: 27.61 MB / 350.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 1.879/2.227, allocations: 5.094 kB / 462.7 MB, free: 27.61 MB / 350.1 MB (rm -f AES_AES.Coursework.ThermSys_control_problems.Thermal_control_actuator_split.Actuator_split_cascadeLoops.pipe ; mkfifo AES_AES.Coursework.ThermSys_control_problems.Thermal_control_actuator_split.Actuator_split_cascadeLoops.pipe ; head -c 1048576 < AES_AES.Coursework.ThermSys_control_problems.Thermal_control_actuator_split.Actuator_split_cascadeLoops.pipe >> ../files/AES_AES.Coursework.ThermSys_control_problems.Thermal_control_actuator_split.Actuator_split_cascadeLoops.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_AES_AES_Coursework_ThermSys_control_problems_Thermal_control_actuator_split_Actuator_split_cascadeLoops_fmu --startTime=0 --stopTime=3000 --timeout=50 --tolerance=1e-06 AES_AES_Coursework_ThermSys_control_problems_Thermal_control_actuator_split_Actuator_split_cascadeLoops.fmu > AES_AES.Coursework.ThermSys_control_problems.Thermal_control_actuator_split.Actuator_split_cascadeLoops.pipe 2>&1) Environment - environmentSimulation: