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.004984/0.00499, allocations: 105 kB / 15.74 MB, free: 5.984 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.00115/0.00115, allocations: 197.5 kB / 16.67 MB, free: 5.91 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.297/1.297, allocations: 222.9 MB / 240.4 MB, free: 15.14 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/AES main/package.mo): time 0.08995/0.08995, allocations: 22.32 MB / 312.8 MB, free: 8.867 MB / 254.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001216/0.001216, allocations: 63.91 kB / 437.1 MB, free: 11.71 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1087/0.1099, allocations: 54.94 MB / 492 MB, free: 4.719 MB / 366.1 MB Notification: Performance of NFInst.instantiate(AES.Coursework.ThermSys_control_problems.Thermal_zones_control.Thermal_zones_case_01_openLoop): time 0.003009/0.1129, allocations: 2.108 MB / 494.1 MB, free: 2.594 MB / 366.1 MB Notification: Performance of NFInst.instExpressions: time 0.0003677/0.1133, allocations: 151.4 kB / 494.3 MB, free: 2.445 MB / 366.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 8.09e-05/0.1134, allocations: 4 kB / 494.3 MB, free: 2.441 MB / 366.1 MB Notification: Performance of NFTyping.typeComponents: time 7.98e-05/0.1135, allocations: 27.72 kB / 494.3 MB, free: 2.414 MB / 366.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001635/0.1137, allocations: 59.47 kB / 494.3 MB, free: 2.355 MB / 366.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001642/0.1139, allocations: 39.95 kB / 494.4 MB, free: 2.316 MB / 366.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002269/0.1141, allocations: 191.1 kB / 494.6 MB, free: 2.129 MB / 366.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002613/0.1144, allocations: 99.89 kB / 494.7 MB, free: 2.027 MB / 366.1 MB Notification: Performance of NFEvalConstants.evaluate: time 7.9e-05/0.1144, allocations: 71.78 kB / 494.7 MB, free: 1.957 MB / 366.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001356/0.1146, allocations: 79.7 kB / 494.8 MB, free: 1.879 MB / 366.1 MB Notification: Performance of NFPackage.collectConstants: time 2.581e-05/0.1146, allocations: 16 kB / 494.8 MB, free: 1.863 MB / 366.1 MB Notification: Performance of NFFlatten.collectFunctions: time 2.899e-05/0.1147, allocations: 16 kB / 494.8 MB, free: 1.848 MB / 366.1 MB Notification: Performance of NFScalarize.scalarize: time 3.841e-05/0.1147, allocations: 43.83 kB / 494.9 MB, free: 1.805 MB / 366.1 MB Notification: Performance of NFVerifyModel.verify: time 8.225e-05/0.1148, allocations: 91.53 kB / 495 MB, free: 1.715 MB / 366.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002029/0.115, allocations: 187.4 kB / 495.2 MB, free: 1.531 MB / 366.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.789e-06/0.115, allocations: 0 / 495.2 MB, free: 1.531 MB / 366.1 MB Notification: Performance of FrontEnd: time 2.033e-06/0.115, allocations: 0 / 495.2 MB, free: 1.531 MB / 366.1 MB Notification: Performance of Transformations before backend: time 7.995e-06/0.115, allocations: 0 / 495.2 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.0006074/0.1156, allocations: 466.9 kB / 495.6 MB, free: 1.023 MB / 366.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.551e-05/0.1157, allocations: 12.03 kB / 495.6 MB, free: 1.012 MB / 366.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.11e-05/0.1157, allocations: 16.75 kB / 495.6 MB, free: 0.9961 MB / 366.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001308/0.1159, allocations: 180.1 kB / 495.8 MB, free: 0.7812 MB / 366.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.253e-05/0.1159, allocations: 16.31 kB / 495.8 MB, free: 0.7656 MB / 366.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.803e-05/0.116, allocations: 24.36 kB / 495.9 MB, free: 0.7422 MB / 366.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003022/0.1163, allocations: 158.8 kB / 496 MB, free: 0.582 MB / 366.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.45e-05/0.1163, allocations: 4.188 kB / 496 MB, free: 0.5781 MB / 366.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.13e-05/0.1163, allocations: 15.88 kB / 496 MB, free: 0.5625 MB / 366.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.424e-06/0.1163, allocations: 4 kB / 496 MB, free: 0.5586 MB / 366.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002386/0.1166, allocations: 107.9 kB / 496.1 MB, free: 464 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.001015/0.1176, allocations: 0.8599 MB / 497 MB, free: 15.46 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002235/0.1178, allocations: 118.5 kB / 497.1 MB, free: 15.34 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.000147/0.118, allocations: 72.84 kB / 497.2 MB, free: 15.27 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.461e-05/0.118, allocations: 0 / 497.2 MB, free: 15.27 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.491e-05/0.118, allocations: 38.56 kB / 497.2 MB, free: 15.22 MB / 382.1 MB Notification: Performance of pre-optimization done (n=16): time 2.214e-06/0.118, allocations: 3.984 kB / 497.2 MB, free: 15.21 MB / 382.1 MB Notification: Performance of matching and sorting (n=16): time 0.0004061/0.1185, allocations: 173 kB / 497.4 MB, free: 15.04 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.598e-05/0.1185, allocations: 55.39 kB / 497.5 MB, free: 14.98 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001028/0.1186, allocations: 121.8 kB / 497.6 MB, free: 14.85 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 1.933e-05/0.1186, allocations: 29.7 kB / 497.6 MB, free: 14.81 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 9.297e-05/0.1187, allocations: 128.2 kB / 497.7 MB, free: 14.68 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.138e-05/0.1188, allocations: 55.11 kB / 497.8 MB, free: 14.63 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.647e-05/0.1188, allocations: 37.7 kB / 497.8 MB, free: 14.59 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 0.0001463/0.119, allocations: 322.8 kB / 498.1 MB, free: 14.26 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 8.763e-05/0.1191, allocations: 39.97 kB / 498.2 MB, free: 14.22 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001173/0.1192, allocations: 76.28 kB / 498.2 MB, free: 14.13 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006363/0.1199, allocations: 226 kB / 498.5 MB, free: 13.9 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.023e-06/0.1199, allocations: 4 kB / 498.5 MB, free: 13.89 MB / 382.1 MB Notification: Performance of matching and sorting (n=22) (initialization): time 0.0002801/0.1202, allocations: 161.4 kB / 498.6 MB, free: 13.73 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.744e-05/0.1202, allocations: 8 kB / 498.6 MB, free: 13.72 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.911e-06/0.1202, allocations: 0 / 498.6 MB, free: 13.72 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.85e-05/0.1202, allocations: 4 kB / 498.6 MB, free: 13.72 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002021/0.1204, allocations: 47.91 kB / 498.7 MB, free: 13.67 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.367e-06/0.1205, allocations: 4 kB / 498.7 MB, free: 13.67 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.576e-05/0.1205, allocations: 15.78 kB / 498.7 MB, free: 13.65 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.451e-05/0.1206, allocations: 8 kB / 498.7 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.0001855/0.1208, allocations: 134.6 kB / 498.8 MB, free: 13.5 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.543e-05/0.1208, allocations: 11.89 kB / 498.9 MB, free: 13.49 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.64e-05/0.1209, allocations: 20.84 kB / 498.9 MB, free: 13.47 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.734e-06/0.1209, allocations: 0 / 498.9 MB, free: 13.47 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.819e-06/0.1209, allocations: 3.938 kB / 498.9 MB, free: 13.47 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.853e-06/0.1209, allocations: 3.938 kB / 498.9 MB, free: 13.46 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002839/0.1212, allocations: 265.4 kB / 499.1 MB, free: 13.16 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.132e-06/0.1212, allocations: 0 / 499.1 MB, free: 13.16 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001787/0.1214, allocations: 27.98 kB / 499.2 MB, free: 13.13 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.027e-06/0.1214, allocations: 7.984 kB / 499.2 MB, free: 13.12 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.49e-05/0.1214, allocations: 4 kB / 499.2 MB, free: 13.12 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.342e-06/0.1214, allocations: 0 / 499.2 MB, free: 13.12 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.667e-06/0.1214, allocations: 3.938 kB / 499.2 MB, free: 13.11 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003963/0.1218, allocations: 281.5 kB / 499.5 MB, free: 12.82 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.244e-05/0.1219, allocations: 89.11 kB / 499.5 MB, free: 12.72 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.821e-05/0.1219, allocations: 7.984 kB / 499.6 MB, free: 12.71 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.342e-05/0.122, allocations: 0 / 499.6 MB, free: 12.71 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.085e-05/0.1221, allocations: 15.92 kB / 499.6 MB, free: 12.7 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.743e-06/0.1221, allocations: 4 kB / 499.6 MB, free: 12.69 MB / 382.1 MB Notification: Performance of sorting global known variables: time 5.729e-05/0.1221, allocations: 95.7 kB / 499.7 MB, free: 12.6 MB / 382.1 MB Notification: Performance of sort global known variables: time 2.5e-07/0.1221, allocations: 0 / 499.7 MB, free: 12.6 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.0002773/0.1224, allocations: 47.84 kB / 499.7 MB, 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.0001456/0.1226, allocations: 103.2 kB / 499.8 MB, free: 12.44 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.0002806/0.1229, allocations: 122.3 kB / 499.9 MB, free: 12.32 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 2.184e-06/0.1229, allocations: 0 / 499.9 MB, free: 12.32 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001057/0.123, allocations: 59.92 kB / 500 MB, free: 12.26 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002517/0.1233, allocations: 10.62 kB / 0.4883 GB, free: 12.25 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007636/0.124, allocations: 459.5 kB / 0.4887 GB, free: 11.78 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003267/0.1244, allocations: 0.7123 MB / 0.4894 GB, free: 11.04 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 5.982e-05/0.1244, allocations: 12.64 kB / 0.4894 GB, free: 11.03 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.107e-05/0.1245, allocations: 15.44 kB / 0.4894 GB, free: 11.02 MB / 382.1 MB Notification: Performance of SimCode: time 2.2e-07/0.1245, allocations: 0 / 0.4894 GB, free: 11.02 MB / 382.1 MB Notification: Performance of Templates: time 0.003591/0.1281, allocations: 1.142 MB / 0.4906 GB, free: 9.914 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)