Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr AES_AES.Coursework.ThermSys_component_models.Controlled_AHU_case_002.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.001238/0.001238, allocations: 87.56 kB / 20.97 MB, free: 3.582 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.001991/0.001991, allocations: 181 kB / 24.28 MB, free: 280 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 1.004/1.004, allocations: 177.1 MB / 204.6 MB, free: 5.613 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.06511/0.06511, allocations: 18.14 MB / 279.2 MB, free: 11.37 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_component_models.Controlled_AHU_case_002,tolerance=1e-06,outputFormat="empty",numberOfIntervals=10000,variableFilter="",fileNamePrefix="AES_AES.Coursework.ThermSys_component_models.Controlled_AHU_case_002") translateModel(AES.Coursework.ThermSys_component_models.Controlled_AHU_case_002,tolerance=1e-06,outputFormat="empty",numberOfIntervals=10000,variableFilter="",fileNamePrefix="AES_AES.Coursework.ThermSys_component_models.Controlled_AHU_case_002") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.383e-06/1.383e-06, allocations: 0 / 357.3 MB, free: 8.188 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.486e-05/2.624e-05, allocations: 9.344 kB / 357.3 MB, free: 8.18 MB / 282.7 MB Notification: Performance of NFInst.instantiate(AES.Coursework.ThermSys_component_models.Controlled_AHU_case_002): time 0.007505/0.007531, allocations: 4.234 MB / 361.5 MB, free: 3.918 MB / 282.7 MB Notification: Performance of NFInst.instExpressions: time 0.001569/0.0091, allocations: 1.329 MB / 362.8 MB, free: 2.586 MB / 282.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001386/0.009238, allocations: 7.938 kB / 362.8 MB, free: 2.578 MB / 282.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0001115/0.00935, allocations: 87.06 kB / 362.9 MB, free: 2.492 MB / 282.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0003087/0.009659, allocations: 253.7 kB / 363.2 MB, free: 2.242 MB / 282.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003637/0.01002, allocations: 311.4 kB / 363.5 MB, free: 1.938 MB / 282.7 MB Notification: Performance of NFFlatten.flatten: time 0.0006351/0.01066, allocations: 1.196 MB / 364.7 MB, free: 0.7383 MB / 282.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0004917/0.01115, allocations: 0.5324 MB / 365.2 MB, free: 208 kB / 282.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003522/0.0115, allocations: 455.1 kB / 365.6 MB, free: 15.76 MB / 298.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003907/0.01189, allocations: 427 kB / 366.1 MB, free: 15.34 MB / 298.7 MB Notification: Performance of NFPackage.collectConstants: time 9.563e-05/0.01199, allocations: 112 kB / 366.2 MB, free: 15.23 MB / 298.7 MB Notification: Performance of NFFlatten.collectFunctions: time 9.918e-05/0.01209, allocations: 112 kB / 366.3 MB, free: 15.12 MB / 298.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0001226/0.01221, allocations: 239.3 kB / 366.5 MB, free: 14.89 MB / 298.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0002336/0.01244, allocations: 363.3 kB / 366.9 MB, free: 14.53 MB / 298.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0006509/0.01309, allocations: 0.7592 MB / 367.6 MB, free: 13.77 MB / 298.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.028e-06/0.0131, allocations: 4 kB / 367.6 MB, free: 13.77 MB / 298.7 MB Notification: Performance of FrontEnd: time 1.092e-06/0.0131, allocations: 0 / 367.6 MB, free: 13.77 MB / 298.7 MB Notification: Performance of Transformations before backend: time 7.143e-06/0.01311, allocations: 0 / 367.6 MB, free: 13.77 MB / 298.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 223 * Number of variables: 223 Notification: Performance of Generate backend data structure: time 0.001301/0.01441, allocations: 1.085 MB / 368.7 MB, free: 12.64 MB / 298.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.84e-05/0.01445, allocations: 8.922 kB / 368.7 MB, free: 12.63 MB / 298.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001727/0.01462, allocations: 156.4 kB / 368.9 MB, free: 12.48 MB / 298.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000155/0.01477, allocations: 202.8 kB / 369.1 MB, free: 12.26 MB / 298.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.257e-05/0.01485, allocations: 66.38 kB / 369.1 MB, free: 12.2 MB / 298.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001129/0.01496, allocations: 84.38 kB / 369.2 MB, free: 12.11 MB / 298.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007638/0.01572, allocations: 0.6734 MB / 369.9 MB, free: 11.43 MB / 298.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.67e-05/0.01574, allocations: 3.984 kB / 369.9 MB, free: 11.42 MB / 298.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.585e-05/0.0158, allocations: 36 kB / 369.9 MB, free: 11.39 MB / 298.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.572e-05/0.01581, allocations: 20 kB / 370 MB, free: 11.37 MB / 298.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007018/0.01651, allocations: 0.5347 MB / 370.5 MB, free: 10.83 MB / 298.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002204/0.01872, allocations: 1.742 MB / 372.2 MB, free: 9.051 MB / 298.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001057/0.01977, allocations: 0.7202 MB / 373 MB, free: 8.316 MB / 298.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003695/0.02014, allocations: 279.3 kB / 373.2 MB, free: 8.043 MB / 298.7 MB Notification: Performance of preOpt evalFunc (simulation): time 5.637e-05/0.0202, allocations: 21 kB / 373.2 MB, free: 8.023 MB / 298.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.391e-05/0.02023, allocations: 50.33 kB / 373.3 MB, free: 7.965 MB / 298.7 MB Notification: Performance of preOpt simplifyInStream (simulation): time 0.0003432/0.02058, allocations: 163.4 kB / 373.5 MB, free: 7.805 MB / 298.7 MB Notification: Performance of pre-optimization done (n=113): time 2.033e-06/0.02058, allocations: 0 / 373.5 MB, free: 7.805 MB / 298.7 MB Notification: Performance of matching and sorting (n=124): time 0.004288/0.02487, allocations: 2.647 MB / 376.1 MB, free: 5.105 MB / 298.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.002e-05/0.0249, allocations: 68.39 kB / 376.2 MB, free: 5.027 MB / 298.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001229/0.02502, allocations: 214.6 kB / 376.4 MB, free: 4.797 MB / 298.7 MB Notification: Performance of collectPreVariables (initialization): time 5.664e-05/0.02508, allocations: 45.7 kB / 376.4 MB, free: 4.746 MB / 298.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001146/0.02519, allocations: 304.3 kB / 376.7 MB, free: 4.441 MB / 298.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002161/0.02541, allocations: 440.1 kB / 377.1 MB, free: 4.008 MB / 298.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001827/0.02559, allocations: 180.6 kB / 377.3 MB, free: 3.82 MB / 298.7 MB Notification: Performance of setup shared object (initialization): time 0.0001286/0.02572, allocations: 0.5274 MB / 377.9 MB, free: 3.281 MB / 298.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000318/0.02604, allocations: 230.4 kB / 378.1 MB, free: 3.059 MB / 298.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003911/0.02643, allocations: 344.7 kB / 378.4 MB, free: 2.699 MB / 298.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.00112/0.02755, allocations: 0.9176 MB / 379.3 MB, free: 1.766 MB / 298.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.324e-06/0.02755, allocations: 0 / 379.3 MB, free: 1.766 MB / 298.7 MB Notification: Performance of matching and sorting (n=135) (initialization): time 0.001392/0.02894, allocations: 0.9795 MB / 380.3 MB, free: 0.7578 MB / 298.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.363e-05/0.02897, allocations: 4 kB / 380.3 MB, free: 0.7539 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.426e-06/0.02897, allocations: 0 / 380.3 MB, free: 0.7539 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.000701/0.02968, allocations: 258.4 kB / 380.6 MB, free: 496 kB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00266/0.03233, allocations: 0.8194 MB / 381.4 MB, free: 15.66 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.007805/0.04014, allocations: 18.65 MB / 400 MB, free: 11.77 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003139/0.04045, allocations: 24 kB / 400.1 MB, free: 11.74 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.906e-05/0.0405, allocations: 52 kB / 400.1 MB, free: 11.69 MB / 330.7 MB Warning: Assuming fixed start value for the following 4 variables: U1.T:VARIABLE(min = 0.0 start = U1.Tstart unit = \"K\" fixed = true nominal = 300.0 ) \"controlled T\" type: Real U1.phi:VARIABLE(start = U1.phistart fixed = true ) type: Real V.p:VARIABLE(min = 0.0 start = V.pstart unit = \"Pa\" fixed = true nominal = 1e5 stateSelect=StateSelect.always ) type: Real V.T:VARIABLE(min = 0.0 start = V.Tstart unit = \"K\" fixed = true nominal = 300.0 stateSelect=StateSelect.prefer ) 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: 1 (AHUon.y) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (124): * Single equations (assignments): 114 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 6 * Torn equation systems: 4 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details (not torn): * Constant Jacobian (size): 0 systems * Linear Jacobian (size,density): 0 systems * Non-linear Jacobian (size): 6 systems {1, 1, 1, 1, 1, 1} * Without analytic Jacobian (size): 0 systems Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 4 systems {(2,5,100.0%), (1,2,100.0%), (1,1,100.0%), (1,2,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.000303/0.04081, allocations: 235 kB / 400.3 MB, free: 11.46 MB / 330.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000115/0.04092, allocations: 95.61 kB / 400.4 MB, free: 11.36 MB / 330.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001615/0.04254, allocations: 1.224 MB / 401.7 MB, free: 10.11 MB / 330.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.021e-06/0.04254, allocations: 16 kB / 401.7 MB, free: 10.09 MB / 330.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.206e-06/0.04254, allocations: 0 / 401.7 MB, free: 10.09 MB / 330.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.686e-06/0.04255, allocations: 7.969 kB / 401.7 MB, free: 10.08 MB / 330.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002384/0.04494, allocations: 1.997 MB / 403.7 MB, free: 7.918 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.883e-06/0.04494, allocations: 4 kB / 403.7 MB, free: 7.914 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002293/0.04724, allocations: 0.7686 MB / 404.5 MB, free: 7.145 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001048/0.04829, allocations: 422.2 kB / 404.9 MB, free: 6.715 MB / 330.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.079e-05/0.04834, allocations: 35.98 kB / 404.9 MB, free: 6.68 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.1409/0.1892, allocations: 18.8 MB / 423.7 MB, free: 50.8 MB / 330.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.614e-06/0.1892, allocations: 15.41 kB / 423.7 MB, free: 50.8 MB / 330.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002279/0.1915, allocations: 1.719 MB / 425.4 MB, free: 50.2 MB / 330.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001043/0.1916, allocations: 58.92 kB / 425.5 MB, free: 50.2 MB / 330.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.088e-05/0.1917, allocations: 33.33 kB / 425.5 MB, free: 50.2 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003251/0.192, allocations: 31.66 kB / 425.6 MB, free: 50.2 MB / 330.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002599/0.1923, allocations: 131.3 kB / 425.7 MB, free: 50.19 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.279e-05/0.1923, allocations: 43.98 kB / 425.7 MB, free: 50.19 MB / 330.7 MB Notification: Performance of sorting global known variables: time 6.776e-05/0.1924, allocations: 163.1 kB / 425.9 MB, free: 50.07 MB / 330.7 MB Notification: Performance of sort global known variables: time 7e-08/0.1924, allocations: 0 / 425.9 MB, free: 50.07 MB / 330.7 MB Notification: Performance of remove unused functions: time 0.0007944/0.1932, allocations: 257.5 kB / 426.1 MB, free: 50.03 MB / 330.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 27 * Number of states: 5 (U1.T,U1.phi,V.Ma,V.p,V.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 (119): * Single equations (assignments): 109 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 6 * Torn equation systems: 4 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details (not torn): * Constant Jacobian (size): 0 systems * Linear Jacobian (size,density): 0 systems * Non-linear Jacobian (size): 6 systems {1, 1, 1, 1, 1, 1} * Without analytic Jacobian (size): 0 systems Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 3 systems {(2,5,100.0%), (1,2,100.0%), (1,2,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 1 system {(1,5)} Notification: Performance of Backend phase and start with SimCode phase: time 0.0001567/0.1933, allocations: 151.4 kB / 426.3 MB, free: 49.92 MB / 330.7 MB Notification: Performance of simCode: created initialization part: time 0.003886/0.1972, allocations: 2.022 MB / 428.3 MB, free: 49.06 MB / 330.7 MB Notification: Performance of simCode: created event and clocks part: time 6.853e-06/0.1972, allocations: 1.156 kB / 428.3 MB, free: 49.06 MB / 330.7 MB Notification: Performance of simCode: created simulation system equations: time 0.002828/0.2001, allocations: 1.721 MB / 430 MB, free: 48.25 MB / 330.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000632/0.2007, allocations: 182.6 kB / 430.2 MB, free: 48.2 MB / 330.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002179/0.2029, allocations: 1.738 MB / 431.9 MB, free: 47.14 MB / 330.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001586/0.203, allocations: 180 kB / 432.1 MB, free: 47.06 MB / 330.7 MB Notification: Performance of simCode: alias equations: time 0.0003644/0.2034, allocations: 109.6 kB / 432.2 MB, free: 47.03 MB / 330.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001829/0.2036, allocations: 62.3 kB / 432.3 MB, free: 47.02 MB / 330.7 MB Notification: Performance of SimCode: time 1.052e-06/0.2036, allocations: 0 / 432.3 MB, free: 47.02 MB / 330.7 MB Notification: Performance of Templates: time 0.01298/0.2166, allocations: 13.25 MB / 445.5 MB, free: 37.23 MB / 330.7 MB " [Timeout remaining time 660] make -j1 -f AES_AES.Coursework.ThermSys_component_models.Controlled_AHU_case_002.makefile [Timeout 660] (rm -f AES_AES.Coursework.ThermSys_component_models.Controlled_AHU_case_002.pipe ; mkfifo AES_AES.Coursework.ThermSys_component_models.Controlled_AHU_case_002.pipe ; head -c 1048576 < AES_AES.Coursework.ThermSys_component_models.Controlled_AHU_case_002.pipe >> ../files/AES_AES.Coursework.ThermSys_component_models.Controlled_AHU_case_002.sim & ./AES_AES.Coursework.ThermSys_component_models.Controlled_AHU_case_002 -lv=LOG_STATS -s=dassl -abortSlowSimulation -alarm=240 -lv LOG_STATS > AES_AES.Coursework.ThermSys_component_models.Controlled_AHU_case_002.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 3.8028641638811678]