Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr AES_AES.Devel_test_models.Test_AHU_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.001424/0.001424, allocations: 97.88 kB / 19.73 MB, free: 2.117 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.001846/0.001846, allocations: 217.6 kB / 23.03 MB, free: 4.918 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.485/1.485, allocations: 230.6 MB / 256.8 MB, free: 7.801 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.1025/0.1025, allocations: 22.93 MB / 336.2 MB, free: 12.4 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.Devel_test_models.Test_AHU_001,fileNamePrefix="AES_AES_Devel_test_models_Test_AHU_001",fmuType="cs",version="2.0",platforms={"static"}) "" <> buildModelFMU(AES.Devel_test_models.Test_AHU_001,fileNamePrefix="AES_AES_Devel_test_models_Test_AHU_001",fmuType="cs",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.002115/0.002115, allocations: 69.41 kB / 472.2 MB, free: 7.852 MB / 334.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3654/0.3675, allocations: 59.29 MB / 0.519 GB, free: 10.61 MB / 382.1 MB Notification: Performance of NFInst.instantiate(AES.Devel_test_models.Test_AHU_001): time 0.005035/0.3725, allocations: 3.801 MB / 0.5227 GB, free: 8.129 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.002906/0.3754, allocations: 1.302 MB / 0.524 GB, free: 7.199 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003964/0.3758, allocations: 4.094 kB / 0.524 GB, free: 7.199 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001968/0.376, allocations: 86.58 kB / 0.5241 GB, free: 7.148 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0005165/0.3766, allocations: 233.5 kB / 0.5243 GB, free: 6.98 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0007014/0.3773, allocations: 311.8 kB / 0.5246 GB, free: 6.789 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.001049/0.3783, allocations: 1.164 MB / 0.5257 GB, free: 6.191 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0004926/0.3788, allocations: 409.6 kB / 0.5261 GB, free: 6.008 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.00047/0.3793, allocations: 438.1 kB / 0.5266 GB, free: 5.812 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.000489/0.3798, allocations: 448.5 kB / 0.527 GB, free: 5.605 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001294/0.3799, allocations: 98.25 kB / 0.5271 GB, free: 5.605 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001662/0.3801, allocations: 101 kB / 0.5272 GB, free: 5.605 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001739/0.3802, allocations: 202.8 kB / 0.5274 GB, free: 5.469 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0003612/0.3806, allocations: 394.2 kB / 0.5277 GB, free: 5.27 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001009/0.3816, allocations: 1.041 MB / 0.5288 GB, free: 4.855 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.539e-06/0.3816, allocations: 1 kB / 0.5288 GB, free: 4.855 MB / 382.1 MB Notification: Performance of FrontEnd: time 1.102e-06/0.3816, allocations: 0 / 0.5288 GB, free: 4.855 MB / 382.1 MB Notification: Performance of Transformations before backend: time 2.376e-05/0.3816, allocations: 0 / 0.5288 GB, free: 4.855 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.002106/0.3837, allocations: 0.977 MB / 0.5297 GB, free: 4.25 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.756e-05/0.3838, allocations: 10.5 kB / 0.5297 GB, free: 4.25 MB / 382.1 MB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 3.997e-05/0.3838, allocations: 24 kB / 0.5297 GB, free: 4.246 MB / 382.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001443/0.384, allocations: 140.9 kB / 0.5299 GB, free: 4.148 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001482/0.3841, allocations: 80.36 kB / 0.53 GB, free: 4.109 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002239/0.3843, allocations: 197.7 kB / 0.5301 GB, free: 3.914 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.269e-05/0.3844, allocations: 73.81 kB / 0.5302 GB, free: 3.879 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001497/0.3845, allocations: 84.41 kB / 0.5303 GB, free: 3.852 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001425/0.386, allocations: 0.7567 MB / 0.531 GB, free: 3.52 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.335e-05/0.386, allocations: 1.219 kB / 0.531 GB, free: 3.52 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.73e-05/0.3861, allocations: 34.34 kB / 0.5311 GB, free: 3.492 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.677e-05/0.3861, allocations: 22.27 kB / 0.5311 GB, free: 3.492 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001372/0.3875, allocations: 0.7269 MB / 0.5318 GB, free: 3.242 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: 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.003719/0.3912, allocations: 1.794 MB / 0.5336 GB, free: 2.258 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001756/0.3929, allocations: 0.8243 MB / 0.5344 GB, free: 1.957 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005399/0.3935, allocations: 307.1 kB / 0.5346 GB, free: 1.828 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 6.908e-05/0.3936, allocations: 12.59 kB / 0.5347 GB, free: 1.828 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.744e-05/0.3936, allocations: 45.52 kB / 0.5347 GB, free: 1.781 MB / 382.1 MB Notification: Performance of pre-optimization done (n=103): time 5.3e-06/0.3936, allocations: 1.781 kB / 0.5347 GB, free: 1.781 MB / 382.1 MB Notification: Performance of matching and sorting (n=114): time 0.009844/0.4034, allocations: 3.109 MB / 0.5377 GB, free: 484 kB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.444e-05/0.4035, allocations: 67.2 kB / 0.5378 GB, free: 416 kB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003388/0.4038, allocations: 215.7 kB / 0.538 GB, free: 272 kB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 9.097e-05/0.4039, allocations: 45.8 kB / 0.5381 GB, free: 224 kB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.000196/0.4041, allocations: 252.7 kB / 0.5383 GB, free: 16 kB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0005191/0.4046, allocations: 411.5 kB / 0.5387 GB, free: 15.68 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003326/0.405, allocations: 150.8 kB / 0.5388 GB, free: 15.61 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.0002347/0.4052, allocations: 362.1 kB / 0.5392 GB, free: 15.27 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006608/0.4059, allocations: 301.8 kB / 0.5395 GB, free: 15.15 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007236/0.4066, allocations: 392.9 kB / 0.5398 GB, free: 14.96 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.01243/0.419, allocations: 2.315 MB / 0.5421 GB, free: 14.27 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.282e-06/0.419, allocations: 0 / 0.5421 GB, free: 14.27 MB / 398.1 MB Notification: Performance of matching and sorting (n=125) (initialization): time 0.003011/0.422, allocations: 1.166 MB / 0.5432 GB, free: 13.67 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.357e-05/0.4221, allocations: 9.25 kB / 0.5432 GB, free: 13.66 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.687e-06/0.4221, allocations: 1.688 kB / 0.5433 GB, free: 13.66 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001615/0.4237, allocations: 333.6 kB / 0.5436 GB, free: 13.48 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.006157/0.4298, allocations: 0.7393 MB / 0.5443 GB, free: 13.27 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01569/0.4455, allocations: 14.81 MB / 0.5588 GB, free: 14.61 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0009037/0.4464, allocations: 30.09 kB / 0.5588 GB, free: 14.59 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.934e-05/0.4465, allocations: 29.91 kB / 0.5588 GB, free: 14.58 MB / 414.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 (103): * Single equations (assignments): 93 * 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,1,100.0%), (1,2,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 1 system {(3,11)} Notification: Performance of prepare postOptimizeDAE: time 0.0005463/0.4471, allocations: 235.1 kB / 0.559 GB, free: 14.38 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001269/0.4472, allocations: 56.44 kB / 0.5591 GB, free: 14.35 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003511/0.4507, allocations: 1.375 MB / 0.5604 GB, free: 13.5 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.182e-05/0.4507, allocations: 15.22 kB / 0.5605 GB, free: 13.5 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.991e-06/0.4507, allocations: 6.156 kB / 0.5605 GB, free: 13.5 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.886e-05/0.4507, allocations: 7.969 kB / 0.5605 GB, free: 13.49 MB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.005154/0.4559, allocations: 2.368 MB / 0.5628 GB, free: 11.9 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.208e-05/0.4559, allocations: 7.375 kB / 0.5628 GB, free: 11.9 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.005559/0.4615, allocations: 0.6875 MB / 0.5635 GB, free: 11.69 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.002732/0.4642, allocations: 492.8 kB / 0.5639 GB, free: 11.44 MB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002049/0.4644, allocations: 29.97 kB / 0.564 GB, free: 11.42 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01607/0.4805, allocations: 15.03 MB / 0.5786 GB, free: 12.66 MB / 430.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.269e-05/0.4805, allocations: 11.84 kB / 0.5786 GB, free: 12.66 MB / 430.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00455/0.485, allocations: 1.951 MB / 0.5806 GB, free: 11.19 MB / 430.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002494/0.4853, allocations: 59.72 kB / 0.5806 GB, free: 11.13 MB / 430.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001125/0.4854, allocations: 28 kB / 0.5806 GB, free: 11.1 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.00065/0.486, allocations: 31.98 kB / 0.5807 GB, free: 11.07 MB / 430.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003283/0.4864, allocations: 128.5 kB / 0.5808 GB, free: 10.95 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.688e-05/0.4864, allocations: 43.94 kB / 0.5808 GB, free: 10.9 MB / 430.1 MB Notification: Performance of sorting global known variables: time 0.000185/0.4866, allocations: 163.2 kB / 0.581 GB, free: 10.74 MB / 430.1 MB Notification: Performance of sort global known variables: time 9e-08/0.4866, allocations: 3.938 kB / 0.581 GB, free: 10.74 MB / 430.1 MB Notification: Performance of remove unused functions: time 0.001291/0.4879, allocations: 260 kB / 0.5812 GB, free: 10.48 MB / 430.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.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 (92): * Single equations (assignments): 82 * 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): 2 systems {(2,5,100.0%), (1,2,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 2 systems {(1,5), (3,11)} Notification: Performance of Backend phase and start with SimCode phase: time 0.004518/0.4924, allocations: 2.539 MB / 0.5837 GB, free: 7.812 MB / 430.1 MB Notification: Performance of simCode: created initialization part: time 0.007799/0.5002, allocations: 1.936 MB / 0.5856 GB, free: 5.828 MB / 430.1 MB Notification: Performance of simCode: created event and clocks part: time 1.45e-05/0.5003, allocations: 4 kB / 0.5856 GB, free: 5.824 MB / 430.1 MB Notification: Performance of simCode: created simulation system equations: time 0.006661/0.5069, allocations: 1.603 MB / 0.5872 GB, free: 4.172 MB / 430.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001141/0.5081, allocations: 177.9 kB / 0.5873 GB, free: 3.996 MB / 430.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01225/0.5203, allocations: 6.393 MB / 0.5936 GB, free: 13.29 MB / 446.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003987/0.5207, allocations: 340.2 kB / 0.5939 GB, free: 12.93 MB / 446.1 MB Notification: Performance of simCode: alias equations: time 0.0005236/0.5212, allocations: 89.11 kB / 0.594 GB, free: 12.84 MB / 446.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004063/0.5216, allocations: 247.3 kB / 0.5942 GB, free: 12.6 MB / 446.1 MB Notification: Performance of SimCode: time 8.61e-07/0.5216, allocations: 0 / 0.5942 GB, free: 12.6 MB / 446.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.06298/0.5846, allocations: 20.29 MB / 0.6141 GB, free: 8.641 MB / 462.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 14.72/15.3, allocations: 14.41 kB / 0.6141 GB, free: 8.633 MB / 462.1 MB " [Timeout remaining time 645] (rm -f AES_AES.Devel_test_models.Test_AHU_001.pipe ; mkfifo AES_AES.Devel_test_models.Test_AHU_001.pipe ; head -c 1048576 < AES_AES.Devel_test_models.Test_AHU_001.pipe >> ../files/AES_AES.Devel_test_models.Test_AHU_001.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_AES_AES_Devel_test_models_Test_AHU_001_fmu --startTime=0 --stopTime=8000 --stepSize=0.8 --timeout=50 --tolerance=1e-06 AES_AES_Devel_test_models_Test_AHU_001.fmu > AES_AES.Devel_test_models.Test_AHU_001.pipe 2>&1) [Timeout 52.5] [Calling sys.exit(0), Time elapsed: 18.6801297130296] Failed to read output from testmodel.py, exit status != 0: 15.491473429021426 15.510959817 15.125931103 Calling exit ...