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.001328/0.001328, allocations: 98.03 kB / 15.36 MB, free: 0.7344 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.01025/0.01025, allocations: 169.8 kB / 16.27 MB, free: 6.652 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.268/1.268, allocations: 223.3 MB / 240.3 MB, free: 5.324 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/AES main/package.mo): time 0.1842/0.1842, allocations: 22.34 MB / 313.8 MB, free: 13.06 MB / 254.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0002827/0.0002828, allocations: 8 kB / 382.7 MB, free: 10.06 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2265/0.2268, allocations: 55.98 MB / 438.7 MB, free: 39.4 MB / 350.1 MB Notification: Performance of NFInst.instantiate(AES.Devel_test_models.Test_AHU_001): time 0.002646/0.2295, allocations: 3.867 MB / 442.5 MB, free: 36.52 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.001261/0.2308, allocations: 1.324 MB / 443.9 MB, free: 35.55 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001457/0.231, allocations: 2.938 kB / 443.9 MB, free: 35.55 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 9.234e-05/0.2311, allocations: 62.09 kB / 443.9 MB, free: 35.52 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003269/0.2314, allocations: 208.7 kB / 444.1 MB, free: 35.38 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003772/0.2318, allocations: 267.3 kB / 444.4 MB, free: 35.2 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0005907/0.2324, allocations: 1.09 MB / 445.5 MB, free: 34.66 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0003454/0.2327, allocations: 377 kB / 445.9 MB, free: 34.54 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002904/0.233, allocations: 368 kB / 446.2 MB, free: 34.4 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003394/0.2334, allocations: 411.5 kB / 446.6 MB, free: 34.22 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 7.376e-05/0.2335, allocations: 49.3 kB / 446.7 MB, free: 34.22 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 9.701e-05/0.2336, allocations: 48.66 kB / 446.7 MB, free: 34.22 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 8.803e-05/0.2337, allocations: 146.4 kB / 446.9 MB, free: 34.14 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0002467/0.2339, allocations: 429.8 kB / 447.3 MB, free: 33.89 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.000488/0.2344, allocations: 0.955 MB / 448.2 MB, free: 33.61 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.006e-06/0.2344, allocations: 0 / 448.2 MB, free: 33.61 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.583e-06/0.2344, allocations: 0 / 448.2 MB, free: 33.61 MB / 350.1 MB Notification: Performance of Transformations before backend: time 8.506e-06/0.2344, allocations: 0 / 448.2 MB, free: 33.61 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.00159/0.236, allocations: 0.8949 MB / 449.1 MB, free: 33.01 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.217e-05/0.2361, allocations: 14.28 kB / 449.1 MB, free: 33 MB / 350.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001129/0.2362, allocations: 140.4 kB / 449.3 MB, free: 32.91 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001037/0.2363, allocations: 84.47 kB / 449.4 MB, free: 32.87 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001334/0.2364, allocations: 249.7 kB / 449.6 MB, free: 32.61 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.783e-05/0.2365, allocations: 69.91 kB / 449.7 MB, free: 32.57 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001039/0.2366, allocations: 87.94 kB / 449.8 MB, free: 32.54 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001063/0.2377, allocations: 0.7284 MB / 450.5 MB, free: 32.24 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.941e-05/0.2377, allocations: 0 / 450.5 MB, free: 32.24 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.796e-05/0.2378, allocations: 35.78 kB / 450.5 MB, free: 32.21 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.322e-05/0.2378, allocations: 24.97 kB / 450.5 MB, free: 32.21 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001031/0.2388, allocations: 0.7287 MB / 451.3 MB, free: 31.96 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.002765/0.2416, allocations: 2.4 MB / 453.7 MB, free: 30.43 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001537/0.2431, allocations: 0.8918 MB / 454.6 MB, free: 30.09 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004427/0.2436, allocations: 337.6 kB / 454.9 MB, free: 29.95 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 5.45e-05/0.2437, allocations: 12.91 kB / 454.9 MB, free: 29.95 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.785e-05/0.2437, allocations: 51.16 kB / 455 MB, free: 29.89 MB / 350.1 MB Notification: Performance of pre-optimization done (n=103): time 2.064e-06/0.2437, allocations: 2.625 kB / 455 MB, free: 29.89 MB / 350.1 MB Notification: Performance of matching and sorting (n=114): time 0.00845/0.2522, allocations: 3.441 MB / 458.4 MB, free: 28.21 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.436e-05/0.2522, allocations: 63.75 kB / 458.5 MB, free: 28.15 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001536/0.2524, allocations: 210 kB / 458.7 MB, free: 28.01 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 5.502e-05/0.2524, allocations: 45.45 kB / 458.7 MB, free: 27.96 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 8.411e-05/0.2525, allocations: 251.4 kB / 459 MB, free: 27.76 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001776/0.2527, allocations: 390 kB / 459.3 MB, free: 27.45 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 9.666e-05/0.2528, allocations: 83.53 kB / 459.4 MB, free: 27.4 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 5.837e-05/0.2529, allocations: 360.7 kB / 459.8 MB, free: 27.07 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005061/0.2534, allocations: 302.1 kB / 460.1 MB, free: 26.95 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005378/0.2539, allocations: 400.8 kB / 460.5 MB, free: 26.76 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.012/0.2659, allocations: 2.374 MB / 462.8 MB, free: 26.05 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.695e-06/0.2659, allocations: 1.062 kB / 462.8 MB, free: 26.05 MB / 350.1 MB Notification: Performance of matching and sorting (n=125) (initialization): time 0.002758/0.2687, allocations: 1.169 MB / 464 MB, free: 25.56 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.61e-05/0.2687, allocations: 9.953 kB / 464 MB, free: 25.55 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.744e-06/0.2687, allocations: 2.562 kB / 464 MB, free: 25.55 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001746/0.2705, allocations: 354.7 kB / 464.4 MB, free: 25.45 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.005683/0.2762, allocations: 0.742 MB / 465.1 MB, free: 25.41 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01011/0.2863, allocations: 14.77 MB / 479.9 MB, free: 11 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006206/0.287, allocations: 56.48 kB / 479.9 MB, free: 10.97 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.869e-05/0.287, allocations: 30.75 kB / 480 MB, free: 10.96 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 {(3,4,77.8%), (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.0003337/0.2874, allocations: 253.7 kB / 480.2 MB, free: 10.77 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.596e-05/0.2875, allocations: 47.91 kB / 480.3 MB, free: 10.75 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003409/0.2909, allocations: 1.396 MB / 481.7 MB, free: 10.12 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.097e-06/0.2909, allocations: 11.53 kB / 481.7 MB, free: 10.12 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.079e-06/0.2909, allocations: 1.281 kB / 481.7 MB, free: 10.12 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.286e-05/0.2909, allocations: 11.42 kB / 481.7 MB, free: 10.11 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004555/0.2955, allocations: 2.553 MB / 484.2 MB, free: 8.707 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.117e-06/0.2955, allocations: 8.141 kB / 484.2 MB, free: 8.707 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.005101/0.3006, allocations: 0.6891 MB / 484.9 MB, free: 8.664 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.002519/0.3032, allocations: 0.5016 MB / 485.4 MB, free: 8.551 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.311e-05/0.3032, allocations: 31.56 kB / 485.5 MB, free: 8.535 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01152/0.3148, allocations: 14.96 MB / 0.4887 GB, free: 10.02 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.116e-05/0.3148, allocations: 16.28 kB / 0.4887 GB, free: 10.02 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.004044/0.3188, allocations: 1.966 MB / 0.4906 GB, free: 8.906 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001547/0.319, allocations: 138.2 kB / 0.4908 GB, free: 8.777 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000103/0.3191, allocations: 35.16 kB / 0.4908 GB, free: 8.758 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006685/0.3198, allocations: 54.41 kB / 0.4908 GB, free: 8.738 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002613/0.3201, allocations: 119.2 kB / 0.491 GB, free: 8.707 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.057e-05/0.3201, allocations: 39.36 kB / 0.491 GB, free: 8.699 MB / 366.1 MB Notification: Performance of sorting global known variables: time 0.000153/0.3203, allocations: 160.1 kB / 0.4911 GB, free: 8.598 MB / 366.1 MB Notification: Performance of sort global known variables: time 1.6e-07/0.3203, allocations: 0 / 0.4911 GB, free: 8.598 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.001156/0.3215, allocations: 259.6 kB / 0.4914 GB, free: 8.559 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 {(3,4,77.8%), (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.004315/0.3258, allocations: 2.543 MB / 0.4939 GB, free: 6.25 MB / 366.1 MB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/AES main/ProcessComponents/Thermal/Air/MAvolume.mo:13:3-13:61:writable] Warning: Variable $DER.V.p has attribute stateSelect=StateSelect.always, but can't be selected as a state. Notification: Performance of simCode: created initialization part: time 0.007444/0.3332, allocations: 1.984 MB / 0.4958 GB, free: 4.438 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 4.007e-06/0.3333, allocations: 7.938 kB / 0.4958 GB, free: 4.43 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 0.006335/0.3396, allocations: 1.634 MB / 0.4974 GB, free: 2.742 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001186/0.3408, allocations: 173.6 kB / 0.4976 GB, free: 2.57 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01077/0.3516, allocations: 6.908 MB / 0.5043 GB, free: 11.36 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004601/0.3521, allocations: 0.9328 MB / 0.5052 GB, free: 10.4 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 0.0005687/0.3526, allocations: 89.12 kB / 0.5053 GB, free: 10.31 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003674/0.353, allocations: 239.4 kB / 0.5056 GB, free: 10.08 MB / 382.1 MB Notification: Performance of SimCode: time 6.61e-07/0.353, allocations: 0 / 0.5056 GB, free: 10.08 MB / 382.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.04299/0.396, allocations: 17.64 MB / 0.5228 GB, free: 8.676 MB / 398.1 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001705/0.3962, allocations: 203.4 kB / 0.523 GB, free: 8.422 MB / 398.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 2.416/2.813, allocations: 0 / 0.523 GB, free: 8.422 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)