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.001384/0.001384, allocations: 110.4 kB / 18.94 MB, free: 2.793 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.001752/0.001752, allocations: 224.4 kB / 22.26 MB, free: 5.215 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.479/1.479, allocations: 230.6 MB / 256 MB, free: 7.996 MB / 206.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.1098/0.1098, allocations: 24.12 MB / 336.6 MB, free: 11.42 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: "" <> buildModelFMU(AES.Coursework.ThermSys_component_models.Controlled_AHU_case_002,fileNamePrefix="AES_AES_Coursework_ThermSys_component_models_Controlled_AHU_case_002",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(AES.Coursework.ThermSys_component_models.Controlled_AHU_case_002,fileNamePrefix="AES_AES_Coursework_ThermSys_component_models_Controlled_AHU_case_002",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: AES requested package Modelica of version 4.0.0. Modelica 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.003093/0.003093, allocations: 67.91 kB / 473.3 MB, free: 6.367 MB / 334.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3171/0.3202, allocations: 59.6 MB / 0.5204 GB, free: 10.1 MB / 382.1 MB Notification: Performance of NFInst.instantiate(AES.Coursework.ThermSys_component_models.Controlled_AHU_case_002): time 0.004244/0.3244, allocations: 4.279 MB / 0.5246 GB, free: 7.02 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.001878/0.3263, allocations: 1.368 MB / 0.5259 GB, free: 6.02 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001886/0.3265, allocations: 4.812 kB / 0.5259 GB, free: 6.02 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001517/0.3266, allocations: 85.03 kB / 0.526 GB, free: 5.969 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003906/0.327, allocations: 242.2 kB / 0.5263 GB, free: 5.793 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0005404/0.3276, allocations: 304.9 kB / 0.5265 GB, free: 5.609 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.001001/0.3286, allocations: 1.172 MB / 0.5277 GB, free: 5.004 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0005582/0.3291, allocations: 0.5049 MB / 0.5282 GB, free: 4.773 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0004468/0.3296, allocations: 482.7 kB / 0.5286 GB, free: 4.559 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0006173/0.3302, allocations: 0.5135 MB / 0.5291 GB, free: 4.328 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 0.000132/0.3303, allocations: 111.9 kB / 0.5293 GB, free: 4.328 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001669/0.3305, allocations: 111.2 kB / 0.5294 GB, free: 4.328 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001501/0.3306, allocations: 239.3 kB / 0.5296 GB, free: 4.168 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0003719/0.331, allocations: 481.7 kB / 0.53 GB, free: 3.895 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001059/0.3321, allocations: 1.124 MB / 0.5311 GB, free: 3.449 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.278e-06/0.3321, allocations: 0 / 0.5311 GB, free: 3.449 MB / 382.1 MB Notification: Performance of FrontEnd: time 1.563e-06/0.3321, allocations: 3.938 kB / 0.5311 GB, free: 3.445 MB / 382.1 MB Notification: Performance of Transformations before backend: time 1.748e-05/0.3321, allocations: 0 / 0.5311 GB, free: 3.445 MB / 382.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.002399/0.3345, allocations: 0.9917 MB / 0.5321 GB, free: 2.84 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.463e-05/0.3346, allocations: 10.55 kB / 0.5321 GB, free: 2.84 MB / 382.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001634/0.3347, allocations: 138.2 kB / 0.5323 GB, free: 2.746 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001569/0.3349, allocations: 80 kB / 0.5323 GB, free: 2.707 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002204/0.3351, allocations: 201.8 kB / 0.5325 GB, free: 2.508 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.677e-05/0.3352, allocations: 73.92 kB / 0.5326 GB, free: 2.469 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001498/0.3353, allocations: 88.16 kB / 0.5327 GB, free: 2.438 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001585/0.3369, allocations: 0.8205 MB / 0.5335 GB, free: 2.109 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.399e-05/0.3369, allocations: 1.406 kB / 0.5335 GB, free: 2.109 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.058e-05/0.337, allocations: 35.09 kB / 0.5335 GB, free: 2.082 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.001e-05/0.337, allocations: 21.03 kB / 0.5335 GB, free: 2.082 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001471/0.3385, allocations: 0.845 MB / 0.5344 GB, free: 1.793 MB / 382.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.004095/0.3426, allocations: 2.556 MB / 0.5369 GB, free: 204 kB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002053/0.3446, allocations: 0.9496 MB / 0.5378 GB, free: 15.85 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006856/0.3453, allocations: 381.3 kB / 0.5382 GB, free: 15.7 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 8.803e-05/0.3454, allocations: 19.5 kB / 0.5382 GB, free: 15.69 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.008e-05/0.3455, allocations: 48.09 kB / 0.5382 GB, free: 15.64 MB / 398.1 MB Notification: Performance of preOpt simplifyInStream (simulation): time 0.0007546/0.3462, allocations: 167.2 kB / 0.5384 GB, free: 15.57 MB / 398.1 MB Notification: Performance of pre-optimization done (n=113): time 3.537e-06/0.3462, allocations: 0 / 0.5384 GB, free: 15.57 MB / 398.1 MB Notification: Performance of matching and sorting (n=124): time 0.008685/0.3549, allocations: 3.245 MB / 0.5415 GB, free: 14.15 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.274e-05/0.355, allocations: 69.39 kB / 0.5416 GB, free: 14.08 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000257/0.3552, allocations: 214.4 kB / 0.5418 GB, free: 13.95 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 9.53e-05/0.3553, allocations: 45.83 kB / 0.5419 GB, free: 13.9 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001854/0.3555, allocations: 242.7 kB / 0.5421 GB, free: 13.7 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.000395/0.3559, allocations: 441.6 kB / 0.5425 GB, free: 13.35 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002999/0.3562, allocations: 179 kB / 0.5427 GB, free: 13.26 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.0001901/0.3564, allocations: 362.8 kB / 0.543 GB, free: 12.93 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0007002/0.3571, allocations: 361 kB / 0.5434 GB, free: 12.75 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007265/0.3578, allocations: 463 kB / 0.5438 GB, free: 12.48 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.01903/0.3768, allocations: 3.472 MB / 0.5472 GB, free: 10.76 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.248e-06/0.3768, allocations: 0 / 0.5472 GB, free: 10.76 MB / 398.1 MB Notification: Performance of matching and sorting (n=135) (initialization): time 0.002845/0.3797, allocations: 1.205 MB / 0.5484 GB, free: 10.11 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.239e-05/0.3797, allocations: 5.688 kB / 0.5484 GB, free: 10.11 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.157e-06/0.3797, allocations: 1.156 kB / 0.5484 GB, free: 10.11 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001065/0.3808, allocations: 224.8 kB / 0.5486 GB, free: 9.977 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.006392/0.3872, allocations: 0.8116 MB / 0.5494 GB, free: 9.734 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01331/0.4005, allocations: 13.9 MB / 0.563 GB, free: 11.62 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0009234/0.4014, allocations: 33.67 kB / 0.563 GB, free: 11.6 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.555e-05/0.4015, allocations: 45.61 kB / 0.563 GB, free: 11.58 MB / 414.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.0005136/0.402, allocations: 247 kB / 0.5633 GB, free: 11.38 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000129/0.4021, allocations: 54.89 kB / 0.5633 GB, free: 11.35 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003388/0.4055, allocations: 1.477 MB / 0.5648 GB, free: 10.44 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.151e-05/0.4055, allocations: 12.47 kB / 0.5648 GB, free: 10.44 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.933e-06/0.4055, allocations: 2.281 kB / 0.5648 GB, free: 10.44 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.336e-05/0.4056, allocations: 3.984 kB / 0.5648 GB, free: 10.43 MB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004841/0.4104, allocations: 2.556 MB / 0.5673 GB, free: 8.688 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.558e-06/0.4104, allocations: 7.156 kB / 0.5673 GB, free: 8.688 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.005697/0.4161, allocations: 0.7595 MB / 0.568 GB, free: 8.465 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.002103/0.4182, allocations: 368.8 kB / 0.5684 GB, free: 8.266 MB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001063/0.4183, allocations: 37.55 kB / 0.5684 GB, free: 8.242 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01382/0.4321, allocations: 14.16 MB / 0.5823 GB, free: 9.211 MB / 430.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.705e-06/0.4321, allocations: 8 kB / 0.5823 GB, free: 9.203 MB / 430.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.004201/0.4363, allocations: 2.059 MB / 0.5843 GB, free: 7.035 MB / 430.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001662/0.4365, allocations: 67.48 kB / 0.5843 GB, free: 6.969 MB / 430.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001386/0.4366, allocations: 32.06 kB / 0.5844 GB, free: 6.938 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007184/0.4374, allocations: 35.98 kB / 0.5844 GB, free: 6.902 MB / 430.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002615/0.4376, allocations: 124.6 kB / 0.5845 GB, free: 6.777 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.266e-05/0.4377, allocations: 43.98 kB / 0.5846 GB, free: 6.734 MB / 430.1 MB Notification: Performance of sorting global known variables: time 0.0001838/0.4379, allocations: 161.1 kB / 0.5847 GB, free: 6.578 MB / 430.1 MB Notification: Performance of sort global known variables: time 1.01e-07/0.4379, allocations: 7.938 kB / 0.5847 GB, free: 6.57 MB / 430.1 MB Notification: Performance of remove unused functions: time 0.001122/0.439, allocations: 256 kB / 0.585 GB, free: 6.32 MB / 430.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.004419/0.4434, allocations: 2.648 MB / 0.5876 GB, free: 3.555 MB / 430.1 MB Notification: Performance of simCode: created initialization part: time 0.007884/0.4513, allocations: 1.991 MB / 0.5895 GB, free: 1.512 MB / 430.1 MB Notification: Performance of simCode: created event and clocks part: time 6.983e-06/0.4513, allocations: 4 kB / 0.5895 GB, free: 1.508 MB / 430.1 MB Notification: Performance of simCode: created simulation system equations: time 0.006715/0.458, allocations: 1.583 MB / 0.5911 GB, free: 15.88 MB / 446.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001332/0.4594, allocations: 205.8 kB / 0.5912 GB, free: 15.67 MB / 446.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0122/0.4716, allocations: 6.63 MB / 0.5977 GB, free: 8.75 MB / 446.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006497/0.4722, allocations: 0.9338 MB / 0.5986 GB, free: 7.785 MB / 446.1 MB Notification: Performance of simCode: alias equations: time 0.0006735/0.4729, allocations: 117.5 kB / 0.5987 GB, free: 7.668 MB / 446.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004975/0.4734, allocations: 255.3 kB / 0.599 GB, free: 7.418 MB / 446.1 MB Notification: Performance of SimCode: time 6.31e-07/0.4734, allocations: 4 kB / 0.599 GB, free: 7.414 MB / 446.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.06619/0.5396, allocations: 20.56 MB / 0.6191 GB, free: 3.086 MB / 462.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 14.72/15.26, allocations: 0 / 0.6191 GB, free: 3.086 MB / 462.1 MB " [Timeout remaining time 645] (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 & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_AES_AES_Coursework_ThermSys_component_models_Controlled_AHU_case_002_fmu --startTime=0 --stopTime=8000 --stepSize=0.8 --timeout=50 --tolerance=1e-06 AES_AES_Coursework_ThermSys_component_models_Controlled_AHU_case_002.fmu > AES_AES.Coursework.ThermSys_component_models.Controlled_AHU_case_002.pipe 2>&1) [Timeout 52.5] [Calling sys.exit(0), Time elapsed: 18.356285323156044] Failed to read output from testmodel.py, exit status != 0: 15.39703397685662 15.413151929 15.077667179 Calling exit ...