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.001255/0.001255, allocations: 103.4 kB / 15.33 MB, free: 0.5078 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.00129/0.00129, allocations: 196.6 kB / 16.25 MB, free: 6.625 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.194/1.194, allocations: 222.9 MB / 239.9 MB, free: 4.422 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/AES main/package.mo): time 0.1765/0.1765, allocations: 22.35 MB / 312.4 MB, free: 12.62 MB / 254.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001334/0.001334, allocations: 59.89 kB / 380.4 MB, free: 10.84 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2012/0.2026, allocations: 54.94 MB / 435.4 MB, free: 39.52 MB / 350.1 MB Notification: Performance of NFInst.instantiate(AES.Devel_test_models.Test_AHU_001): time 0.003204/0.2058, allocations: 4.274 MB / 439.6 MB, free: 36.43 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.001505/0.2074, allocations: 1.329 MB / 441 MB, free: 35.46 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002641/0.2076, allocations: 6.062 kB / 441 MB, free: 35.46 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001537/0.2078, allocations: 61.16 kB / 441 MB, free: 35.43 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003892/0.2082, allocations: 210.8 kB / 441.2 MB, free: 35.29 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004169/0.2086, allocations: 261.5 kB / 441.5 MB, free: 35.11 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0006501/0.2093, allocations: 1.166 MB / 442.6 MB, free: 34.51 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0004165/0.2097, allocations: 464.4 kB / 443.1 MB, free: 34.32 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003609/0.2101, allocations: 433 kB / 443.5 MB, free: 34.12 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003597/0.2104, allocations: 446.5 kB / 444 MB, free: 33.91 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 9.254e-05/0.2105, allocations: 98.75 kB / 444.1 MB, free: 33.91 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.000116/0.2107, allocations: 100.8 kB / 444.2 MB, free: 33.91 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 8.865e-05/0.2108, allocations: 211.3 kB / 444.4 MB, free: 33.77 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0002248/0.211, allocations: 448.5 kB / 444.8 MB, free: 33.52 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0004685/0.2115, allocations: 1.012 MB / 445.8 MB, free: 33.11 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 2.736e-06/0.2115, allocations: 0 / 445.8 MB, free: 33.11 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.293e-06/0.2115, allocations: 3.031 kB / 445.8 MB, free: 33.11 MB / 350.1 MB Notification: Performance of Transformations before backend: time 8.747e-06/0.2115, allocations: 0 / 445.8 MB, free: 33.11 MB / 350.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.001538/0.213, allocations: 1.036 MB / 446.8 MB, free: 32.42 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 2.873e-05/0.2131, allocations: 7.875 kB / 446.9 MB, free: 32.42 MB / 350.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001005/0.2132, allocations: 135.8 kB / 447 MB, free: 32.33 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 9.75e-05/0.2133, allocations: 84.16 kB / 447.1 MB, free: 32.29 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000114/0.2134, allocations: 247.7 kB / 447.3 MB, free: 32.03 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.481e-05/0.2134, allocations: 75.44 kB / 447.4 MB, free: 31.99 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 8.639e-05/0.2135, allocations: 87.41 kB / 447.5 MB, free: 31.96 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0009296/0.2145, allocations: 0.7286 MB / 448.2 MB, free: 31.66 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.655e-05/0.2145, allocations: 3.438 kB / 448.2 MB, free: 31.66 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.834e-05/0.2146, allocations: 33.88 kB / 448.2 MB, free: 31.63 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.218e-05/0.2146, allocations: 26.06 kB / 448.3 MB, free: 31.63 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0008918/0.2155, allocations: 0.7333 MB / 449 MB, free: 31.38 MB / 350.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.002419/0.2179, allocations: 2.4 MB / 451.4 MB, free: 29.84 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001335/0.2192, allocations: 0.8888 MB / 452.3 MB, free: 29.5 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003951/0.2196, allocations: 335.2 kB / 452.6 MB, free: 29.36 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 5.636e-05/0.2197, allocations: 9.797 kB / 452.6 MB, free: 29.36 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.608e-05/0.2197, allocations: 48.36 kB / 452.7 MB, free: 29.32 MB / 350.1 MB Notification: Performance of pre-optimization done (n=103): time 1.903e-06/0.2197, allocations: 4 kB / 452.7 MB, free: 29.31 MB / 350.1 MB Notification: Performance of matching and sorting (n=114): time 0.007246/0.227, allocations: 3.408 MB / 456.1 MB, free: 27.63 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.07e-05/0.227, allocations: 67.94 kB / 456.1 MB, free: 27.56 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001345/0.2272, allocations: 208.7 kB / 456.4 MB, free: 27.43 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 5.275e-05/0.2272, allocations: 46.77 kB / 456.4 MB, free: 27.38 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 6.998e-05/0.2273, allocations: 248.5 kB / 456.6 MB, free: 27.18 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001542/0.2275, allocations: 394.9 kB / 457 MB, free: 26.86 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001966/0.2277, allocations: 153.4 kB / 457.2 MB, free: 26.78 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 5.335e-05/0.2277, allocations: 358 kB / 457.5 MB, free: 26.45 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004303/0.2282, allocations: 302.2 kB / 457.8 MB, free: 26.33 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004553/0.2286, allocations: 392 kB / 458.2 MB, free: 26.15 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.00985/0.2385, allocations: 2.32 MB / 460.5 MB, free: 25.45 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.295e-06/0.2385, allocations: 1.125 kB / 460.5 MB, free: 25.45 MB / 350.1 MB Notification: Performance of matching and sorting (n=125) (initialization): time 0.002327/0.2408, allocations: 1.161 MB / 461.7 MB, free: 24.95 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.312e-05/0.2408, allocations: 9.531 kB / 461.7 MB, free: 24.95 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.632e-06/0.2409, allocations: 2 kB / 461.7 MB, free: 24.95 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001371/0.2422, allocations: 341.3 kB / 462 MB, free: 24.84 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.005346/0.2476, allocations: 0.743 MB / 462.8 MB, free: 24.8 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.488/0.7356, allocations: 15.94 MB / 478.7 MB, free: 9.215 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005356/0.7361, allocations: 58.94 kB / 478.8 MB, free: 9.188 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.409e-05/0.7362, allocations: 30.56 kB / 478.8 MB, free: 9.18 MB / 350.1 MB Warning: Assuming fixed start value for the following 4 variables: AHU.T:VARIABLE(min = max(0.0, 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 = max(0.0, max(0.0, max(0.0, max(0.0, max(0.0, max(0.0, max(0.0, 0.0))))))) start = V.pstart unit = "Pa" fixed = true nominal = 100000.0 stateSelect=StateSelect.always ) type: Real V.T:VARIABLE(min = max(0.0, max(0.0, 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.0002882/0.7365, allocations: 249 kB / 479 MB, free: 8.988 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.573e-05/0.7366, allocations: 48.19 kB / 479.1 MB, free: 8.965 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002838/0.7394, allocations: 1.387 MB / 480.5 MB, free: 8.34 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.436e-06/0.7394, allocations: 14.94 kB / 480.5 MB, free: 8.336 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.308e-06/0.7395, allocations: 2.75 kB / 480.5 MB, free: 8.336 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.073e-05/0.7395, allocations: 5.906 kB / 480.5 MB, free: 8.336 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003858/0.7433, allocations: 2.551 MB / 483 MB, free: 6.926 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.945e-06/0.7433, allocations: 6.859 kB / 483.1 MB, free: 6.926 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.004584/0.7479, allocations: 0.6844 MB / 483.7 MB, free: 6.883 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.002209/0.7502, allocations: 487.2 kB / 484.2 MB, free: 6.773 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.417e-05/0.7502, allocations: 31.83 kB / 484.2 MB, free: 6.758 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01116/0.7614, allocations: 16.15 MB / 0.4887 GB, free: 7.066 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.524e-06/0.7614, allocations: 12.03 kB / 0.4887 GB, free: 7.062 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003453/0.7649, allocations: 1.96 MB / 0.4906 GB, free: 5.957 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001142/0.765, allocations: 129.8 kB / 0.4907 GB, free: 5.836 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.207e-05/0.7651, allocations: 32.2 kB / 0.4907 GB, free: 5.82 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006167/0.7657, allocations: 49.72 kB / 0.4908 GB, free: 5.805 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.00022/0.766, allocations: 130.2 kB / 0.4909 GB, free: 5.762 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.492e-05/0.766, allocations: 39.27 kB / 0.491 GB, free: 5.754 MB / 366.1 MB Notification: Performance of sorting global known variables: time 0.0001321/0.7662, allocations: 158.4 kB / 0.4911 GB, free: 5.652 MB / 366.1 MB Notification: Performance of sort global known variables: time 1.4e-07/0.7662, allocations: 1.094 kB / 0.4911 GB, free: 5.652 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.001045/0.7672, allocations: 269 kB / 0.4914 GB, free: 5.609 MB / 366.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.003752/0.771, allocations: 2.532 MB / 0.4938 GB, free: 3.434 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.007012/0.778, allocations: 2.019 MB / 0.4958 GB, free: 1.621 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 4.028e-06/0.778, allocations: 0 / 0.4958 GB, free: 1.621 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 0.005707/0.7837, allocations: 1.632 MB / 0.4974 GB, free: 112 kB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008754/0.7846, allocations: 181.9 kB / 0.4976 GB, free: 15.93 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.009521/0.7942, allocations: 6.803 MB / 0.5042 GB, free: 8.816 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004443/0.7946, allocations: 0.9406 MB / 0.5051 GB, free: 7.852 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 0.000509/0.7951, allocations: 85.12 kB / 0.5052 GB, free: 7.77 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003231/0.7955, allocations: 239.4 kB / 0.5054 GB, free: 7.535 MB / 382.1 MB Notification: Performance of SimCode: time 1.583e-06/0.7955, allocations: 0 / 0.5054 GB, free: 7.535 MB / 382.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 1.379/2.174, allocations: 18.54 MB / 0.5235 GB, free: 5.227 MB / 398.1 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002614/2.174, allocations: 202.4 kB / 0.5237 GB, free: 4.973 MB / 398.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 2.281/4.456, allocations: 0 / 0.5237 GB, free: 4.973 MB / 398.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)