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.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.0006662/0.0006662, allocations: 75.7 kB / 20.8 MB, free: 3.707 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.0007126/0.0007126, allocations: 170 kB / 24.09 MB, free: 416 kB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 0.8312/0.8312, allocations: 177.1 MB / 204.4 MB, free: 5.688 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/AES main/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/AES main/package.mo): time 0.05952/0.05952, allocations: 18.14 MB / 279 MB, free: 11.46 MB / 266.7 MB " [Timeout remaining time 180] Using package AES with version (/home/hudson/saved_omc/libraries/.openmodelica/libraries/AES main/package.mo) Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo) Using package Complex with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.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=7200,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=7200,variableFilter="",fileNamePrefix="AES_AES.Coursework.ThermSys_control_problems.Thermal_zones_control.Thermal_zones_case_01_openLoop") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.393e-06/1.393e-06, allocations: 0 / 416.6 MB, free: 12.33 MB / 330.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.105e-05/2.244e-05, allocations: 2.281 kB / 416.6 MB, free: 12.32 MB / 330.7 MB Notification: Performance of NFInst.instantiate(AES.Coursework.ThermSys_control_problems.Thermal_zones_control.Thermal_zones_case_01_openLoop): time 0.001857/0.001879, allocations: 2.033 MB / 418.6 MB, free: 10.95 MB / 330.7 MB Notification: Performance of NFInst.instExpressions: time 0.0002299/0.002109, allocations: 159.4 kB / 418.8 MB, free: 10.84 MB / 330.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 4.992e-05/0.002159, allocations: 2.75 kB / 418.8 MB, free: 10.84 MB / 330.7 MB Notification: Performance of NFTyping.typeComponents: time 4.51e-05/0.002204, allocations: 26.14 kB / 418.8 MB, free: 10.82 MB / 330.7 MB Notification: Performance of NFTyping.typeBindings: time 8.443e-05/0.002289, allocations: 53.98 kB / 418.8 MB, free: 10.78 MB / 330.7 MB Notification: Performance of NFTyping.typeClassSections: time 9.337e-05/0.002382, allocations: 37.97 kB / 418.9 MB, free: 10.76 MB / 330.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001254/0.002508, allocations: 209.5 kB / 419.1 MB, free: 10.65 MB / 330.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001231/0.002631, allocations: 75.53 kB / 419.2 MB, free: 10.61 MB / 330.7 MB Notification: Performance of NFEvalConstants.evaluate: time 4.886e-05/0.002679, allocations: 65.89 kB / 419.2 MB, free: 10.58 MB / 330.7 MB Notification: Performance of NFSimplifyModel.simplify: time 8.132e-05/0.002761, allocations: 56.25 kB / 419.3 MB, free: 10.56 MB / 330.7 MB Notification: Performance of NFPackage.collectConstants: time 2.23e-05/0.002783, allocations: 16.59 kB / 419.3 MB, free: 10.56 MB / 330.7 MB Notification: Performance of NFFlatten.collectFunctions: time 2.064e-05/0.002804, allocations: 16.19 kB / 419.3 MB, free: 10.56 MB / 330.7 MB Notification: Performance of NFScalarize.scalarize: time 2.522e-05/0.002829, allocations: 39.25 kB / 419.4 MB, free: 10.54 MB / 330.7 MB Notification: Performance of NFVerifyModel.verify: time 4.859e-05/0.002878, allocations: 61.48 kB / 419.4 MB, free: 10.51 MB / 330.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001612/0.003039, allocations: 196.4 kB / 419.6 MB, free: 10.44 MB / 330.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.673e-06/0.00304, allocations: 0 / 419.6 MB, free: 10.44 MB / 330.7 MB Notification: Performance of FrontEnd: time 5.51e-07/0.003041, allocations: 0 / 419.6 MB, free: 10.44 MB / 330.7 MB Notification: Performance of Transformations before backend: time 3.947e-06/0.003045, allocations: 1 kB / 419.6 MB, free: 10.44 MB / 330.7 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.0003057/0.003351, allocations: 388.9 kB / 420 MB, free: 10.1 MB / 330.7 MB Notification: Performance of prepare preOptimizeDAE: time 2.911e-05/0.00338, allocations: 9.875 kB / 420 MB, free: 10.1 MB / 330.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.777e-05/0.003418, allocations: 18.25 kB / 420 MB, free: 10.09 MB / 330.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 5.272e-05/0.00347, allocations: 126.7 kB / 420.1 MB, free: 9.953 MB / 330.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.875e-05/0.003489, allocations: 16.06 kB / 420.2 MB, free: 9.945 MB / 330.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.582e-05/0.003515, allocations: 15.91 kB / 420.2 MB, free: 9.941 MB / 330.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001977/0.003713, allocations: 161.5 kB / 420.3 MB, free: 9.859 MB / 330.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.053e-05/0.003723, allocations: 8.875 kB / 420.3 MB, free: 9.852 MB / 330.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.158e-05/0.003735, allocations: 10.47 kB / 420.3 MB, free: 9.844 MB / 330.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.51e-06/0.00374, allocations: 5.281 kB / 420.3 MB, free: 9.844 MB / 330.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001481/0.003888, allocations: 111.6 kB / 420.5 MB, free: 9.805 MB / 330.7 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.0004766/0.004365, allocations: 458.6 kB / 420.9 MB, free: 9.48 MB / 330.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001603/0.004525, allocations: 116 kB / 421 MB, free: 9.418 MB / 330.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 7.955e-05/0.004605, allocations: 69.11 kB / 421.1 MB, free: 9.387 MB / 330.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.323e-05/0.004618, allocations: 2.156 kB / 421.1 MB, free: 9.387 MB / 330.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.199e-05/0.00463, allocations: 33.41 kB / 421.1 MB, free: 9.348 MB / 330.7 MB Notification: Performance of pre-optimization done (n=16): time 1.072e-06/0.004631, allocations: 0 / 421.1 MB, free: 9.348 MB / 330.7 MB Notification: Performance of matching and sorting (n=16): time 0.0002424/0.004873, allocations: 169.2 kB / 421.3 MB, free: 9.266 MB / 330.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 1.846e-05/0.004892, allocations: 53.47 kB / 421.3 MB, free: 9.203 MB / 330.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.754e-05/0.004949, allocations: 129.5 kB / 421.5 MB, free: 9.09 MB / 330.7 MB Notification: Performance of collectPreVariables (initialization): time 7.704e-06/0.004957, allocations: 26.89 kB / 421.5 MB, free: 9.059 MB / 330.7 MB Notification: Performance of collectInitialEqns (initialization): time 4.161e-05/0.004999, allocations: 134.4 kB / 421.6 MB, free: 8.938 MB / 330.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.272e-05/0.005021, allocations: 57.98 kB / 421.7 MB, free: 8.891 MB / 330.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.576e-05/0.005057, allocations: 36.7 kB / 421.7 MB, free: 8.863 MB / 330.7 MB Notification: Performance of setup shared object (initialization): time 2.95e-05/0.005087, allocations: 321.1 kB / 422 MB, free: 8.547 MB / 330.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 4.897e-05/0.005136, allocations: 36.66 kB / 422.1 MB, free: 8.535 MB / 330.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.589e-05/0.005202, allocations: 77.72 kB / 422.1 MB, free: 8.477 MB / 330.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003678/0.005569, allocations: 231.6 kB / 422.4 MB, free: 8.359 MB / 330.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.194e-06/0.005572, allocations: 0.75 kB / 422.4 MB, free: 8.359 MB / 330.7 MB Notification: Performance of matching and sorting (n=22) (initialization): time 0.0001697/0.005741, allocations: 164.5 kB / 422.5 MB, free: 8.277 MB / 330.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.219e-05/0.005753, allocations: 6.906 kB / 422.5 MB, free: 8.277 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.569e-06/0.005758, allocations: 5.219 kB / 422.5 MB, free: 8.273 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.311e-05/0.005771, allocations: 2.859 kB / 422.5 MB, free: 8.273 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001186/0.00589, allocations: 45.89 kB / 422.6 MB, free: 8.266 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.803e-06/0.005896, allocations: 2.688 kB / 422.6 MB, free: 8.266 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.789e-05/0.005934, allocations: 21.64 kB / 422.6 MB, free: 8.25 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.995e-06/0.005942, allocations: 4.375 kB / 422.6 MB, free: 8.25 MB / 330.7 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 9.914e-05/0.006041, allocations: 141.5 kB / 422.8 MB, free: 8.113 MB / 330.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.771e-05/0.006059, allocations: 10.11 kB / 422.8 MB, free: 8.109 MB / 330.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.516e-05/0.006084, allocations: 18.45 kB / 422.8 MB, free: 8.094 MB / 330.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.486e-06/0.006088, allocations: 3.078 kB / 422.8 MB, free: 8.094 MB / 330.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.567e-06/0.006091, allocations: 0 / 422.8 MB, free: 8.094 MB / 330.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.589e-06/0.006096, allocations: 1.844 kB / 422.8 MB, free: 8.094 MB / 330.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001228/0.006219, allocations: 176.2 kB / 423 MB, free: 7.934 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.563e-06/0.00622, allocations: 0.75 kB / 423 MB, free: 7.934 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001043/0.006325, allocations: 35.88 kB / 423 MB, free: 7.93 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.064e-06/0.006327, allocations: 1.734 kB / 423 MB, free: 7.93 MB / 330.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.278e-06/0.006336, allocations: 9.5 kB / 423 MB, free: 7.922 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.543e-06/0.006338, allocations: 0.5625 kB / 423 MB, free: 7.922 MB / 330.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.91e-07/0.006338, allocations: 0 / 423 MB, free: 7.922 MB / 330.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002397/0.006578, allocations: 282.9 kB / 423.3 MB, free: 7.73 MB / 330.7 MB Notification: Performance of postOpt removeConstants (simulation): time 9.679e-06/0.006588, allocations: 12.61 kB / 423.3 MB, free: 7.723 MB / 330.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.426e-05/0.006602, allocations: 5.672 kB / 423.3 MB, free: 7.719 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.015e-05/0.006642, allocations: 1.906 kB / 423.3 MB, free: 7.719 MB / 330.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.092e-05/0.006693, allocations: 13.36 kB / 423.3 MB, free: 7.715 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.821e-06/0.006699, allocations: 3.469 kB / 423.3 MB, free: 7.715 MB / 330.7 MB Notification: Performance of sorting global known variables: time 2.79e-05/0.006727, allocations: 92.14 kB / 423.4 MB, free: 7.637 MB / 330.7 MB Notification: Performance of sort global known variables: time 4e-08/0.006727, allocations: 5.375 kB / 423.4 MB, free: 7.633 MB / 330.7 MB Notification: Performance of remove unused functions: time 0.0001763/0.006903, allocations: 44.39 kB / 423.5 MB, free: 7.621 MB / 330.7 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 5.498e-05/0.006958, allocations: 105 kB / 423.6 MB, free: 7.527 MB / 330.7 MB Notification: Performance of simCode: created initialization part: time 0.0001594/0.007117, allocations: 104.9 kB / 423.7 MB, free: 7.496 MB / 330.7 MB Notification: Performance of simCode: created event and clocks part: time 9.02e-07/0.007118, allocations: 1.219 kB / 423.7 MB, free: 7.496 MB / 330.7 MB Notification: Performance of simCode: created simulation system equations: time 5.625e-05/0.007175, allocations: 50.55 kB / 423.7 MB, free: 7.48 MB / 330.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001813/0.007356, allocations: 20.12 kB / 423.7 MB, free: 7.469 MB / 330.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004714/0.007827, allocations: 389.4 kB / 424.1 MB, free: 7.203 MB / 330.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 5.646e-05/0.007884, allocations: 106 kB / 424.2 MB, free: 7.121 MB / 330.7 MB Notification: Performance of simCode: alias equations: time 4.025e-05/0.007924, allocations: 13.83 kB / 424.2 MB, free: 7.117 MB / 330.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.778e-05/0.007952, allocations: 14.34 kB / 424.2 MB, free: 7.109 MB / 330.7 MB Notification: Performance of SimCode: time 3.41e-07/0.007952, allocations: 1.219 kB / 424.2 MB, free: 7.109 MB / 330.7 MB Notification: Performance of Templates: time 0.002576/0.01053, allocations: 1.007 MB / 425.3 MB, free: 7 MB / 330.7 MB " [Timeout remaining time 660] make -j1 -f AES_AES.Coursework.ThermSys_control_problems.Thermal_zones_control.Thermal_zones_case_01_openLoop.makefile [Timeout 660] (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 -s gbode -gbnls=internal -gberr=embedded -gbm=radauIIA3 -lv LOG_STATS > AES_AES.Coursework.ThermSys_control_problems.Thermal_zones_control.Thermal_zones_case_01_openLoop.pipe 2>&1) [Timeout 480] [Calling sys.exit(0), Time elapsed: 2.6589538687840104] Failed to read output from testmodel.py, exit status != 0: 0.014211985282599926 0.021627479 0.017085651 Calling exit ...