Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr AES_AES.Coursework.ThermSys_component_models.Controlled_AHU_case_001.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.001014/0.001014, allocations: 72.95 kB / 20.74 MB, free: 3.754 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.001143/0.001143, allocations: 173 kB / 24.17 MB, free: 336 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.9734/0.9734, allocations: 177.1 MB / 204.6 MB, free: 5.477 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.1059/0.1059, 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_001,tolerance=1e-06,outputFormat="empty",numberOfIntervals=10000,variableFilter="",fileNamePrefix="AES_AES.Coursework.ThermSys_component_models.Controlled_AHU_case_001") translateModel(AES.Coursework.ThermSys_component_models.Controlled_AHU_case_001,tolerance=1e-06,outputFormat="empty",numberOfIntervals=10000,variableFilter="",fileNamePrefix="AES_AES.Coursework.ThermSys_component_models.Controlled_AHU_case_001") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.152e-06/1.152e-06, allocations: 0 / 304.6 MB, free: 0.582 MB / 266.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.288e-05/1.404e-05, allocations: 2.844 kB / 304.6 MB, free: 0.5781 MB / 266.7 MB Notification: Performance of NFInst.instantiate(AES.Coursework.ThermSys_component_models.Controlled_AHU_case_001): time 0.003871/0.003885, allocations: 4.03 MB / 308.6 MB, free: 13.7 MB / 282.7 MB Notification: Performance of NFInst.instExpressions: time 0.002186/0.006071, allocations: 1.326 MB / 309.9 MB, free: 12.52 MB / 282.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001467/0.006218, allocations: 4 kB / 309.9 MB, free: 12.52 MB / 282.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0001135/0.006331, allocations: 79.52 kB / 310 MB, free: 12.46 MB / 282.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0003455/0.006677, allocations: 232.2 kB / 310.2 MB, free: 12.25 MB / 282.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004928/0.00717, allocations: 299.4 kB / 310.5 MB, free: 11.96 MB / 282.7 MB Notification: Performance of NFFlatten.flatten: time 0.0008414/0.008011, allocations: 1.124 MB / 311.7 MB, free: 10.83 MB / 282.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0004211/0.008432, allocations: 418.5 kB / 312.1 MB, free: 10.42 MB / 282.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003741/0.008806, allocations: 391.2 kB / 312.4 MB, free: 10.04 MB / 282.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003187/0.009125, allocations: 335.1 kB / 312.8 MB, free: 9.711 MB / 282.7 MB Notification: Performance of NFPackage.collectConstants: time 9.191e-05/0.009217, allocations: 92 kB / 312.9 MB, free: 9.621 MB / 282.7 MB Notification: Performance of NFFlatten.collectFunctions: time 8.951e-05/0.009306, allocations: 96 kB / 313 MB, free: 9.527 MB / 282.7 MB Notification: Performance of NFScalarize.scalarize: time 9.553e-05/0.009402, allocations: 191.4 kB / 313.1 MB, free: 9.34 MB / 282.7 MB Notification: Performance of NFVerifyModel.verify: time 0.000195/0.009597, allocations: 323.4 kB / 313.5 MB, free: 9.023 MB / 282.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0004942/0.01009, allocations: 0.6229 MB / 314.1 MB, free: 8.398 MB / 282.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.225e-06/0.01009, allocations: 0 / 314.1 MB, free: 8.398 MB / 282.7 MB Notification: Performance of FrontEnd: time 8.62e-07/0.01009, allocations: 3.938 kB / 314.1 MB, free: 8.395 MB / 282.7 MB Notification: Performance of Transformations before backend: time 6.633e-06/0.0101, allocations: 0 / 314.1 MB, free: 8.395 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: 207 * Number of variables: 207 Notification: Performance of Generate backend data structure: time 0.0009416/0.01104, allocations: 0.9082 MB / 315 MB, free: 7.461 MB / 282.7 MB Notification: Performance of prepare preOptimizeDAE: time 2.562e-05/0.01107, allocations: 12.03 kB / 315 MB, free: 7.449 MB / 282.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001039/0.01117, allocations: 116.8 kB / 315.1 MB, free: 7.336 MB / 282.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001467/0.01132, allocations: 181.8 kB / 315.3 MB, free: 7.133 MB / 282.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.059e-05/0.01136, allocations: 62.38 kB / 315.4 MB, free: 7.074 MB / 282.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 7.098e-05/0.01143, allocations: 84.36 kB / 315.4 MB, free: 6.992 MB / 282.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004519/0.01188, allocations: 0.5216 MB / 316 MB, free: 6.457 MB / 282.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.397e-05/0.0119, allocations: 192 / 316 MB, free: 6.457 MB / 282.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.286e-05/0.01194, allocations: 35.94 kB / 316 MB, free: 6.422 MB / 282.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.09e-05/0.01195, allocations: 23.94 kB / 316 MB, free: 6.398 MB / 282.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003099/0.01226, allocations: 301.8 kB / 316.3 MB, free: 6.102 MB / 282.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001501/0.01376, allocations: 1.159 MB / 317.5 MB, free: 4.922 MB / 282.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003775/0.01414, allocations: 389.7 kB / 317.9 MB, free: 4.535 MB / 282.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.000144/0.01428, allocations: 147.8 kB / 318 MB, free: 4.391 MB / 282.7 MB Notification: Performance of preOpt evalFunc (simulation): time 4.463e-05/0.01433, allocations: 25 kB / 318 MB, free: 4.363 MB / 282.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.345e-05/0.01435, allocations: 39.56 kB / 318.1 MB, free: 4.316 MB / 282.7 MB Notification: Performance of pre-optimization done (n=102): time 2.054e-06/0.01435, allocations: 0 / 318.1 MB, free: 4.316 MB / 282.7 MB Notification: Performance of matching and sorting (n=112): time 0.002942/0.01729, allocations: 1.967 MB / 320 MB, free: 2.309 MB / 282.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.905e-05/0.01732, allocations: 72.39 kB / 320.1 MB, free: 2.227 MB / 282.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.364e-05/0.01741, allocations: 160 kB / 320.3 MB, free: 2.059 MB / 282.7 MB Notification: Performance of collectPreVariables (initialization): time 3.806e-05/0.01745, allocations: 45.7 kB / 320.3 MB, free: 2.008 MB / 282.7 MB Notification: Performance of collectInitialEqns (initialization): time 8.037e-05/0.01753, allocations: 233.5 kB / 320.5 MB, free: 1.773 MB / 282.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0003307/0.01786, allocations: 400.4 kB / 320.9 MB, free: 1.379 MB / 282.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001417/0.018, allocations: 158.5 kB / 321.1 MB, free: 1.219 MB / 282.7 MB Notification: Performance of setup shared object (initialization): time 8.417e-05/0.01808, allocations: 354.7 kB / 321.4 MB, free: 0.8633 MB / 282.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001275/0.01821, allocations: 106 kB / 321.5 MB, free: 0.7578 MB / 282.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001731/0.01838, allocations: 215.1 kB / 321.7 MB, free: 0.5352 MB / 282.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005369/0.01892, allocations: 0.5672 MB / 322.3 MB, free: 15.95 MB / 298.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.825e-06/0.01892, allocations: 4 kB / 322.3 MB, free: 15.95 MB / 298.7 MB Notification: Performance of matching and sorting (n=123) (initialization): time 0.0008584/0.01978, allocations: 0.5844 MB / 322.9 MB, free: 15.35 MB / 298.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.545e-05/0.0198, allocations: 8.031 kB / 322.9 MB, free: 15.34 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.341e-06/0.0198, allocations: 0 / 322.9 MB, free: 15.34 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0008314/0.02063, allocations: 243.1 kB / 323.1 MB, free: 15.09 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003398/0.02403, allocations: 0.8219 MB / 324 MB, free: 14.27 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.008284/0.03232, allocations: 12.57 MB / 336.5 MB, free: 0.8008 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002226/0.03254, allocations: 31.98 kB / 336.6 MB, free: 0.7695 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.054e-05/0.03257, allocations: 24.03 kB / 336.6 MB, free: 0.7461 MB / 298.7 MB Warning: Assuming fixed start value for the following 4 variables: AHU.T:VARIABLE(min = 0.0 start = AHU.Tstart unit = \"K\" fixed = true nominal = 300.0 ) \"controlled T\" type: Real AHU.phi:VARIABLE(start = AHU.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 (112): * Single equations (assignments): 102 * 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,1,100.0%), (1,2,100.0%), (1,2,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.0002013/0.03277, allocations: 175.8 kB / 336.8 MB, free: 0.5664 MB / 298.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.093e-05/0.03285, allocations: 71.89 kB / 336.8 MB, free: 0.4961 MB / 298.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0009999/0.03385, allocations: 0.7825 MB / 337.6 MB, free: 15.68 MB / 314.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.855e-06/0.03386, allocations: 19.94 kB / 337.6 MB, free: 15.66 MB / 314.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.045e-06/0.03386, allocations: 0 / 337.6 MB, free: 15.66 MB / 314.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.107e-06/0.03387, allocations: 11.97 kB / 337.6 MB, free: 15.65 MB / 314.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001653/0.03552, allocations: 1.377 MB / 339 MB, free: 14.15 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.661e-06/0.03553, allocations: 4 kB / 339 MB, free: 14.14 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002311/0.03784, allocations: 0.7557 MB / 339.8 MB, free: 13.39 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0009449/0.03879, allocations: 387 kB / 340.2 MB, free: 13 MB / 314.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.325e-05/0.03884, allocations: 32 kB / 340.2 MB, free: 12.97 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.006035/0.04487, allocations: 12.69 MB / 352.9 MB, free: 15.39 MB / 330.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.362e-06/0.04488, allocations: 11.94 kB / 352.9 MB, free: 15.38 MB / 330.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001326/0.04621, allocations: 1.126 MB / 354 MB, free: 14.13 MB / 330.7 MB Notification: Performance of postOpt removeConstants (simulation): time 6.082e-05/0.04627, allocations: 63.53 kB / 354.1 MB, free: 14.07 MB / 330.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.273e-05/0.04634, allocations: 24.19 kB / 354.1 MB, free: 14.05 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003902/0.04673, allocations: 43.98 kB / 354.1 MB, free: 14 MB / 330.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000247/0.04698, allocations: 112.7 kB / 354.2 MB, free: 13.89 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.944e-05/0.04704, allocations: 35.88 kB / 354.3 MB, free: 13.86 MB / 330.7 MB Notification: Performance of sorting global known variables: time 5.35e-05/0.04709, allocations: 37.52 kB / 354.3 MB, free: 13.82 MB / 330.7 MB Notification: Performance of sort global known variables: time 9e-08/0.04709, allocations: 0 / 354.3 MB, free: 13.82 MB / 330.7 MB Notification: Performance of remove unused functions: time 0.000931/0.04802, allocations: 239.9 kB / 354.6 MB, free: 13.59 MB / 330.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 30 * Number of states: 5 (AHU.T,AHU.phi,V.Mv,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 (102): * Single equations (assignments): 92 * 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,4)} Notification: Performance of Backend phase and start with SimCode phase: time 0.0001371/0.04816, allocations: 124.2 kB / 354.7 MB, free: 13.46 MB / 330.7 MB Notification: Performance of simCode: created initialization part: time 0.00263/0.05079, allocations: 1.548 MB / 356.2 MB, free: 11.85 MB / 330.7 MB Notification: Performance of simCode: created event and clocks part: time 5.821e-06/0.05079, allocations: 0 / 356.2 MB, free: 11.85 MB / 330.7 MB Notification: Performance of simCode: created simulation system equations: time 0.002209/0.053, allocations: 1.363 MB / 357.6 MB, free: 10.44 MB / 330.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00047/0.05347, allocations: 160.8 kB / 357.7 MB, free: 10.29 MB / 330.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001703/0.05518, allocations: 1.461 MB / 359.2 MB, free: 8.711 MB / 330.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001186/0.05529, allocations: 169.3 kB / 359.4 MB, free: 8.527 MB / 330.7 MB Notification: Performance of simCode: alias equations: time 0.0002778/0.05557, allocations: 88.8 kB / 359.5 MB, free: 8.441 MB / 330.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002978/0.05587, allocations: 185.3 kB / 359.6 MB, free: 8.258 MB / 330.7 MB Notification: Performance of SimCode: time 6.01e-07/0.05587, allocations: 0 / 359.6 MB, free: 8.258 MB / 330.7 MB Notification: Performance of Templates: time 0.01348/0.06936, allocations: 12.36 MB / 372 MB, free: 12.11 MB / 346.7 MB " [Timeout remaining time 660] make -j1 -f AES_AES.Coursework.ThermSys_component_models.Controlled_AHU_case_001.makefile [Timeout 660] (rm -f AES_AES.Coursework.ThermSys_component_models.Controlled_AHU_case_001.pipe ; mkfifo AES_AES.Coursework.ThermSys_component_models.Controlled_AHU_case_001.pipe ; head -c 1048576 < AES_AES.Coursework.ThermSys_component_models.Controlled_AHU_case_001.pipe >> ../files/AES_AES.Coursework.ThermSys_component_models.Controlled_AHU_case_001.sim & ./AES_AES.Coursework.ThermSys_component_models.Controlled_AHU_case_001 -lv=LOG_STATS -s=dassl -abortSlowSimulation -alarm=240 -s gbode -gbm=radauIIA3 -lv LOG_STATS > AES_AES.Coursework.ThermSys_component_models.Controlled_AHU_case_001.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 3.2745927809737623]