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.001795/0.001795, allocations: 84.98 kB / 20.23 MB, free: 4.195 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.002083/0.002083, allocations: 161.3 kB / 23.55 MB, free: 0.8789 MB / 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.537/1.537, allocations: 177.1 MB / 203.9 MB, free: 5.621 MB / 186.7 MB " [Timeout remaining time 178] 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.1415/0.1415, allocations: 18.14 MB / 278.5 MB, free: 11.35 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.492e-06/1.492e-06, allocations: 0 / 356.5 MB, free: 8.199 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.919e-05/3.068e-05, allocations: 5.547 kB / 356.5 MB, free: 8.195 MB / 282.7 MB Notification: Performance of NFInst.instantiate(AES.Coursework.ThermSys_component_models.Controlled_AHU_case_002): time 0.006461/0.006492, allocations: 4.192 MB / 360.7 MB, free: 3.977 MB / 282.7 MB Notification: Performance of NFInst.instExpressions: time 0.002437/0.008929, allocations: 1.333 MB / 362.1 MB, free: 2.641 MB / 282.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001756/0.009105, allocations: 4 kB / 362.1 MB, free: 2.637 MB / 282.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0001688/0.009273, allocations: 91.06 kB / 362.2 MB, free: 2.547 MB / 282.7 MB Notification: Performance of NFTyping.typeBindings: time 0.001047/0.01032, allocations: 253.6 kB / 362.4 MB, free: 2.297 MB / 282.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0006107/0.01093, allocations: 307.4 kB / 362.7 MB, free: 1.996 MB / 282.7 MB Notification: Performance of NFFlatten.flatten: time 0.001281/0.01221, allocations: 1.196 MB / 363.9 MB, free: 0.7969 MB / 282.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0007912/0.013, allocations: 0.5363 MB / 364.4 MB, free: 264 kB / 282.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0005979/0.0136, allocations: 451.2 kB / 364.9 MB, free: 15.82 MB / 298.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0006901/0.01429, allocations: 430.9 kB / 365.3 MB, free: 15.39 MB / 298.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0001858/0.01448, allocations: 112 kB / 365.4 MB, free: 15.29 MB / 298.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002035/0.01468, allocations: 112 kB / 365.5 MB, free: 15.18 MB / 298.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0002424/0.01492, allocations: 235.3 kB / 365.7 MB, free: 14.95 MB / 298.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0004583/0.01538, allocations: 367.3 kB / 366.1 MB, free: 14.59 MB / 298.7 MB Notification: Performance of NFConvertDAE.convert: time 0.001403/0.01678, allocations: 1.192 MB / 367.3 MB, free: 13.39 MB / 298.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.409e-06/0.01679, allocations: 4 kB / 367.3 MB, free: 13.39 MB / 298.7 MB Notification: Performance of FrontEnd: time 9.82e-07/0.01679, allocations: 0 / 367.3 MB, free: 13.39 MB / 298.7 MB Notification: Performance of Transformations before backend: time 1.197e-05/0.0168, allocations: 4 kB / 367.3 MB, free: 13.38 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.002674/0.01948, allocations: 1.135 MB / 368.4 MB, free: 12.21 MB / 298.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.393e-05/0.01952, allocations: 8.922 kB / 368.4 MB, free: 12.2 MB / 298.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002982/0.01982, allocations: 160.4 kB / 368.6 MB, free: 12.04 MB / 298.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002827/0.0201, allocations: 206.6 kB / 368.8 MB, free: 11.82 MB / 298.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.57e-05/0.02018, allocations: 66.38 kB / 368.9 MB, free: 11.75 MB / 298.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001658/0.02034, allocations: 88.38 kB / 369 MB, free: 11.67 MB / 298.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001545/0.02189, allocations: 0.8329 MB / 369.8 MB, free: 10.82 MB / 298.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.272e-05/0.02191, allocations: 0 / 369.8 MB, free: 10.82 MB / 298.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.747e-05/0.022, allocations: 36 kB / 369.8 MB, free: 10.79 MB / 298.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.202e-05/0.02202, allocations: 24 kB / 369.8 MB, free: 10.77 MB / 298.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001647/0.02367, allocations: 0.8431 MB / 370.7 MB, free: 9.918 MB / 298.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004499/0.02816, allocations: 2.042 MB / 372.7 MB, free: 7.836 MB / 298.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002335/0.0305, allocations: 0.9671 MB / 373.7 MB, free: 6.859 MB / 298.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0007273/0.03123, allocations: 394.5 kB / 374.1 MB, free: 6.473 MB / 298.7 MB Notification: Performance of preOpt evalFunc (simulation): time 9.288e-05/0.03132, allocations: 24.98 kB / 374.1 MB, free: 6.449 MB / 298.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.988e-05/0.03137, allocations: 46.39 kB / 374.2 MB, free: 6.391 MB / 298.7 MB Notification: Performance of preOpt simplifyInStream (simulation): time 0.0006938/0.03206, allocations: 171.3 kB / 374.3 MB, free: 6.223 MB / 298.7 MB Notification: Performance of pre-optimization done (n=113): time 2.936e-06/0.03207, allocations: 0 / 374.3 MB, free: 6.223 MB / 298.7 MB Notification: Performance of matching and sorting (n=124): time 0.009088/0.04115, allocations: 3.315 MB / 377.6 MB, free: 2.855 MB / 298.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.038e-05/0.04122, allocations: 64.41 kB / 377.7 MB, free: 2.781 MB / 298.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002532/0.04148, allocations: 242.5 kB / 377.9 MB, free: 2.523 MB / 298.7 MB Notification: Performance of collectPreVariables (initialization): time 7.788e-05/0.04156, allocations: 45.7 kB / 378 MB, free: 2.473 MB / 298.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002291/0.04178, allocations: 304.3 kB / 378.3 MB, free: 2.168 MB / 298.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0004545/0.04224, allocations: 460.2 kB / 378.7 MB, free: 1.715 MB / 298.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003732/0.04261, allocations: 212.6 kB / 378.9 MB, free: 1.496 MB / 298.7 MB Notification: Performance of setup shared object (initialization): time 0.0003397/0.04295, allocations: 0.5626 MB / 379.5 MB, free: 0.9219 MB / 298.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0007022/0.04365, allocations: 362.5 kB / 379.9 MB, free: 0.5703 MB / 298.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0008527/0.04451, allocations: 0.4889 MB / 380.3 MB, free: 60 kB / 298.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.002502/0.04701, allocations: 1.398 MB / 381.7 MB, free: 14.64 MB / 314.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.016e-06/0.04701, allocations: 0 / 381.7 MB, free: 14.64 MB / 314.7 MB Notification: Performance of matching and sorting (n=135) (initialization): time 0.002927/0.04994, allocations: 1.272 MB / 383 MB, free: 13.35 MB / 314.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.733e-05/0.04996, allocations: 8 kB / 383 MB, free: 13.34 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.05e-05/0.04997, allocations: 4 kB / 383 MB, free: 13.34 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.00149/0.05146, allocations: 286.4 kB / 383.3 MB, free: 13.04 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00655/0.05801, allocations: 0.8272 MB / 384.1 MB, free: 12.21 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01856/0.07657, allocations: 19.24 MB / 403.4 MB, free: 7.73 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007838/0.07735, allocations: 27.98 kB / 403.4 MB, free: 7.703 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.745e-05/0.07745, allocations: 39.98 kB / 403.4 MB, free: 7.664 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.0005429/0.07799, allocations: 292.8 kB / 403.7 MB, free: 7.371 MB / 330.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000213/0.07821, allocations: 91.66 kB / 403.8 MB, free: 7.281 MB / 330.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00416/0.08237, allocations: 1.579 MB / 405.4 MB, free: 5.664 MB / 330.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.529e-05/0.08238, allocations: 12 kB / 405.4 MB, free: 5.652 MB / 330.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.907e-06/0.08239, allocations: 4 kB / 405.4 MB, free: 5.648 MB / 330.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.473e-05/0.08241, allocations: 3.984 kB / 405.4 MB, free: 5.645 MB / 330.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.005431/0.08784, allocations: 2.551 MB / 408 MB, free: 2.93 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.613e-05/0.08785, allocations: 4 kB / 408 MB, free: 2.926 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.005815/0.09367, allocations: 0.7611 MB / 408.7 MB, free: 2.164 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.00266/0.09633, allocations: 458.2 kB / 409.2 MB, free: 1.699 MB / 330.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001568/0.09648, allocations: 35.98 kB / 409.2 MB, free: 1.664 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.1481/0.2446, allocations: 19.48 MB / 428.7 MB, free: 45.73 MB / 330.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.514e-06/0.2446, allocations: 10.56 kB / 428.7 MB, free: 45.73 MB / 330.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003789/0.2484, allocations: 2.256 MB / 430.9 MB, free: 44.77 MB / 330.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001181/0.2485, allocations: 57.97 kB / 431 MB, free: 44.77 MB / 330.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001053/0.2486, allocations: 34.61 kB / 431 MB, free: 44.75 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006466/0.2493, allocations: 34.16 kB / 431.1 MB, free: 44.73 MB / 330.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000321/0.2496, allocations: 130 kB / 431.2 MB, free: 44.7 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.101e-05/0.2497, allocations: 45.28 kB / 431.2 MB, free: 44.69 MB / 330.7 MB Notification: Performance of sorting global known variables: time 0.0001136/0.2498, allocations: 178.9 kB / 431.4 MB, free: 44.55 MB / 330.7 MB Notification: Performance of sort global known variables: time 8e-08/0.2498, allocations: 0 / 431.4 MB, free: 44.55 MB / 330.7 MB Notification: Performance of remove unused functions: time 0.00111/0.2509, allocations: 257.4 kB / 431.7 MB, free: 44.52 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.0001992/0.2511, allocations: 146 kB / 431.8 MB, free: 44.4 MB / 330.7 MB Notification: Performance of simCode: created initialization part: time 0.007836/0.2589, allocations: 2.309 MB / 434.1 MB, free: 43.37 MB / 330.7 MB Notification: Performance of simCode: created event and clocks part: time 1.239e-05/0.2589, allocations: 1.031 kB / 434.1 MB, free: 43.37 MB / 330.7 MB Notification: Performance of simCode: created simulation system equations: time 0.006367/0.2653, allocations: 1.878 MB / 436 MB, free: 42.46 MB / 330.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001234/0.2665, allocations: 183.2 kB / 436.2 MB, free: 42.41 MB / 330.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002824/0.2694, allocations: 1.895 MB / 438.1 MB, free: 41.26 MB / 330.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002636/0.2696, allocations: 343.6 kB / 438.4 MB, free: 41.16 MB / 330.7 MB Notification: Performance of simCode: alias equations: time 0.0005892/0.2702, allocations: 111.9 kB / 438.5 MB, free: 41.11 MB / 330.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.00026/0.2705, allocations: 62.52 kB / 438.6 MB, free: 41.09 MB / 330.7 MB Notification: Performance of SimCode: time 1.463e-06/0.2705, allocations: 0 / 438.6 MB, free: 41.09 MB / 330.7 MB Notification: Performance of Templates: time 0.01839/0.2889, allocations: 13.23 MB / 451.8 MB, free: 30.14 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: 5.732413528952748]