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.001881/0.001881, allocations: 108.3 kB / 19.73 MB, free: 1.898 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.002541/0.002541, allocations: 213.9 kB / 23.01 MB, free: 4.992 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.603/1.603, 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.1092/0.1092, allocations: 24.04 MB / 337.2 MB, free: 11.35 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="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(AES.Devel_test_models.Test_AHU_001,fileNamePrefix="AES_AES_Devel_test_models_Test_AHU_001",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.002526/0.002526, allocations: 59.91 kB / 473.8 MB, free: 6.383 MB / 334.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.361/0.3635, allocations: 59.57 MB / 0.5209 GB, free: 10.05 MB / 382.1 MB Notification: Performance of NFInst.instantiate(AES.Devel_test_models.Test_AHU_001): time 0.004469/0.368, allocations: 3.807 MB / 0.5246 GB, free: 7.484 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.00234/0.3704, allocations: 1.303 MB / 0.5259 GB, free: 6.555 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002732/0.3706, allocations: 8.094 kB / 0.5259 GB, free: 6.551 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001616/0.3708, allocations: 90.2 kB / 0.526 GB, free: 6.496 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0004387/0.3712, allocations: 242.6 kB / 0.5262 GB, free: 6.32 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0005954/0.3718, allocations: 302.5 kB / 0.5265 GB, free: 6.137 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.0009339/0.3728, allocations: 1.164 MB / 0.5277 GB, free: 5.539 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0005677/0.3733, allocations: 404.4 kB / 0.528 GB, free: 5.359 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0004372/0.3738, allocations: 434.7 kB / 0.5285 GB, free: 5.168 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0005015/0.3743, allocations: 396.3 kB / 0.5288 GB, free: 5.012 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001375/0.3744, allocations: 99.94 kB / 0.5289 GB, free: 5.012 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001797/0.3746, allocations: 100.2 kB / 0.529 GB, free: 5.012 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001494/0.3747, allocations: 215.5 kB / 0.5292 GB, free: 4.863 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 0.000348/0.3751, allocations: 383.2 kB / 0.5296 GB, free: 4.676 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0009813/0.3761, allocations: 1.039 MB / 0.5306 GB, free: 4.262 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.28e-06/0.3761, allocations: 1.922 kB / 0.5306 GB, free: 4.262 MB / 382.1 MB Notification: Performance of FrontEnd: time 1.673e-06/0.3761, allocations: 0 / 0.5306 GB, free: 4.262 MB / 382.1 MB Notification: Performance of Transformations before backend: time 2.13e-05/0.3761, allocations: 0 / 0.5306 GB, free: 4.262 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.002197/0.3783, allocations: 0.9751 MB / 0.5316 GB, free: 3.656 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.876e-05/0.3783, allocations: 11.05 kB / 0.5316 GB, free: 3.656 MB / 382.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001567/0.3785, allocations: 141.4 kB / 0.5317 GB, free: 3.559 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000139/0.3786, allocations: 79.81 kB / 0.5318 GB, free: 3.52 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002108/0.3788, allocations: 199.4 kB / 0.532 GB, free: 3.324 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.278e-05/0.3789, allocations: 73.19 kB / 0.532 GB, free: 3.285 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001326/0.379, allocations: 84.22 kB / 0.5321 GB, free: 3.258 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001362/0.3804, allocations: 0.7529 MB / 0.5329 GB, free: 2.93 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.326e-05/0.3804, allocations: 4.609 kB / 0.5329 GB, free: 2.926 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.62e-05/0.3805, allocations: 36.34 kB / 0.5329 GB, free: 2.898 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.064e-05/0.3805, allocations: 21.34 kB / 0.5329 GB, free: 2.898 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00131/0.3818, allocations: 0.713 MB / 0.5336 GB, free: 2.656 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.003558/0.3854, allocations: 1.787 MB / 0.5354 GB, free: 1.676 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001699/0.3871, allocations: 0.837 MB / 0.5362 GB, free: 1.359 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004967/0.3876, allocations: 302.9 kB / 0.5365 GB, free: 1.234 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 6.231e-05/0.3877, allocations: 12.38 kB / 0.5365 GB, free: 1.234 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.59e-05/0.3877, allocations: 44.69 kB / 0.5365 GB, free: 1.188 MB / 382.1 MB Notification: Performance of pre-optimization done (n=103): time 3.266e-06/0.3877, allocations: 3.938 kB / 0.5365 GB, free: 1.184 MB / 382.1 MB Notification: Performance of matching and sorting (n=114): time 0.009038/0.3967, allocations: 3.106 MB / 0.5396 GB, free: 15.87 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.674e-05/0.3968, allocations: 64.55 kB / 0.5396 GB, free: 15.81 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003121/0.3971, allocations: 215.3 kB / 0.5398 GB, free: 15.67 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 8.486e-05/0.3972, allocations: 49.61 kB / 0.5399 GB, free: 15.62 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002305/0.3974, allocations: 267.4 kB / 0.5401 GB, free: 15.4 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0004038/0.3978, allocations: 403.6 kB / 0.5405 GB, free: 15.08 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002744/0.3981, allocations: 147.2 kB / 0.5407 GB, free: 15.01 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.0002199/0.3983, allocations: 366 kB / 0.541 GB, free: 14.67 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006067/0.3989, allocations: 297.8 kB / 0.5413 GB, free: 14.55 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000698/0.3996, allocations: 393.4 kB / 0.5417 GB, free: 14.37 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.01165/0.4113, allocations: 2.319 MB / 0.5439 GB, free: 13.52 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.355e-06/0.4113, allocations: 0 / 0.5439 GB, free: 13.52 MB / 398.1 MB Notification: Performance of matching and sorting (n=125) (initialization): time 0.002974/0.4142, allocations: 1.169 MB / 0.5451 GB, free: 12.88 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.43e-05/0.4143, allocations: 10.34 kB / 0.5451 GB, free: 12.88 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.929e-06/0.4143, allocations: 1.156 kB / 0.5451 GB, free: 12.88 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.00149/0.4158, allocations: 325.4 kB / 0.5454 GB, free: 12.71 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.005529/0.4213, allocations: 0.7444 MB / 0.5461 GB, free: 12.48 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01585/0.4371, allocations: 14.8 MB / 0.5606 GB, free: 13.84 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000875/0.438, allocations: 34.11 kB / 0.5606 GB, free: 13.81 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001915/0.4382, allocations: 29.53 kB / 0.5606 GB, free: 13.8 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.0006953/0.4389, allocations: 229.5 kB / 0.5609 GB, free: 13.61 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001916/0.4391, allocations: 57.12 kB / 0.5609 GB, free: 13.58 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003727/0.4428, allocations: 1.379 MB / 0.5623 GB, free: 12.72 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.674e-05/0.4428, allocations: 19.06 kB / 0.5623 GB, free: 12.71 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.108e-05/0.4429, allocations: 1.406 kB / 0.5623 GB, free: 12.71 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.174e-05/0.4429, allocations: 9.156 kB / 0.5623 GB, free: 12.71 MB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.005511/0.4484, allocations: 2.367 MB / 0.5646 GB, free: 11.12 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.893e-05/0.4484, allocations: 7.438 kB / 0.5646 GB, free: 11.12 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.005101/0.4535, allocations: 0.6867 MB / 0.5653 GB, free: 10.91 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.002592/0.4561, allocations: 485.6 kB / 0.5657 GB, free: 10.66 MB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.000253/0.4564, allocations: 29.75 kB / 0.5658 GB, free: 10.64 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0171/0.4735, allocations: 15.05 MB / 0.5805 GB, free: 11.58 MB / 430.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.444e-05/0.4735, allocations: 12.09 kB / 0.5805 GB, free: 11.57 MB / 430.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.005042/0.4785, allocations: 1.944 MB / 0.5824 GB, free: 9.508 MB / 430.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002607/0.4788, allocations: 59.7 kB / 0.5824 GB, free: 9.449 MB / 430.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001793/0.4789, allocations: 28 kB / 0.5825 GB, free: 9.422 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007407/0.4797, allocations: 35.98 kB / 0.5825 GB, free: 9.387 MB / 430.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003484/0.48, allocations: 132.5 kB / 0.5826 GB, free: 9.258 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.628e-05/0.4801, allocations: 36 kB / 0.5827 GB, free: 9.223 MB / 430.1 MB Notification: Performance of sorting global known variables: time 0.0002237/0.4804, allocations: 159.2 kB / 0.5828 GB, free: 9.066 MB / 430.1 MB Notification: Performance of sort global known variables: time 1.2e-07/0.4804, allocations: 4 kB / 0.5828 GB, free: 9.062 MB / 430.1 MB Notification: Performance of remove unused functions: time 0.001545/0.4819, allocations: 260 kB / 0.5831 GB, free: 8.809 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.004649/0.4866, allocations: 2.531 MB / 0.5855 GB, free: 6.148 MB / 430.1 MB Notification: Performance of simCode: created initialization part: time 0.007683/0.4942, allocations: 1.94 MB / 0.5874 GB, free: 4.156 MB / 430.1 MB Notification: Performance of simCode: created event and clocks part: time 1.453e-05/0.4942, allocations: 4 kB / 0.5874 GB, free: 4.152 MB / 430.1 MB Notification: Performance of simCode: created simulation system equations: time 0.006449/0.5007, allocations: 1.603 MB / 0.589 GB, free: 2.5 MB / 430.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001424/0.5021, allocations: 181.8 kB / 0.5892 GB, free: 2.32 MB / 430.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0128/0.5149, allocations: 6.398 MB / 0.5954 GB, free: 11.62 MB / 446.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000454/0.5154, allocations: 336.3 kB / 0.5957 GB, free: 11.26 MB / 446.1 MB Notification: Performance of simCode: alias equations: time 0.0005587/0.5159, allocations: 93.09 kB / 0.5958 GB, free: 11.17 MB / 446.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004279/0.5164, allocations: 239.4 kB / 0.5961 GB, free: 10.93 MB / 446.1 MB Notification: Performance of SimCode: time 7.51e-07/0.5164, allocations: 0 / 0.5961 GB, free: 10.93 MB / 446.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.06515/0.5815, allocations: 20.28 MB / 0.6159 GB, free: 6.961 MB / 462.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 14.05/14.63, allocations: 10.86 kB / 0.6159 GB, free: 6.953 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: 17.96020539989695] Failed to read output from testmodel.py, exit status != 0: 14.771714730653912 14.789396104 14.409899777 Calling exit ...