Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr AES_AES.Devel_test_models.Test_air_circ_002.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_002,fileNamePrefix="AES_AES_Devel_test_models_Test_air_circ_002",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(AES.Devel_test_models.Test_air_circ_002,fileNamePrefix="AES_AES_Devel_test_models_Test_air_circ_002",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.0009557/0.0009557, allocations: 111.3 kB / 15.23 MB, free: 0.6406 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.001006/0.001006, allocations: 198.1 kB / 16.14 MB, free: 6.711 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.192/1.192, allocations: 222.9 MB / 239.8 MB, free: 4.641 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/AES main/package.mo): time 0.1773/0.1773, allocations: 22.34 MB / 312.3 MB, free: 12.73 MB / 254.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001338/0.001338, allocations: 55.91 kB / 380.2 MB, free: 11.04 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1919/0.1933, allocations: 54.94 MB / 435.1 MB, free: 39.61 MB / 350.1 MB Notification: Performance of NFInst.instantiate(AES.Devel_test_models.Test_air_circ_002): time 0.003053/0.1963, allocations: 4.053 MB / 439.2 MB, free: 36.69 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.001385/0.1978, allocations: 1.266 MB / 440.5 MB, free: 35.76 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002286/0.198, allocations: 9.031 kB / 440.5 MB, free: 35.76 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001346/0.1981, allocations: 55.95 kB / 440.5 MB, free: 35.73 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003987/0.1986, allocations: 199.5 kB / 440.7 MB, free: 35.6 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.000304/0.1989, allocations: 251.3 kB / 441 MB, free: 35.43 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0005547/0.1994, allocations: 1.024 MB / 442 MB, free: 34.93 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0003722/0.1998, allocations: 420.8 kB / 442.4 MB, free: 34.78 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002827/0.2001, allocations: 367.2 kB / 442.8 MB, free: 34.64 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002836/0.2004, allocations: 432 kB / 443.2 MB, free: 34.46 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 7.508e-05/0.2005, allocations: 51 kB / 443.2 MB, free: 34.46 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001044/0.2006, allocations: 51.91 kB / 443.3 MB, free: 34.46 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 8.62e-05/0.2007, allocations: 166.4 kB / 443.5 MB, free: 34.37 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0002231/0.2009, allocations: 386.8 kB / 443.8 MB, free: 34.17 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0004253/0.2013, allocations: 0.9632 MB / 444.8 MB, free: 33.8 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 2.825e-06/0.2013, allocations: 0 / 444.8 MB, free: 33.8 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.072e-06/0.2013, allocations: 0 / 444.8 MB, free: 33.8 MB / 350.1 MB Notification: Performance of Transformations before backend: time 7.414e-06/0.2014, allocations: 3.938 kB / 444.8 MB, free: 33.8 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: 207 * Number of variables: 207 Notification: Performance of Generate backend data structure: time 0.001604/0.203, allocations: 0.9993 MB / 445.8 MB, free: 33.14 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.067e-05/0.203, allocations: 15.56 kB / 445.8 MB, free: 33.14 MB / 350.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 9.651e-05/0.2031, allocations: 132.6 kB / 445.9 MB, free: 33.04 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 9.416e-05/0.2032, allocations: 68.72 kB / 446 MB, free: 33.01 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001109/0.2033, allocations: 242.5 kB / 446.2 MB, free: 32.75 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.796e-05/0.2034, allocations: 58.03 kB / 446.3 MB, free: 32.73 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 8.523e-05/0.2034, allocations: 90.94 kB / 446.4 MB, free: 32.7 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0009196/0.2044, allocations: 0.7279 MB / 447.1 MB, free: 32.39 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.421e-05/0.2044, allocations: 0 / 447.1 MB, free: 32.39 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.039e-05/0.2045, allocations: 35.2 kB / 447.2 MB, free: 32.37 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.129e-05/0.2045, allocations: 19.19 kB / 447.2 MB, free: 32.37 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0009664/0.2054, allocations: 0.7485 MB / 447.9 MB, free: 32.11 MB / 350.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.002497/0.208, allocations: 2.236 MB / 450.2 MB, free: 30.77 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.00175/0.2097, allocations: 0.9825 MB / 451.1 MB, free: 30.44 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004418/0.2102, allocations: 377 kB / 451.5 MB, free: 30.28 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 6.089e-05/0.2102, allocations: 20.23 kB / 451.5 MB, free: 30.27 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.426e-05/0.2103, allocations: 42.97 kB / 451.6 MB, free: 30.22 MB / 350.1 MB Notification: Performance of preOpt simplifyInStream (simulation): time 0.0002926/0.2106, allocations: 97.88 kB / 451.7 MB, free: 30.16 MB / 350.1 MB Notification: Performance of pre-optimization done (n=105): time 1.893e-06/0.2106, allocations: 0 / 451.7 MB, free: 30.16 MB / 350.1 MB Notification: Performance of matching and sorting (n=116): time 0.01207/0.2226, allocations: 4.169 MB / 455.8 MB, free: 28.57 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.162e-05/0.2227, allocations: 68.44 kB / 455.9 MB, free: 28.5 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001384/0.2228, allocations: 218.2 kB / 456.1 MB, free: 28.36 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 4.935e-05/0.2229, allocations: 46.95 kB / 456.2 MB, free: 28.31 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 6.48e-05/0.2229, allocations: 224 kB / 456.4 MB, free: 28.12 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001534/0.2231, allocations: 390.9 kB / 456.8 MB, free: 27.82 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002002/0.2233, allocations: 160.9 kB / 456.9 MB, free: 27.73 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 5.215e-05/0.2234, allocations: 360.7 kB / 457.3 MB, free: 27.4 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004806/0.2238, allocations: 321.4 kB / 457.6 MB, free: 27.27 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005127/0.2244, allocations: 398.5 kB / 458 MB, free: 27.11 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.01329/0.2377, allocations: 2.843 MB / 460.8 MB, free: 26.37 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.694e-06/0.2377, allocations: 1.094 kB / 460.8 MB, free: 26.37 MB / 350.1 MB Notification: Performance of matching and sorting (n=123) (initialization): time 0.004265/0.2419, allocations: 1.492 MB / 462.3 MB, free: 25.83 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.38e-05/0.242, allocations: 11.75 kB / 462.3 MB, free: 25.82 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.721e-06/0.242, allocations: 0.7969 kB / 462.3 MB, free: 25.82 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.003981/0.246, allocations: 0.758 MB / 463.1 MB, free: 25.71 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.005206/0.2512, allocations: 0.7268 MB / 463.8 MB, free: 25.66 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.1019/0.353, allocations: 14.87 MB / 478.7 MB, free: 12.06 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006035/0.3537, allocations: 43.09 kB / 478.7 MB, free: 12.05 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.297e-05/0.3537, allocations: 32.73 kB / 478.7 MB, free: 12.04 MB / 350.1 MB Warning: Assuming fixed start value for the following 2 variables: 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, 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: 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 (94): * Single equations (assignments): 85 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 6 * 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): 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 {(2,5,100.0%), (1,1,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 1 system {(7,16)} Notification: Performance of prepare postOptimizeDAE: time 0.0002853/0.354, allocations: 231.6 kB / 479 MB, free: 11.86 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.544e-05/0.3541, allocations: 52 kB / 479 MB, free: 11.83 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003666/0.3578, allocations: 1.664 MB / 480.7 MB, free: 11.12 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.175e-06/0.3578, allocations: 10.91 kB / 480.7 MB, free: 11.12 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.587e-06/0.3578, allocations: 1.531 kB / 480.7 MB, free: 11.12 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.108e-05/0.3578, allocations: 6.047 kB / 480.7 MB, free: 11.12 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004914/0.3628, allocations: 2.973 MB / 483.7 MB, free: 9.508 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.018e-05/0.3628, allocations: 14.52 kB / 483.7 MB, free: 9.504 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.004815/0.3676, allocations: 0.6631 MB / 484.4 MB, free: 9.465 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.003397/0.371, allocations: 0.727 MB / 485.1 MB, free: 9.262 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.018e-05/0.3711, allocations: 36.08 kB / 485.1 MB, free: 9.242 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01196/0.3831, allocations: 14.52 MB / 499.6 MB, free: 10.64 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.977e-06/0.3831, allocations: 15.94 kB / 499.7 MB, free: 10.63 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.004229/0.3873, allocations: 2.261 MB / 0.4902 GB, free: 8.223 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001113/0.3874, allocations: 136.5 kB / 0.4903 GB, free: 8.07 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001009/0.3875, allocations: 43.92 kB / 0.4903 GB, free: 8.027 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006512/0.3882, allocations: 47.89 kB / 0.4904 GB, free: 7.98 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.00022/0.3884, allocations: 136.6 kB / 0.4905 GB, free: 7.848 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.895e-05/0.3885, allocations: 43.98 kB / 0.4905 GB, free: 7.805 MB / 366.1 MB Notification: Performance of sorting global known variables: time 0.0001351/0.3886, allocations: 180 kB / 0.4907 GB, free: 7.625 MB / 366.1 MB Notification: Performance of sort global known variables: time 1.2e-07/0.3886, allocations: 0 / 0.4907 GB, free: 7.625 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.001048/0.3897, allocations: 276 kB / 0.491 GB, free: 7.355 MB / 366.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 40 * Number of states: 3 (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 (87): * Single equations (assignments): 78 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 6 * 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): 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): 1 system {(2,5,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 2 systems {(7,19), (1,5)} Notification: Performance of Backend phase and start with SimCode phase: time 0.004502/0.3942, allocations: 2.843 MB / 0.4938 GB, free: 4.359 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.007096/0.4013, allocations: 1.987 MB / 0.4957 GB, free: 2.328 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 3.396e-06/0.4013, allocations: 0 / 0.4957 GB, free: 2.328 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 0.005899/0.4072, allocations: 1.638 MB / 0.4973 GB, free: 0.6523 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0009776/0.4082, allocations: 181.1 kB / 0.4975 GB, free: 480 kB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01374/0.422, allocations: 7.591 MB / 0.5049 GB, free: 8.543 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003727/0.4224, allocations: 0.9248 MB / 0.5058 GB, free: 7.59 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 0.0005336/0.4229, allocations: 89.2 kB / 0.5059 GB, free: 7.5 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003126/0.4232, allocations: 223.3 kB / 0.5061 GB, free: 7.277 MB / 382.1 MB Notification: Performance of SimCode: time 2.1e-07/0.4232, allocations: 4 kB / 0.5061 GB, free: 7.273 MB / 382.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 3.218/3.641, allocations: 20.21 MB / 0.5258 GB, free: 3.305 MB / 398.1 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001973/3.642, allocations: 214.1 kB / 0.526 GB, free: 3.047 MB / 398.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 2.695/6.337, allocations: 0 / 0.526 GB, free: 3.047 MB / 398.1 MB (rm -f AES_AES.Devel_test_models.Test_air_circ_002.pipe ; mkfifo AES_AES.Devel_test_models.Test_air_circ_002.pipe ; head -c 1048576 < AES_AES.Devel_test_models.Test_air_circ_002.pipe >> ../files/AES_AES.Devel_test_models.Test_air_circ_002.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_AES_AES_Devel_test_models_Test_air_circ_002_fmu --startTime=0 --stopTime=200 --timeout=50 --tolerance=1e-06 AES_AES_Devel_test_models_Test_air_circ_002.fmu > AES_AES.Devel_test_models.Test_air_circ_002.pipe 2>&1)