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.001297/0.001297, allocations: 77.05 kB / 19.96 MB, free: 1.75 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.001342/0.001342, allocations: 172.9 kB / 23.24 MB, free: 4.863 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.581/1.581, allocations: 177.1 MB / 203.5 MB, free: 9.168 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.1058/0.1058, allocations: 18.13 MB / 278.1 MB, free: 15.04 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_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 2.034e-06/2.034e-06, allocations: 0 / 415.6 MB, free: 2.566 MB / 334.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 3.661e-05/3.864e-05, allocations: 8.75 kB / 415.6 MB, free: 2.559 MB / 334.1 MB Notification: Performance of NFInst.instantiate(AES.Coursework.ThermSys_component_models.Controlled_AHU_case_002): time 0.009128/0.009167, allocations: 3.799 MB / 419.4 MB, free: 14.73 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.004159/0.01333, allocations: 1.306 MB / 420.7 MB, free: 13.43 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0005358/0.01386, allocations: 4 kB / 420.7 MB, free: 13.42 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0004039/0.01427, allocations: 87.06 kB / 420.8 MB, free: 13.34 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001084/0.01535, allocations: 253.7 kB / 421 MB, free: 13.09 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001181/0.01653, allocations: 311.4 kB / 421.3 MB, free: 12.78 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.002283/0.01881, allocations: 1.208 MB / 422.5 MB, free: 11.57 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001291/0.0201, allocations: 0.497 MB / 423 MB, free: 11.07 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001257/0.02136, allocations: 455.1 kB / 423.5 MB, free: 10.62 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001461/0.02282, allocations: 422.9 kB / 423.9 MB, free: 10.21 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0005044/0.02333, allocations: 112 kB / 424 MB, free: 10.1 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0004865/0.02381, allocations: 116 kB / 424.1 MB, free: 9.988 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0004348/0.02425, allocations: 239.3 kB / 424.3 MB, free: 9.754 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.00102/0.02527, allocations: 367.3 kB / 424.7 MB, free: 9.395 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.002443/0.02771, allocations: 1.192 MB / 425.9 MB, free: 8.199 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 1.023e-05/0.02772, allocations: 4 kB / 425.9 MB, free: 8.195 MB / 350.1 MB Notification: Performance of FrontEnd: time 2.225e-06/0.02772, allocations: 0 / 425.9 MB, free: 8.195 MB / 350.1 MB Notification: Performance of Transformations before backend: time 5.686e-05/0.02778, allocations: 0 / 425.9 MB, free: 8.195 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: 223 * Number of variables: 223 Notification: Performance of Generate backend data structure: time 0.004698/0.03248, allocations: 0.985 MB / 426.9 MB, free: 7.176 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.908e-05/0.03254, allocations: 12.92 kB / 426.9 MB, free: 7.164 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000356/0.03289, allocations: 84.42 kB / 427 MB, free: 7.082 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004201/0.03331, allocations: 197.4 kB / 427.2 MB, free: 6.863 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001107/0.03342, allocations: 66.38 kB / 427.2 MB, free: 6.801 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002898/0.03371, allocations: 84.38 kB / 427.3 MB, free: 6.719 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003069/0.03678, allocations: 0.8524 MB / 428.2 MB, free: 5.855 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.3e-05/0.03682, allocations: 0 / 428.2 MB, free: 5.855 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001647/0.03698, allocations: 36 kB / 428.2 MB, free: 5.82 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.619e-05/0.03703, allocations: 24 kB / 428.2 MB, free: 5.797 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003113/0.04014, allocations: 0.8315 MB / 429.1 MB, free: 4.961 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: U1.T(start = U1.Tstart = 293.15, confidence number = 2) * Candidate: U1.air.T(start = 288.15, confidence number = 8) => Select value from U1.T(start = U1.Tstart = 293.15) for variable: U1.T Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.007938/0.04808, allocations: 1.837 MB / 430.9 MB, free: 3.098 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.003913/0.05199, allocations: 0.9196 MB / 431.8 MB, free: 2.172 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001268/0.05326, allocations: 379.7 kB / 432.2 MB, free: 1.801 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001225/0.05338, allocations: 24.92 kB / 432.2 MB, free: 1.777 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.781e-05/0.05345, allocations: 43.56 kB / 432.3 MB, free: 1.727 MB / 350.1 MB Notification: Performance of preOpt simplifyInStream (simulation): time 0.001354/0.0548, allocations: 163.4 kB / 432.4 MB, free: 1.566 MB / 350.1 MB Notification: Performance of pre-optimization done (n=113): time 7.264e-06/0.05481, allocations: 0 / 432.4 MB, free: 1.566 MB / 350.1 MB Notification: Performance of matching and sorting (n=124): time 0.0136/0.06841, allocations: 3.232 MB / 435.6 MB, free: 14.29 MB / 366.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.093e-05/0.06848, allocations: 68.34 kB / 435.7 MB, free: 14.21 MB / 366.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002902/0.06877, allocations: 174.3 kB / 435.9 MB, free: 14.03 MB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0001182/0.06889, allocations: 45.7 kB / 435.9 MB, free: 13.98 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002537/0.06914, allocations: 261.6 kB / 436.2 MB, free: 13.72 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.000565/0.06971, allocations: 432.2 kB / 436.6 MB, free: 13.29 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0004569/0.07017, allocations: 174.9 kB / 436.8 MB, free: 13.11 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 0.0002205/0.07039, allocations: 358.7 kB / 437.1 MB, free: 12.75 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0007658/0.07115, allocations: 358.5 kB / 437.5 MB, free: 12.41 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0008607/0.07201, allocations: 462.5 kB / 437.9 MB, free: 11.94 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.02036/0.09237, allocations: 3.454 MB / 441.4 MB, free: 8.469 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.2e-06/0.09237, allocations: 0 / 441.4 MB, free: 8.469 MB / 366.1 MB Notification: Performance of matching and sorting (n=135) (initialization): time 0.003179/0.09555, allocations: 1.207 MB / 442.6 MB, free: 7.242 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.51e-05/0.09558, allocations: 4 kB / 442.6 MB, free: 7.238 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.091e-05/0.09559, allocations: 4 kB / 442.6 MB, free: 7.234 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001106/0.0967, allocations: 215.2 kB / 442.8 MB, free: 7.012 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.006431/0.1031, allocations: 0.8038 MB / 443.6 MB, free: 6.207 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.1947/0.2978, allocations: 13.65 MB / 457.3 MB, free: 38.78 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007943/0.2986, allocations: 31.23 kB / 457.3 MB, free: 38.77 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000118/0.2987, allocations: 39.28 kB / 457.3 MB, free: 38.76 MB / 366.1 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.0004636/0.2992, allocations: 227.3 kB / 457.6 MB, free: 38.57 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001294/0.2993, allocations: 51.48 kB / 457.6 MB, free: 38.57 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003298/0.3026, allocations: 1.473 MB / 459.1 MB, free: 37.93 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.517e-05/0.3026, allocations: 13.72 kB / 459.1 MB, free: 37.93 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.494e-06/0.3026, allocations: 5.609 kB / 459.1 MB, free: 37.93 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.561e-05/0.3026, allocations: 12.22 kB / 459.1 MB, free: 37.93 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004257/0.3069, allocations: 2.287 MB / 461.4 MB, free: 36.73 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.096e-05/0.3069, allocations: 6.938 kB / 461.4 MB, free: 36.73 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.005678/0.3126, allocations: 0.7574 MB / 462.2 MB, free: 36.7 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.002185/0.3148, allocations: 368.4 kB / 462.5 MB, free: 36.63 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001309/0.3149, allocations: 34 kB / 462.6 MB, free: 36.61 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.009392/0.3243, allocations: 13.89 MB / 476.4 MB, free: 23.2 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.627e-06/0.3243, allocations: 7.156 kB / 476.5 MB, free: 23.2 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.004657/0.3289, allocations: 2.047 MB / 478.5 MB, free: 22.07 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.000201/0.3291, allocations: 58.22 kB / 478.6 MB, free: 22.04 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001575/0.3293, allocations: 30.53 kB / 478.6 MB, free: 22.03 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0008323/0.3301, allocations: 37.8 kB / 478.6 MB, free: 22.01 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0004617/0.3306, allocations: 128.8 kB / 478.8 MB, free: 21.97 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001281/0.3307, allocations: 41.84 kB / 478.8 MB, free: 21.96 MB / 366.1 MB Notification: Performance of sorting global known variables: time 0.0001411/0.3309, allocations: 133.4 kB / 478.9 MB, free: 21.87 MB / 366.1 MB Notification: Performance of sort global known variables: time 8e-08/0.3309, allocations: 0.6562 kB / 478.9 MB, free: 21.87 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.001536/0.3324, allocations: 257.5 kB / 479.2 MB, free: 21.83 MB / 366.1 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.0002981/0.3327, allocations: 147.7 kB / 479.3 MB, free: 21.71 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.007845/0.3405, allocations: 1.988 MB / 481.3 MB, free: 20.87 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 1.576e-05/0.3406, allocations: 1.094 kB / 481.3 MB, free: 20.87 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 0.006769/0.3473, allocations: 1.579 MB / 482.9 MB, free: 20.16 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001454/0.3488, allocations: 176.4 kB / 483.1 MB, free: 20.09 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004317/0.3531, allocations: 1.774 MB / 484.8 MB, free: 18.99 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006409/0.3537, allocations: 343.3 kB / 485.2 MB, free: 18.88 MB / 366.1 MB Notification: Performance of simCode: alias equations: time 0.000732/0.3545, allocations: 109.3 kB / 485.3 MB, free: 18.84 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000332/0.3548, allocations: 62.84 kB / 485.3 MB, free: 18.83 MB / 366.1 MB Notification: Performance of SimCode: time 2.114e-06/0.3548, allocations: 0 / 485.3 MB, free: 18.83 MB / 366.1 MB Notification: Performance of Templates: time 0.01996/0.3748, allocations: 13.03 MB / 498.4 MB, free: 8.191 MB / 366.1 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=480 -lv LOG_STATS > AES_AES.Coursework.ThermSys_component_models.Controlled_AHU_case_002.pipe 2>&1) [Timeout 480] [Calling sys.exit(0), Time elapsed: 5.802550405263901] Failed to read output from testmodel.py, exit status != 0: 0.38673561438918114 0.396204649 0.364942091 Calling exit ...