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: "" <> buildModelFMU(AES.Coursework.ThermSys_control_problems.Thermal_zones_control.Thermal_zones_case_01_openLoop,fileNamePrefix="AES_AES_Coursework_ThermSys_control_problems_Thermal_zones_control_Thermal_zones_case_01_openLoop",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(AES.Coursework.ThermSys_control_problems.Thermal_zones_control.Thermal_zones_case_01_openLoop,fileNamePrefix="AES_AES_Coursework_ThermSys_control_problems_Thermal_zones_control_Thermal_zones_case_01_openLoop",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.006635/0.006635, allocations: 100.9 kB / 15.73 MB, free: 6.031 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.001337/0.001337, allocations: 192.5 kB / 16.67 MB, free: 5.969 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 / 240.4 MB, free: 4.316 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/AES main/package.mo): time 0.2219/0.2219, allocations: 22.34 MB / 312.9 MB, free: 12.41 MB / 254.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001436/0.001437, allocations: 70.08 kB / 436.6 MB, free: 34.11 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09302/0.09447, allocations: 54.96 MB / 491.5 MB, free: 1.723 MB / 350.1 MB Notification: Performance of NFInst.instantiate(AES.Coursework.ThermSys_control_problems.Thermal_zones_control.Thermal_zones_case_01_openLoop): time 0.002674/0.09718, allocations: 2.11 MB / 493.6 MB, free: 15.6 MB / 366.1 MB Notification: Performance of NFInst.instExpressions: time 0.0003897/0.0976, allocations: 151.4 kB / 493.8 MB, free: 15.45 MB / 366.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 8.993e-05/0.09771, allocations: 4 kB / 493.8 MB, free: 15.45 MB / 366.1 MB Notification: Performance of NFTyping.typeComponents: time 8.514e-05/0.0978, allocations: 31.72 kB / 493.8 MB, free: 15.42 MB / 366.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001528/0.09798, allocations: 51.48 kB / 493.9 MB, free: 15.37 MB / 366.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001402/0.09813, allocations: 43.95 kB / 493.9 MB, free: 15.32 MB / 366.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001896/0.09832, allocations: 199 kB / 494.1 MB, free: 15.13 MB / 366.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002071/0.09854, allocations: 103.7 kB / 494.2 MB, free: 15.02 MB / 366.1 MB Notification: Performance of NFEvalConstants.evaluate: time 8.114e-05/0.09863, allocations: 67.78 kB / 494.3 MB, free: 14.96 MB / 366.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.000129/0.09876, allocations: 83.69 kB / 494.4 MB, free: 14.88 MB / 366.1 MB Notification: Performance of NFPackage.collectConstants: time 2.795e-05/0.0988, allocations: 20 kB / 494.4 MB, free: 14.86 MB / 366.1 MB Notification: Performance of NFFlatten.collectFunctions: time 2.847e-05/0.09883, allocations: 16 kB / 494.4 MB, free: 14.84 MB / 366.1 MB Notification: Performance of NFScalarize.scalarize: time 3.817e-05/0.09888, allocations: 39.84 kB / 494.4 MB, free: 14.8 MB / 366.1 MB Notification: Performance of NFVerifyModel.verify: time 8.444e-05/0.09897, allocations: 83.66 kB / 494.5 MB, free: 14.72 MB / 366.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002016/0.09917, allocations: 188.1 kB / 494.7 MB, free: 14.54 MB / 366.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.867e-06/0.09919, allocations: 4 kB / 494.7 MB, free: 14.53 MB / 366.1 MB Notification: Performance of FrontEnd: time 1.483e-06/0.09919, allocations: 0 / 494.7 MB, free: 14.53 MB / 366.1 MB Notification: Performance of Transformations before backend: time 7.223e-06/0.0992, allocations: 0 / 494.7 MB, free: 14.53 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.0005739/0.09978, allocations: 463 kB / 495.2 MB, free: 14.03 MB / 366.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.553e-05/0.09983, allocations: 8.031 kB / 495.2 MB, free: 14.02 MB / 366.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.003e-05/0.09988, allocations: 50.73 kB / 495.2 MB, free: 13.96 MB / 366.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.197e-05/0.09993, allocations: 20.75 kB / 495.2 MB, free: 13.94 MB / 366.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001259/0.1001, allocations: 188.1 kB / 495.4 MB, free: 13.72 MB / 366.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.726e-05/0.1001, allocations: 12.38 kB / 495.4 MB, free: 13.71 MB / 366.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.524e-05/0.1001, allocations: 20.38 kB / 495.5 MB, free: 13.69 MB / 366.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002941/0.1004, allocations: 162.8 kB / 495.6 MB, free: 13.52 MB / 366.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.379e-05/0.1005, allocations: 3.938 kB / 495.6 MB, free: 13.52 MB / 366.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.653e-05/0.1005, allocations: 4 kB / 495.6 MB, free: 13.52 MB / 366.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.312e-06/0.1005, allocations: 4 kB / 495.6 MB, free: 13.51 MB / 366.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002319/0.1007, allocations: 111.9 kB / 495.7 MB, free: 13.4 MB / 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.0009256/0.1017, allocations: 0.8598 MB / 496.6 MB, free: 12.41 MB / 366.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002227/0.1019, allocations: 118.5 kB / 496.7 MB, free: 12.29 MB / 366.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001344/0.102, allocations: 80.72 kB / 496.8 MB, free: 12.21 MB / 366.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.649e-05/0.1021, allocations: 3.984 kB / 496.8 MB, free: 12.2 MB / 366.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.022e-05/0.1021, allocations: 34.56 kB / 496.8 MB, free: 12.16 MB / 366.1 MB Notification: Performance of pre-optimization done (n=16): time 1.442e-06/0.1021, allocations: 4 kB / 496.8 MB, free: 12.16 MB / 366.1 MB Notification: Performance of matching and sorting (n=16): time 0.0003581/0.1025, allocations: 168 kB / 497 MB, free: 11.99 MB / 366.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.726e-05/0.1025, allocations: 55.34 kB / 497 MB, free: 11.92 MB / 366.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.189e-05/0.1026, allocations: 117.8 kB / 497.2 MB, free: 11.8 MB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 2.461e-05/0.1026, allocations: 29.7 kB / 497.2 MB, free: 11.76 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 6.057e-05/0.1027, allocations: 128.1 kB / 497.3 MB, free: 11.63 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.926e-05/0.1027, allocations: 59.19 kB / 497.4 MB, free: 11.57 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.076e-05/0.1028, allocations: 37.61 kB / 497.4 MB, free: 11.53 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 0.0001124/0.1029, allocations: 330.8 kB / 497.7 MB, free: 11.2 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 8.61e-05/0.103, allocations: 39.92 kB / 497.8 MB, free: 11.16 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001012/0.1031, allocations: 73.2 kB / 497.8 MB, free: 11.07 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005793/0.1037, allocations: 230.8 kB / 498.1 MB, free: 10.84 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.445e-06/0.1037, allocations: 0 / 498.1 MB, free: 10.84 MB / 366.1 MB Notification: Performance of matching and sorting (n=22) (initialization): time 0.0002733/0.104, allocations: 165.4 kB / 498.2 MB, free: 10.67 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.55e-05/0.104, allocations: 9.875 kB / 498.2 MB, free: 10.66 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.459e-06/0.104, allocations: 0 / 498.2 MB, free: 10.66 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.622e-05/0.1041, allocations: 4 kB / 498.2 MB, free: 10.66 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001896/0.1043, allocations: 43.97 kB / 498.3 MB, free: 10.61 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.142e-05/0.1043, allocations: 7.875 kB / 498.3 MB, free: 10.61 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.288e-05/0.1044, allocations: 15.84 kB / 498.3 MB, free: 10.59 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.307e-05/0.1044, allocations: 12 kB / 498.3 MB, free: 10.58 MB / 366.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.0002054/0.1046, allocations: 137.3 kB / 498.5 MB, free: 10.44 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.475e-05/0.1046, allocations: 7.906 kB / 498.5 MB, free: 10.43 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.338e-05/0.1047, allocations: 24.78 kB / 498.5 MB, free: 10.41 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.954e-06/0.1047, allocations: 0 / 498.5 MB, free: 10.41 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.781e-06/0.1047, allocations: 3.938 kB / 498.5 MB, free: 10.4 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.176e-06/0.1047, allocations: 4 kB / 498.5 MB, free: 10.4 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002602/0.105, allocations: 253.4 kB / 498.7 MB, free: 10.1 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.294e-06/0.105, allocations: 0 / 498.7 MB, free: 10.1 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001838/0.1052, allocations: 39.91 kB / 498.8 MB, free: 10.06 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.086e-06/0.1052, allocations: 0 / 498.8 MB, free: 10.06 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.495e-05/0.1052, allocations: 8 kB / 498.8 MB, free: 10.05 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.844e-06/0.1052, allocations: 0 / 498.8 MB, free: 10.05 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.298e-06/0.1052, allocations: 7.922 kB / 498.8 MB, free: 10.05 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003611/0.1056, allocations: 277.6 kB / 499.1 MB, free: 9.762 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.595e-05/0.1057, allocations: 88.94 kB / 499.2 MB, free: 9.656 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.347e-05/0.1057, allocations: 11.94 kB / 499.2 MB, free: 9.645 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.947e-05/0.1058, allocations: 0 / 499.2 MB, free: 9.645 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.209e-05/0.1058, allocations: 15.92 kB / 499.2 MB, free: 9.629 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.386e-06/0.1058, allocations: 4 kB / 499.2 MB, free: 9.625 MB / 366.1 MB Notification: Performance of sorting global known variables: time 4.738e-05/0.1059, allocations: 91.27 kB / 499.3 MB, free: 9.535 MB / 366.1 MB Notification: Performance of sort global known variables: time 1.4e-07/0.1059, allocations: 0 / 499.3 MB, free: 9.535 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.0002623/0.1062, allocations: 51.78 kB / 499.3 MB, free: 9.484 MB / 366.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.0006037/0.1068, allocations: 0.8244 MB / 0.4884 GB, free: 8.633 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.000242/0.107, allocations: 107.9 kB / 0.4885 GB, free: 8.527 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 1.763e-06/0.107, allocations: 0 / 0.4885 GB, free: 8.527 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 0.000101/0.1071, allocations: 60.22 kB / 0.4886 GB, free: 8.469 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002517/0.1074, allocations: 15.94 kB / 0.4886 GB, free: 8.453 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002006/0.1094, allocations: 1.866 MB / 0.4904 GB, free: 6.488 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002736/0.1097, allocations: 0.7162 MB / 0.4911 GB, free: 5.746 MB / 366.1 MB Notification: Performance of simCode: alias equations: time 8.052e-05/0.1098, allocations: 12.64 kB / 0.4911 GB, free: 5.734 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.132e-05/0.1099, allocations: 47.42 kB / 0.4912 GB, free: 5.688 MB / 366.1 MB Notification: Performance of SimCode: time 1.843e-06/0.1099, allocations: 0 / 0.4912 GB, free: 5.688 MB / 366.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02063/0.1305, allocations: 2.713 MB / 0.4938 GB, free: 3.152 MB / 366.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 7.224/7.355, allocations: 4.375 kB / 0.4938 GB, free: 3.148 MB / 366.1 MB (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 & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_AES_AES_Coursework_ThermSys_control_problems_Thermal_zones_control_Thermal_zones_case_01_openLoop_fmu --startTime=0 --stopTime=7200 --timeout=50 --tolerance=1e-06 AES_AES_Coursework_ThermSys_control_problems_Thermal_zones_control_Thermal_zones_case_01_openLoop.fmu > AES_AES.Coursework.ThermSys_control_problems.Thermal_zones_control.Thermal_zones_case_01_openLoop.pipe 2>&1)