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.00171/0.00171, allocations: 83.03 kB / 19.96 MB, free: 1.754 MB / 14.72 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.002013/0.002013, allocations: 165.6 kB / 23.23 MB, free: 4.891 MB / 14.72 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.525/1.525, allocations: 177.2 MB / 203.6 MB, free: 9.176 MB / 190.1 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.1032/0.1032, allocations: 18.14 MB / 278.1 MB, free: 15.07 MB / 270.1 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.673e-06/1.673e-06, allocations: 0 / 415.6 MB, free: 2.566 MB / 334.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.799e-05/2.967e-05, allocations: 2.281 kB / 415.6 MB, free: 2.562 MB / 334.1 MB Notification: Performance of NFInst.instantiate(AES.Coursework.ThermSys_component_models.Controlled_AHU_case_001): time 0.004947/0.004977, allocations: 3.626 MB / 419.2 MB, free: 14.91 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.002297/0.007273, allocations: 1.251 MB / 420.5 MB, free: 13.66 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001726/0.007446, allocations: 8 kB / 420.5 MB, free: 13.65 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001419/0.007588, allocations: 79.14 kB / 420.5 MB, free: 13.57 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.000442/0.00803, allocations: 229.9 kB / 420.8 MB, free: 13.35 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0005455/0.008575, allocations: 291.4 kB / 421.1 MB, free: 13.06 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.001055/0.00963, allocations: 1.13 MB / 422.2 MB, free: 11.93 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0005261/0.01016, allocations: 385.8 kB / 422.6 MB, free: 11.55 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0004518/0.01061, allocations: 383.2 kB / 422.9 MB, free: 11.18 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0004751/0.01108, allocations: 331.1 kB / 423.3 MB, free: 10.85 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001403/0.01122, allocations: 99.94 kB / 423.4 MB, free: 10.75 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001564/0.01138, allocations: 96 kB / 423.4 MB, free: 10.66 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001905/0.01157, allocations: 199.3 kB / 423.6 MB, free: 10.46 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0003652/0.01194, allocations: 323.3 kB / 424 MB, free: 10.15 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001073/0.01301, allocations: 1.013 MB / 425 MB, free: 9.133 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.598e-06/0.01301, allocations: 0 / 425 MB, free: 9.133 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.022e-06/0.01301, allocations: 0 / 425 MB, free: 9.133 MB / 350.1 MB Notification: Performance of Transformations before backend: time 1.197e-05/0.01303, allocations: 0 / 425 MB, free: 9.133 MB / 350.1 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.002126/0.01515, allocations: 0.919 MB / 425.9 MB, free: 8.18 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.079e-05/0.01519, allocations: 8.031 kB / 425.9 MB, free: 8.172 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001474/0.01534, allocations: 76.47 kB / 426 MB, free: 8.098 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000216/0.01556, allocations: 188.9 kB / 426.2 MB, free: 7.887 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.557e-05/0.01562, allocations: 66.38 kB / 426.2 MB, free: 7.824 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000138/0.01576, allocations: 76.38 kB / 426.3 MB, free: 7.75 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001281/0.01704, allocations: 0.7202 MB / 427 MB, free: 7.02 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.91e-05/0.01706, allocations: 192 / 427 MB, free: 7.02 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.854e-05/0.01714, allocations: 31.94 kB / 427 MB, free: 6.988 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.922e-05/0.01716, allocations: 20 kB / 427.1 MB, free: 6.969 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001275/0.01843, allocations: 0.6871 MB / 427.8 MB, free: 6.277 MB / 350.1 MB Warning: Alias set with conflicting start values * Candidate: V.T(start = V.Tstart = 291.15, confidence number = 2) * Candidate: V.air.T(start = 288.15, confidence number = 8) * Candidate: V.heatPort.T(start = 288.15, confidence number = 8) => Select value from V.T(start = V.Tstart = 291.15) for variable: V.T Warning: Alias set with conflicting start values * Candidate: AHU.T(start = AHU.Tstart = 293.15, confidence number = 2) * Candidate: AHU.air.T(start = 288.15, confidence number = 8) => Select value from AHU.T(start = AHU.Tstart = 293.15) for variable: AHU.T Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003332/0.02176, allocations: 1.577 MB / 429.3 MB, free: 4.676 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001171/0.02293, allocations: 0.619 MB / 430 MB, free: 4.047 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005399/0.02347, allocations: 303.8 kB / 430.2 MB, free: 3.75 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 6.075e-05/0.02353, allocations: 9 kB / 430.3 MB, free: 3.738 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.632e-05/0.02358, allocations: 47.5 kB / 430.3 MB, free: 3.684 MB / 350.1 MB Notification: Performance of pre-optimization done (n=102): time 2.465e-06/0.02358, allocations: 4 kB / 430.3 MB, free: 3.68 MB / 350.1 MB Notification: Performance of matching and sorting (n=112): time 0.007716/0.0313, allocations: 2.795 MB / 433.1 MB, free: 0.8438 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.289e-05/0.03135, allocations: 64.41 kB / 433.2 MB, free: 0.7656 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001721/0.03152, allocations: 166.7 kB / 433.3 MB, free: 0.5898 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 7.361e-05/0.0316, allocations: 45.7 kB / 433.4 MB, free: 0.5391 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001644/0.03176, allocations: 245.4 kB / 433.6 MB, free: 300 kB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0003421/0.0321, allocations: 392.8 kB / 434 MB, free: 15.9 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002607/0.03237, allocations: 154.6 kB / 434.1 MB, free: 15.75 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 0.0001667/0.03253, allocations: 362.4 kB / 434.5 MB, free: 15.39 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005653/0.0331, allocations: 293.9 kB / 434.8 MB, free: 15.1 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006532/0.03375, allocations: 391.1 kB / 435.2 MB, free: 14.7 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.01158/0.04533, allocations: 2.254 MB / 437.4 MB, free: 12.44 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.068e-06/0.04533, allocations: 0 / 437.4 MB, free: 12.44 MB / 366.1 MB Notification: Performance of matching and sorting (n=123) (initialization): time 0.002473/0.0478, allocations: 1.028 MB / 438.5 MB, free: 11.39 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.554e-05/0.04783, allocations: 8 kB / 438.5 MB, free: 11.38 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.006e-05/0.04784, allocations: 11.88 kB / 438.5 MB, free: 11.37 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001094/0.04893, allocations: 211.2 kB / 438.7 MB, free: 11.15 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.006006/0.05494, allocations: 0.753 MB / 439.4 MB, free: 10.4 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.1972/0.2521, allocations: 13.64 MB / 453.1 MB, free: 42.17 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006156/0.2528, allocations: 26.52 kB / 453.1 MB, free: 42.17 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.514e-05/0.2528, allocations: 32.64 kB / 453.1 MB, free: 42.17 MB / 366.1 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.0004596/0.2533, allocations: 229.9 kB / 453.4 MB, free: 42.05 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001179/0.2534, allocations: 42.44 kB / 453.4 MB, free: 42.05 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003001/0.2564, allocations: 1.247 MB / 454.6 MB, free: 41.66 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.13e-05/0.2564, allocations: 11.22 kB / 454.7 MB, free: 41.66 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.843e-06/0.2564, allocations: 2.5 kB / 454.7 MB, free: 41.66 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.255e-05/0.2564, allocations: 5.344 kB / 454.7 MB, free: 41.66 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003699/0.2601, allocations: 2.118 MB / 456.8 MB, free: 40.53 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.407e-06/0.2602, allocations: 6.875 kB / 456.8 MB, free: 40.53 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.00521/0.2654, allocations: 0.6997 MB / 457.5 MB, free: 40.51 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.002003/0.2674, allocations: 356.1 kB / 457.8 MB, free: 40.44 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001011/0.2675, allocations: 33.88 kB / 457.9 MB, free: 40.42 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.008761/0.2762, allocations: 13.83 MB / 471.7 MB, free: 27.04 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.426e-06/0.2762, allocations: 8.125 kB / 471.7 MB, free: 27.04 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003453/0.2797, allocations: 1.802 MB / 473.5 MB, free: 26 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.000124/0.2798, allocations: 55.33 kB / 473.6 MB, free: 25.97 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.671e-05/0.2799, allocations: 31.31 kB / 473.6 MB, free: 25.96 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005809/0.2805, allocations: 27.8 kB / 473.6 MB, free: 25.95 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000331/0.2808, allocations: 121.5 kB / 473.7 MB, free: 25.91 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.91e-05/0.2809, allocations: 35.22 kB / 473.8 MB, free: 25.91 MB / 366.1 MB Notification: Performance of sorting global known variables: time 0.000107/0.281, allocations: 132.2 kB / 473.9 MB, free: 25.81 MB / 366.1 MB Notification: Performance of sort global known variables: time 5e-08/0.281, allocations: 4 kB / 473.9 MB, free: 25.81 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.001182/0.2822, allocations: 232.1 kB / 474.1 MB, free: 25.77 MB / 366.1 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.0002123/0.2824, allocations: 136.8 kB / 474.3 MB, free: 25.66 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.007459/0.2899, allocations: 1.852 MB / 476.1 MB, free: 24.86 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 1.795e-05/0.2899, allocations: 1.125 kB / 476.1 MB, free: 24.86 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 0.006248/0.2961, allocations: 1.491 MB / 477.6 MB, free: 24.18 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001313/0.2974, allocations: 154.7 kB / 477.8 MB, free: 24.13 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003017/0.3005, allocations: 1.649 MB / 479.4 MB, free: 23.08 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003719/0.3008, allocations: 315.7 kB / 479.7 MB, free: 22.97 MB / 366.1 MB Notification: Performance of simCode: alias equations: time 0.0004899/0.3013, allocations: 90.97 kB / 479.8 MB, free: 22.93 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001975/0.3015, allocations: 50.16 kB / 479.9 MB, free: 22.91 MB / 366.1 MB Notification: Performance of SimCode: time 1.302e-06/0.3015, allocations: 0 / 479.9 MB, free: 22.91 MB / 366.1 MB Notification: Performance of Templates: time 0.01696/0.3185, allocations: 11.09 MB / 491 MB, free: 15.26 MB / 366.1 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=480 -lv LOG_STATS > AES_AES.Coursework.ThermSys_component_models.Controlled_AHU_case_001.pipe 2>&1) [Timeout 480] [Calling sys.exit(0), Time elapsed: 5.63795455917716] Failed to read output from testmodel.py, exit status != 0: 0.32703935354948044 0.335910127 0.32063672000000004 Calling exit ...