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.001131/0.001131, allocations: 97.33 kB / 15.36 MB, free: 0.7344 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.01034/0.01034, allocations: 169.8 kB / 16.27 MB, free: 6.652 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.409/1.409, allocations: 223.3 MB / 240.3 MB, free: 5.34 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/AES main/package.mo): time 0.2/0.2, allocations: 22.35 MB / 313.8 MB, free: 13.11 MB / 254.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0003437/0.0003437, allocations: 16 kB / 382.6 MB, free: 10.17 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.332/0.3324, allocations: 55.98 MB / 438.6 MB, free: 39.38 MB / 350.1 MB Notification: Performance of NFInst.instantiate(AES.Coursework.ThermSys_control_problems.Thermal_zones_control.Thermal_zones_case_01_openLoop): time 0.001888/0.3343, allocations: 1.796 MB / 440.4 MB, free: 38.07 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.0002772/0.3346, allocations: 148.8 kB / 440.5 MB, free: 37.96 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.59e-05/0.3347, allocations: 2.969 kB / 440.5 MB, free: 37.96 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 4.565e-05/0.3347, allocations: 21.39 kB / 440.5 MB, free: 37.95 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001312/0.3349, allocations: 47.08 kB / 440.6 MB, free: 37.92 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001225/0.335, allocations: 36.16 kB / 440.6 MB, free: 37.9 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001467/0.3351, allocations: 181.6 kB / 440.8 MB, free: 37.81 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002114/0.3354, allocations: 93.73 kB / 440.9 MB, free: 37.76 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 5.798e-05/0.3354, allocations: 56.95 kB / 440.9 MB, free: 37.74 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 9.885e-05/0.3355, allocations: 65.69 kB / 441 MB, free: 37.71 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 2.389e-05/0.3356, allocations: 6.281 kB / 441 MB, free: 37.71 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 2.392e-05/0.3356, allocations: 8.375 kB / 441 MB, free: 37.71 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 2.713e-05/0.3356, allocations: 28.05 kB / 441.1 MB, free: 37.7 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 6.99e-05/0.3357, allocations: 103 kB / 441.2 MB, free: 37.62 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001483/0.3359, allocations: 184 kB / 441.3 MB, free: 37.56 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.198e-06/0.3359, allocations: 4 kB / 441.3 MB, free: 37.56 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.573e-06/0.3359, allocations: 4 kB / 441.3 MB, free: 37.55 MB / 350.1 MB Notification: Performance of Transformations before backend: time 5.089e-06/0.3359, allocations: 0 / 441.3 MB, free: 37.55 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.0004483/0.3363, allocations: 425.5 kB / 441.8 MB, free: 37.15 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.675e-05/0.3364, allocations: 19.72 kB / 441.8 MB, free: 37.14 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.863e-05/0.3364, allocations: 20.06 kB / 441.8 MB, free: 37.14 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 8.987e-05/0.3365, allocations: 171.2 kB / 442 MB, free: 36.93 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.043e-05/0.3366, allocations: 25.27 kB / 442 MB, free: 36.92 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.356e-05/0.3366, allocations: 14.06 kB / 442 MB, free: 36.91 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000288/0.3369, allocations: 157.7 kB / 442.2 MB, free: 36.84 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.351e-05/0.3369, allocations: 6.844 kB / 442.2 MB, free: 36.83 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.83e-05/0.337, allocations: 11.94 kB / 442.2 MB, free: 36.82 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.414e-06/0.337, allocations: 5.562 kB / 442.2 MB, free: 36.82 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002165/0.3372, allocations: 112.3 kB / 442.3 MB, free: 36.78 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.0007473/0.3379, allocations: 0.8527 MB / 443.1 MB, free: 36 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001812/0.3381, allocations: 124.1 kB / 443.3 MB, free: 35.93 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001122/0.3383, allocations: 78.14 kB / 443.3 MB, free: 35.9 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.425e-05/0.3383, allocations: 3.938 kB / 443.3 MB, free: 35.89 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.325e-05/0.3383, allocations: 40.39 kB / 443.4 MB, free: 35.85 MB / 350.1 MB Notification: Performance of pre-optimization done (n=16): time 1.272e-06/0.3383, allocations: 0 / 443.4 MB, free: 35.85 MB / 350.1 MB Notification: Performance of matching and sorting (n=16): time 0.0003354/0.3386, allocations: 162.6 kB / 443.5 MB, free: 35.77 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.488e-05/0.3387, allocations: 62.47 kB / 443.6 MB, free: 35.7 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.59e-05/0.3388, allocations: 118.9 kB / 443.7 MB, free: 35.6 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 1.195e-05/0.3388, allocations: 29.7 kB / 443.7 MB, free: 35.56 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 4.566e-05/0.3388, allocations: 130.9 kB / 443.9 MB, free: 35.45 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.903e-05/0.3389, allocations: 55.7 kB / 443.9 MB, free: 35.4 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.766e-05/0.3389, allocations: 19.31 kB / 443.9 MB, free: 35.38 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 4.391e-05/0.3389, allocations: 324.8 kB / 444.3 MB, free: 35.06 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 7.954e-05/0.339, allocations: 38.39 kB / 444.3 MB, free: 35.05 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 9.066e-05/0.3391, allocations: 78.28 kB / 444.4 MB, free: 34.99 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005638/0.3397, allocations: 235.4 kB / 444.6 MB, free: 34.87 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.365e-06/0.3397, allocations: 0 / 444.6 MB, free: 34.87 MB / 350.1 MB Notification: Performance of matching and sorting (n=22) (initialization): time 0.0002402/0.34, allocations: 166.1 kB / 444.8 MB, free: 34.79 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.457e-05/0.34, allocations: 5.5 kB / 444.8 MB, free: 34.79 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.72e-06/0.34, allocations: 128 / 444.8 MB, free: 34.79 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.536e-05/0.34, allocations: 6.562 kB / 444.8 MB, free: 34.79 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001818/0.3402, allocations: 48.27 kB / 444.8 MB, free: 34.78 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.232e-06/0.3402, allocations: 2.719 kB / 444.8 MB, free: 34.78 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.888e-05/0.3403, allocations: 19.47 kB / 444.9 MB, free: 34.77 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.105e-05/0.3403, allocations: 7.531 kB / 444.9 MB, free: 34.76 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.0001835/0.3405, allocations: 160.4 kB / 445 MB, free: 34.62 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.06e-05/0.3405, allocations: 11.59 kB / 445 MB, free: 34.62 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.466e-05/0.3406, allocations: 20.25 kB / 445 MB, free: 34.61 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.317e-06/0.3406, allocations: 7.312 kB / 445.1 MB, free: 34.6 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.228e-06/0.3406, allocations: 2.562 kB / 445.1 MB, free: 34.6 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.777e-06/0.3406, allocations: 3.938 kB / 445.1 MB, free: 34.6 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002163/0.3408, allocations: 258.3 kB / 445.3 MB, free: 34.36 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.124e-06/0.3409, allocations: 0 / 445.3 MB, free: 34.36 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001702/0.341, allocations: 34.23 kB / 445.3 MB, free: 34.36 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.855e-06/0.341, allocations: 0 / 445.3 MB, free: 34.36 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.15e-05/0.3411, allocations: 7.938 kB / 445.4 MB, free: 34.35 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.084e-06/0.3411, allocations: 2.969 kB / 445.4 MB, free: 34.35 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.352e-06/0.3411, allocations: 0 / 445.4 MB, free: 34.35 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003214/0.3414, allocations: 280.8 kB / 445.6 MB, free: 34.16 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 2.796e-05/0.3414, allocations: 91.86 kB / 445.7 MB, free: 34.05 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.056e-05/0.3415, allocations: 4 kB / 445.7 MB, free: 34.05 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.272e-05/0.3416, allocations: 6.156 kB / 445.7 MB, free: 34.05 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.704e-05/0.3416, allocations: 19.09 kB / 445.8 MB, free: 34.04 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.332e-06/0.3416, allocations: 0 / 445.8 MB, free: 34.04 MB / 350.1 MB Notification: Performance of sorting global known variables: time 3.507e-05/0.3417, allocations: 95.61 kB / 445.8 MB, free: 33.96 MB / 350.1 MB Notification: Performance of sort global known variables: time 1e-07/0.3417, allocations: 0 / 445.8 MB, free: 33.96 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0002683/0.342, allocations: 46.03 kB / 445.9 MB, free: 33.95 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 9.401e-05/0.3421, allocations: 110.4 kB / 446 MB, free: 33.85 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.0002234/0.3423, allocations: 108.4 kB / 446.1 MB, free: 33.82 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 2.184e-06/0.3423, allocations: 0 / 446.1 MB, free: 33.82 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 8.927e-05/0.3424, allocations: 57.59 kB / 446.2 MB, free: 33.8 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002805/0.3427, allocations: 16.41 kB / 446.2 MB, free: 33.79 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007703/0.3435, allocations: 0.5443 MB / 446.7 MB, free: 33.42 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001382/0.3436, allocations: 0.7141 MB / 447.4 MB, free: 32.73 MB / 350.1 MB Notification: Performance of simCode: alias equations: time 6.972e-05/0.3437, allocations: 10.97 kB / 447.4 MB, free: 32.72 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.775e-05/0.3437, allocations: 16.22 kB / 447.5 MB, free: 32.71 MB / 350.1 MB Notification: Performance of SimCode: time 3.41e-07/0.3437, allocations: 3.938 kB / 447.5 MB, free: 32.71 MB / 350.1 MB Notification: Performance of Templates: time 0.003122/0.3469, allocations: 1.018 MB / 448.5 MB, free: 32.64 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)