Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr AES_AES.Devel_test_models.Test_air_circ_004.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_004,fileNamePrefix="AES_AES_Devel_test_models_Test_air_circ_004",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(AES.Devel_test_models.Test_air_circ_004,fileNamePrefix="AES_AES_Devel_test_models_Test_air_circ_004",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.006722/0.006722, allocations: 99.66 kB / 15.73 MB, free: 5.949 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.00132/0.00132, allocations: 194.6 kB / 16.67 MB, free: 5.875 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.358/1.358, allocations: 222.9 MB / 240.4 MB, free: 4.156 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/AES main/package.mo): time 0.2089/0.2089, allocations: 22.33 MB / 312.9 MB, free: 12.35 MB / 254.1 MB Notification: Performance of FrontEnd - loaded program: time 0.002165/0.002165, allocations: 66.3 kB / 436.6 MB, free: 33.94 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1141/0.1163, allocations: 54.96 MB / 491.5 MB, free: 1.695 MB / 350.1 MB Notification: Performance of NFInst.instantiate(AES.Devel_test_models.Test_air_circ_004): time 0.004062/0.1204, allocations: 3.567 MB / 495.1 MB, free: 14.11 MB / 366.1 MB Notification: Performance of NFInst.instExpressions: time 0.001682/0.1221, allocations: 1.095 MB / 496.2 MB, free: 13.01 MB / 366.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001619/0.1223, allocations: 4 kB / 496.2 MB, free: 13.01 MB / 366.1 MB Notification: Performance of NFTyping.typeComponents: time 0.000144/0.1224, allocations: 67.28 kB / 496.3 MB, free: 12.94 MB / 366.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0004457/0.1229, allocations: 186.4 kB / 496.4 MB, free: 12.76 MB / 366.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003213/0.1232, allocations: 203.7 kB / 496.6 MB, free: 12.56 MB / 366.1 MB Notification: Performance of NFFlatten.flatten: time 0.0006618/0.1239, allocations: 0.8342 MB / 497.5 MB, free: 11.72 MB / 366.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0004466/0.1244, allocations: 364.9 kB / 497.8 MB, free: 11.36 MB / 366.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.000307/0.1247, allocations: 307.1 kB / 498.1 MB, free: 11.06 MB / 366.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003353/0.125, allocations: 334.8 kB / 498.5 MB, free: 10.73 MB / 366.1 MB Notification: Performance of NFPackage.collectConstants: time 8.77e-05/0.1251, allocations: 72 kB / 498.5 MB, free: 10.66 MB / 366.1 MB Notification: Performance of NFFlatten.collectFunctions: time 9.391e-05/0.1252, allocations: 72 kB / 498.6 MB, free: 10.59 MB / 366.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001298/0.1254, allocations: 143.6 kB / 498.7 MB, free: 10.45 MB / 366.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0002585/0.1256, allocations: 334.6 kB / 499.1 MB, free: 10.12 MB / 366.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0005756/0.1262, allocations: 0.7484 MB / 499.8 MB, free: 9.371 MB / 366.1 MB Notification: Performance of FrontEnd - DAE generated: time 8.226e-06/0.1262, allocations: 7.984 kB / 499.8 MB, free: 9.363 MB / 366.1 MB Notification: Performance of FrontEnd: time 1.202e-06/0.1262, allocations: 0 / 499.8 MB, free: 9.363 MB / 366.1 MB Notification: Performance of Transformations before backend: time 8.025e-06/0.1262, allocations: 0 / 499.8 MB, free: 9.363 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: 163 * Number of variables: 163 Notification: Performance of Generate backend data structure: time 0.001451/0.1277, allocations: 0.8309 MB / 0.4889 GB, free: 8.48 MB / 366.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.257e-05/0.1277, allocations: 12.03 kB / 0.4889 GB, free: 8.469 MB / 366.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001066/0.1279, allocations: 106.7 kB / 0.489 GB, free: 8.355 MB / 366.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.971e-05/0.128, allocations: 56.28 kB / 0.4891 GB, free: 8.301 MB / 366.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001886/0.1281, allocations: 227.7 kB / 0.4893 GB, free: 8.039 MB / 366.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.036e-05/0.1282, allocations: 57.38 kB / 0.4894 GB, free: 7.984 MB / 366.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 9.387e-05/0.1283, allocations: 60 kB / 0.4894 GB, free: 7.926 MB / 366.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0008403/0.1291, allocations: 0.5414 MB / 0.4899 GB, free: 7.375 MB / 366.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.667e-05/0.1292, allocations: 4 kB / 0.49 GB, free: 7.371 MB / 366.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.925e-05/0.1292, allocations: 28 kB / 0.49 GB, free: 7.344 MB / 366.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.294e-05/0.1292, allocations: 16 kB / 0.49 GB, free: 7.328 MB / 366.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0008327/0.1301, allocations: 0.4892 MB / 0.4905 GB, free: 6.84 MB / 366.1 MB Warning: Alias set with conflicting start values * Candidate: V1.T(start = V1.Tstart = 293.15, confidence number = 2) * Candidate: V1.air.T(start = 288.15, confidence number = 8) * Candidate: V1.heatPort.T(start = 288.15, confidence number = 8) * Candidate: HP.hotPort.T(start = 288.15, confidence number = 8) * Candidate: HP.Th(start = 288.15, confidence number = 7) => Select value from V1.T(start = V1.Tstart = 293.15) for variable: V1.T Warning: Alias set with conflicting start values * Candidate: V2.T(start = V2.Tstart = 293.15, confidence number = 2) * Candidate: V2.air.T(start = 288.15, confidence number = 8) * Candidate: V2.heatPort.T(start = 288.15, confidence number = 8) * Candidate: HP.coldPort.T(start = 288.15, confidence number = 8) * Candidate: HP.Tc(start = 288.15, confidence number = 7) => Select value from V2.T(start = V2.Tstart = 293.15) for variable: V2.T Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002848/0.1329, allocations: 2.346 MB / 0.4928 GB, free: 4.27 MB / 366.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.00116/0.1341, allocations: 0.5798 MB / 0.4933 GB, free: 3.68 MB / 366.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003732/0.1345, allocations: 242.4 kB / 0.4936 GB, free: 3.438 MB / 366.1 MB Notification: Performance of preOpt evalFunc (simulation): time 5.773e-05/0.1346, allocations: 8.562 kB / 0.4936 GB, free: 3.43 MB / 366.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.572e-05/0.1346, allocations: 39.12 kB / 0.4936 GB, free: 3.383 MB / 366.1 MB Notification: Performance of pre-optimization done (n=65): time 2.825e-06/0.1346, allocations: 3.938 kB / 0.4936 GB, free: 3.379 MB / 366.1 MB Notification: Performance of matching and sorting (n=87): time 0.01175/0.1464, allocations: 3.942 MB / 0.4975 GB, free: 15.29 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.548e-05/0.1464, allocations: 64.39 kB / 0.4975 GB, free: 15.21 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001472/0.1466, allocations: 142.9 kB / 0.4977 GB, free: 15.07 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 5.226e-05/0.1467, allocations: 41.7 kB / 0.4977 GB, free: 15.02 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001326/0.1468, allocations: 220.6 kB / 0.4979 GB, free: 14.8 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002316/0.147, allocations: 303.6 kB / 0.4982 GB, free: 14.5 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000197/0.1472, allocations: 118.6 kB / 0.4983 GB, free: 14.38 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 0.0001351/0.1474, allocations: 354.7 kB / 0.4986 GB, free: 14.02 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004609/0.1478, allocations: 269.9 kB / 0.4989 GB, free: 13.76 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004913/0.1483, allocations: 328.6 kB / 0.4992 GB, free: 13.43 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.01008/0.1584, allocations: 2.17 MB / 0.5013 GB, free: 11.26 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.467e-06/0.1585, allocations: 0 / 0.5013 GB, free: 11.26 MB / 382.1 MB Notification: Performance of matching and sorting (n=95) (initialization): time 0.002852/0.1613, allocations: 1.091 MB / 0.5024 GB, free: 10.14 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.038e-05/0.1614, allocations: 4 kB / 0.5024 GB, free: 10.14 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.243e-06/0.1614, allocations: 3.938 kB / 0.5024 GB, free: 10.13 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001928/0.1633, allocations: 412.6 kB / 0.5028 GB, free: 9.711 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00302/0.1663, allocations: 423.5 kB / 0.5032 GB, free: 9.297 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01193/0.1783, allocations: 14.15 MB / 0.517 GB, free: 9.871 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005149/0.1788, allocations: 20.03 kB / 0.517 GB, free: 9.852 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.474e-05/0.1789, allocations: 20 kB / 0.5171 GB, free: 9.832 MB / 398.1 MB Warning: Assuming fixed start value for the following 4 variables: V1.p:VARIABLE(min = 0.0 start = V1.pstart unit = "Pa" fixed = true nominal = 1e5 stateSelect=StateSelect.always ) type: Real V1.T:VARIABLE(min = 0.0 start = V1.Tstart unit = "K" fixed = true nominal = 300.0 stateSelect=StateSelect.prefer ) type: Real V2.p:VARIABLE(min = 0.0 start = V2.pstart unit = "Pa" fixed = true nominal = 1e5 stateSelect=StateSelect.always ) type: Real V2.T:VARIABLE(min = 0.0 start = V2.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 (75): * Single equations (assignments): 66 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 3 * Torn equation systems: 6 * 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): 3 systems {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): 5 systems {(2,5,100.0%), (2,5,100.0%), (1,2,100.0%), (1,1,100.0%), (1,1,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 1 system {(1,4)} Notification: Performance of prepare postOptimizeDAE: time 0.0004326/0.1794, allocations: 208 kB / 0.5173 GB, free: 9.625 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001151/0.1795, allocations: 43.61 kB / 0.5173 GB, free: 9.582 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003362/0.1829, allocations: 1.268 MB / 0.5185 GB, free: 8.289 MB / 398.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.036e-06/0.1829, allocations: 8 kB / 0.5185 GB, free: 8.281 MB / 398.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.995e-06/0.1829, allocations: 4 kB / 0.5186 GB, free: 8.277 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.784e-06/0.1829, allocations: 7.984 kB / 0.5186 GB, free: 8.27 MB / 398.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003945/0.1869, allocations: 1.998 MB / 0.5205 GB, free: 6.184 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.656e-06/0.1869, allocations: 0 / 0.5205 GB, free: 6.184 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002746/0.1897, allocations: 379.6 kB / 0.5209 GB, free: 5.812 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.003851/0.1935, allocations: 0.6954 MB / 0.5216 GB, free: 5.098 MB / 398.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001354/0.1937, allocations: 23.98 kB / 0.5216 GB, free: 5.074 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0137/0.2074, allocations: 14.67 MB / 0.5359 GB, free: 5.137 MB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.424e-06/0.2074, allocations: 0 / 0.5359 GB, free: 5.137 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003884/0.2113, allocations: 1.695 MB / 0.5376 GB, free: 3.398 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001214/0.2115, allocations: 112.7 kB / 0.5377 GB, free: 3.27 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.283e-05/0.2116, allocations: 16 kB / 0.5377 GB, free: 3.254 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000478/0.2121, allocations: 23.98 kB / 0.5377 GB, free: 3.23 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000279/0.2123, allocations: 92.75 kB / 0.5378 GB, free: 3.137 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.846e-05/0.2124, allocations: 23.98 kB / 0.5378 GB, free: 3.113 MB / 414.1 MB Notification: Performance of sorting global known variables: time 9.591e-05/0.2125, allocations: 109.2 kB / 0.5379 GB, free: 3.008 MB / 414.1 MB Notification: Performance of sort global known variables: time 1.5e-07/0.2125, allocations: 0 / 0.5379 GB, free: 3.008 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.0009711/0.2135, allocations: 216 kB / 0.5381 GB, free: 2.797 MB / 414.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 4 * Number of states: 6 (V1.Mv,V1.p,V1.T,V2.Ma,V2.p,V2.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 (63): * Single equations (assignments): 54 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 3 * Torn equation systems: 6 * 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): 3 systems {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%), (2,5,100.0%), (1,2,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 3 systems {(1,4), (1,5), (1,5)} Notification: Performance of Backend phase and start with SimCode phase: time 0.004018/0.2175, allocations: 2.265 MB / 0.5403 GB, free: 488 kB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.004934/0.2225, allocations: 1.817 MB / 0.5421 GB, free: 14.59 MB / 430.1 MB Notification: Performance of simCode: created event and clocks part: time 5.36e-06/0.2225, allocations: 4 kB / 0.5421 GB, free: 14.58 MB / 430.1 MB Notification: Performance of simCode: created simulation system equations: time 0.004245/0.2268, allocations: 1.556 MB / 0.5436 GB, free: 12.95 MB / 430.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006408/0.2274, allocations: 96 kB / 0.5437 GB, free: 12.85 MB / 430.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0102/0.2376, allocations: 5.38 MB / 0.549 GB, free: 7.332 MB / 430.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004839/0.2381, allocations: 0.8799 MB / 0.5498 GB, free: 6.422 MB / 430.1 MB Notification: Performance of simCode: alias equations: time 0.0003125/0.2385, allocations: 52.17 kB / 0.5499 GB, free: 6.367 MB / 430.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002904/0.2388, allocations: 183.4 kB / 0.5501 GB, free: 6.188 MB / 430.1 MB Notification: Performance of SimCode: time 9.52e-07/0.2388, allocations: 0 / 0.5501 GB, free: 6.188 MB / 430.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.04873/0.2875, allocations: 15.56 MB / 0.5653 GB, free: 6.754 MB / 446.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 11.69/11.98, allocations: 7.188 kB / 0.5653 GB, free: 6.75 MB / 446.1 MB (rm -f AES_AES.Devel_test_models.Test_air_circ_004.pipe ; mkfifo AES_AES.Devel_test_models.Test_air_circ_004.pipe ; head -c 1048576 < AES_AES.Devel_test_models.Test_air_circ_004.pipe >> ../files/AES_AES.Devel_test_models.Test_air_circ_004.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_AES_AES_Devel_test_models_Test_air_circ_004_fmu --startTime=0 --stopTime=200 --timeout=50 --tolerance=1e-06 AES_AES_Devel_test_models_Test_air_circ_004.fmu > AES_AES.Devel_test_models.Test_air_circ_004.pipe 2>&1)