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.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/AES main/package.mo", uses=false) Using package AES with version (/home/hudson/saved_omc/libraries/.openmodelica/libraries/AES main/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.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"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.005575/0.005576, allocations: 101.2 kB / 15.73 MB, free: 6.051 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001322/0.001323, allocations: 190.5 kB / 16.67 MB, free: 5.977 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.323/1.323, allocations: 222.9 MB / 240.4 MB, free: 4.305 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/AES main/package.mo): time 0.1964/0.1964, allocations: 22.35 MB / 312.9 MB, free: 12.43 MB / 254.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001289/0.001289, allocations: 59.84 kB / 436.6 MB, free: 34.02 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09519/0.09649, allocations: 54.96 MB / 491.6 MB, free: 1.672 MB / 350.1 MB Notification: Performance of NFInst.instantiate(AES.Devel_test_models.Test_AHU_001): time 0.00421/0.1007, allocations: 4.252 MB / 495.8 MB, free: 13.4 MB / 366.1 MB Notification: Performance of NFInst.instExpressions: time 0.001984/0.1028, allocations: 1.329 MB / 497.1 MB, free: 12.07 MB / 366.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001875/0.103, allocations: 4 kB / 497.1 MB, free: 12.06 MB / 366.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001563/0.1031, allocations: 83.08 kB / 497.2 MB, free: 11.98 MB / 366.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003766/0.1035, allocations: 237.9 kB / 497.5 MB, free: 11.75 MB / 366.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0005165/0.1041, allocations: 315.5 kB / 497.8 MB, free: 11.44 MB / 366.1 MB Notification: Performance of NFFlatten.flatten: time 0.0008639/0.1049, allocations: 1.165 MB / 498.9 MB, free: 10.27 MB / 366.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0005135/0.1055, allocations: 468.7 kB / 499.4 MB, free: 9.805 MB / 366.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003898/0.1059, allocations: 426.9 kB / 499.8 MB, free: 9.387 MB / 366.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0004683/0.1063, allocations: 454.3 kB / 0.4885 GB, free: 8.941 MB / 366.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001129/0.1065, allocations: 96 kB / 0.4886 GB, free: 8.848 MB / 366.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001259/0.1066, allocations: 100 kB / 0.4887 GB, free: 8.75 MB / 366.1 MB Notification: Performance of NFScalarize.scalarize: time 0.000154/0.1068, allocations: 207.4 kB / 0.4889 GB, free: 8.547 MB / 366.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0003649/0.1071, allocations: 458.1 kB / 0.4893 GB, free: 8.098 MB / 366.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0007678/0.1079, allocations: 1.029 MB / 0.4903 GB, free: 7.066 MB / 366.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.41e-06/0.1079, allocations: 0 / 0.4903 GB, free: 7.066 MB / 366.1 MB Notification: Performance of FrontEnd: time 1.423e-06/0.1079, allocations: 3.938 kB / 0.4904 GB, free: 7.062 MB / 366.1 MB Notification: Performance of Transformations before backend: time 1.712e-05/0.108, allocations: 0 / 0.4904 GB, free: 7.062 MB / 366.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.001966/0.1099, allocations: 1.038 MB / 0.4914 GB, free: 5.977 MB / 366.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.811e-05/0.11, allocations: 8.031 kB / 0.4914 GB, free: 5.969 MB / 366.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001572/0.1101, allocations: 139.6 kB / 0.4915 GB, free: 5.824 MB / 366.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001315/0.1103, allocations: 80 kB / 0.4916 GB, free: 5.746 MB / 366.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002121/0.1105, allocations: 247.9 kB / 0.4918 GB, free: 5.465 MB / 366.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.147e-05/0.1106, allocations: 69.94 kB / 0.4919 GB, free: 5.395 MB / 366.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001192/0.1107, allocations: 88 kB / 0.492 GB, free: 5.309 MB / 366.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001154/0.1118, allocations: 0.7297 MB / 0.4927 GB, free: 4.57 MB / 366.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.733e-05/0.1119, allocations: 0 / 0.4927 GB, free: 4.57 MB / 366.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.575e-05/0.112, allocations: 36 kB / 0.4927 GB, free: 4.535 MB / 366.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.864e-05/0.112, allocations: 24 kB / 0.4927 GB, free: 4.512 MB / 366.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001162/0.1132, allocations: 0.7261 MB / 0.4934 GB, free: 3.789 MB / 366.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.003459/0.1166, allocations: 2.408 MB / 0.4958 GB, free: 1.246 MB / 366.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001654/0.1183, allocations: 0.8742 MB / 0.4967 GB, free: 380 kB / 366.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004808/0.1188, allocations: 335.8 kB / 0.497 GB, free: 40 kB / 366.1 MB Notification: Performance of preOpt evalFunc (simulation): time 5.833e-05/0.1188, allocations: 20.97 kB / 0.497 GB, free: 20 kB / 366.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.481e-05/0.1189, allocations: 51.56 kB / 0.497 GB, free: 15.96 MB / 382.1 MB Notification: Performance of pre-optimization done (n=103): time 2.505e-06/0.1189, allocations: 0 / 0.497 GB, free: 15.96 MB / 382.1 MB Notification: Performance of matching and sorting (n=114): time 0.008431/0.1273, allocations: 3.405 MB / 0.5004 GB, free: 12.44 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.112e-05/0.1274, allocations: 68.34 kB / 0.5004 GB, free: 12.36 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001864/0.1276, allocations: 207.2 kB / 0.5006 GB, free: 12.14 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 5.743e-05/0.1277, allocations: 41.7 kB / 0.5007 GB, free: 12.1 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001367/0.1278, allocations: 260.9 kB / 0.5009 GB, free: 11.84 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002488/0.1281, allocations: 386.3 kB / 0.5013 GB, free: 11.45 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002311/0.1283, allocations: 150.6 kB / 0.5014 GB, free: 11.3 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 0.0001201/0.1284, allocations: 362.8 kB / 0.5018 GB, free: 10.94 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005052/0.1289, allocations: 297.9 kB / 0.5021 GB, free: 10.65 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005566/0.1295, allocations: 395.1 kB / 0.5024 GB, free: 10.25 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.01078/0.1403, allocations: 2.317 MB / 0.5047 GB, free: 7.918 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.542e-06/0.1403, allocations: 4 kB / 0.5047 GB, free: 7.914 MB / 382.1 MB Notification: Performance of matching and sorting (n=125) (initialization): time 0.002739/0.1431, allocations: 1.175 MB / 0.5059 GB, free: 6.715 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.504e-05/0.1431, allocations: 4 kB / 0.5059 GB, free: 6.711 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.112e-05/0.1432, allocations: 4 kB / 0.5059 GB, free: 6.707 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001452/0.1446, allocations: 327 kB / 0.5062 GB, free: 6.375 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.005558/0.1502, allocations: 0.7413 MB / 0.5069 GB, free: 5.629 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01307/0.1633, allocations: 15.89 MB / 0.5224 GB, free: 4.32 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006472/0.164, allocations: 32 kB / 0.5224 GB, free: 4.289 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.398e-05/0.1641, allocations: 32 kB / 0.5225 GB, free: 4.258 MB / 398.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.0004328/0.1645, allocations: 236.7 kB / 0.5227 GB, free: 4.02 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001062/0.1646, allocations: 47.44 kB / 0.5227 GB, free: 3.973 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003066/0.1677, allocations: 1.39 MB / 0.5241 GB, free: 2.559 MB / 398.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.148e-05/0.1677, allocations: 15.94 kB / 0.5241 GB, free: 2.543 MB / 398.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.178e-06/0.1677, allocations: 0 / 0.5241 GB, free: 2.543 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.129e-05/0.1677, allocations: 7.969 kB / 0.5241 GB, free: 2.535 MB / 398.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004502/0.1722, allocations: 2.537 MB / 0.5266 GB, free: 15.84 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.31e-05/0.1723, allocations: 8 kB / 0.5266 GB, free: 15.83 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.005106/0.1774, allocations: 0.6914 MB / 0.5273 GB, free: 15.14 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.002455/0.1799, allocations: 493.1 kB / 0.5278 GB, free: 14.64 MB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.567e-05/0.18, allocations: 28 kB / 0.5278 GB, free: 14.62 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01646/0.1965, allocations: 16.14 MB / 0.5435 GB, free: 13.06 MB / 430.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.408e-06/0.1965, allocations: 11.92 kB / 0.5435 GB, free: 13.05 MB / 430.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.004018/0.2005, allocations: 1.967 MB / 0.5455 GB, free: 10.97 MB / 430.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002455/0.2008, allocations: 132.5 kB / 0.5456 GB, free: 10.82 MB / 430.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001025/0.2009, allocations: 35.81 kB / 0.5456 GB, free: 10.79 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006031/0.2015, allocations: 32 kB / 0.5457 GB, free: 10.76 MB / 430.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003182/0.2018, allocations: 120.6 kB / 0.5458 GB, free: 10.64 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.978e-05/0.2019, allocations: 39.98 kB / 0.5458 GB, free: 10.6 MB / 430.1 MB Notification: Performance of sorting global known variables: time 0.0001783/0.2021, allocations: 159.2 kB / 0.546 GB, free: 10.44 MB / 430.1 MB Notification: Performance of sort global known variables: time 2e-07/0.2021, allocations: 4 kB / 0.546 GB, free: 10.44 MB / 430.1 MB Notification: Performance of remove unused functions: time 0.001145/0.2033, allocations: 260 kB / 0.5462 GB, free: 10.18 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.004139/0.2074, allocations: 2.532 MB / 0.5487 GB, free: 7.527 MB / 430.1 MB Notification: Performance of simCode: created initialization part: time 0.007114/0.2145, allocations: 1.998 MB / 0.5506 GB, free: 5.473 MB / 430.1 MB Notification: Performance of simCode: created event and clocks part: time 7.113e-06/0.2146, allocations: 0 / 0.5506 GB, free: 5.473 MB / 430.1 MB Notification: Performance of simCode: created simulation system equations: time 0.006099/0.2207, allocations: 1.626 MB / 0.5522 GB, free: 3.797 MB / 430.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001071/0.2218, allocations: 179.8 kB / 0.5524 GB, free: 3.621 MB / 430.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01056/0.2323, allocations: 6.388 MB / 0.5586 GB, free: 12.92 MB / 446.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005621/0.2329, allocations: 0.9289 MB / 0.5595 GB, free: 11.96 MB / 446.1 MB Notification: Performance of simCode: alias equations: time 0.0004697/0.2334, allocations: 85.12 kB / 0.5596 GB, free: 11.88 MB / 446.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003414/0.2338, allocations: 243.3 kB / 0.5599 GB, free: 11.64 MB / 446.1 MB Notification: Performance of SimCode: time 7.02e-07/0.2338, allocations: 0 / 0.5599 GB, free: 11.64 MB / 446.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.05927/0.2931, allocations: 18.75 MB / 0.5782 GB, free: 9.062 MB / 462.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 12.43/12.72, allocations: 12.2 kB / 0.5782 GB, free: 9.055 MB / 462.1 MB (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 --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)