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_equalising.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_actuator_split.Actuator_split_equalising,tolerance=1e-06,outputFormat="empty",numberOfIntervals=6000,variableFilter="",fileNamePrefix="AES_AES.Coursework.ThermSys_control_problems.Thermal_control_actuator_split.Actuator_split_equalising") translateModel(AES.Coursework.ThermSys_control_problems.Thermal_control_actuator_split.Actuator_split_equalising,tolerance=1e-06,outputFormat="empty",numberOfIntervals=6000,variableFilter="",fileNamePrefix="AES_AES.Coursework.ThermSys_control_problems.Thermal_control_actuator_split.Actuator_split_equalising") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001059/0.001059, allocations: 107.9 kB / 16.41 MB, free: 6.465 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.001003/0.001003, allocations: 192.3 kB / 17.35 MB, free: 5.711 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.342/1.342, allocations: 222.9 MB / 241.1 MB, free: 15.12 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/AES main/package.mo): time 0.09215/0.09215, allocations: 22.34 MB / 313.5 MB, free: 8.875 MB / 254.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001258/0.001258, allocations: 59.91 kB / 437.7 MB, free: 11.75 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09095/0.09222, allocations: 54.95 MB / 492.7 MB, free: 4.762 MB / 366.1 MB Notification: Performance of NFInst.instantiate(AES.Coursework.ThermSys_control_problems.Thermal_control_actuator_split.Actuator_split_equalising): time 0.003535/0.09579, allocations: 2.464 MB / 495.2 MB, free: 2.281 MB / 366.1 MB Notification: Performance of NFInst.instExpressions: time 0.001344/0.09715, allocations: 0.7559 MB / 495.9 MB, free: 1.52 MB / 366.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001609/0.09733, allocations: 4 kB / 495.9 MB, free: 1.516 MB / 366.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003354/0.09767, allocations: 59.44 kB / 496 MB, free: 1.457 MB / 366.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002882/0.09799, allocations: 103.2 kB / 496.1 MB, free: 1.355 MB / 366.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004003/0.0984, allocations: 179.8 kB / 496.2 MB, free: 1.18 MB / 366.1 MB Notification: Performance of NFFlatten.flatten: time 0.0004359/0.09885, allocations: 390.8 kB / 496.6 MB, free: 0.7969 MB / 366.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002132/0.09907, allocations: 116.5 kB / 496.7 MB, free: 0.6836 MB / 366.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001966/0.09928, allocations: 151.4 kB / 496.9 MB, free: 0.5352 MB / 366.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002323/0.09952, allocations: 167.2 kB / 497.1 MB, free: 380 kB / 366.1 MB Notification: Performance of NFPackage.collectConstants: time 5.881e-05/0.09958, allocations: 28 kB / 497.1 MB, free: 352 kB / 366.1 MB Notification: Performance of NFFlatten.collectFunctions: time 4.732e-05/0.09964, allocations: 24 kB / 497.1 MB, free: 328 kB / 366.1 MB Notification: Performance of NFScalarize.scalarize: time 9.55e-05/0.09974, allocations: 75.75 kB / 497.2 MB, free: 252 kB / 366.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001433/0.09989, allocations: 139.2 kB / 497.3 MB, free: 112 kB / 366.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003661/0.1003, allocations: 334.5 kB / 497.6 MB, free: 15.78 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.386e-06/0.1003, allocations: 4 kB / 497.6 MB, free: 15.78 MB / 382.1 MB Notification: Performance of FrontEnd: time 1.322e-06/0.1003, allocations: 0 / 497.6 MB, free: 15.78 MB / 382.1 MB Notification: Performance of Transformations before backend: time 8.706e-06/0.1003, allocations: 4 kB / 497.6 MB, free: 15.77 MB / 382.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 51 * Number of variables: 51 Notification: Performance of Generate backend data structure: time 0.001328/0.1016, allocations: 0.6621 MB / 498.3 MB, free: 15.06 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.09e-05/0.1017, allocations: 8.031 kB / 498.3 MB, free: 15.05 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.279e-05/0.1018, allocations: 36.7 kB / 498.4 MB, free: 15.02 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005952/0.1024, allocations: 343.6 kB / 498.7 MB, free: 14.64 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.859e-05/0.1024, allocations: 20.75 kB / 498.7 MB, free: 14.62 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.768e-05/0.1025, allocations: 24.38 kB / 498.7 MB, free: 14.6 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004441/0.1029, allocations: 246.1 kB / 499 MB, free: 14.35 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.458e-05/0.1029, allocations: 0 / 499 MB, free: 14.35 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.761e-05/0.103, allocations: 11.98 kB / 499 MB, free: 14.34 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.994e-06/0.103, allocations: 4 kB / 499 MB, free: 14.33 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000392/0.1034, allocations: 173.6 kB / 499.2 MB, free: 14.16 MB / 382.1 MB Warning: Alias set with conflicting start values * Candidate: Cap.T(start = 293.15, confidence number = 7) * Candidate: Cap.port.T(start = 288.15, confidence number = 8) * Candidate: Gloss.port_b.T(start = 288.15, confidence number = 8) * Candidate: Pa1.port.T(start = 288.15, confidence number = 8) * Candidate: Pa2.port.T(start = 288.15, confidence number = 8) * Candidate: sT.port.T(start = 288.15, confidence number = 8) => Select value from Cap.T(start = 293.15) for variable: Cap.T Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001469/0.1049, allocations: 1.218 MB / 0.4886 GB, free: 12.79 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004059/0.1053, allocations: 206.5 kB / 0.4888 GB, free: 12.58 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001891/0.1055, allocations: 96.81 kB / 0.4889 GB, free: 12.48 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.989e-05/0.1055, allocations: 4 kB / 0.4889 GB, free: 12.48 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.315e-05/0.1055, allocations: 34.94 kB / 0.489 GB, free: 12.43 MB / 382.1 MB Notification: Performance of pre-optimization done (n=21): time 1.613e-06/0.1056, allocations: 4 kB / 0.489 GB, free: 12.43 MB / 382.1 MB Notification: Performance of matching and sorting (n=21): time 0.0006636/0.1062, allocations: 297.3 kB / 0.4893 GB, free: 12.13 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.719e-05/0.1063, allocations: 77.11 kB / 0.4893 GB, free: 12.04 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004852/0.1068, allocations: 298.7 kB / 0.4896 GB, free: 11.74 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 3.539e-05/0.1068, allocations: 37.7 kB / 0.4897 GB, free: 11.7 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001091/0.1069, allocations: 172.4 kB / 0.4898 GB, free: 11.52 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 6.755e-05/0.107, allocations: 79.27 kB / 0.4899 GB, free: 11.45 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.696e-05/0.1071, allocations: 45.7 kB / 0.4899 GB, free: 11.39 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 0.0001236/0.1072, allocations: 338.8 kB / 0.4903 GB, free: 11.05 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001814/0.1074, allocations: 77.05 kB / 0.4903 GB, free: 10.97 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001845/0.1076, allocations: 107 kB / 0.4904 GB, free: 10.86 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001858/0.1095, allocations: 462.7 kB / 0.4909 GB, free: 10.4 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.044e-06/0.1095, allocations: 0 / 0.4909 GB, free: 10.4 MB / 382.1 MB Notification: Performance of matching and sorting (n=27) (initialization): time 0.0004934/0.11, allocations: 253.4 kB / 0.4911 GB, free: 10.15 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.438e-05/0.11, allocations: 10.28 kB / 0.4911 GB, free: 10.14 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.499e-06/0.11, allocations: 7.969 kB / 0.4911 GB, free: 10.13 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.176e-05/0.11, allocations: 4 kB / 0.4911 GB, free: 10.13 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002887/0.1103, allocations: 51.97 kB / 0.4912 GB, free: 10.08 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.861e-06/0.1103, allocations: 0 / 0.4912 GB, free: 10.08 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002567/0.1106, allocations: 39.8 kB / 0.4912 GB, free: 10.04 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.984e-05/0.1106, allocations: 4 kB / 0.4912 GB, free: 10.04 MB / 382.1 MB Warning: Assuming fixed start value for the following 4 variables: Act2.y:VARIABLE(flow=false start = Act2.y_start fixed = true ) "Connector of Real output signal" type: Real Act1.y:VARIABLE(flow=false start = Act1.y_start fixed = true ) "Connector of Real output signal" type: Real Cap.T:VARIABLE(min = 0.0 start = 293.15 unit = "K" fixed = true nominal = 300.0 ) "Temperature of element" type: Real FA1.x_scaled[1]:VARIABLE(fixed = true protected = true ) "Scaled vector x" type: Real [1] Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.0002625/0.1109, allocations: 185 kB / 0.4914 GB, free: 9.855 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0001304/0.111, allocations: 93.06 kB / 0.4915 GB, free: 9.758 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.001645/0.1127, allocations: 427.6 kB / 0.4919 GB, free: 9.336 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 5.34e-06/0.1127, allocations: 7.984 kB / 0.4919 GB, free: 9.328 MB / 382.1 MB Notification: Performance of matching and sorting (n=27) (initialization_lambda0): time 0.0003702/0.1131, allocations: 233.3 kB / 0.4921 GB, free: 9.094 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 8.907e-06/0.1131, allocations: 4 kB / 0.4921 GB, free: 9.09 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.306e-06/0.1131, allocations: 8.031 kB / 0.4921 GB, free: 9.082 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.575e-06/0.1131, allocations: 0 / 0.4921 GB, free: 9.082 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002305/0.1134, allocations: 47.92 kB / 0.4922 GB, free: 9.035 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.503e-06/0.1134, allocations: 7.984 kB / 0.4922 GB, free: 9.027 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000237/0.1136, allocations: 27.88 kB / 0.4922 GB, free: 9 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.635e-05/0.1136, allocations: 4 kB / 0.4922 GB, free: 8.996 MB / 382.1 MB Warning: Assuming fixed start value for the following 4 variables: Act2.y:VARIABLE(flow=false start = Act2.y_start fixed = true ) "Connector of Real output signal" type: Real Act1.y:VARIABLE(flow=false start = Act1.y_start fixed = true ) "Connector of Real output signal" type: Real Cap.T:VARIABLE(min = 0.0 start = 293.15 unit = "K" fixed = true nominal = 300.0 ) "Temperature of element" type: Real FA1.x_scaled[1]:VARIABLE(fixed = true protected = true ) "Scaled vector x" type: Real [1] 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 (27): * Single equations (assignments): 27 * 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.0001559/0.1138, allocations: 212 kB / 0.4924 GB, free: 8.785 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.868e-05/0.1139, allocations: 35.69 kB / 0.4925 GB, free: 8.75 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005467/0.1144, allocations: 258.5 kB / 0.4927 GB, free: 8.492 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.12e-06/0.1144, allocations: 0 / 0.4927 GB, free: 8.492 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.342e-06/0.1144, allocations: 0 / 0.4927 GB, free: 8.492 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 7.197e-05/0.1145, allocations: 108.8 kB / 0.4928 GB, free: 8.367 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.678e-05/0.1146, allocations: 8 kB / 0.4928 GB, free: 8.359 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002865/0.1149, allocations: 23.97 kB / 0.4929 GB, free: 8.336 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.641e-05/0.1149, allocations: 11.98 kB / 0.4929 GB, free: 8.324 MB / 382.1 MB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.000787/0.1157, allocations: 352.5 kB / 0.4932 GB, free: 7.973 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.000721/0.1164, allocations: 0.5168 MB / 0.4937 GB, free: 7.441 MB / 382.1 MB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.0001816/0.1166, allocations: 96 kB / 0.4938 GB, free: 7.348 MB / 382.1 MB Notification: Performance of sorting global known variables: time 0.0003968/0.117, allocations: 221.9 kB / 0.494 GB, free: 7.129 MB / 382.1 MB Notification: Performance of Backend: time 4.81e-07/0.1171, allocations: 0 / 0.494 GB, free: 7.129 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.000731/0.1178, allocations: 306.8 kB / 0.4943 GB, free: 6.824 MB / 382.1 MB Notification: Performance of SimCode: time 0.001206/0.119, allocations: 1.084 MB / 0.4954 GB, free: 5.688 MB / 382.1 MB Notification: Performance of Templates: time 0.007952/0.127, allocations: 4.164 MB / 0.4994 GB, free: 1.586 MB / 382.1 MB make -j1 -f AES_AES.Coursework.ThermSys_control_problems.Thermal_control_actuator_split.Actuator_split_equalising.makefile (rm -f AES_AES.Coursework.ThermSys_control_problems.Thermal_control_actuator_split.Actuator_split_equalising.pipe ; mkfifo AES_AES.Coursework.ThermSys_control_problems.Thermal_control_actuator_split.Actuator_split_equalising.pipe ; head -c 1048576 < AES_AES.Coursework.ThermSys_control_problems.Thermal_control_actuator_split.Actuator_split_equalising.pipe >> ../files/AES_AES.Coursework.ThermSys_control_problems.Thermal_control_actuator_split.Actuator_split_equalising.sim & ./AES_AES.Coursework.ThermSys_control_problems.Thermal_control_actuator_split.Actuator_split_equalising -lv=LOG_STATS -s=dassl -abortSlowSimulation -alarm=480 -lv LOG_STATS > AES_AES.Coursework.ThermSys_control_problems.Thermal_control_actuator_split.Actuator_split_equalising.pipe 2>&1)