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.001928/0.001928, allocations: 110.4 kB / 18.94 MB, free: 2.949 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.001654/0.001654, allocations: 217.8 kB / 22.25 MB, free: 5.125 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.506/1.506, allocations: 230.6 MB / 256 MB, free: 7.973 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.1113/0.1113, allocations: 24.12 MB / 336.6 MB, free: 11.43 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.002182/0.002182, allocations: 59.91 kB / 473.3 MB, free: 6.367 MB / 334.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3453/0.3475, allocations: 59.6 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.005489/0.353, allocations: 4.289 MB / 0.5246 GB, free: 7.043 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.002267/0.3552, allocations: 1.374 MB / 0.526 GB, free: 6.039 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003312/0.3556, allocations: 7.344 kB / 0.526 GB, free: 6.035 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001633/0.3557, allocations: 85.81 kB / 0.526 GB, free: 5.984 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0004209/0.3562, allocations: 241.6 kB / 0.5263 GB, free: 5.809 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0006926/0.3569, allocations: 300.2 kB / 0.5266 GB, free: 5.629 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.001077/0.3579, allocations: 1.167 MB / 0.5277 GB, free: 5.027 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0006649/0.3586, allocations: 408 kB / 0.5281 GB, free: 4.848 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0005119/0.3591, allocations: 440.2 kB / 0.5285 GB, free: 4.648 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0005038/0.3596, allocations: 438.7 kB / 0.5289 GB, free: 4.449 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001422/0.3598, allocations: 103.9 kB / 0.529 GB, free: 4.445 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001625/0.3599, allocations: 98.84 kB / 0.5291 GB, free: 4.445 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001355/0.36, allocations: 212.1 kB / 0.5293 GB, free: 4.301 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 0.000375/0.3604, allocations: 449.2 kB / 0.5298 GB, free: 4.047 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001076/0.3615, allocations: 1.034 MB / 0.5308 GB, free: 3.633 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.671e-06/0.3615, allocations: 1.344 kB / 0.5308 GB, free: 3.633 MB / 382.1 MB Notification: Performance of FrontEnd: time 2.364e-06/0.3615, allocations: 4.594 kB / 0.5308 GB, free: 3.629 MB / 382.1 MB Notification: Performance of Transformations before backend: time 1.452e-05/0.3615, allocations: 0 / 0.5308 GB, free: 3.629 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.002104/0.3636, allocations: 0.9749 MB / 0.5317 GB, free: 3.023 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.973e-05/0.3637, allocations: 14.86 kB / 0.5317 GB, free: 3.02 MB / 382.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001553/0.3638, allocations: 137.5 kB / 0.5319 GB, free: 2.926 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001336/0.364, allocations: 79.28 kB / 0.5319 GB, free: 2.887 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001921/0.3642, allocations: 198.6 kB / 0.5321 GB, free: 2.691 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.839e-05/0.3642, allocations: 70.25 kB / 0.5322 GB, free: 2.656 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001162/0.3643, allocations: 85.59 kB / 0.5323 GB, free: 2.629 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001247/0.3656, allocations: 0.7265 MB / 0.533 GB, free: 2.332 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.584e-05/0.3656, allocations: 0.8906 kB / 0.533 GB, free: 2.332 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.523e-05/0.3657, allocations: 35.72 kB / 0.533 GB, free: 2.305 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.265e-05/0.3657, allocations: 28.72 kB / 0.5331 GB, free: 2.297 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001243/0.367, allocations: 0.7239 MB / 0.5338 GB, free: 2.055 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.0036/0.3706, allocations: 2.362 MB / 0.5361 GB, free: 0.5469 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001663/0.3722, allocations: 0.8428 MB / 0.5369 GB, free: 228 kB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004852/0.3727, allocations: 306.2 kB / 0.5372 GB, free: 96 kB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 6.972e-05/0.3728, allocations: 12.38 kB / 0.5372 GB, free: 96 kB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.365e-05/0.3728, allocations: 48.8 kB / 0.5372 GB, free: 44 kB / 382.1 MB Notification: Performance of pre-optimization done (n=103): time 2.805e-06/0.3728, allocations: 0 / 0.5372 GB, free: 44 kB / 382.1 MB Notification: Performance of matching and sorting (n=114): time 0.009194/0.382, allocations: 3.105 MB / 0.5403 GB, free: 14.74 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.041e-05/0.382, allocations: 65.8 kB / 0.5403 GB, free: 14.68 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002669/0.3823, allocations: 213.9 kB / 0.5405 GB, free: 14.54 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 7.661e-05/0.3824, allocations: 46.52 kB / 0.5406 GB, free: 14.49 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001826/0.3826, allocations: 254.8 kB / 0.5408 GB, free: 14.28 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0004017/0.383, allocations: 415.8 kB / 0.5412 GB, free: 13.95 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002603/0.3832, allocations: 151.3 kB / 0.5414 GB, free: 13.87 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.0002068/0.3834, allocations: 360.4 kB / 0.5417 GB, free: 13.54 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000553/0.384, allocations: 303.9 kB / 0.542 GB, free: 13.41 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006569/0.3846, allocations: 394.8 kB / 0.5424 GB, free: 13.23 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.01135/0.396, allocations: 2.315 MB / 0.5446 GB, free: 12.25 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.44e-06/0.396, allocations: 0 / 0.5446 GB, free: 12.25 MB / 398.1 MB Notification: Performance of matching and sorting (n=125) (initialization): time 0.003175/0.3992, allocations: 1.16 MB / 0.5458 GB, free: 11.62 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.24e-05/0.3992, allocations: 6.812 kB / 0.5458 GB, free: 11.62 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.144e-05/0.3992, allocations: 5.125 kB / 0.5458 GB, free: 11.62 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001601/0.4008, allocations: 337 kB / 0.5461 GB, free: 11.43 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.005632/0.4064, allocations: 0.7366 MB / 0.5468 GB, free: 11.21 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01586/0.4223, allocations: 14.87 MB / 0.5613 GB, free: 12.48 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0008737/0.4232, allocations: 34.23 kB / 0.5614 GB, free: 12.46 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.77e-05/0.4233, allocations: 29.28 kB / 0.5614 GB, free: 12.45 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.0005167/0.4238, allocations: 231.4 kB / 0.5616 GB, free: 12.26 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001337/0.4239, allocations: 51.98 kB / 0.5617 GB, free: 12.23 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003466/0.4274, allocations: 1.375 MB / 0.563 GB, free: 11.38 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.521e-05/0.4274, allocations: 14.5 kB / 0.563 GB, free: 11.38 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.983e-06/0.4274, allocations: 2.719 kB / 0.563 GB, free: 11.38 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.458e-05/0.4274, allocations: 3.984 kB / 0.563 GB, free: 11.37 MB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.005627/0.433, allocations: 2.515 MB / 0.5655 GB, free: 9.629 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.136e-05/0.433, allocations: 11.03 kB / 0.5655 GB, free: 9.625 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.005471/0.4385, allocations: 0.6848 MB / 0.5662 GB, free: 9.422 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.00256/0.4411, allocations: 496.8 kB / 0.5666 GB, free: 9.16 MB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001582/0.4412, allocations: 26.44 kB / 0.5667 GB, free: 9.148 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01622/0.4575, allocations: 15.11 MB / 0.5814 GB, free: 10.02 MB / 430.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.036e-05/0.4575, allocations: 11.94 kB / 0.5814 GB, free: 10.01 MB / 430.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.004515/0.462, allocations: 1.948 MB / 0.5833 GB, free: 7.945 MB / 430.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002469/0.4622, allocations: 59.72 kB / 0.5834 GB, free: 7.887 MB / 430.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001125/0.4623, allocations: 28 kB / 0.5834 GB, free: 7.859 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006276/0.463, allocations: 31.98 kB / 0.5835 GB, free: 7.828 MB / 430.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003418/0.4633, allocations: 132.5 kB / 0.5836 GB, free: 7.699 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.449e-05/0.4634, allocations: 36 kB / 0.5836 GB, free: 7.664 MB / 430.1 MB Notification: Performance of sorting global known variables: time 0.0001968/0.4636, allocations: 159.2 kB / 0.5838 GB, free: 7.508 MB / 430.1 MB Notification: Performance of sort global known variables: time 1.1e-07/0.4636, allocations: 4 kB / 0.5838 GB, free: 7.504 MB / 430.1 MB Notification: Performance of remove unused functions: time 0.001252/0.4648, allocations: 264 kB / 0.584 GB, free: 7.246 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.004553/0.4694, allocations: 2.523 MB / 0.5865 GB, free: 4.59 MB / 430.1 MB Notification: Performance of simCode: created initialization part: time 0.007669/0.4771, allocations: 1.955 MB / 0.5884 GB, free: 2.586 MB / 430.1 MB Notification: Performance of simCode: created event and clocks part: time 1.169e-05/0.4771, allocations: 4 kB / 0.5884 GB, free: 2.582 MB / 430.1 MB Notification: Performance of simCode: created simulation system equations: time 0.006744/0.4838, allocations: 1.595 MB / 0.59 GB, free: 0.9375 MB / 430.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001286/0.4851, allocations: 185.9 kB / 0.5901 GB, free: 0.7539 MB / 430.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01212/0.4972, allocations: 6.394 MB / 0.5964 GB, free: 10.05 MB / 446.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006769/0.4979, allocations: 0.9326 MB / 0.5973 GB, free: 9.086 MB / 446.1 MB Notification: Performance of simCode: alias equations: time 0.0005005/0.4984, allocations: 89.11 kB / 0.5974 GB, free: 9 MB / 446.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003912/0.4988, allocations: 239.4 kB / 0.5976 GB, free: 8.766 MB / 446.1 MB Notification: Performance of SimCode: time 1.152e-06/0.4988, allocations: 0 / 0.5976 GB, free: 8.766 MB / 446.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.07439/0.5732, allocations: 20.05 MB / 0.6172 GB, free: 4.926 MB / 462.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 14.6/15.17, allocations: 12.88 kB / 0.6172 GB, free: 4.918 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.401611828943714] Failed to read output from testmodel.py, exit status != 0: 15.325214826036245 15.343853891 14.978796724 Calling exit ...