Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr AES_AES.Devel_test_models.Test_air_circ_003.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_air_circ_003,fileNamePrefix="AES_AES_Devel_test_models_Test_air_circ_003",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(AES.Devel_test_models.Test_air_circ_003,fileNamePrefix="AES_AES_Devel_test_models_Test_air_circ_003",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.008104/0.008104, allocations: 101.2 kB / 15.73 MB, free: 6.047 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.001921/0.001921, allocations: 196.2 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.367/1.367, allocations: 222.9 MB / 240.4 MB, free: 4.324 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/AES main/package.mo): time 0.1989/0.1989, allocations: 22.34 MB / 312.9 MB, free: 12.43 MB / 254.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001774/0.001774, allocations: 67.16 kB / 436.6 MB, free: 34.02 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1141/0.1159, allocations: 54.96 MB / 491.5 MB, free: 1.715 MB / 350.1 MB Notification: Performance of NFInst.instantiate(AES.Devel_test_models.Test_air_circ_003): time 0.004597/0.1205, allocations: 3.515 MB / 495.1 MB, free: 14.18 MB / 366.1 MB Notification: Performance of NFInst.instExpressions: time 0.0022/0.1227, allocations: 1.103 MB / 496.2 MB, free: 13.08 MB / 366.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003821/0.1231, allocations: 4 kB / 496.2 MB, free: 13.07 MB / 366.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002321/0.1234, allocations: 67.28 kB / 496.2 MB, free: 13.01 MB / 366.1 MB Notification: Performance of NFTyping.typeBindings: time 0.000806/0.1243, allocations: 178.4 kB / 496.4 MB, free: 12.83 MB / 366.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004526/0.1247, allocations: 219.7 kB / 496.6 MB, free: 12.62 MB / 366.1 MB Notification: Performance of NFFlatten.flatten: time 0.001054/0.1258, allocations: 0.8416 MB / 497.5 MB, free: 11.77 MB / 366.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0006968/0.1265, allocations: 447.9 kB / 497.9 MB, free: 11.33 MB / 366.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0007412/0.1273, allocations: 351.1 kB / 498.2 MB, free: 10.98 MB / 366.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0005879/0.1279, allocations: 394.7 kB / 498.6 MB, free: 10.6 MB / 366.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001236/0.128, allocations: 84 kB / 498.7 MB, free: 10.52 MB / 366.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001321/0.1281, allocations: 80 kB / 498.8 MB, free: 10.44 MB / 366.1 MB Notification: Performance of NFScalarize.scalarize: time 0.000144/0.1283, allocations: 171.5 kB / 498.9 MB, free: 10.27 MB / 366.1 MB Notification: Performance of NFVerifyModel.verify: time 0.000336/0.1286, allocations: 362.5 kB / 499.3 MB, free: 9.914 MB / 366.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0007582/0.1294, allocations: 0.8147 MB / 0.4884 GB, free: 9.098 MB / 366.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.58e-06/0.1294, allocations: 0 / 0.4884 GB, free: 9.098 MB / 366.1 MB Notification: Performance of FrontEnd: time 1.714e-06/0.1294, allocations: 0 / 0.4884 GB, free: 9.098 MB / 366.1 MB Notification: Performance of Transformations before backend: time 1.435e-05/0.1294, allocations: 0 / 0.4884 GB, free: 9.098 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: 161 * Number of variables: 161 Notification: Performance of Generate backend data structure: time 0.0018/0.1313, allocations: 0.8817 MB / 0.4893 GB, free: 8.164 MB / 366.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.16e-05/0.1313, allocations: 8.031 kB / 0.4893 GB, free: 8.156 MB / 366.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.000149/0.1315, allocations: 114.7 kB / 0.4894 GB, free: 8.035 MB / 366.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001128/0.1316, allocations: 56.28 kB / 0.4894 GB, free: 7.98 MB / 366.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002253/0.1318, allocations: 231.6 kB / 0.4896 GB, free: 7.715 MB / 366.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.635e-05/0.1319, allocations: 45.69 kB / 0.4897 GB, free: 7.672 MB / 366.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001016/0.132, allocations: 64.12 kB / 0.4898 GB, free: 7.609 MB / 366.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001026/0.133, allocations: 0.6077 MB / 0.4903 GB, free: 6.992 MB / 366.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.475e-05/0.133, allocations: 0 / 0.4903 GB, free: 6.992 MB / 366.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.418e-05/0.1331, allocations: 28 kB / 0.4904 GB, free: 6.965 MB / 366.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.806e-05/0.1331, allocations: 12 kB / 0.4904 GB, free: 6.953 MB / 366.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001157/0.1343, allocations: 0.6102 MB / 0.491 GB, free: 6.344 MB / 366.1 MB Warning: Alias set with conflicting start values * Candidate: V.T(start = V.Tstart = 293.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 = 293.15) for variable: V.T Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003274/0.1376, allocations: 1.933 MB / 0.4929 GB, free: 4.309 MB / 366.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001533/0.1391, allocations: 0.6944 MB / 0.4935 GB, free: 3.605 MB / 366.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004805/0.1396, allocations: 310.7 kB / 0.4938 GB, free: 3.301 MB / 366.1 MB Notification: Performance of preOpt evalFunc (simulation): time 5.496e-05/0.1397, allocations: 16.72 kB / 0.4939 GB, free: 3.285 MB / 366.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.331e-05/0.1397, allocations: 39.22 kB / 0.4939 GB, free: 3.238 MB / 366.1 MB Notification: Performance of preOpt simplifyInStream (simulation): time 0.0004691/0.1402, allocations: 107.4 kB / 0.494 GB, free: 3.133 MB / 366.1 MB Notification: Performance of pre-optimization done (n=79): time 2.655e-06/0.1402, allocations: 4 kB / 0.494 GB, free: 3.129 MB / 366.1 MB Notification: Performance of matching and sorting (n=90): time 0.007635/0.1479, allocations: 2.913 MB / 0.4968 GB, free: 116 kB / 366.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.289e-05/0.1479, allocations: 60.41 kB / 0.4969 GB, free: 44 kB / 366.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000231/0.1482, allocations: 202.9 kB / 0.4971 GB, free: 15.84 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 5.739e-05/0.1483, allocations: 33.7 kB / 0.4971 GB, free: 15.8 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001328/0.1484, allocations: 200.9 kB / 0.4973 GB, free: 15.6 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0003458/0.1488, allocations: 303.5 kB / 0.4976 GB, free: 15.3 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002358/0.149, allocations: 134.6 kB / 0.4977 GB, free: 15.16 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 0.0001691/0.1492, allocations: 350.7 kB / 0.4981 GB, free: 14.8 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005902/0.1498, allocations: 277.9 kB / 0.4983 GB, free: 14.54 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005876/0.1504, allocations: 344.6 kB / 0.4987 GB, free: 14.2 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.01546/0.1658, allocations: 2.821 MB / 0.5014 GB, free: 11.36 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.487e-06/0.1659, allocations: 0 / 0.5014 GB, free: 11.36 MB / 382.1 MB Notification: Performance of matching and sorting (n=96) (initialization): time 0.002263/0.1682, allocations: 0.9329 MB / 0.5023 GB, free: 10.41 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.429e-05/0.1682, allocations: 5.875 kB / 0.5023 GB, free: 10.41 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.098e-05/0.1682, allocations: 8 kB / 0.5023 GB, free: 10.4 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0009501/0.1692, allocations: 186.4 kB / 0.5025 GB, free: 10.21 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003943/0.1731, allocations: 0.5384 MB / 0.5031 GB, free: 9.672 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.009512/0.1827, allocations: 10.61 MB / 0.5134 GB, free: 14.05 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006092/0.1833, allocations: 24.02 kB / 0.5134 GB, free: 14.03 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.869e-05/0.1834, allocations: 27.98 kB / 0.5135 GB, free: 14 MB / 398.1 MB Warning: Assuming fixed start value for the following 2 variables: 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: 2 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (87): * Single equations (assignments): 80 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 4 * Torn equation systems: 3 * 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): 4 systems {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,2,100.0%), (1,1,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.0004503/0.1839, allocations: 202.5 kB / 0.5137 GB, free: 13.8 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001415/0.184, allocations: 43.53 kB / 0.5137 GB, free: 13.76 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002833/0.1869, allocations: 1.174 MB / 0.5148 GB, free: 12.56 MB / 398.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.427e-05/0.1869, allocations: 12 kB / 0.5149 GB, free: 12.55 MB / 398.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.644e-06/0.1869, allocations: 4 kB / 0.5149 GB, free: 12.55 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.628e-06/0.1869, allocations: 3.984 kB / 0.5149 GB, free: 12.54 MB / 398.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003947/0.1909, allocations: 2.144 MB / 0.517 GB, free: 10.26 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.178e-05/0.1909, allocations: 4 kB / 0.517 GB, free: 10.25 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.003635/0.1946, allocations: 0.5035 MB / 0.5175 GB, free: 9.75 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001933/0.1965, allocations: 342.1 kB / 0.5178 GB, free: 9.406 MB / 398.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.00017/0.1967, allocations: 27.98 kB / 0.5178 GB, free: 9.379 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.009335/0.2061, allocations: 10.86 MB / 0.5284 GB, free: 13.53 MB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.308e-06/0.2061, allocations: 11.94 kB / 0.5284 GB, free: 13.52 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003285/0.2094, allocations: 1.671 MB / 0.5301 GB, free: 11.74 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.00017/0.2096, allocations: 128.5 kB / 0.5302 GB, free: 11.59 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.00011/0.2097, allocations: 27.94 kB / 0.5302 GB, free: 11.57 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005382/0.2102, allocations: 24 kB / 0.5302 GB, free: 11.54 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002211/0.2105, allocations: 100.3 kB / 0.5303 GB, free: 11.44 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.125e-05/0.2106, allocations: 32 kB / 0.5304 GB, free: 11.41 MB / 414.1 MB Notification: Performance of sorting global known variables: time 0.0001452/0.2107, allocations: 151.2 kB / 0.5305 GB, free: 11.26 MB / 414.1 MB Notification: Performance of sort global known variables: time 1.71e-07/0.2107, allocations: 0 / 0.5305 GB, free: 11.26 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.0008573/0.2116, allocations: 192 kB / 0.5307 GB, free: 11.07 MB / 414.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 27 * Number of states: 3 (V.Mv,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 (86): * Single equations (assignments): 79 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 4 * Torn equation systems: 3 * 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): 4 systems {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): 1 system {(1,5)} Notification: Performance of Backend phase and start with SimCode phase: time 0.00341/0.215, allocations: 2.243 MB / 0.5329 GB, free: 8.711 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.005254/0.2203, allocations: 1.509 MB / 0.5343 GB, free: 7.164 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 6.612e-06/0.2203, allocations: 0 / 0.5343 GB, free: 7.164 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 0.004343/0.2247, allocations: 1.212 MB / 0.5355 GB, free: 5.914 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0009997/0.2257, allocations: 152.4 kB / 0.5357 GB, free: 5.766 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00926/0.235, allocations: 5.416 MB / 0.541 GB, free: 92 kB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005072/0.2355, allocations: 0.8725 MB / 0.5418 GB, free: 15.19 MB / 430.1 MB Notification: Performance of simCode: alias equations: time 0.0005084/0.236, allocations: 84.56 kB / 0.5419 GB, free: 15.1 MB / 430.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003731/0.2364, allocations: 195.3 kB / 0.5421 GB, free: 14.91 MB / 430.1 MB Notification: Performance of SimCode: time 1.222e-06/0.2364, allocations: 0 / 0.5421 GB, free: 14.91 MB / 430.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.04738/0.2838, allocations: 15.2 MB / 0.5569 GB, free: 15.88 MB / 446.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 12.15/12.44, allocations: 3.25 kB / 0.5569 GB, free: 15.88 MB / 446.1 MB (rm -f AES_AES.Devel_test_models.Test_air_circ_003.pipe ; mkfifo AES_AES.Devel_test_models.Test_air_circ_003.pipe ; head -c 1048576 < AES_AES.Devel_test_models.Test_air_circ_003.pipe >> ../files/AES_AES.Devel_test_models.Test_air_circ_003.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_AES_AES_Devel_test_models_Test_air_circ_003_fmu --startTime=0 --stopTime=200 --timeout=50 --tolerance=1e-06 AES_AES_Devel_test_models_Test_air_circ_003.fmu > AES_AES.Devel_test_models.Test_air_circ_003.pipe 2>&1)