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_openLoop.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_zones_control.Thermal_zones_case_01_openLoop,tolerance=1e-06,outputFormat="empty",numberOfIntervals=14400,variableFilter="",fileNamePrefix="AES_AES.Coursework.ThermSys_control_problems.Thermal_zones_control.Thermal_zones_case_01_openLoop") translateModel(AES.Coursework.ThermSys_control_problems.Thermal_zones_control.Thermal_zones_case_01_openLoop,tolerance=1e-06,outputFormat="empty",numberOfIntervals=14400,variableFilter="",fileNamePrefix="AES_AES.Coursework.ThermSys_control_problems.Thermal_zones_control.Thermal_zones_case_01_openLoop") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001165/0.001165, allocations: 109.3 kB / 16.41 MB, free: 6.445 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.001269/0.00127, allocations: 183 kB / 17.34 MB, free: 5.742 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.317/1.317, allocations: 222.9 MB / 241 MB, free: 15.15 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/AES main/package.mo): time 0.08941/0.08941, allocations: 22.32 MB / 313.5 MB, free: 8.871 MB / 254.1 MB Notification: Performance of FrontEnd - loaded program: time 0.00128/0.00128, allocations: 63.91 kB / 437.7 MB, free: 11.72 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1066/0.1079, allocations: 54.95 MB / 492.7 MB, free: 4.727 MB / 366.1 MB Notification: Performance of NFInst.instantiate(AES.Coursework.ThermSys_control_problems.Thermal_zones_control.Thermal_zones_case_01_openLoop): time 0.003651/0.1116, allocations: 2.103 MB / 494.8 MB, free: 2.609 MB / 366.1 MB Notification: Performance of NFInst.instExpressions: time 0.0004784/0.1121, allocations: 155.4 kB / 494.9 MB, free: 2.457 MB / 366.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001235/0.1123, allocations: 4 kB / 494.9 MB, free: 2.453 MB / 366.1 MB Notification: Performance of NFTyping.typeComponents: time 8.911e-05/0.1124, allocations: 27.72 kB / 495 MB, free: 2.426 MB / 366.1 MB Notification: Performance of NFTyping.typeBindings: time 0.000206/0.1126, allocations: 63.47 kB / 495 MB, free: 2.363 MB / 366.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001687/0.1128, allocations: 35.95 kB / 495.1 MB, free: 2.328 MB / 366.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002372/0.113, allocations: 195 kB / 495.2 MB, free: 2.137 MB / 366.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002405/0.1133, allocations: 107.9 kB / 495.4 MB, free: 2.027 MB / 366.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001099/0.1134, allocations: 67.78 kB / 495.4 MB, free: 1.961 MB / 366.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001383/0.1135, allocations: 75.7 kB / 495.5 MB, free: 1.887 MB / 366.1 MB Notification: Performance of NFPackage.collectConstants: time 3.506e-05/0.1136, allocations: 16 kB / 495.5 MB, free: 1.871 MB / 366.1 MB Notification: Performance of NFFlatten.collectFunctions: time 3.651e-05/0.1136, allocations: 16 kB / 495.5 MB, free: 1.855 MB / 366.1 MB Notification: Performance of NFScalarize.scalarize: time 3.934e-05/0.1137, allocations: 47.77 kB / 495.6 MB, free: 1.809 MB / 366.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001128/0.1138, allocations: 91.59 kB / 495.7 MB, free: 1.719 MB / 366.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002399/0.114, allocations: 187.3 kB / 495.8 MB, free: 1.535 MB / 366.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.829e-06/0.1141, allocations: 0 / 495.8 MB, free: 1.535 MB / 366.1 MB Notification: Performance of FrontEnd: time 1.393e-06/0.1141, allocations: 0 / 495.8 MB, free: 1.535 MB / 366.1 MB Notification: Performance of Transformations before backend: time 1.435e-05/0.1141, allocations: 4 kB / 495.8 MB, free: 1.531 MB / 366.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 44 * Number of variables: 44 Notification: Performance of Generate backend data structure: time 0.0007088/0.1148, allocations: 462.9 kB / 496.3 MB, free: 1.027 MB / 366.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.273e-05/0.1148, allocations: 8.031 kB / 496.3 MB, free: 1.02 MB / 366.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.095e-05/0.1149, allocations: 20.75 kB / 496.3 MB, free: 1 MB / 366.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001518/0.1151, allocations: 188 kB / 496.5 MB, free: 0.7773 MB / 366.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.178e-05/0.1151, allocations: 16.38 kB / 496.5 MB, free: 0.7617 MB / 366.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.25e-05/0.1152, allocations: 20.38 kB / 496.5 MB, free: 0.7422 MB / 366.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000337/0.1155, allocations: 158.8 kB / 496.7 MB, free: 0.582 MB / 366.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.744e-05/0.1155, allocations: 192 / 496.7 MB, free: 0.582 MB / 366.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.187e-05/0.1156, allocations: 7.938 kB / 496.7 MB, free: 0.5742 MB / 366.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.498e-06/0.1156, allocations: 4 kB / 496.7 MB, free: 0.5703 MB / 366.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002592/0.1158, allocations: 111.9 kB / 496.8 MB, free: 472 kB / 366.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.001073/0.1169, allocations: 0.8599 MB / 497.7 MB, free: 15.47 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002366/0.1172, allocations: 118.5 kB / 497.8 MB, free: 15.35 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001368/0.1173, allocations: 80.78 kB / 497.9 MB, free: 15.27 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.717e-05/0.1173, allocations: 0 / 497.9 MB, free: 15.27 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.533e-05/0.1174, allocations: 38.55 kB / 497.9 MB, free: 15.22 MB / 382.1 MB Notification: Performance of pre-optimization done (n=16): time 1.343e-06/0.1174, allocations: 0 / 497.9 MB, free: 15.22 MB / 382.1 MB Notification: Performance of matching and sorting (n=16): time 0.0003951/0.1178, allocations: 161.8 kB / 498.1 MB, free: 15.05 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.88e-05/0.1178, allocations: 55.41 kB / 498.1 MB, free: 14.99 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001136/0.1179, allocations: 121.8 kB / 498.2 MB, free: 14.86 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 1.902e-05/0.118, allocations: 29.7 kB / 498.3 MB, free: 14.82 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 8.055e-05/0.1181, allocations: 128.2 kB / 498.4 MB, free: 14.7 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.325e-05/0.1181, allocations: 55.11 kB / 498.5 MB, free: 14.64 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.566e-05/0.1182, allocations: 37.7 kB / 498.5 MB, free: 14.6 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 0.0001084/0.1183, allocations: 330.8 kB / 498.8 MB, free: 14.27 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 9.865e-05/0.1184, allocations: 39.92 kB / 498.9 MB, free: 14.23 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001164/0.1185, allocations: 68.28 kB / 498.9 MB, free: 14.14 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006181/0.1191, allocations: 231.2 kB / 499.1 MB, free: 13.91 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.765e-06/0.1192, allocations: 4 kB / 499.1 MB, free: 13.9 MB / 382.1 MB Notification: Performance of matching and sorting (n=22) (initialization): time 0.0002793/0.1194, allocations: 167.5 kB / 499.3 MB, free: 13.73 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.835e-05/0.1195, allocations: 8 kB / 499.3 MB, free: 13.73 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.013e-06/0.1195, allocations: 0 / 499.3 MB, free: 13.73 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.015e-05/0.1195, allocations: 3.984 kB / 499.3 MB, free: 13.72 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001952/0.1197, allocations: 47.91 kB / 499.4 MB, free: 13.68 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.947e-06/0.1197, allocations: 3.938 kB / 499.4 MB, free: 13.67 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.115e-05/0.1198, allocations: 19.78 kB / 499.4 MB, free: 13.65 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.37e-05/0.1198, allocations: 8.125 kB / 499.4 MB, free: 13.64 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 Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 5 * 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 (22): * Single equations (assignments): 22 * 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.0002543/0.1201, allocations: 142.6 kB / 499.5 MB, free: 13.5 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.444e-05/0.1201, allocations: 7.906 kB / 499.5 MB, free: 13.49 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.457e-05/0.1202, allocations: 16.84 kB / 499.6 MB, free: 13.47 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.707e-06/0.1202, allocations: 0 / 499.6 MB, free: 13.47 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.831e-06/0.1202, allocations: 4 kB / 499.6 MB, free: 13.47 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.13e-06/0.1202, allocations: 3.938 kB / 499.6 MB, free: 13.46 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002864/0.1205, allocations: 253.4 kB / 499.8 MB, free: 13.17 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.425e-06/0.1205, allocations: 0 / 499.8 MB, free: 13.17 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001868/0.1207, allocations: 39.91 kB / 499.9 MB, free: 13.13 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.166e-06/0.1207, allocations: 0 / 499.9 MB, free: 13.13 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.475e-05/0.1208, allocations: 8 kB / 499.9 MB, free: 13.12 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.804e-06/0.1208, allocations: 0 / 499.9 MB, free: 13.12 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.383e-06/0.1208, allocations: 0 / 499.9 MB, free: 13.12 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004011/0.1212, allocations: 287.3 kB / 0.4884 GB, free: 12.82 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.087e-05/0.1212, allocations: 85 kB / 0.4885 GB, free: 12.72 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.912e-05/0.1213, allocations: 4 kB / 0.4885 GB, free: 12.72 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.064e-05/0.1214, allocations: 4 kB / 0.4885 GB, free: 12.71 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.99e-05/0.1214, allocations: 15.86 kB / 0.4885 GB, free: 12.7 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.395e-06/0.1215, allocations: 4 kB / 0.4885 GB, free: 12.7 MB / 382.1 MB Notification: Performance of sorting global known variables: time 6.755e-05/0.1215, allocations: 95.27 kB / 0.4886 GB, free: 12.6 MB / 382.1 MB Notification: Performance of sort global known variables: time 1.3e-07/0.1215, allocations: 0 / 0.4886 GB, free: 12.6 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.000276/0.1218, allocations: 51.91 kB / 0.4887 GB, free: 12.55 MB / 382.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 2 (Cz1.T,Cz2.T) * 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 (16): * Single equations (assignments): 16 * 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.0001105/0.1219, allocations: 95.25 kB / 0.4888 GB, free: 12.45 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.0002815/0.1222, allocations: 123.8 kB / 0.4889 GB, free: 12.32 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 1.903e-06/0.1222, allocations: 0 / 0.4889 GB, free: 12.32 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 9.609e-05/0.1223, allocations: 51.92 kB / 0.4889 GB, free: 12.27 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003039/0.1226, allocations: 22.11 kB / 0.489 GB, free: 12.25 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008876/0.1235, allocations: 479.5 kB / 0.4894 GB, free: 11.76 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002889/0.1238, allocations: 0.7162 MB / 0.4901 GB, free: 11.02 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.04e-05/0.1239, allocations: 15.44 kB / 0.4901 GB, free: 11 MB / 382.1 MB Notification: Performance of SimCode: time 2.11e-07/0.1239, allocations: 0 / 0.4901 GB, free: 11 MB / 382.1 MB Notification: Performance of Templates: time 0.003547/0.1275, allocations: 1.668 MB / 0.4918 GB, free: 9.336 MB / 382.1 MB make -j1 -f AES_AES.Coursework.ThermSys_control_problems.Thermal_zones_control.Thermal_zones_case_01_openLoop.makefile (rm -f AES_AES.Coursework.ThermSys_control_problems.Thermal_zones_control.Thermal_zones_case_01_openLoop.pipe ; mkfifo AES_AES.Coursework.ThermSys_control_problems.Thermal_zones_control.Thermal_zones_case_01_openLoop.pipe ; head -c 1048576 < AES_AES.Coursework.ThermSys_control_problems.Thermal_zones_control.Thermal_zones_case_01_openLoop.pipe >> ../files/AES_AES.Coursework.ThermSys_control_problems.Thermal_zones_control.Thermal_zones_case_01_openLoop.sim & ./AES_AES.Coursework.ThermSys_control_problems.Thermal_zones_control.Thermal_zones_case_01_openLoop -lv=LOG_STATS -s=dassl -abortSlowSimulation -alarm=480 -lv LOG_STATS > AES_AES.Coursework.ThermSys_control_problems.Thermal_zones_control.Thermal_zones_case_01_openLoop.pipe 2>&1)