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.000963/0.000963, allocations: 72.83 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.001012/0.001012, allocations: 173 kB / 24.16 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.9788/0.9788, allocations: 177.1 MB / 204.6 MB, free: 5.488 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.0659/0.0659, allocations: 18.12 MB / 279.2 MB, free: 11.21 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 2.705e-06/2.705e-06, allocations: 0.5625 kB / 304.5 MB, free: 396 kB / 266.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 3.323e-05/3.594e-05, allocations: 2.312 kB / 304.5 MB, free: 392 kB / 266.7 MB Notification: Performance of NFInst.instantiate(AES.Coursework.ThermSys_component_models.Controlled_AHU_case_001): time 0.004983/0.005019, allocations: 3.992 MB / 308.5 MB, free: 13.59 MB / 282.7 MB Notification: Performance of NFInst.instExpressions: time 0.003004/0.008023, allocations: 1.319 MB / 309.8 MB, free: 12.43 MB / 282.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.000556/0.008579, allocations: 4 kB / 309.8 MB, free: 12.42 MB / 282.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0002335/0.008813, allocations: 79.61 kB / 309.9 MB, free: 12.37 MB / 282.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0007444/0.009557, allocations: 238.2 kB / 310.1 MB, free: 12.17 MB / 282.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0007973/0.01035, allocations: 292.8 kB / 310.4 MB, free: 11.92 MB / 282.7 MB Notification: Performance of NFFlatten.flatten: time 0.001283/0.01164, allocations: 1.122 MB / 311.6 MB, free: 10.8 MB / 282.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0006456/0.01228, allocations: 414.5 kB / 312 MB, free: 10.39 MB / 282.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0007686/0.01305, allocations: 391.2 kB / 312.3 MB, free: 10.01 MB / 282.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0005941/0.01365, allocations: 335.2 kB / 312.7 MB, free: 9.68 MB / 282.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0001325/0.01378, allocations: 92 kB / 312.8 MB, free: 9.59 MB / 282.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001336/0.01391, allocations: 96 kB / 312.9 MB, free: 9.496 MB / 282.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0001658/0.01408, allocations: 199.3 kB / 313 MB, free: 9.301 MB / 282.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0002734/0.01435, allocations: 315.4 kB / 313.4 MB, free: 8.992 MB / 282.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0006644/0.01502, allocations: 0.6308 MB / 314 MB, free: 8.359 MB / 282.7 MB Notification: Performance of FrontEnd - DAE generated: time 5.871e-06/0.01502, allocations: 0 / 314 MB, free: 8.359 MB / 282.7 MB Notification: Performance of FrontEnd: time 1.402e-06/0.01502, allocations: 0 / 314 MB, free: 8.359 MB / 282.7 MB Notification: Performance of Transformations before backend: time 2.023e-05/0.01504, allocations: 0 / 314 MB, free: 8.359 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.00144/0.01648, allocations: 0.9081 MB / 314.9 MB, free: 7.426 MB / 282.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.282e-05/0.01654, allocations: 12.03 kB / 314.9 MB, free: 7.414 MB / 282.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001507/0.01669, allocations: 116.8 kB / 315 MB, free: 7.301 MB / 282.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001888/0.01688, allocations: 189.8 kB / 315.2 MB, free: 7.09 MB / 282.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.257e-05/0.01694, allocations: 62.31 kB / 315.3 MB, free: 7.031 MB / 282.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001035/0.01704, allocations: 80.38 kB / 315.3 MB, free: 6.953 MB / 282.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005938/0.01764, allocations: 0.5138 MB / 315.9 MB, free: 6.426 MB / 282.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.736e-05/0.01765, allocations: 4.188 kB / 315.9 MB, free: 6.422 MB / 282.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.472e-05/0.01771, allocations: 35.94 kB / 315.9 MB, free: 6.387 MB / 282.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.607e-05/0.01772, allocations: 20 kB / 315.9 MB, free: 6.367 MB / 282.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003927/0.01812, allocations: 297.8 kB / 316.2 MB, free: 6.074 MB / 282.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00209/0.02021, allocations: 1.171 MB / 317.4 MB, free: 4.883 MB / 282.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0005381/0.02074, allocations: 382.7 kB / 317.8 MB, free: 4.504 MB / 282.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.000197/0.02094, allocations: 155.8 kB / 317.9 MB, free: 4.352 MB / 282.7 MB Notification: Performance of preOpt evalFunc (simulation): time 5.117e-05/0.02099, allocations: 17 kB / 317.9 MB, free: 4.332 MB / 282.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.745e-05/0.02103, allocations: 47.5 kB / 318 MB, free: 4.277 MB / 282.7 MB Notification: Performance of pre-optimization done (n=102): time 4.058e-06/0.02103, allocations: 0 / 318 MB, free: 4.277 MB / 282.7 MB Notification: Performance of matching and sorting (n=112): time 0.003957/0.02499, allocations: 1.962 MB / 319.9 MB, free: 2.273 MB / 282.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.179e-05/0.02503, allocations: 68.39 kB / 320 MB, free: 2.195 MB / 282.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001329/0.02517, allocations: 164 kB / 320.2 MB, free: 2.023 MB / 282.7 MB Notification: Performance of collectPreVariables (initialization): time 6.612e-05/0.02523, allocations: 45.7 kB / 320.2 MB, free: 1.973 MB / 282.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001086/0.02534, allocations: 233.5 kB / 320.4 MB, free: 1.738 MB / 282.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.000226/0.02557, allocations: 408.4 kB / 320.8 MB, free: 1.336 MB / 282.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001617/0.02573, allocations: 154.6 kB / 321 MB, free: 1.18 MB / 282.7 MB Notification: Performance of setup shared object (initialization): time 0.0001077/0.02584, allocations: 350.7 kB / 321.3 MB, free: 0.8281 MB / 282.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001532/0.02599, allocations: 113.9 kB / 321.4 MB, free: 0.7148 MB / 282.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001893/0.02618, allocations: 203.1 kB / 321.6 MB, free: 0.5039 MB / 282.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006063/0.02678, allocations: 0.5672 MB / 322.2 MB, free: 15.92 MB / 298.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.617e-06/0.02679, allocations: 3.938 kB / 322.2 MB, free: 15.92 MB / 298.7 MB Notification: Performance of matching and sorting (n=123) (initialization): time 0.0008811/0.02767, allocations: 0.5921 MB / 322.8 MB, free: 15.31 MB / 298.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.416e-05/0.02769, allocations: 8 kB / 322.8 MB, free: 15.3 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.227e-06/0.0277, allocations: 0 / 322.8 MB, free: 15.3 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006218/0.02832, allocations: 235.3 kB / 323 MB, free: 15.06 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002401/0.03073, allocations: 0.7569 MB / 323.8 MB, free: 14.3 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.007021/0.03775, allocations: 12.57 MB / 336.4 MB, free: 0.832 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000395/0.03814, allocations: 28 kB / 336.4 MB, free: 0.8047 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.866e-05/0.03818, allocations: 20 kB / 336.4 MB, free: 0.7852 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.0003187/0.0385, allocations: 181.6 kB / 336.6 MB, free: 0.6016 MB / 298.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.728e-05/0.0386, allocations: 75.94 kB / 336.7 MB, free: 0.5273 MB / 298.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001094/0.03969, allocations: 0.7903 MB / 337.5 MB, free: 15.71 MB / 314.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.908e-06/0.0397, allocations: 12 kB / 337.5 MB, free: 15.7 MB / 314.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.118e-06/0.03971, allocations: 0 / 337.5 MB, free: 15.7 MB / 314.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.274e-05/0.03972, allocations: 11.92 kB / 337.5 MB, free: 15.68 MB / 314.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001944/0.04166, allocations: 1.376 MB / 338.9 MB, free: 14.18 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.103e-06/0.04167, allocations: 4 kB / 338.9 MB, free: 14.18 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002083/0.04375, allocations: 0.7186 MB / 339.6 MB, free: 13.46 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001214/0.04497, allocations: 374.9 kB / 339.9 MB, free: 13.08 MB / 314.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001379/0.0451, allocations: 39.92 kB / 340 MB, free: 13.04 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.006759/0.05186, allocations: 12.67 MB / 352.7 MB, free: 15.47 MB / 330.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.51e-06/0.05187, allocations: 15.97 kB / 352.7 MB, free: 15.45 MB / 330.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00155/0.05342, allocations: 1.122 MB / 353.8 MB, free: 14.21 MB / 330.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001303/0.05355, allocations: 59.66 kB / 353.8 MB, free: 14.16 MB / 330.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.763e-05/0.05362, allocations: 28 kB / 353.9 MB, free: 14.13 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002795/0.0539, allocations: 36.05 kB / 353.9 MB, free: 14.09 MB / 330.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003933/0.05429, allocations: 120.6 kB / 354 MB, free: 13.98 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.278e-05/0.05433, allocations: 28 kB / 354.1 MB, free: 13.95 MB / 330.7 MB Notification: Performance of sorting global known variables: time 5.326e-05/0.05439, allocations: 41.5 kB / 354.1 MB, free: 13.91 MB / 330.7 MB Notification: Performance of sort global known variables: time 3e-08/0.05439, allocations: 0 / 354.1 MB, free: 13.91 MB / 330.7 MB Notification: Performance of remove unused functions: time 0.0007901/0.05518, allocations: 236 kB / 354.3 MB, free: 13.68 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.000189/0.05536, allocations: 120.2 kB / 354.4 MB, free: 13.55 MB / 330.7 MB Notification: Performance of simCode: created initialization part: time 0.003035/0.0584, allocations: 1.559 MB / 356 MB, free: 11.94 MB / 330.7 MB Notification: Performance of simCode: created event and clocks part: time 2.074e-05/0.05842, allocations: 4 kB / 356 MB, free: 11.93 MB / 330.7 MB Notification: Performance of simCode: created simulation system equations: time 0.002621/0.06104, allocations: 1.355 MB / 357.4 MB, free: 10.53 MB / 330.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007378/0.06178, allocations: 175.5 kB / 357.5 MB, free: 10.36 MB / 330.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002341/0.06412, allocations: 1.449 MB / 359 MB, free: 8.801 MB / 330.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001697/0.06429, allocations: 165.3 kB / 359.1 MB, free: 8.621 MB / 330.7 MB Notification: Performance of simCode: alias equations: time 0.0003933/0.06468, allocations: 88.8 kB / 359.2 MB, free: 8.535 MB / 330.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003119/0.065, allocations: 185.3 kB / 359.4 MB, free: 8.352 MB / 330.7 MB Notification: Performance of SimCode: time 2.324e-06/0.065, allocations: 0 / 359.4 MB, free: 8.352 MB / 330.7 MB Notification: Performance of Templates: time 0.01867/0.08367, allocations: 12.22 MB / 371.6 MB, free: 12.34 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 -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.4659765530377626]