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.001439/0.001439, allocations: 111.3 kB / 15.23 MB, free: 0.6602 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.001523/0.001522, allocations: 192 kB / 16.14 MB, free: 6.699 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.348/1.348, allocations: 222.9 MB / 239.8 MB, free: 4.598 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/AES main/package.mo): time 0.2245/0.2245, allocations: 22.35 MB / 312.3 MB, free: 12.65 MB / 254.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001306/0.001306, allocations: 63.91 kB / 380.1 MB, free: 11.13 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2903/0.2917, allocations: 54.94 MB / 435.1 MB, free: 39.5 MB / 350.1 MB Notification: Performance of NFInst.instantiate(AES.Coursework.ThermSys_control_problems.Thermal_zones_control.Thermal_zones_case_01_openLoop): time 0.002759/0.2945, allocations: 2.152 MB / 437.2 MB, free: 38 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.000254/0.2947, allocations: 149.3 kB / 437.3 MB, free: 37.89 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.896e-05/0.2948, allocations: 5.125 kB / 437.4 MB, free: 37.89 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 7.808e-05/0.2949, allocations: 20.69 kB / 437.4 MB, free: 37.88 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001126/0.295, allocations: 51.69 kB / 437.4 MB, free: 37.84 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001101/0.2951, allocations: 29.45 kB / 437.5 MB, free: 37.82 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.000141/0.2953, allocations: 190.9 kB / 437.6 MB, free: 37.73 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001886/0.2955, allocations: 85.66 kB / 437.7 MB, free: 37.69 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 5.938e-05/0.2955, allocations: 64.14 kB / 437.8 MB, free: 37.66 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 9.574e-05/0.2956, allocations: 82.3 kB / 437.9 MB, free: 37.62 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 2.749e-05/0.2957, allocations: 11.19 kB / 437.9 MB, free: 37.62 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 2.815e-05/0.2957, allocations: 14.03 kB / 437.9 MB, free: 37.62 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 2.927e-05/0.2957, allocations: 36.2 kB / 437.9 MB, free: 37.6 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 6.58e-05/0.2958, allocations: 81.08 kB / 438 MB, free: 37.55 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001453/0.296, allocations: 193.6 kB / 438.2 MB, free: 37.47 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.967e-06/0.296, allocations: 0 / 438.2 MB, free: 37.47 MB / 350.1 MB Notification: Performance of FrontEnd: time 9.72e-07/0.296, allocations: 3 kB / 438.2 MB, free: 37.47 MB / 350.1 MB Notification: Performance of Transformations before backend: time 5.52e-06/0.296, allocations: 0 / 438.2 MB, free: 37.47 MB / 350.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.0004907/0.2965, allocations: 461.6 kB / 438.6 MB, free: 37.05 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.497e-05/0.2965, allocations: 15.06 kB / 438.7 MB, free: 37.04 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.101e-05/0.2966, allocations: 20.47 kB / 438.7 MB, free: 37.03 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 9.116e-05/0.2967, allocations: 181.4 kB / 438.9 MB, free: 36.82 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.533e-05/0.2967, allocations: 22.02 kB / 438.9 MB, free: 36.81 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.356e-05/0.2968, allocations: 17.09 kB / 438.9 MB, free: 36.8 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002555/0.297, allocations: 158 kB / 439.1 MB, free: 36.73 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.15e-05/0.297, allocations: 192 / 439.1 MB, free: 36.73 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.724e-05/0.2971, allocations: 10.78 kB / 439.1 MB, free: 36.72 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.442e-06/0.2971, allocations: 3.688 kB / 439.1 MB, free: 36.72 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002016/0.2973, allocations: 124.3 kB / 439.2 MB, free: 36.67 MB / 350.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.0007315/0.298, allocations: 0.8526 MB / 440 MB, free: 35.89 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001951/0.2982, allocations: 119.1 kB / 440.2 MB, free: 35.83 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001121/0.2983, allocations: 77.58 kB / 440.2 MB, free: 35.79 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.299e-05/0.2984, allocations: 2.875 kB / 440.2 MB, free: 35.79 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.614e-05/0.2984, allocations: 45.38 kB / 440.3 MB, free: 35.74 MB / 350.1 MB Notification: Performance of pre-optimization done (n=16): time 1.212e-06/0.2984, allocations: 0 / 440.3 MB, free: 35.74 MB / 350.1 MB Notification: Performance of matching and sorting (n=16): time 0.0003169/0.2987, allocations: 162.3 kB / 440.4 MB, free: 35.66 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.124e-05/0.2987, allocations: 54.12 kB / 440.5 MB, free: 35.6 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.986e-05/0.2988, allocations: 125.4 kB / 440.6 MB, free: 35.49 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 1.01e-05/0.2988, allocations: 25.7 kB / 440.6 MB, free: 35.46 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 5.944e-05/0.2989, allocations: 124.5 kB / 440.8 MB, free: 35.34 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.044e-05/0.2989, allocations: 61.47 kB / 440.8 MB, free: 35.3 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.459e-05/0.299, allocations: 35.09 kB / 440.9 MB, free: 35.27 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 5.776e-05/0.299, allocations: 326.2 kB / 441.2 MB, free: 34.95 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 7.929e-05/0.2991, allocations: 38.42 kB / 441.2 MB, free: 34.93 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 9.08e-05/0.2992, allocations: 74.27 kB / 441.3 MB, free: 34.88 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005215/0.2998, allocations: 226.1 kB / 441.5 MB, free: 34.77 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.954e-06/0.2998, allocations: 0 / 441.5 MB, free: 34.77 MB / 350.1 MB Notification: Performance of matching and sorting (n=22) (initialization): time 0.0002353/0.3, allocations: 172.4 kB / 441.7 MB, free: 34.68 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.354e-05/0.3, allocations: 5.344 kB / 441.7 MB, free: 34.68 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.813e-06/0.3, allocations: 2.562 kB / 441.7 MB, free: 34.68 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.426e-05/0.3001, allocations: 3.375 kB / 441.7 MB, free: 34.68 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001766/0.3002, allocations: 41.27 kB / 441.7 MB, free: 34.67 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.713e-06/0.3003, allocations: 2.469 kB / 441.7 MB, free: 34.67 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.712e-05/0.3004, allocations: 26.83 kB / 441.8 MB, free: 34.66 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.064e-05/0.3004, allocations: 9.312 kB / 441.8 MB, free: 34.65 MB / 350.1 MB Warning: Assuming fixed start value for the following 2 variables: Cz1.T:VARIABLE(min = max(0.0, max(0.0, max(0.0, max(0.0, max(0.0, 0.0))))) start = 293.15 unit = "K" fixed = true nominal = 300.0 ) "Temperature of element" type: Real Cz2.T:VARIABLE(min = max(0.0, max(0.0, max(0.0, max(0.0, max(0.0, 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.000208/0.3006, allocations: 155.5 kB / 441.9 MB, free: 34.52 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.066e-05/0.3006, allocations: 7.625 kB / 441.9 MB, free: 34.52 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.005e-05/0.3007, allocations: 20.84 kB / 441.9 MB, free: 34.5 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.435e-06/0.3007, allocations: 3.375 kB / 441.9 MB, free: 34.5 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.208e-06/0.3007, allocations: 0 / 441.9 MB, free: 34.5 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.206e-06/0.3007, allocations: 3.938 kB / 441.9 MB, free: 34.5 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001961/0.3009, allocations: 254.3 kB / 442.2 MB, free: 34.26 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.653e-06/0.3009, allocations: 0 / 442.2 MB, free: 34.26 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001693/0.3011, allocations: 40 kB / 442.2 MB, free: 34.26 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.916e-06/0.3011, allocations: 0 / 442.2 MB, free: 34.26 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.404e-05/0.3011, allocations: 11.88 kB / 442.2 MB, free: 34.25 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.195e-06/0.3011, allocations: 3.938 kB / 442.3 MB, free: 34.25 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.91e-07/0.3011, allocations: 0 / 442.3 MB, free: 34.25 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003039/0.3014, allocations: 285 kB / 442.5 MB, free: 34.05 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 2.429e-05/0.3015, allocations: 98.03 kB / 442.6 MB, free: 33.94 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.013e-05/0.3015, allocations: 4 kB / 442.6 MB, free: 33.94 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.298e-05/0.3016, allocations: 5.906 kB / 442.6 MB, free: 33.94 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.92e-05/0.3016, allocations: 16.09 kB / 442.7 MB, free: 33.93 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.753e-06/0.3016, allocations: 2.656 kB / 442.7 MB, free: 33.93 MB / 350.1 MB Notification: Performance of sorting global known variables: time 3.543e-05/0.3017, allocations: 100.2 kB / 442.8 MB, free: 33.85 MB / 350.1 MB Notification: Performance of sort global known variables: time 1.3e-07/0.3017, allocations: 0 / 442.8 MB, free: 33.85 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0002598/0.3019, allocations: 44.81 kB / 442.8 MB, free: 33.84 MB / 350.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 8.53e-05/0.302, allocations: 108 kB / 442.9 MB, free: 33.74 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.0002294/0.3023, allocations: 109 kB / 443 MB, free: 33.71 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 2.635e-06/0.3023, allocations: 0 / 443 MB, free: 33.71 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 9.389e-05/0.3024, allocations: 57.33 kB / 443.1 MB, free: 33.69 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002699/0.3027, allocations: 22.41 kB / 443.1 MB, free: 33.68 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007468/0.3034, allocations: 0.4929 MB / 443.6 MB, free: 33.31 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001505/0.3036, allocations: 0.7211 MB / 444.3 MB, free: 32.61 MB / 350.1 MB Notification: Performance of simCode: alias equations: time 7.51e-05/0.3037, allocations: 12.75 kB / 444.3 MB, free: 32.61 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.43e-05/0.3037, allocations: 12.53 kB / 444.3 MB, free: 32.6 MB / 350.1 MB Notification: Performance of SimCode: time 3.6e-07/0.3037, allocations: 0 / 444.3 MB, free: 32.6 MB / 350.1 MB Notification: Performance of Templates: time 0.003274/0.307, allocations: 1.035 MB / 445.4 MB, free: 32.53 MB / 350.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)