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.001857/0.001857, allocations: 110.4 kB / 18.94 MB, free: 2.953 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.002997/0.002997, allocations: 215 kB / 22.25 MB, free: 5.133 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.593/1.593, allocations: 230.6 MB / 256 MB, free: 8.008 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.1077/0.1077, allocations: 24.12 MB / 336.6 MB, free: 11.45 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.003341/0.003341, allocations: 71.89 kB / 473.3 MB, free: 6.375 MB / 334.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3802/0.3835, allocations: 59.59 MB / 0.5204 GB, free: 10.13 MB / 382.1 MB Notification: Performance of NFInst.instantiate(AES.Devel_test_models.Test_AHU_001): time 0.005711/0.3892, allocations: 4.295 MB / 0.5246 GB, free: 7.035 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.003767/0.393, allocations: 1.36 MB / 0.5259 GB, free: 6.043 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0008232/0.3938, allocations: 12.34 kB / 0.526 GB, free: 6.035 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002807/0.3941, allocations: 90.38 kB / 0.526 GB, free: 5.98 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0008744/0.395, allocations: 233.3 kB / 0.5263 GB, free: 5.812 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0009883/0.396, allocations: 308.1 kB / 0.5266 GB, free: 5.625 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.001548/0.3975, allocations: 1.168 MB / 0.5277 GB, free: 5.023 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.000632/0.3981, allocations: 406.7 kB / 0.5281 GB, free: 4.844 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0005566/0.3987, allocations: 430.9 kB / 0.5285 GB, free: 4.652 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0005912/0.3993, allocations: 452.7 kB / 0.5289 GB, free: 4.441 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001434/0.3994, allocations: 99.56 kB / 0.529 GB, free: 4.441 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001815/0.3996, allocations: 99.53 kB / 0.5291 GB, free: 4.441 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001653/0.3998, allocations: 207.8 kB / 0.5293 GB, free: 4.301 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0004017/0.4002, allocations: 453 kB / 0.5298 GB, free: 4.043 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001208/0.4014, allocations: 1.034 MB / 0.5308 GB, free: 3.629 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 7.053e-06/0.4014, allocations: 1.219 kB / 0.5308 GB, free: 3.629 MB / 382.1 MB Notification: Performance of FrontEnd: time 3.437e-06/0.4014, allocations: 4 kB / 0.5308 GB, free: 3.625 MB / 382.1 MB Notification: Performance of Transformations before backend: time 2.326e-05/0.4014, allocations: 0 / 0.5308 GB, free: 3.625 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.00239/0.4038, allocations: 0.9794 MB / 0.5317 GB, free: 3.016 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.529e-05/0.4039, allocations: 11.33 kB / 0.5317 GB, free: 3.016 MB / 382.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001709/0.404, allocations: 136.6 kB / 0.5319 GB, free: 2.922 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001632/0.4042, allocations: 80.91 kB / 0.5319 GB, free: 2.883 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002377/0.4044, allocations: 191.2 kB / 0.5321 GB, free: 2.695 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.904e-05/0.4045, allocations: 69.12 kB / 0.5322 GB, free: 2.66 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001371/0.4046, allocations: 90.55 kB / 0.5323 GB, free: 2.629 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001472/0.4061, allocations: 0.7346 MB / 0.533 GB, free: 2.324 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.477e-05/0.4061, allocations: 0 / 0.533 GB, free: 2.324 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.736e-05/0.4062, allocations: 35.47 kB / 0.533 GB, free: 2.297 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.819e-05/0.4063, allocations: 21.09 kB / 0.533 GB, free: 2.297 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001487/0.4078, allocations: 0.7204 MB / 0.5338 GB, free: 2.059 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.004684/0.4125, allocations: 2.368 MB / 0.5361 GB, free: 0.543 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002013/0.4145, allocations: 0.8356 MB / 0.5369 GB, free: 236 kB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005085/0.415, allocations: 302.8 kB / 0.5372 GB, free: 108 kB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 7.253e-05/0.415, allocations: 24.45 kB / 0.5372 GB, free: 96 kB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.355e-05/0.4151, allocations: 44.61 kB / 0.5372 GB, free: 48 kB / 382.1 MB Notification: Performance of pre-optimization done (n=103): time 3.507e-06/0.4151, allocations: 0 / 0.5372 GB, free: 48 kB / 382.1 MB Notification: Performance of matching and sorting (n=114): time 0.009587/0.4247, allocations: 3.108 MB / 0.5403 GB, free: 14.74 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.76e-05/0.4247, allocations: 68.11 kB / 0.5403 GB, free: 14.67 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002555/0.425, allocations: 224.5 kB / 0.5405 GB, free: 14.52 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0001191/0.4251, allocations: 40.86 kB / 0.5406 GB, free: 14.48 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001723/0.4253, allocations: 256.1 kB / 0.5408 GB, free: 14.27 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0003669/0.4256, allocations: 414.7 kB / 0.5412 GB, free: 13.94 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002642/0.4259, allocations: 150.8 kB / 0.5414 GB, free: 13.86 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.0001941/0.4261, allocations: 356.9 kB / 0.5417 GB, free: 13.53 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005747/0.4267, allocations: 302 kB / 0.542 GB, free: 13.41 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006272/0.4273, allocations: 395.8 kB / 0.5424 GB, free: 13.22 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.01177/0.4391, allocations: 2.325 MB / 0.5446 GB, free: 12.22 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.15e-06/0.4391, allocations: 1.625 kB / 0.5446 GB, free: 12.22 MB / 398.1 MB Notification: Performance of matching and sorting (n=125) (initialization): time 0.003155/0.4422, allocations: 1.153 MB / 0.5458 GB, free: 11.6 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.995e-05/0.4422, allocations: 5.438 kB / 0.5458 GB, free: 11.6 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.266e-05/0.4422, allocations: 5.172 kB / 0.5458 GB, free: 11.6 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001621/0.4439, allocations: 337.6 kB / 0.5461 GB, free: 11.41 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.005885/0.4498, allocations: 0.738 MB / 0.5468 GB, free: 11.2 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01594/0.4657, allocations: 14.86 MB / 0.5613 GB, free: 12.46 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0008839/0.4666, allocations: 30.16 kB / 0.5614 GB, free: 12.45 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.777e-05/0.4667, allocations: 33.73 kB / 0.5614 GB, free: 12.43 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.0005166/0.4672, allocations: 223.3 kB / 0.5616 GB, free: 12.25 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001261/0.4673, allocations: 60.69 kB / 0.5617 GB, free: 12.21 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003625/0.4709, allocations: 1.378 MB / 0.563 GB, free: 11.36 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.638e-05/0.4709, allocations: 15.41 kB / 0.563 GB, free: 11.35 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.654e-06/0.471, allocations: 1.188 kB / 0.563 GB, free: 11.35 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.784e-05/0.471, allocations: 9.094 kB / 0.563 GB, free: 11.34 MB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.005531/0.4765, allocations: 2.512 MB / 0.5655 GB, free: 9.605 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.278e-05/0.4765, allocations: 7 kB / 0.5655 GB, free: 9.605 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.005301/0.4818, allocations: 0.6828 MB / 0.5662 GB, free: 9.402 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.002659/0.4845, allocations: 498.2 kB / 0.5666 GB, free: 9.141 MB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002548/0.4847, allocations: 33.73 kB / 0.5667 GB, free: 9.121 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01594/0.5007, allocations: 15.11 MB / 0.5814 GB, free: 10.04 MB / 430.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.388e-06/0.5007, allocations: 8 kB / 0.5814 GB, free: 10.03 MB / 430.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.004388/0.5051, allocations: 1.947 MB / 0.5833 GB, free: 7.961 MB / 430.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002062/0.5053, allocations: 59.72 kB / 0.5834 GB, free: 7.902 MB / 430.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001163/0.5054, allocations: 31.98 kB / 0.5834 GB, free: 7.871 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006401/0.506, allocations: 36 kB / 0.5835 GB, free: 7.836 MB / 430.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003024/0.5063, allocations: 128.5 kB / 0.5836 GB, free: 7.711 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.487e-05/0.5064, allocations: 39.98 kB / 0.5836 GB, free: 7.672 MB / 430.1 MB Notification: Performance of sorting global known variables: time 0.0001854/0.5066, allocations: 155.2 kB / 0.5838 GB, free: 7.52 MB / 430.1 MB Notification: Performance of sort global known variables: time 9e-08/0.5066, allocations: 4 kB / 0.5838 GB, free: 7.516 MB / 430.1 MB Notification: Performance of remove unused functions: time 0.001304/0.5079, allocations: 260 kB / 0.584 GB, free: 7.262 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.004633/0.5125, allocations: 2.527 MB / 0.5865 GB, free: 4.602 MB / 430.1 MB Notification: Performance of simCode: created initialization part: time 0.00789/0.5204, allocations: 1.947 MB / 0.5884 GB, free: 2.605 MB / 430.1 MB Notification: Performance of simCode: created event and clocks part: time 1.01e-05/0.5204, allocations: 7.938 kB / 0.5884 GB, free: 2.598 MB / 430.1 MB Notification: Performance of simCode: created simulation system equations: time 0.006823/0.5273, allocations: 1.595 MB / 0.59 GB, free: 0.9531 MB / 430.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001323/0.5286, allocations: 181.9 kB / 0.5901 GB, free: 0.7734 MB / 430.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01215/0.5407, allocations: 6.393 MB / 0.5964 GB, free: 10.07 MB / 446.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000611/0.5413, allocations: 0.9327 MB / 0.5973 GB, free: 9.109 MB / 446.1 MB Notification: Performance of simCode: alias equations: time 0.0005066/0.5418, allocations: 85.12 kB / 0.5974 GB, free: 9.027 MB / 446.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003862/0.5422, allocations: 247.3 kB / 0.5976 GB, free: 8.785 MB / 446.1 MB Notification: Performance of SimCode: time 8.11e-07/0.5422, allocations: 4 kB / 0.5976 GB, free: 8.781 MB / 446.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.06703/0.6093, allocations: 20.05 MB / 0.6172 GB, free: 4.941 MB / 462.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 14.6/15.21, allocations: 14.89 kB / 0.6172 GB, free: 4.93 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 & python3 -m fmpy simulate --output-file AES_AES.Devel_test_models.Test_AHU_001_res.csv --start-time 0 --stop-time 8000 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.8 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.537769237002067] Failed to read output from testmodel.py, exit status != 0: 15.34596696299559 15.36691502 14.961043735 Calling exit ...