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.00118/0.00118, allocations: 111.3 kB / 15.23 MB, free: 0.6406 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.001162/0.001161, allocations: 198.1 kB / 16.14 MB, free: 6.711 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.8 MB, free: 4.629 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/AES main/package.mo): time 0.1768/0.1768, allocations: 22.37 MB / 312.3 MB, free: 12.74 MB / 254.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001413/0.001413, allocations: 67.91 kB / 380.2 MB, free: 11.04 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1996/0.2011, allocations: 54.94 MB / 435.2 MB, free: 39.54 MB / 350.1 MB Notification: Performance of NFInst.instantiate(AES.Devel_test_models.Test_AHU_001): time 0.003194/0.2043, allocations: 4.273 MB / 439.4 MB, free: 36.45 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.001454/0.2058, allocations: 1.328 MB / 440.8 MB, free: 35.48 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002654/0.2061, allocations: 5.5 kB / 440.8 MB, free: 35.48 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.000153/0.2062, allocations: 60.41 kB / 440.8 MB, free: 35.45 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003637/0.2066, allocations: 210.3 kB / 441 MB, free: 35.3 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004027/0.207, allocations: 270.5 kB / 441.3 MB, free: 35.12 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.000587/0.2076, allocations: 1.092 MB / 442.4 MB, free: 34.59 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0003521/0.208, allocations: 392.5 kB / 442.8 MB, free: 34.45 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003151/0.2083, allocations: 367.3 kB / 443.1 MB, free: 34.31 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003123/0.2086, allocations: 417.5 kB / 443.5 MB, free: 34.14 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 8.306e-05/0.2087, allocations: 50.75 kB / 443.6 MB, free: 34.14 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001166/0.2088, allocations: 47.5 kB / 443.6 MB, free: 34.14 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 8.453e-05/0.2089, allocations: 159.3 kB / 443.8 MB, free: 34.04 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.000258/0.2092, allocations: 402.7 kB / 444.2 MB, free: 33.84 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0004468/0.2096, allocations: 0.9685 MB / 445.2 MB, free: 33.46 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.336e-06/0.2096, allocations: 0 / 445.2 MB, free: 33.46 MB / 350.1 MB Notification: Performance of FrontEnd: time 7.81e-07/0.2096, allocations: 4 kB / 445.2 MB, free: 33.46 MB / 350.1 MB Notification: Performance of Transformations before backend: time 2.023e-05/0.2097, allocations: 0 / 445.2 MB, free: 33.46 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.001591/0.2113, allocations: 1.038 MB / 446.2 MB, free: 32.77 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.079e-05/0.2113, allocations: 16.59 kB / 446.2 MB, free: 32.77 MB / 350.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 9.923e-05/0.2114, allocations: 141.3 kB / 446.4 MB, free: 32.67 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 9.586e-05/0.2115, allocations: 76.94 kB / 446.4 MB, free: 32.63 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001203/0.2116, allocations: 258 kB / 446.7 MB, free: 32.36 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.35e-05/0.2117, allocations: 71.78 kB / 446.8 MB, free: 32.33 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 8.152e-05/0.2117, allocations: 84.22 kB / 446.8 MB, free: 32.3 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0008959/0.2126, allocations: 0.7325 MB / 447.6 MB, free: 32 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.405e-05/0.2127, allocations: 0 / 447.6 MB, free: 32 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.759e-05/0.2127, allocations: 39.83 kB / 447.6 MB, free: 31.97 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.204e-05/0.2127, allocations: 21.59 kB / 447.6 MB, free: 31.97 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0008977/0.2136, allocations: 0.7209 MB / 448.3 MB, free: 31.73 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.002435/0.2161, allocations: 2.399 MB / 450.7 MB, free: 30.2 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001343/0.2174, allocations: 0.878 MB / 451.6 MB, free: 29.86 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003847/0.2178, allocations: 333.8 kB / 451.9 MB, free: 29.73 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 5.878e-05/0.2179, allocations: 27.2 kB / 452 MB, free: 29.71 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.806e-05/0.2179, allocations: 47.17 kB / 452 MB, free: 29.66 MB / 350.1 MB Notification: Performance of pre-optimization done (n=103): time 1.843e-06/0.2179, allocations: 0 / 452 MB, free: 29.66 MB / 350.1 MB Notification: Performance of matching and sorting (n=114): time 0.007071/0.225, allocations: 3.403 MB / 455.4 MB, free: 27.99 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.244e-05/0.225, allocations: 63.34 kB / 455.5 MB, free: 27.93 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001383/0.2252, allocations: 215.4 kB / 455.7 MB, free: 27.78 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 4.484e-05/0.2252, allocations: 46.36 kB / 455.7 MB, free: 27.73 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 7.1e-05/0.2253, allocations: 253.5 kB / 456 MB, free: 27.53 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001513/0.2255, allocations: 387 kB / 456.4 MB, free: 27.22 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001899/0.2257, allocations: 151.9 kB / 456.5 MB, free: 27.14 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 5.15e-05/0.2257, allocations: 359.7 kB / 456.9 MB, free: 26.81 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004519/0.2262, allocations: 296.1 kB / 457.2 MB, free: 26.69 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000466/0.2267, allocations: 401.1 kB / 457.5 MB, free: 26.5 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.009861/0.2365, allocations: 2.316 MB / 459.9 MB, free: 25.8 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.054e-06/0.2365, allocations: 1.688 kB / 459.9 MB, free: 25.8 MB / 350.1 MB Notification: Performance of matching and sorting (n=125) (initialization): time 0.002259/0.2388, allocations: 1.165 MB / 461 MB, free: 25.31 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.397e-05/0.2388, allocations: 7.469 kB / 461 MB, free: 25.31 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.402e-06/0.2388, allocations: 1.156 kB / 461 MB, free: 25.31 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001349/0.2402, allocations: 338.5 kB / 461.4 MB, free: 25.21 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.005162/0.2454, allocations: 0.7418 MB / 462.1 MB, free: 25.16 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.1743/0.4197, allocations: 14.74 MB / 476.9 MB, free: 10.74 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005335/0.4202, allocations: 52.25 kB / 476.9 MB, free: 10.72 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.643e-05/0.4203, allocations: 31.84 kB / 476.9 MB, free: 10.71 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.0002821/0.4206, allocations: 248.2 kB / 477.2 MB, free: 10.52 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.515e-05/0.4207, allocations: 50.22 kB / 477.2 MB, free: 10.5 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002794/0.4235, allocations: 1.395 MB / 478.6 MB, free: 9.863 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.464e-06/0.4235, allocations: 11 kB / 478.6 MB, free: 9.863 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.589e-06/0.4235, allocations: 2.078 kB / 478.6 MB, free: 9.863 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.062e-05/0.4235, allocations: 9.281 kB / 478.6 MB, free: 9.859 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003778/0.4273, allocations: 2.548 MB / 481.2 MB, free: 8.453 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.834e-06/0.4273, allocations: 10.38 kB / 481.2 MB, free: 8.449 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.004635/0.4319, allocations: 0.6807 MB / 481.9 MB, free: 8.41 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.002198/0.4341, allocations: 489.8 kB / 482.4 MB, free: 8.301 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.122e-05/0.4342, allocations: 30.11 kB / 482.4 MB, free: 8.285 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.009951/0.4442, allocations: 14.92 MB / 497.3 MB, free: 9.781 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.967e-06/0.4442, allocations: 15.38 kB / 497.3 MB, free: 9.773 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003359/0.4476, allocations: 1.957 MB / 499.3 MB, free: 8.668 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 9.827e-05/0.4477, allocations: 132.8 kB / 499.4 MB, free: 8.543 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.323e-05/0.4478, allocations: 35.8 kB / 499.4 MB, free: 8.523 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006005/0.4484, allocations: 49.69 kB / 499.5 MB, free: 8.508 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002023/0.4486, allocations: 122.4 kB / 499.6 MB, free: 8.473 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.231e-05/0.4487, allocations: 39.62 kB / 499.7 MB, free: 8.465 MB / 366.1 MB Notification: Performance of sorting global known variables: time 0.0001256/0.4488, allocations: 159.5 kB / 499.8 MB, free: 8.363 MB / 366.1 MB Notification: Performance of sort global known variables: time 1.71e-07/0.4488, allocations: 4 kB / 499.8 MB, free: 8.359 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.0009605/0.4498, allocations: 265.2 kB / 0.4883 GB, free: 8.32 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.003682/0.4535, allocations: 2.54 MB / 0.4908 GB, free: 6.582 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.006624/0.4601, allocations: 1.979 MB / 0.4928 GB, free: 4.809 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 2.915e-06/0.4601, allocations: 0 / 0.4928 GB, free: 4.809 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 0.005608/0.4657, allocations: 1.617 MB / 0.4943 GB, free: 3.359 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000856/0.4666, allocations: 173.5 kB / 0.4945 GB, free: 3.207 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.009065/0.4757, allocations: 6.793 MB / 0.5011 GB, free: 12.11 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003826/0.476, allocations: 0.9366 MB / 0.5021 GB, free: 11.15 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 0.000482/0.4765, allocations: 89.11 kB / 0.5021 GB, free: 11.06 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002994/0.4768, allocations: 235.4 kB / 0.5024 GB, free: 10.83 MB / 382.1 MB Notification: Performance of SimCode: time 2.91e-07/0.4768, allocations: 0 / 0.5024 GB, free: 10.83 MB / 382.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 1.184/1.661, allocations: 17.82 MB / 0.5198 GB, free: 9.219 MB / 398.1 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001949/1.661, allocations: 198.8 kB / 0.52 GB, free: 8.965 MB / 398.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 2.724/4.386, allocations: 0 / 0.52 GB, free: 8.965 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)