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.0009678/0.0009675, allocations: 98.38 kB / 15.05 MB, free: 1.105 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.001079/0.001079, allocations: 177.3 kB / 15.94 MB, free: 228 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.402/1.402, allocations: 223.2 MB / 239.9 MB, free: 5.441 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/AES main/package.mo): time 0.2453/0.2453, allocations: 22.34 MB / 313.3 MB, free: 13.21 MB / 254.1 MB Notification: Performance of FrontEnd - loaded program: time 0.000424/0.0004241, allocations: 8 kB / 381.9 MB, free: 10.57 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3916/0.392, allocations: 55.97 MB / 437.9 MB, free: 39.28 MB / 350.1 MB Notification: Performance of NFInst.instantiate(AES.Devel_test_models.Test_AHU_001): time 0.003098/0.3952, allocations: 3.291 MB / 441.2 MB, free: 36.9 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.001861/0.3971, allocations: 1.338 MB / 442.5 MB, free: 35.93 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001696/0.3972, allocations: 4.719 kB / 442.5 MB, free: 35.93 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 9.995e-05/0.3974, allocations: 62.28 kB / 442.6 MB, free: 35.91 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003689/0.3977, allocations: 248.1 kB / 442.8 MB, free: 35.73 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004011/0.3981, allocations: 200.4 kB / 443 MB, free: 35.61 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0006042/0.3988, allocations: 0.7148 MB / 443.7 MB, free: 35.22 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0004282/0.3992, allocations: 369.5 kB / 444.1 MB, free: 35.11 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003407/0.3995, allocations: 361.2 kB / 444.4 MB, free: 34.96 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003894/0.3999, allocations: 393.7 kB / 444.8 MB, free: 34.8 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 7.395e-05/0.4, allocations: 42.84 kB / 444.9 MB, free: 34.8 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001092/0.4001, allocations: 50 kB / 444.9 MB, free: 34.8 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001167/0.4003, allocations: 153.7 kB / 445.1 MB, free: 34.71 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001327/0.4004, allocations: 176.5 kB / 445.2 MB, free: 34.62 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0005134/0.4009, allocations: 0.7468 MB / 446 MB, free: 34.46 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.006e-06/0.4009, allocations: 0 / 446 MB, free: 34.46 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.943e-06/0.4009, allocations: 0 / 446 MB, free: 34.46 MB / 350.1 MB Notification: Performance of Transformations before backend: time 9.758e-06/0.4009, allocations: 0 / 446 MB, free: 34.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.001686/0.4026, allocations: 0.9026 MB / 446.9 MB, free: 33.86 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.676e-05/0.4027, allocations: 8.781 kB / 446.9 MB, free: 33.86 MB / 350.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001361/0.4028, allocations: 140.1 kB / 447 MB, free: 33.76 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001225/0.403, allocations: 78.28 kB / 447.1 MB, free: 33.72 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000187/0.4032, allocations: 252.2 kB / 447.4 MB, free: 33.46 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.449e-05/0.4032, allocations: 65.53 kB / 447.4 MB, free: 33.43 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001011/0.4033, allocations: 88.25 kB / 447.5 MB, free: 33.4 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001063/0.4044, allocations: 0.717 MB / 448.2 MB, free: 33.1 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.727e-05/0.4044, allocations: 3.422 kB / 448.2 MB, free: 33.1 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.655e-05/0.4045, allocations: 37.84 kB / 448.3 MB, free: 33.07 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.881e-05/0.4045, allocations: 23.09 kB / 448.3 MB, free: 33.07 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001037/0.4056, allocations: 0.7147 MB / 449 MB, free: 32.82 MB / 350.1 MB Warning: The model contains alias variables with redundant start and/or conflicting nominal values. It is recommended to resolve the conflicts, because otherwise the system could be hard to solve. To print the conflicting alias sets and the chosen candidates please use -d=aliasConflicts. Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003124/0.4087, allocations: 2.139 MB / 451.1 MB, free: 31.6 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001543/0.4103, allocations: 0.8711 MB / 452 MB, free: 31.27 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 7.721e-05/0.4103, allocations: 16.55 kB / 452 MB, free: 31.27 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.834e-05/0.4104, allocations: 46 kB / 452.1 MB, free: 31.22 MB / 350.1 MB Notification: Performance of pre-optimization done (n=103): time 2.575e-06/0.4104, allocations: 0 / 452.1 MB, free: 31.22 MB / 350.1 MB Notification: Performance of matching and sorting (n=114): time 0.008054/0.4184, allocations: 3.413 MB / 455.5 MB, free: 29.55 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.436e-05/0.4185, allocations: 63.22 kB / 455.6 MB, free: 29.49 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002401/0.4188, allocations: 213.6 kB / 455.8 MB, free: 29.34 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 6.434e-05/0.4188, allocations: 45.89 kB / 455.8 MB, free: 29.3 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001471/0.419, allocations: 253.9 kB / 456.1 MB, free: 29.09 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002507/0.4192, allocations: 390.8 kB / 456.4 MB, free: 28.78 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.729e-05/0.4193, allocations: 20.88 kB / 456.5 MB, free: 28.77 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.000105/0.4194, allocations: 356.1 kB / 456.8 MB, free: 28.43 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005373/0.42, allocations: 298.5 kB / 457.1 MB, free: 28.32 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006396/0.4206, allocations: 391.5 kB / 457.5 MB, free: 28.13 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006247/0.4212, allocations: 355.4 kB / 457.8 MB, free: 27.95 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.334e-06/0.4212, allocations: 0 / 457.8 MB, free: 27.95 MB / 350.1 MB Notification: Performance of matching and sorting (n=125) (initialization): time 0.002622/0.4239, allocations: 1.16 MB / 459 MB, free: 27.45 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.073e-05/0.4239, allocations: 8.781 kB / 459 MB, free: 27.45 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.668e-06/0.4239, allocations: 2.594 kB / 459 MB, free: 27.45 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001588/0.4255, allocations: 344.6 kB / 459.3 MB, free: 27.36 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.005212/0.4307, allocations: 0.7487 MB / 460.1 MB, free: 27.31 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01183/0.4426, allocations: 14.86 MB / 474.9 MB, free: 12.83 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000971/0.4436, allocations: 48.84 kB / 475 MB, free: 12.82 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.136e-05/0.4437, allocations: 29.8 kB / 475 MB, free: 12.81 MB / 350.1 MB Warning: Assuming fixed start value for the following 4 variables: 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 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 AHU.phi:VARIABLE(start = AHU.phistart fixed = true ) type: Real AHU.T:VARIABLE(min = max(0.0, 0.0) start = AHU.Tstart unit = "K" fixed = true nominal = 300.0 ) "controlled T" 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 (linear and non-linear blocks): 6 * Torn equation systems: 4 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details: * Constant Jacobian: 0 * Linear Jacobian (size,density): 0 * Non-linear Jacobian: 6 {1,1,1,1,1,1} * Without analytic Jacobian: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 3 {(3,77.8%) 4,(1,100.0%) 1,(1,100.0%) 2} * Non-linear torn systems: 1 {3 11} Notification: Performance of prepare postOptimizeDAE: time 0.0005097/0.4442, allocations: 249.8 kB / 475.3 MB, free: 12.61 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001048/0.4443, allocations: 48.28 kB / 475.3 MB, free: 12.59 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003367/0.4477, allocations: 1.395 MB / 476.7 MB, free: 11.96 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.424e-05/0.4477, allocations: 11.91 kB / 476.7 MB, free: 11.96 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.941e-06/0.4477, allocations: 0.9688 kB / 476.7 MB, free: 11.96 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.284e-05/0.4477, allocations: 5.453 kB / 476.7 MB, free: 11.96 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004823/0.4526, allocations: 2.548 MB / 479.3 MB, free: 10.55 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.217e-05/0.4526, allocations: 10.08 kB / 479.3 MB, free: 10.55 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.004898/0.4575, allocations: 0.687 MB / 480 MB, free: 10.51 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.002725/0.4603, allocations: 0.4989 MB / 480.5 MB, free: 10.4 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002208/0.4605, allocations: 32.14 kB / 480.5 MB, free: 10.38 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01338/0.4739, allocations: 15.05 MB / 495.6 MB, free: 11.83 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.209e-05/0.474, allocations: 16.12 kB / 495.6 MB, free: 11.82 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.004964/0.4789, allocations: 2.295 MB / 497.9 MB, free: 10.2 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0003211/0.4793, allocations: 133.5 kB / 498 MB, free: 10.07 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001681/0.4795, allocations: 35.08 kB / 498 MB, free: 10.05 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0008473/0.4803, allocations: 54.97 kB / 498.1 MB, free: 10.04 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0004362/0.4808, allocations: 127.6 kB / 498.2 MB, free: 9.996 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001157/0.4809, allocations: 38.3 kB / 498.2 MB, free: 9.988 MB / 366.1 MB Notification: Performance of sorting global known variables: time 0.0002266/0.4811, allocations: 158.8 kB / 498.4 MB, free: 9.887 MB / 366.1 MB Notification: Performance of sort global known variables: time 1.9e-07/0.4811, allocations: 0 / 498.4 MB, free: 9.887 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.001734/0.4829, allocations: 260.9 kB / 498.7 MB, free: 9.848 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 (linear and non-linear blocks): 6 * Torn equation systems: 4 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details: * Constant Jacobian: 0 * Linear Jacobian (size,density): 0 * Non-linear Jacobian: 6 {1,1,1,1,1,1} * Without analytic Jacobian: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 2 {(3,77.8%) 4,(1,100.0%) 2} * Non-linear torn systems: 2 {1 5,3 11} Notification: Performance of Backend phase and start with SimCode phase: time 0.006088/0.489, allocations: 4.863 MB / 0.4917 GB, free: 5.742 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.007666/0.4967, allocations: 1.98 MB / 0.4936 GB, free: 4.895 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 1.357e-05/0.4967, allocations: 1.094 kB / 0.4937 GB, free: 4.895 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 0.00639/0.5031, allocations: 1.628 MB / 0.4952 GB, free: 3.777 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001124/0.5043, allocations: 160 kB / 0.4954 GB, free: 3.652 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.009315/0.5136, allocations: 4.906 MB / 0.5002 GB, free: 14.91 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007269/0.5144, allocations: 0.9444 MB / 0.5011 GB, free: 13.94 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 0.0007159/0.5151, allocations: 93.09 kB / 0.5012 GB, free: 13.85 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003911/0.5155, allocations: 235.4 kB / 0.5014 GB, free: 13.62 MB / 382.1 MB Notification: Performance of SimCode: time 1.453e-06/0.5155, allocations: 4 kB / 0.5014 GB, free: 13.61 MB / 382.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.04542/0.5609, allocations: 17.19 MB / 0.5182 GB, free: 12.66 MB / 398.1 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.000251/0.5612, allocations: 183.3 kB / 0.5184 GB, free: 12.42 MB / 398.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 2.369/2.93, allocations: 7.875 kB / 0.5184 GB, free: 12.41 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/linux/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) Environment - environmentSimulation: