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.0009521/0.0009522, allocations: 99.23 kB / 15.05 MB, free: 1.105 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.001034/0.001034, allocations: 177.3 kB / 15.94 MB, free: 228 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.364/1.364, allocations: 223.2 MB / 239.9 MB, free: 5.328 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/AES main/package.mo): time 0.2241/0.2241, allocations: 22.34 MB / 313.3 MB, free: 13.13 MB / 254.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0003886/0.0003891, allocations: 15.94 kB / 381.8 MB, free: 10.57 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.342/0.3424, allocations: 55.97 MB / 437.8 MB, free: 39.07 MB / 350.1 MB Notification: Performance of NFInst.instantiate(AES.Coursework.ThermSys_control_problems.Thermal_zones_control.Thermal_zones_case_01_openLoop): time 0.001934/0.3444, allocations: 1.669 MB / 439.5 MB, free: 37.87 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.0003209/0.3447, allocations: 164.1 kB / 439.6 MB, free: 37.75 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.893e-05/0.3448, allocations: 2.719 kB / 439.6 MB, free: 37.75 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 4.351e-05/0.3449, allocations: 17.48 kB / 439.7 MB, free: 37.74 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001442/0.345, allocations: 59.23 kB / 439.7 MB, free: 37.7 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001379/0.3452, allocations: 33.48 kB / 439.7 MB, free: 37.68 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001482/0.3453, allocations: 135.6 kB / 439.9 MB, free: 37.61 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.000202/0.3455, allocations: 80.86 kB / 440 MB, free: 37.57 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 6.032e-05/0.3456, allocations: 57.88 kB / 440 MB, free: 37.55 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001097/0.3457, allocations: 59.22 kB / 440.1 MB, free: 37.53 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 2.092e-05/0.3457, allocations: 9.406 kB / 440.1 MB, free: 37.53 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 2.397e-05/0.3458, allocations: 5.625 kB / 440.1 MB, free: 37.53 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 2.338e-05/0.3458, allocations: 28.81 kB / 440.1 MB, free: 37.51 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 5.321e-05/0.3459, allocations: 52.67 kB / 440.2 MB, free: 37.46 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001202/0.346, allocations: 136.4 kB / 440.3 MB, free: 37.44 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 2.655e-06/0.346, allocations: 0 / 440.3 MB, free: 37.44 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.713e-06/0.346, allocations: 0 / 440.3 MB, free: 37.44 MB / 350.1 MB Notification: Performance of Transformations before backend: time 4.829e-06/0.346, allocations: 2.938 kB / 440.3 MB, free: 37.44 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.000456/0.3465, allocations: 436.5 kB / 440.7 MB, free: 37.03 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.532e-05/0.3465, allocations: 8.125 kB / 440.7 MB, free: 37.03 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.076e-05/0.3466, allocations: 20.09 kB / 440.8 MB, free: 37.02 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 9.961e-05/0.3467, allocations: 180.7 kB / 440.9 MB, free: 36.81 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.247e-05/0.3467, allocations: 11.97 kB / 440.9 MB, free: 36.8 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.767e-05/0.3468, allocations: 18.31 kB / 441 MB, free: 36.8 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002771/0.347, allocations: 163.4 kB / 441.1 MB, free: 36.71 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.65e-05/0.3471, allocations: 0 / 441.1 MB, free: 36.71 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.142e-05/0.3471, allocations: 10.67 kB / 441.1 MB, free: 36.7 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.642e-06/0.3471, allocations: 2.812 kB / 441.1 MB, free: 36.7 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002097/0.3473, allocations: 115.6 kB / 441.3 MB, free: 36.66 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.0007948/0.3481, allocations: 0.8583 MB / 442.1 MB, free: 35.88 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001936/0.3483, allocations: 118.1 kB / 442.2 MB, free: 35.82 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.731e-05/0.3484, allocations: 7.969 kB / 442.2 MB, free: 35.81 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.74e-05/0.3484, allocations: 30.56 kB / 442.3 MB, free: 35.77 MB / 350.1 MB Notification: Performance of pre-optimization done (n=16): time 1.262e-06/0.3484, allocations: 0 / 442.3 MB, free: 35.77 MB / 350.1 MB Notification: Performance of matching and sorting (n=16): time 0.000347/0.3487, allocations: 164.5 kB / 442.4 MB, free: 35.69 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.046e-05/0.3488, allocations: 57.67 kB / 442.5 MB, free: 35.63 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.765e-05/0.3489, allocations: 122.9 kB / 442.6 MB, free: 35.52 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 1.28e-05/0.3489, allocations: 28.3 kB / 442.6 MB, free: 35.48 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 5.69e-05/0.3489, allocations: 132.5 kB / 442.8 MB, free: 35.36 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.578e-05/0.349, allocations: 59.88 kB / 442.8 MB, free: 35.32 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.182e-06/0.349, allocations: 2.781 kB / 442.8 MB, free: 35.32 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 5.959e-05/0.3491, allocations: 325 kB / 443.1 MB, free: 35 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 7.598e-05/0.3491, allocations: 34.83 kB / 443.2 MB, free: 34.98 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 8.766e-05/0.3492, allocations: 71.11 kB / 443.2 MB, free: 34.93 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 9.813e-05/0.3493, allocations: 59.91 kB / 443.3 MB, free: 34.89 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.874e-06/0.3493, allocations: 0 / 443.3 MB, free: 34.89 MB / 350.1 MB Notification: Performance of matching and sorting (n=22) (initialization): time 0.0002244/0.3496, allocations: 165.9 kB / 443.5 MB, free: 34.81 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.433e-05/0.3496, allocations: 5.656 kB / 443.5 MB, free: 34.81 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.31e-06/0.3496, allocations: 0 / 443.5 MB, free: 34.81 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.558e-05/0.3496, allocations: 2.938 kB / 443.5 MB, free: 34.81 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001844/0.3498, allocations: 44.16 kB / 443.5 MB, free: 34.8 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.972e-05/0.3498, allocations: 5.688 kB / 443.5 MB, free: 34.8 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.059e-05/0.3499, allocations: 17.12 kB / 443.5 MB, free: 34.79 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.839e-06/0.35, allocations: 5.844 kB / 443.5 MB, free: 34.79 MB / 350.1 MB Warning: Assuming fixed start value for the following 2 variables: 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 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 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0002187/0.3502, allocations: 172.9 kB / 443.7 MB, free: 34.65 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.805e-05/0.3502, allocations: 9.969 kB / 443.7 MB, free: 34.64 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.175e-05/0.3503, allocations: 12.84 kB / 443.7 MB, free: 34.64 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.026e-06/0.3503, allocations: 2.906 kB / 443.7 MB, free: 34.64 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.408e-06/0.3503, allocations: 3.938 kB / 443.7 MB, free: 34.63 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.097e-06/0.3503, allocations: 3.188 kB / 443.7 MB, free: 34.63 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002139/0.3505, allocations: 250.4 kB / 444 MB, free: 34.4 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.417e-06/0.3505, allocations: 7.938 kB / 444 MB, free: 34.39 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001699/0.3507, allocations: 37.83 kB / 444 MB, free: 34.39 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.936e-06/0.3507, allocations: 3 kB / 444 MB, free: 34.39 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.325e-05/0.3507, allocations: 7.375 kB / 444 MB, free: 34.38 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.104e-06/0.3507, allocations: 0 / 444 MB, free: 34.38 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.673e-06/0.3507, allocations: 3.984 kB / 444 MB, free: 34.38 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003208/0.3511, allocations: 280.8 kB / 444.3 MB, free: 34.19 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 2.745e-05/0.3511, allocations: 95.59 kB / 444.4 MB, free: 34.08 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.049e-05/0.3511, allocations: 6.875 kB / 444.4 MB, free: 34.07 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001043/0.3512, allocations: 14.31 kB / 444.4 MB, free: 34.07 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.313e-05/0.3513, allocations: 14.3 kB / 444.4 MB, free: 34.06 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.735e-06/0.3513, allocations: 2.906 kB / 444.4 MB, free: 34.06 MB / 350.1 MB Notification: Performance of sorting global known variables: time 3.323e-05/0.3513, allocations: 91.44 kB / 444.5 MB, free: 33.98 MB / 350.1 MB Notification: Performance of sort global known variables: time 1e-07/0.3514, allocations: 2.719 kB / 444.5 MB, free: 33.98 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0002569/0.3516, allocations: 44.38 kB / 444.6 MB, free: 33.97 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 8.625e-05/0.3517, allocations: 103.9 kB / 444.7 MB, free: 33.87 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.0002223/0.3519, allocations: 110 kB / 444.8 MB, free: 33.84 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 1.623e-06/0.3519, allocations: 0 / 444.8 MB, free: 33.84 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 8.582e-05/0.352, allocations: 61.02 kB / 444.9 MB, free: 33.82 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001802/0.3522, allocations: 6.969 kB / 444.9 MB, free: 33.82 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007552/0.353, allocations: 0.521 MB / 445.4 MB, free: 33.46 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001422/0.3531, allocations: 0.7208 MB / 446.1 MB, free: 32.76 MB / 350.1 MB Notification: Performance of simCode: alias equations: time 6.757e-05/0.3532, allocations: 15.73 kB / 446.1 MB, free: 32.76 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.785e-05/0.3533, allocations: 12.88 kB / 446.1 MB, free: 32.75 MB / 350.1 MB Notification: Performance of SimCode: time 2.6e-07/0.3533, allocations: 0 / 446.1 MB, free: 32.75 MB / 350.1 MB Notification: Performance of Templates: time 0.003362/0.3566, allocations: 0.9885 MB / 447.1 MB, free: 32.68 MB / 350.1 MB make -j1 -f AES_AES.Coursework.ThermSys_control_problems.Thermal_zones_control.Thermal_zones_case_01_openLoop.makefile Environment - environmentSimulation: (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) Environment - environmentSimulation: