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.0009167/0.0009167, allocations: 72.95 kB / 20.74 MB, free: 3.75 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.0009475/0.0009475, allocations: 177.3 kB / 24.17 MB, free: 332 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.9877/0.9877, allocations: 177.1 MB / 204.6 MB, free: 5.48 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.07495/0.07495, allocations: 18.13 MB / 279.2 MB, free: 11.2 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.684e-06/1.684e-06, allocations: 0 / 304.5 MB, free: 0.5625 MB / 266.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.189e-05/2.358e-05, allocations: 2.312 kB / 304.5 MB, free: 0.5586 MB / 266.7 MB Notification: Performance of NFInst.instantiate(AES.Coursework.ThermSys_component_models.Controlled_AHU_case_002): time 0.00849/0.008514, allocations: 4.202 MB / 308.7 MB, free: 13.54 MB / 282.7 MB Notification: Performance of NFInst.instExpressions: time 0.003043/0.01156, allocations: 1.374 MB / 310.1 MB, free: 12.32 MB / 282.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0005984/0.01216, allocations: 4 kB / 310.1 MB, free: 12.32 MB / 282.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0003043/0.01246, allocations: 89.94 kB / 310.2 MB, free: 12.26 MB / 282.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0009721/0.01343, allocations: 256.7 kB / 310.4 MB, free: 12.03 MB / 282.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0009863/0.01442, allocations: 307.4 kB / 310.7 MB, free: 11.73 MB / 282.7 MB Notification: Performance of NFFlatten.flatten: time 0.001566/0.01598, allocations: 1.196 MB / 311.9 MB, free: 10.53 MB / 282.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0008665/0.01685, allocations: 0.5369 MB / 312.5 MB, free: 9.988 MB / 282.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0007801/0.01763, allocations: 455.2 kB / 312.9 MB, free: 9.543 MB / 282.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0007811/0.01841, allocations: 430.9 kB / 313.3 MB, free: 9.121 MB / 282.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0002344/0.01865, allocations: 112 kB / 313.5 MB, free: 9.012 MB / 282.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002142/0.01886, allocations: 112 kB / 313.6 MB, free: 8.902 MB / 282.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0001787/0.01904, allocations: 235.3 kB / 313.8 MB, free: 8.672 MB / 282.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0004592/0.0195, allocations: 363.3 kB / 314.1 MB, free: 8.316 MB / 282.7 MB Notification: Performance of NFConvertDAE.convert: time 0.001024/0.02052, allocations: 0.7554 MB / 314.9 MB, free: 7.559 MB / 282.7 MB Notification: Performance of FrontEnd - DAE generated: time 5.03e-06/0.02053, allocations: 0 / 314.9 MB, free: 7.559 MB / 282.7 MB Notification: Performance of FrontEnd: time 1.462e-06/0.02053, allocations: 4 kB / 314.9 MB, free: 7.555 MB / 282.7 MB Notification: Performance of Transformations before backend: time 2.429e-05/0.02055, allocations: 0 / 314.9 MB, free: 7.555 MB / 282.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.001708/0.02226, allocations: 0.9664 MB / 315.9 MB, free: 6.562 MB / 282.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.01e-05/0.0223, allocations: 8.922 kB / 315.9 MB, free: 6.555 MB / 282.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002028/0.0225, allocations: 128.8 kB / 316 MB, free: 6.43 MB / 282.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002066/0.02271, allocations: 189.3 kB / 316.2 MB, free: 6.219 MB / 282.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.445e-05/0.02278, allocations: 66.38 kB / 316.3 MB, free: 6.156 MB / 282.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001255/0.0229, allocations: 92.36 kB / 316.3 MB, free: 6.066 MB / 282.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0008704/0.02377, allocations: 0.6069 MB / 317 MB, free: 5.445 MB / 282.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.959e-05/0.02379, allocations: 0 / 317 MB, free: 5.445 MB / 282.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.777e-05/0.02386, allocations: 36 kB / 317 MB, free: 5.41 MB / 282.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.07e-05/0.02388, allocations: 27.94 kB / 317 MB, free: 5.383 MB / 282.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006306/0.02451, allocations: 357.6 kB / 317.4 MB, free: 5.031 MB / 282.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002972/0.02748, allocations: 1.346 MB / 318.7 MB, free: 3.664 MB / 282.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001135/0.02862, allocations: 0.5766 MB / 319.3 MB, free: 3.082 MB / 282.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003354/0.02895, allocations: 195.8 kB / 319.5 MB, free: 2.891 MB / 282.7 MB Notification: Performance of preOpt evalFunc (simulation): time 7.755e-05/0.02903, allocations: 25 kB / 319.5 MB, free: 2.867 MB / 282.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.366e-05/0.02907, allocations: 43.55 kB / 319.5 MB, free: 2.816 MB / 282.7 MB Notification: Performance of preOpt simplifyInStream (simulation): time 0.0005716/0.02964, allocations: 163.4 kB / 319.7 MB, free: 2.656 MB / 282.7 MB Notification: Performance of pre-optimization done (n=113): time 5.861e-06/0.02965, allocations: 4 kB / 319.7 MB, free: 2.652 MB / 282.7 MB Notification: Performance of matching and sorting (n=124): time 0.005777/0.03543, allocations: 2.188 MB / 321.9 MB, free: 428 kB / 282.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.06e-05/0.03548, allocations: 68.34 kB / 322 MB, free: 348 kB / 282.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001877/0.03567, allocations: 167.2 kB / 322.1 MB, free: 164 kB / 282.7 MB Notification: Performance of collectPreVariables (initialization): time 9.029e-05/0.03576, allocations: 45.7 kB / 322.2 MB, free: 112 kB / 282.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.000176/0.03593, allocations: 245.8 kB / 322.4 MB, free: 15.86 MB / 298.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0003702/0.0363, allocations: 444.1 kB / 322.8 MB, free: 15.42 MB / 298.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002641/0.03657, allocations: 178.8 kB / 323 MB, free: 15.24 MB / 298.7 MB Notification: Performance of setup shared object (initialization): time 0.000128/0.03669, allocations: 362.7 kB / 323.4 MB, free: 14.88 MB / 298.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002898/0.03698, allocations: 138.6 kB / 323.5 MB, free: 14.74 MB / 298.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003274/0.03731, allocations: 238.5 kB / 323.7 MB, free: 14.49 MB / 298.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001032/0.03834, allocations: 0.6964 MB / 324.4 MB, free: 13.79 MB / 298.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.558e-06/0.03835, allocations: 4 kB / 324.4 MB, free: 13.79 MB / 298.7 MB Notification: Performance of matching and sorting (n=135) (initialization): time 0.00138/0.03973, allocations: 0.6599 MB / 325.1 MB, free: 13.11 MB / 298.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.667e-05/0.03975, allocations: 4 kB / 325.1 MB, free: 13.11 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.341e-05/0.03977, allocations: 4 kB / 325.1 MB, free: 13.1 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0008934/0.04066, allocations: 235.2 kB / 325.3 MB, free: 12.86 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003328/0.04399, allocations: 0.8154 MB / 326.2 MB, free: 12.04 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.006973/0.05096, allocations: 12.56 MB / 338.7 MB, free: 14.58 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004691/0.05143, allocations: 24 kB / 338.7 MB, free: 14.55 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.699e-05/0.05148, allocations: 31.97 kB / 338.8 MB, free: 14.52 MB / 314.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.0003778/0.05186, allocations: 189 kB / 339 MB, free: 14.33 MB / 314.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001174/0.05197, allocations: 71.95 kB / 339 MB, free: 14.26 MB / 314.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001261/0.05323, allocations: 0.9491 MB / 340 MB, free: 13.28 MB / 314.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.736e-06/0.05324, allocations: 12 kB / 340 MB, free: 13.27 MB / 314.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.019e-06/0.05325, allocations: 4 kB / 340 MB, free: 13.27 MB / 314.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.138e-05/0.05326, allocations: 11.97 kB / 340 MB, free: 13.25 MB / 314.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002056/0.05531, allocations: 1.475 MB / 341.5 MB, free: 11.66 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.353e-06/0.05532, allocations: 8.812 kB / 341.5 MB, free: 11.66 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002308/0.05763, allocations: 0.7687 MB / 342.3 MB, free: 10.89 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001086/0.05872, allocations: 402.8 kB / 342.7 MB, free: 10.48 MB / 314.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001416/0.05886, allocations: 31.98 kB / 342.7 MB, free: 10.45 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.006518/0.06538, allocations: 12.7 MB / 355.4 MB, free: 12.86 MB / 330.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.772e-06/0.06538, allocations: 15.88 kB / 355.4 MB, free: 12.84 MB / 330.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001765/0.06715, allocations: 1.259 MB / 356.7 MB, free: 11.48 MB / 330.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001274/0.06727, allocations: 59.58 kB / 356.7 MB, free: 11.42 MB / 330.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.838e-05/0.06735, allocations: 28 kB / 356.7 MB, free: 11.39 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003215/0.06767, allocations: 35.98 kB / 356.8 MB, free: 11.36 MB / 330.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002131/0.06789, allocations: 136.5 kB / 356.9 MB, free: 11.22 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.661e-05/0.06793, allocations: 32.11 kB / 356.9 MB, free: 11.19 MB / 330.7 MB Notification: Performance of sorting global known variables: time 5.963e-05/0.06799, allocations: 37.81 kB / 357 MB, free: 11.15 MB / 330.7 MB Notification: Performance of sort global known variables: time 8e-08/0.06799, allocations: 4 kB / 357 MB, free: 11.15 MB / 330.7 MB Notification: Performance of remove unused functions: time 0.0008388/0.06883, allocations: 256 kB / 357.2 MB, free: 10.9 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.0001731/0.06901, allocations: 124.1 kB / 357.4 MB, free: 10.77 MB / 330.7 MB Notification: Performance of simCode: created initialization part: time 0.003181/0.07219, allocations: 1.642 MB / 359 MB, free: 9.07 MB / 330.7 MB Notification: Performance of simCode: created event and clocks part: time 1.292e-05/0.0722, allocations: 0 / 359 MB, free: 9.07 MB / 330.7 MB Notification: Performance of simCode: created simulation system equations: time 0.002551/0.07475, allocations: 1.426 MB / 360.4 MB, free: 7.59 MB / 330.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006812/0.07543, allocations: 173.7 kB / 360.6 MB, free: 7.426 MB / 330.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002445/0.07788, allocations: 1.568 MB / 362.2 MB, free: 5.754 MB / 330.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001831/0.07806, allocations: 182.5 kB / 362.3 MB, free: 5.547 MB / 330.7 MB Notification: Performance of simCode: alias equations: time 0.000467/0.07853, allocations: 101.1 kB / 362.4 MB, free: 5.449 MB / 330.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003804/0.07891, allocations: 217.2 kB / 362.7 MB, free: 5.234 MB / 330.7 MB Notification: Performance of SimCode: time 2.495e-06/0.07891, allocations: 0 / 362.7 MB, free: 5.234 MB / 330.7 MB Notification: Performance of Templates: time 0.01955/0.09846, allocations: 14.27 MB / 376.9 MB, free: 7.195 MB / 346.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.6336207068525255]