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.001633/0.001633, allocations: 113.5 kB / 19.73 MB, free: 2.242 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.001635/0.001635, allocations: 217.5 kB / 23.04 MB, free: 5.074 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.462/1.462, allocations: 230.6 MB / 256.8 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.1014/0.1014, allocations: 22.94 MB / 336.2 MB, free: 12.7 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.002084/0.002084, allocations: 63.89 kB / 472.3 MB, free: 7.988 MB / 334.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3785/0.3805, allocations: 59.28 MB / 0.5191 GB, free: 10.12 MB / 382.1 MB Notification: Performance of NFInst.instantiate(AES.Devel_test_models.Test_AHU_001): time 0.004451/0.385, allocations: 4.295 MB / 0.5233 GB, free: 7.473 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.00221/0.3872, allocations: 1.368 MB / 0.5246 GB, free: 6.48 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003827/0.3876, allocations: 3.812 kB / 0.5246 GB, free: 6.48 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.000207/0.3878, allocations: 85.56 kB / 0.5247 GB, free: 6.43 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0005136/0.3883, allocations: 237.5 kB / 0.5249 GB, free: 6.258 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0007622/0.3891, allocations: 308.3 kB / 0.5252 GB, free: 6.07 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.001365/0.3904, allocations: 1.168 MB / 0.5264 GB, free: 5.469 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0006186/0.3911, allocations: 406.5 kB / 0.5268 GB, free: 5.289 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0006164/0.3917, allocations: 435.7 kB / 0.5272 GB, free: 5.094 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0005343/0.3922, allocations: 444.6 kB / 0.5276 GB, free: 4.891 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001441/0.3924, allocations: 98.44 kB / 0.5277 GB, free: 4.891 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001867/0.3925, allocations: 100.2 kB / 0.5278 GB, free: 4.891 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001344/0.3927, allocations: 208.5 kB / 0.528 GB, free: 4.75 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0003439/0.393, allocations: 455.9 kB / 0.5284 GB, free: 4.488 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001058/0.3941, allocations: 1.031 MB / 0.5294 GB, free: 4.078 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.318e-06/0.3941, allocations: 0 / 0.5294 GB, free: 4.078 MB / 382.1 MB Notification: Performance of FrontEnd: time 1.933e-06/0.3941, allocations: 0 / 0.5294 GB, free: 4.078 MB / 382.1 MB Notification: Performance of Transformations before backend: time 2.218e-05/0.3941, allocations: 0.5625 kB / 0.5294 GB, free: 4.078 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.00221/0.3963, allocations: 0.979 MB / 0.5304 GB, free: 3.469 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.204e-05/0.3964, allocations: 11.17 kB / 0.5304 GB, free: 3.469 MB / 382.1 MB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 3.701e-05/0.3964, allocations: 28.61 kB / 0.5304 GB, free: 3.461 MB / 382.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001385/0.3965, allocations: 136.5 kB / 0.5306 GB, free: 3.367 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001549/0.3967, allocations: 80.59 kB / 0.5306 GB, free: 3.328 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002118/0.3969, allocations: 207.2 kB / 0.5308 GB, free: 3.125 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.038e-05/0.3969, allocations: 65.44 kB / 0.5309 GB, free: 3.098 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001132/0.3971, allocations: 85.89 kB / 0.531 GB, free: 3.07 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001246/0.3983, allocations: 0.7271 MB / 0.5317 GB, free: 2.773 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.117e-05/0.3983, allocations: 0 / 0.5317 GB, free: 2.773 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.138e-05/0.3984, allocations: 35.16 kB / 0.5317 GB, free: 2.746 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.267e-05/0.3984, allocations: 22.16 kB / 0.5317 GB, free: 2.746 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001333/0.3998, allocations: 0.7276 MB / 0.5325 GB, free: 2.496 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.003968/0.4037, allocations: 2.366 MB / 0.5348 GB, free: 0.9883 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001759/0.4055, allocations: 0.8272 MB / 0.5356 GB, free: 0.6797 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005278/0.406, allocations: 303.4 kB / 0.5359 GB, free: 0.5547 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 6.007e-05/0.4061, allocations: 17.45 kB / 0.5359 GB, free: 0.5508 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.246e-05/0.4061, allocations: 51.84 kB / 0.5359 GB, free: 0.4961 MB / 382.1 MB Notification: Performance of pre-optimization done (n=103): time 2.444e-06/0.4061, allocations: 3.938 kB / 0.5359 GB, free: 0.4922 MB / 382.1 MB Notification: Performance of matching and sorting (n=114): time 0.009429/0.4155, allocations: 3.108 MB / 0.539 GB, free: 15.19 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.488e-05/0.4156, allocations: 63.78 kB / 0.539 GB, free: 15.12 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002932/0.4159, allocations: 215.7 kB / 0.5392 GB, free: 14.98 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0001366/0.416, allocations: 46.52 kB / 0.5393 GB, free: 14.94 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.000207/0.4162, allocations: 254.8 kB / 0.5395 GB, free: 14.73 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0003972/0.4166, allocations: 414.5 kB / 0.5399 GB, free: 14.4 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002719/0.4169, allocations: 152 kB / 0.5401 GB, free: 14.32 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.0001738/0.4171, allocations: 357.8 kB / 0.5404 GB, free: 13.99 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006046/0.4177, allocations: 304.5 kB / 0.5407 GB, free: 13.86 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006866/0.4184, allocations: 393 kB / 0.5411 GB, free: 13.68 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.01178/0.4301, allocations: 2.319 MB / 0.5433 GB, free: 12.92 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.03e-06/0.4301, allocations: 1.438 kB / 0.5433 GB, free: 12.92 MB / 398.1 MB Notification: Performance of matching and sorting (n=125) (initialization): time 0.002932/0.4331, allocations: 1.161 MB / 0.5445 GB, free: 12.29 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.385e-05/0.4331, allocations: 8.781 kB / 0.5445 GB, free: 12.29 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.333e-05/0.4331, allocations: 5.25 kB / 0.5445 GB, free: 12.29 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001563/0.4347, allocations: 329.8 kB / 0.5448 GB, free: 12.11 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.005636/0.4403, allocations: 0.7396 MB / 0.5455 GB, free: 11.89 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01517/0.4555, allocations: 14.87 MB / 0.56 GB, free: 13.15 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0008556/0.4563, allocations: 22.16 kB / 0.5601 GB, free: 13.14 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.669e-05/0.4564, allocations: 33.22 kB / 0.5601 GB, free: 13.13 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.0005449/0.4569, allocations: 242.3 kB / 0.5603 GB, free: 12.93 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001356/0.4571, allocations: 60.38 kB / 0.5604 GB, free: 12.89 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00344/0.4605, allocations: 1.379 MB / 0.5617 GB, free: 12.04 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.405e-05/0.4605, allocations: 11.25 kB / 0.5617 GB, free: 12.04 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.212e-06/0.4605, allocations: 1.969 kB / 0.5617 GB, free: 12.04 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.899e-05/0.4606, allocations: 7.969 kB / 0.5618 GB, free: 12.03 MB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0057/0.4663, allocations: 2.505 MB / 0.5642 GB, free: 10.3 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.598e-05/0.4663, allocations: 6.219 kB / 0.5642 GB, free: 10.3 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.005786/0.4721, allocations: 0.6874 MB / 0.5649 GB, free: 10.09 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.002604/0.4747, allocations: 494.6 kB / 0.5654 GB, free: 9.832 MB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001628/0.4748, allocations: 29.41 kB / 0.5654 GB, free: 9.816 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01589/0.4907, allocations: 15.11 MB / 0.5801 GB, free: 10.96 MB / 430.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.168e-05/0.4907, allocations: 11.59 kB / 0.5801 GB, free: 10.96 MB / 430.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.004493/0.4952, allocations: 1.953 MB / 0.5821 GB, free: 9.66 MB / 430.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002855/0.4955, allocations: 58.66 kB / 0.5821 GB, free: 9.625 MB / 430.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001478/0.4957, allocations: 28.31 kB / 0.5821 GB, free: 9.609 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006508/0.4963, allocations: 31.55 kB / 0.5822 GB, free: 9.594 MB / 430.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003449/0.4967, allocations: 130.2 kB / 0.5823 GB, free: 9.504 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.114e-05/0.4967, allocations: 36.56 kB / 0.5823 GB, free: 9.492 MB / 430.1 MB Notification: Performance of sorting global known variables: time 0.0002025/0.4969, allocations: 163.2 kB / 0.5825 GB, free: 9.332 MB / 430.1 MB Notification: Performance of sort global known variables: time 9e-08/0.4969, allocations: 0 / 0.5825 GB, free: 9.332 MB / 430.1 MB Notification: Performance of remove unused functions: time 0.001432/0.4984, allocations: 264 kB / 0.5827 GB, free: 9.074 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.004729/0.5031, allocations: 2.523 MB / 0.5852 GB, free: 6.418 MB / 430.1 MB Notification: Performance of simCode: created initialization part: time 0.00767/0.5108, allocations: 1.951 MB / 0.5871 GB, free: 4.418 MB / 430.1 MB Notification: Performance of simCode: created event and clocks part: time 8.857e-06/0.5108, allocations: 0 / 0.5871 GB, free: 4.418 MB / 430.1 MB Notification: Performance of simCode: created simulation system equations: time 0.006554/0.5173, allocations: 1.607 MB / 0.5887 GB, free: 2.762 MB / 430.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001269/0.5186, allocations: 177.9 kB / 0.5888 GB, free: 2.586 MB / 430.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01254/0.5311, allocations: 6.396 MB / 0.5951 GB, free: 11.88 MB / 446.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006121/0.5318, allocations: 0.925 MB / 0.596 GB, free: 10.93 MB / 446.1 MB Notification: Performance of simCode: alias equations: time 0.0005514/0.5323, allocations: 89.11 kB / 0.5961 GB, free: 10.84 MB / 446.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003775/0.5327, allocations: 239.4 kB / 0.5963 GB, free: 10.6 MB / 446.1 MB Notification: Performance of SimCode: time 1.322e-06/0.5327, allocations: 0 / 0.5963 GB, free: 10.6 MB / 446.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.06068/0.5934, allocations: 20.09 MB / 0.6159 GB, free: 6.73 MB / 462.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 14.59/15.18, allocations: 11.98 kB / 0.6159 GB, free: 6.719 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.611192242009565] Failed to read output from testmodel.py, exit status != 0: 15.376528224966023 15.403431307 15.004577511 Calling exit ...