Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr AES_AES.Coursework.ThermSys_control_problems.Thermal_zones_control.Thermal_zones_case_01.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001233/0.001233, allocations: 109.1 kB / 16.46 MB, free: 6.504 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001256/0.001256, allocations: 196.5 kB / 19.41 MB, free: 3.668 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.347/1.347, allocations: 225.6 MB / 247.8 MB, free: 13.92 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/AES main/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/AES main/package.mo): time 0.09771/0.09771, allocations: 22.7 MB / 325.4 MB, free: 3.531 MB / 254.1 MB " [Timeout remaining time 180] 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_zones_control.Thermal_zones_case_01,fileNamePrefix="AES_AES_Coursework_ThermSys_control_problems_Thermal_zones_control_Thermal_zones_case_01",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(AES.Coursework.ThermSys_control_problems.Thermal_zones_control.Thermal_zones_case_01,fileNamePrefix="AES_AES_Coursework_ThermSys_control_problems_Thermal_zones_control_Thermal_zones_case_01",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.001838/0.001838, allocations: 71.88 kB / 457.2 MB, free: 1.754 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1043/0.1062, allocations: 58.02 MB / 0.5031 GB, free: 7.621 MB / 382.1 MB Notification: Performance of NFInst.instantiate(AES.Coursework.ThermSys_control_problems.Thermal_zones_control.Thermal_zones_case_01): time 0.004612/0.1108, allocations: 2.983 MB / 0.506 GB, free: 4.617 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.001855/0.1126, allocations: 1.017 MB / 0.507 GB, free: 3.594 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001772/0.1128, allocations: 15.94 kB / 0.507 GB, free: 3.578 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.000443/0.1132, allocations: 115 kB / 0.5072 GB, free: 3.465 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0005309/0.1138, allocations: 198.8 kB / 0.5073 GB, free: 3.27 MB / 382.1 MB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/AES main/ControlBlocks/AnalogueControllers/PI_awfb_full.mo:71:5-71:30:writable] Warning: Conditional component 'ovrMax' is used in a non-connect context. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/AES main/ControlBlocks/AnalogueControllers/PI_awfb_full.mo:77:5-77:30:writable] Warning: Conditional component 'ovrMin' is used in a non-connect context. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/AES main/ControlBlocks/AnalogueControllers/PI_awfb_full.mo:71:5-71:30:writable] Warning: Conditional component 'ovrMax' is used in a non-connect context. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/AES main/ControlBlocks/AnalogueControllers/PI_awfb_full.mo:77:5-77:30:writable] Warning: Conditional component 'ovrMin' is used in a non-connect context. Notification: Performance of NFTyping.typeClassSections: time 0.0005207/0.1143, allocations: 267.6 kB / 0.5076 GB, free: 3.008 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.000723/0.115, allocations: 0.6171 MB / 0.5082 GB, free: 2.391 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0003149/0.1153, allocations: 146.8 kB / 0.5083 GB, free: 2.238 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002987/0.1156, allocations: 243 kB / 0.5086 GB, free: 2 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003229/0.116, allocations: 266.7 kB / 0.5088 GB, free: 1.738 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 7.07e-05/0.116, allocations: 44 kB / 0.5089 GB, free: 1.695 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001673/0.1162, allocations: 83.95 kB / 0.509 GB, free: 1.613 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001648/0.1164, allocations: 147.4 kB / 0.5091 GB, free: 1.469 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 0.00022/0.1166, allocations: 246.6 kB / 0.5093 GB, free: 1.227 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0006485/0.1172, allocations: 0.5484 MB / 0.5099 GB, free: 0.6758 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.037e-06/0.1172, allocations: 0 / 0.5099 GB, free: 0.6758 MB / 382.1 MB Notification: Performance of FrontEnd: time 1.593e-06/0.1172, allocations: 4 kB / 0.5099 GB, free: 0.6719 MB / 382.1 MB Notification: Performance of Transformations before backend: time 7.574e-06/0.1172, allocations: 0 / 0.5099 GB, free: 0.6719 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: 102 * Number of variables: 102 Notification: Performance of Generate backend data structure: time 0.1883/0.3056, allocations: 0.8638 MB / 0.5107 GB, free: 15.9 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.727e-05/0.3056, allocations: 11.78 kB / 0.5107 GB, free: 15.9 MB / 382.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 7.091e-05/0.3057, allocations: 76.36 kB / 0.5108 GB, free: 15.86 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 9.573e-05/0.3058, allocations: 62.66 kB / 0.5109 GB, free: 15.83 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007397/0.3065, allocations: 455 kB / 0.5113 GB, free: 15.6 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.311e-05/0.3066, allocations: 36.5 kB / 0.5113 GB, free: 15.59 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 7.498e-05/0.3066, allocations: 44.02 kB / 0.5114 GB, free: 15.59 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006429/0.3073, allocations: 417.4 kB / 0.5118 GB, free: 15.51 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.973e-05/0.3073, allocations: 5.969 kB / 0.5118 GB, free: 15.51 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.217e-05/0.3073, allocations: 16.91 kB / 0.5118 GB, free: 15.51 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.354e-05/0.3073, allocations: 10.09 kB / 0.5118 GB, free: 15.51 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000602/0.308, allocations: 291.9 kB / 0.5121 GB, free: 15.5 MB / 382.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.001716/0.3097, allocations: 1.712 MB / 0.5137 GB, free: 14.48 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004133/0.3101, allocations: 256.4 kB / 0.514 GB, free: 14.45 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002596/0.3103, allocations: 142.3 kB / 0.5141 GB, free: 14.44 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.888e-05/0.3104, allocations: 9.266 kB / 0.5141 GB, free: 14.44 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.997e-05/0.3104, allocations: 36.52 kB / 0.5142 GB, free: 14.4 MB / 382.1 MB Notification: Performance of pre-optimization done (n=40): time 1.773e-06/0.3104, allocations: 0 / 0.5142 GB, free: 14.4 MB / 382.1 MB Notification: Performance of matching and sorting (n=40): time 0.0008212/0.3112, allocations: 410.2 kB / 0.5146 GB, free: 14.34 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.817e-05/0.3112, allocations: 58.69 kB / 0.5146 GB, free: 14.28 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005696/0.3118, allocations: 482.9 kB / 0.5151 GB, free: 14.16 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 1.934e-05/0.3118, allocations: 32.73 kB / 0.5151 GB, free: 14.12 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001005/0.3119, allocations: 261.1 kB / 0.5154 GB, free: 14 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 6.678e-05/0.312, allocations: 157.7 kB / 0.5155 GB, free: 13.89 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 9.969e-05/0.3121, allocations: 96.64 kB / 0.5156 GB, free: 13.84 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 5.76e-05/0.3122, allocations: 356 kB / 0.5159 GB, free: 13.51 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002315/0.3124, allocations: 114.2 kB / 0.516 GB, free: 13.47 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002733/0.3127, allocations: 253.6 kB / 0.5163 GB, free: 13.28 MB / 382.1 MB Error: Initialization problem is structural singular. Please, check the initial conditions. Notification: Performance of analyzeInitialSystem (initialization): time 0.001965/0.3146, allocations: 0.9001 MB / 0.5172 GB, free: 12.75 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.008e-06/0.3146, allocations: 1.219 kB / 0.5172 GB, free: 12.75 MB / 382.1 MB Notification: Performance of matching and sorting (n=66) (initialization): time 0.0007226/0.3154, allocations: 461.4 kB / 0.5176 GB, free: 12.57 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.603e-05/0.3154, allocations: 11.14 kB / 0.5176 GB, free: 12.57 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.155e-06/0.3154, allocations: 3.875 kB / 0.5176 GB, free: 12.57 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.975e-05/0.3154, allocations: 8.531 kB / 0.5176 GB, free: 12.57 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004834/0.3159, allocations: 119.3 kB / 0.5177 GB, free: 12.57 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.215e-05/0.3159, allocations: 11.14 kB / 0.5178 GB, free: 12.57 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003375/0.3162, allocations: 71.31 kB / 0.5178 GB, free: 12.53 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.986e-05/0.3163, allocations: 20.56 kB / 0.5178 GB, free: 12.52 MB / 382.1 MB Warning: Assuming fixed start value for the following 2 variables: Cz1.T:VARIABLE(min = 0.0 start = 293.15 unit = \"K\" fixed = true nominal = 300.0 ) \"Temperature of element\" type: Real Cz2.T:VARIABLE(min = 0.0 start = 293.15 unit = \"K\" fixed = true nominal = 300.0 ) \"Temperature of element\" type: Real Warning: The initial conditions are over specified. The following 2 initial equations are redundant, so they are removed from the initialization system: D.Fcs2.y = D.Fcs2.y_start D.Fcs1.y = D.Fcs1.y_start. Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 17 * Number of states: 0 () * Number of discrete variables: 10 (C2.LOsat,C2.HIsat,C1.LOsat,C1.HIsat,C2.iNoDec,C2.iNoInc,C2.iTS,C1.iNoDec,C1.iNoInc,C1.iTS) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (66): * Single equations (assignments): 66 * 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.0002293/0.3165, allocations: 206.7 kB / 0.518 GB, free: 12.36 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.814e-05/0.3166, allocations: 44.12 kB / 0.5181 GB, free: 12.34 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005696/0.3171, allocations: 376.5 kB / 0.5184 GB, free: 12.16 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.899e-06/0.3171, allocations: 4.25 kB / 0.5184 GB, free: 12.16 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.688e-06/0.3171, allocations: 0 / 0.5184 GB, free: 12.16 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.65e-06/0.3171, allocations: 2.203 kB / 0.5184 GB, free: 12.16 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004813/0.3176, allocations: 467 kB / 0.5189 GB, free: 11.86 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.016e-06/0.3176, allocations: 1.594 kB / 0.5189 GB, free: 11.86 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004799/0.3181, allocations: 99.48 kB / 0.519 GB, free: 11.86 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.51e-06/0.3181, allocations: 6.906 kB / 0.519 GB, free: 11.86 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.535e-05/0.3181, allocations: 12.09 kB / 0.519 GB, free: 11.85 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.075e-06/0.3181, allocations: 1.438 kB / 0.519 GB, free: 11.85 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.704e-06/0.3181, allocations: 5.531 kB / 0.519 GB, free: 11.84 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007173/0.3189, allocations: 0.5647 MB / 0.5196 GB, free: 11.54 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 9.32e-05/0.319, allocations: 136.2 kB / 0.5197 GB, free: 11.4 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.055e-05/0.319, allocations: 7.781 kB / 0.5197 GB, free: 11.4 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003021/0.3193, allocations: 32.41 kB / 0.5197 GB, free: 11.39 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.504e-05/0.3194, allocations: 28.33 kB / 0.5198 GB, free: 11.38 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.034e-05/0.3194, allocations: 10.09 kB / 0.5198 GB, free: 11.38 MB / 382.1 MB Notification: Performance of sorting global known variables: time 0.0005046/0.3199, allocations: 339.3 kB / 0.5201 GB, free: 11.23 MB / 382.1 MB Notification: Performance of sort global known variables: time 8.1e-08/0.3199, allocations: 0 / 0.5201 GB, free: 11.23 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.0004066/0.3203, allocations: 110.3 kB / 0.5202 GB, free: 11.2 MB / 382.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 10 (Cz1.T,Cz2.T,C1.xfb,C1.xBias,C1.u,C1.csfil,C2.xfb,C2.xBias,C2.u,C2.csfil) * Number of discrete variables: 4 (C1.HIsat,C1.LOsat,C2.HIsat,C2.LOsat) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (43): * Single equations (assignments): 43 * 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.0009209/0.3212, allocations: 1.125 MB / 0.5213 GB, free: 10.36 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.0005889/0.3218, allocations: 313.7 kB / 0.5216 GB, free: 10.28 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 3.276e-06/0.3218, allocations: 4.125 kB / 0.5216 GB, free: 10.27 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0002222/0.322, allocations: 147.7 kB / 0.5217 GB, free: 10.23 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004052/0.3224, allocations: 59.23 kB / 0.5218 GB, free: 10.21 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005219/0.3277, allocations: 4.309 MB / 0.526 GB, free: 7.613 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002791/0.3279, allocations: 0.8608 MB / 0.5268 GB, free: 6.895 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 0.0002061/0.3282, allocations: 57.17 kB / 0.5269 GB, free: 6.883 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000189/0.3283, allocations: 172.9 kB / 0.5271 GB, free: 6.758 MB / 382.1 MB Notification: Performance of SimCode: time 5.21e-07/0.3283, allocations: 3.938 kB / 0.5271 GB, free: 6.754 MB / 382.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0337/0.362, allocations: 8.29 MB / 0.5352 GB, free: 4.805 MB / 382.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 8.375/8.737, allocations: 12.14 kB / 0.5352 GB, free: 4.801 MB / 382.1 MB " [Timeout remaining time 651] (rm -f AES_AES.Coursework.ThermSys_control_problems.Thermal_zones_control.Thermal_zones_case_01.pipe ; mkfifo AES_AES.Coursework.ThermSys_control_problems.Thermal_zones_control.Thermal_zones_case_01.pipe ; head -c 1048576 < AES_AES.Coursework.ThermSys_control_problems.Thermal_zones_control.Thermal_zones_case_01.pipe >> ../files/AES_AES.Coursework.ThermSys_control_problems.Thermal_zones_control.Thermal_zones_case_01.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_AES_AES_Coursework_ThermSys_control_problems_Thermal_zones_control_Thermal_zones_case_01_fmu --startTime=0 --stopTime=7200 --stepSize=1 --timeout=50 --tolerance=1e-06 AES_AES_Coursework_ThermSys_control_problems_Thermal_zones_control_Thermal_zones_case_01.fmu > AES_AES.Coursework.ThermSys_control_problems.Thermal_zones_control.Thermal_zones_case_01.pipe 2>&1) [Timeout 52.5] [Calling sys.exit(0), Time elapsed: 11.311758531723171] Failed to read output from testmodel.py, exit status != 0: 8.809974330011755 8.826930763 8.706047914 Calling exit ...