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.004911/0.004911, allocations: 100.6 kB / 15.73 MB, free: 6.016 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.001919/0.001919, allocations: 189.8 kB / 16.67 MB, free: 5.934 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.388/1.388, allocations: 222.9 MB / 240.4 MB, free: 15.07 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/AES main/package.mo): time 0.1013/0.1013, allocations: 22.33 MB / 312.9 MB, free: 8.855 MB / 254.1 MB Notification: Performance of FrontEnd - loaded program: time 0.002944/0.002944, allocations: 71.88 kB / 436.6 MB, free: 12.23 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1113/0.1143, allocations: 54.95 MB / 491.5 MB, free: 5.23 MB / 366.1 MB Notification: Performance of NFInst.instantiate(AES.Devel_test_models.Test_air_circ_004): time 0.004743/0.119, allocations: 3.552 MB / 495.1 MB, free: 1.656 MB / 366.1 MB Notification: Performance of NFInst.instExpressions: time 0.001875/0.1209, allocations: 1.099 MB / 496.2 MB, free: 0.5547 MB / 366.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002054/0.1212, allocations: 4 kB / 496.2 MB, free: 0.5508 MB / 366.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001674/0.1213, allocations: 67.28 kB / 496.2 MB, free: 496 kB / 366.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0004921/0.1219, allocations: 182.4 kB / 496.4 MB, free: 312 kB / 366.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003834/0.1222, allocations: 215.6 kB / 496.6 MB, free: 96 kB / 366.1 MB Notification: Performance of NFFlatten.flatten: time 0.0007865/0.123, allocations: 0.8227 MB / 497.5 MB, free: 15.27 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0004921/0.1235, allocations: 360.8 kB / 497.8 MB, free: 14.91 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003581/0.1239, allocations: 307.2 kB / 498.1 MB, free: 14.61 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003987/0.1243, allocations: 334.7 kB / 498.4 MB, free: 14.28 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001043/0.1244, allocations: 72 kB / 498.5 MB, free: 14.21 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001202/0.1246, allocations: 72 kB / 498.6 MB, free: 14.14 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001391/0.1247, allocations: 151.6 kB / 498.7 MB, free: 13.99 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0003145/0.125, allocations: 334.6 kB / 499 MB, free: 13.66 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0007473/0.1258, allocations: 0.7472 MB / 499.8 MB, free: 12.91 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.387e-06/0.1258, allocations: 0 / 499.8 MB, free: 12.91 MB / 382.1 MB Notification: Performance of FrontEnd: time 1.232e-06/0.1258, allocations: 0 / 499.8 MB, free: 12.91 MB / 382.1 MB Notification: Performance of Transformations before backend: time 8.336e-06/0.1258, allocations: 0 / 499.8 MB, free: 12.91 MB / 382.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.001549/0.1274, allocations: 0.8458 MB / 0.4889 GB, free: 12.02 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.284e-05/0.1274, allocations: 11.97 kB / 0.4889 GB, free: 12 MB / 382.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001251/0.1275, allocations: 110.7 kB / 0.489 GB, free: 11.89 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 9.836e-05/0.1276, allocations: 60.56 kB / 0.4891 GB, free: 11.83 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002048/0.1279, allocations: 227.6 kB / 0.4893 GB, free: 11.57 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.311e-05/0.1279, allocations: 53.44 kB / 0.4894 GB, free: 11.52 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 9.374e-05/0.128, allocations: 68 kB / 0.4894 GB, free: 11.45 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0009659/0.129, allocations: 0.5375 MB / 0.4899 GB, free: 10.9 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.722e-05/0.129, allocations: 8 kB / 0.4899 GB, free: 10.89 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.382e-05/0.1291, allocations: 24 kB / 0.49 GB, free: 10.87 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.795e-05/0.1291, allocations: 16 kB / 0.49 GB, free: 10.86 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000943/0.13, allocations: 497 kB / 0.4905 GB, free: 10.37 MB / 382.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.002972/0.133, allocations: 2.359 MB / 0.4928 GB, free: 7.797 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.00123/0.1343, allocations: 0.5877 MB / 0.4933 GB, free: 7.199 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004374/0.1347, allocations: 242.4 kB / 0.4936 GB, free: 6.957 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 4.942e-05/0.1348, allocations: 8.562 kB / 0.4936 GB, free: 6.949 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.288e-05/0.1348, allocations: 35.12 kB / 0.4936 GB, free: 6.906 MB / 382.1 MB Notification: Performance of pre-optimization done (n=65): time 1.904e-06/0.1348, allocations: 0 / 0.4936 GB, free: 6.906 MB / 382.1 MB Notification: Performance of matching and sorting (n=87): time 0.01267/0.1475, allocations: 3.961 MB / 0.4975 GB, free: 2.801 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.957e-05/0.1476, allocations: 64.41 kB / 0.4975 GB, free: 2.723 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001444/0.1477, allocations: 140.1 kB / 0.4977 GB, free: 2.578 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 5.772e-05/0.1478, allocations: 41.64 kB / 0.4977 GB, free: 2.531 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001511/0.148, allocations: 229.2 kB / 0.4979 GB, free: 2.301 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002471/0.1482, allocations: 317.2 kB / 0.4982 GB, free: 1.988 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002168/0.1484, allocations: 118.7 kB / 0.4983 GB, free: 1.867 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 0.0001593/0.1486, allocations: 354.7 kB / 0.4987 GB, free: 1.512 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005225/0.1491, allocations: 269.9 kB / 0.4989 GB, free: 1.25 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005731/0.1497, allocations: 328.6 kB / 0.4993 GB, free: 0.9219 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.1877/0.3374, allocations: 2.161 MB / 0.5014 GB, free: 21.62 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.266e-06/0.3375, allocations: 0 / 0.5014 GB, free: 21.62 MB / 382.1 MB Notification: Performance of matching and sorting (n=95) (initialization): time 0.002787/0.3403, allocations: 1.097 MB / 0.5024 GB, free: 21.52 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.733e-05/0.3403, allocations: 7.094 kB / 0.5024 GB, free: 21.52 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.454e-06/0.3403, allocations: 0 / 0.5024 GB, free: 21.52 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001986/0.3423, allocations: 404.1 kB / 0.5028 GB, free: 21.48 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002995/0.3453, allocations: 435 kB / 0.5032 GB, free: 21.48 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.008935/0.3543, allocations: 14.14 MB / 0.5171 GB, free: 8.812 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004116/0.3547, allocations: 21.67 kB / 0.5171 GB, free: 8.812 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.564e-05/0.3547, allocations: 26.66 kB / 0.5171 GB, free: 8.809 MB / 382.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.0002713/0.355, allocations: 204.8 kB / 0.5173 GB, free: 8.684 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.225e-05/0.3551, allocations: 37.36 kB / 0.5173 GB, free: 8.664 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003406/0.3585, allocations: 1.276 MB / 0.5186 GB, free: 8.504 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.024e-05/0.3586, allocations: 12.78 kB / 0.5186 GB, free: 8.5 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.377e-06/0.3586, allocations: 2.797 kB / 0.5186 GB, free: 8.5 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.238e-05/0.3586, allocations: 5.344 kB / 0.5186 GB, free: 8.5 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00396/0.3625, allocations: 1.991 MB / 0.5205 GB, free: 8.059 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.919e-06/0.3626, allocations: 1.125 kB / 0.5205 GB, free: 8.059 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002674/0.3652, allocations: 382.3 kB / 0.5209 GB, free: 8.043 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.003809/0.3691, allocations: 0.6966 MB / 0.5216 GB, free: 7.957 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.844e-05/0.3691, allocations: 21.5 kB / 0.5216 GB, free: 7.957 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01174/0.3809, allocations: 14.67 MB / 0.5359 GB, free: 11.13 MB / 398.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.919e-06/0.3809, allocations: 4.781 kB / 0.5359 GB, free: 11.12 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.004277/0.3852, allocations: 1.7 MB / 0.5376 GB, free: 10.41 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 9.532e-05/0.3853, allocations: 112.5 kB / 0.5377 GB, free: 10.29 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.488e-05/0.3854, allocations: 19.25 kB / 0.5377 GB, free: 10.28 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004284/0.3858, allocations: 24.09 kB / 0.5377 GB, free: 10.26 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002208/0.3861, allocations: 87.25 kB / 0.5378 GB, free: 10.24 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.229e-05/0.3861, allocations: 27.88 kB / 0.5379 GB, free: 10.23 MB / 398.1 MB Notification: Performance of sorting global known variables: time 8.708e-05/0.3862, allocations: 113.2 kB / 0.538 GB, free: 10.15 MB / 398.1 MB Notification: Performance of sort global known variables: time 1.3e-07/0.3862, allocations: 0 / 0.538 GB, free: 10.15 MB / 398.1 MB Notification: Performance of remove unused functions: time 0.0008758/0.3871, allocations: 215.9 kB / 0.5382 GB, free: 10.12 MB / 398.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.004473/0.3916, allocations: 2.271 MB / 0.5404 GB, free: 8.746 MB / 398.1 MB Notification: Performance of simCode: created initialization part: time 0.005059/0.3967, allocations: 1.814 MB / 0.5422 GB, free: 7.719 MB / 398.1 MB Notification: Performance of simCode: created event and clocks part: time 2.916e-06/0.3967, allocations: 0.9688 kB / 0.5422 GB, free: 7.719 MB / 398.1 MB Notification: Performance of simCode: created simulation system equations: time 0.00434/0.401, allocations: 1.561 MB / 0.5437 GB, free: 6.789 MB / 398.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005791/0.4016, allocations: 95.91 kB / 0.5438 GB, free: 6.75 MB / 398.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01007/0.4117, allocations: 5.408 MB / 0.5491 GB, free: 3.492 MB / 398.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005268/0.4123, allocations: 0.8852 MB / 0.5499 GB, free: 2.707 MB / 398.1 MB Notification: Performance of simCode: alias equations: time 0.0002977/0.4126, allocations: 52.45 kB / 0.55 GB, free: 2.676 MB / 398.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002963/0.4129, allocations: 180.9 kB / 0.5501 GB, free: 2.523 MB / 398.1 MB Notification: Performance of SimCode: time 7.01e-07/0.4129, allocations: 0 / 0.5501 GB, free: 2.523 MB / 398.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.914/1.327, allocations: 15.55 MB / 0.5653 GB, free: 5.977 MB / 414.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 13.99/15.32, allocations: 7.219 kB / 0.5653 GB, free: 5.973 MB / 414.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)