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.004159/0.004159, allocations: 96.98 kB / 15.73 MB, free: 5.988 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.001245/0.001245, allocations: 188 kB / 16.67 MB, free: 5.918 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.42/1.42, allocations: 222.9 MB / 240.4 MB, free: 4.312 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/AES main/package.mo): time 0.1917/0.1917, allocations: 22.36 MB / 312.9 MB, free: 12.46 MB / 254.1 MB Notification: Performance of FrontEnd - loaded program: time 0.002204/0.002204, allocations: 66.86 kB / 436.6 MB, free: 34.04 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.07988/0.0821, allocations: 54.96 MB / 491.6 MB, free: 1.691 MB / 350.1 MB Notification: Performance of NFInst.instantiate(AES.Devel_test_models.Test_air_circ_002): time 0.004541/0.08668, allocations: 4.023 MB / 495.6 MB, free: 13.64 MB / 366.1 MB Notification: Performance of NFInst.instExpressions: time 0.002239/0.08894, allocations: 1.278 MB / 496.9 MB, free: 12.36 MB / 366.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002856/0.08925, allocations: 4 kB / 496.9 MB, free: 12.36 MB / 366.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001695/0.08943, allocations: 79.14 kB / 496.9 MB, free: 12.28 MB / 366.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0005443/0.08999, allocations: 218 kB / 497.2 MB, free: 12.07 MB / 366.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004979/0.0905, allocations: 291.6 kB / 497.4 MB, free: 11.78 MB / 366.1 MB Notification: Performance of NFFlatten.flatten: time 0.001025/0.09153, allocations: 1.091 MB / 498.5 MB, free: 10.69 MB / 366.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.000638/0.09218, allocations: 496.2 kB / 499 MB, free: 10.2 MB / 366.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0005061/0.0927, allocations: 422.9 kB / 499.4 MB, free: 9.781 MB / 366.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0005945/0.0933, allocations: 466.4 kB / 499.9 MB, free: 9.324 MB / 366.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001355/0.09344, allocations: 96 kB / 500 MB, free: 9.23 MB / 366.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001899/0.09364, allocations: 100 kB / 0.4884 GB, free: 9.133 MB / 366.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0002131/0.09386, allocations: 207.4 kB / 0.4886 GB, free: 8.93 MB / 366.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0004344/0.0943, allocations: 442.2 kB / 0.489 GB, free: 8.496 MB / 366.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001072/0.09538, allocations: 1.012 MB / 0.49 GB, free: 7.48 MB / 366.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.516e-06/0.09539, allocations: 3.938 kB / 0.49 GB, free: 7.477 MB / 366.1 MB Notification: Performance of FrontEnd: time 1.432e-06/0.0954, allocations: 4 kB / 0.49 GB, free: 7.473 MB / 366.1 MB Notification: Performance of Transformations before backend: time 1.542e-05/0.09543, allocations: 4 kB / 0.49 GB, free: 7.469 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: 207 * Number of variables: 207 Notification: Performance of Generate backend data structure: time 0.002307/0.09774, allocations: 1.018 MB / 0.491 GB, free: 6.402 MB / 366.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.628e-05/0.09779, allocations: 8.031 kB / 0.491 GB, free: 6.395 MB / 366.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001611/0.09795, allocations: 131.3 kB / 0.4911 GB, free: 6.258 MB / 366.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001463/0.09811, allocations: 76.47 kB / 0.4912 GB, free: 6.184 MB / 366.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002393/0.09835, allocations: 235.5 kB / 0.4914 GB, free: 5.914 MB / 366.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.294e-05/0.09842, allocations: 66.38 kB / 0.4915 GB, free: 5.848 MB / 366.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000126/0.09855, allocations: 80.12 kB / 0.4915 GB, free: 5.77 MB / 366.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00136/0.09992, allocations: 0.7374 MB / 0.4923 GB, free: 5.023 MB / 366.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.954e-05/0.09995, allocations: 0 / 0.4923 GB, free: 5.023 MB / 366.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.092e-05/0.1, allocations: 36 kB / 0.4923 GB, free: 4.988 MB / 366.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.977e-05/0.1001, allocations: 20 kB / 0.4923 GB, free: 4.969 MB / 366.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001418/0.1015, allocations: 0.7418 MB / 0.493 GB, free: 4.23 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.003803/0.1053, allocations: 2.229 MB / 0.4952 GB, free: 1.898 MB / 366.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002477/0.1078, allocations: 0.9908 MB / 0.4962 GB, free: 0.9062 MB / 366.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006642/0.1085, allocations: 367.7 kB / 0.4965 GB, free: 0.5469 MB / 366.1 MB Notification: Performance of preOpt evalFunc (simulation): time 7.817e-05/0.1086, allocations: 20.97 kB / 0.4966 GB, free: 0.5273 MB / 366.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.225e-05/0.1086, allocations: 47.56 kB / 0.4966 GB, free: 484 kB / 366.1 MB Notification: Performance of preOpt simplifyInStream (simulation): time 0.0003506/0.109, allocations: 103.4 kB / 0.4967 GB, free: 380 kB / 366.1 MB Notification: Performance of pre-optimization done (n=105): time 2.375e-06/0.109, allocations: 0 / 0.4967 GB, free: 380 kB / 366.1 MB Notification: Performance of matching and sorting (n=116): time 0.01548/0.1245, allocations: 4.187 MB / 0.5008 GB, free: 12.1 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.953e-05/0.1245, allocations: 64.41 kB / 0.5009 GB, free: 12.03 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002403/0.1248, allocations: 223.8 kB / 0.5011 GB, free: 11.8 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 7.016e-05/0.1248, allocations: 45.7 kB / 0.5011 GB, free: 11.75 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001588/0.125, allocations: 225.6 kB / 0.5013 GB, free: 11.52 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0003604/0.1254, allocations: 412.4 kB / 0.5017 GB, free: 11.12 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000318/0.1257, allocations: 162.6 kB / 0.5019 GB, free: 10.95 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 0.000179/0.1259, allocations: 354.8 kB / 0.5022 GB, free: 10.59 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006491/0.1266, allocations: 329.9 kB / 0.5025 GB, free: 10.27 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006987/0.1273, allocations: 392.5 kB / 0.5029 GB, free: 9.887 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.01657/0.1438, allocations: 2.841 MB / 0.5057 GB, free: 7.039 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.314e-06/0.1439, allocations: 4 kB / 0.5057 GB, free: 7.035 MB / 382.1 MB Notification: Performance of matching and sorting (n=123) (initialization): time 0.005696/0.1496, allocations: 1.498 MB / 0.5071 GB, free: 5.516 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.746e-05/0.1496, allocations: 4 kB / 0.5071 GB, free: 5.512 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.777e-05/0.1496, allocations: 3.938 kB / 0.5071 GB, free: 5.508 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.004945/0.1546, allocations: 0.7618 MB / 0.5079 GB, free: 4.738 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.006214/0.1608, allocations: 0.7218 MB / 0.5086 GB, free: 4.016 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0225/0.1833, allocations: 16.09 MB / 0.5243 GB, free: 2.656 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007196/0.1841, allocations: 28.09 kB / 0.5243 GB, free: 2.629 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.403e-05/0.1842, allocations: 35.98 kB / 0.5244 GB, free: 2.594 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 (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.0004188/0.1846, allocations: 212.4 kB / 0.5246 GB, free: 2.379 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001262/0.1847, allocations: 51.67 kB / 0.5246 GB, free: 2.328 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004852/0.1896, allocations: 1.656 MB / 0.5262 GB, free: 0.6484 MB / 398.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.099e-05/0.1896, allocations: 12 kB / 0.5262 GB, free: 0.6367 MB / 398.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.236e-06/0.1897, allocations: 4 kB / 0.5263 GB, free: 0.6328 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.49e-05/0.1897, allocations: 11.91 kB / 0.5263 GB, free: 0.6211 MB / 398.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.006741/0.1964, allocations: 2.967 MB / 0.5292 GB, free: 13.46 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.207e-05/0.1964, allocations: 8 kB / 0.5292 GB, free: 13.45 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.005569/0.202, allocations: 0.6753 MB / 0.5298 GB, free: 12.78 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.003049/0.2051, allocations: 0.6033 MB / 0.5304 GB, free: 12.16 MB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.148e-05/0.2052, allocations: 32 kB / 0.5304 GB, free: 12.13 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01807/0.2233, allocations: 15.74 MB / 0.5458 GB, free: 11.11 MB / 430.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.182e-05/0.2233, allocations: 15.94 kB / 0.5458 GB, free: 11.09 MB / 430.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.005187/0.2285, allocations: 2.265 MB / 0.548 GB, free: 8.68 MB / 430.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001574/0.2287, allocations: 140.8 kB / 0.5482 GB, free: 8.523 MB / 430.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001139/0.2288, allocations: 35.98 kB / 0.5482 GB, free: 8.488 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006476/0.2294, allocations: 32 kB / 0.5482 GB, free: 8.457 MB / 430.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003816/0.2298, allocations: 132.6 kB / 0.5484 GB, free: 8.328 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.28e-05/0.2299, allocations: 43.98 kB / 0.5484 GB, free: 8.285 MB / 430.1 MB Notification: Performance of sorting global known variables: time 0.0001913/0.2301, allocations: 172.1 kB / 0.5486 GB, free: 8.113 MB / 430.1 MB Notification: Performance of sort global known variables: time 1.3e-07/0.2301, allocations: 0 / 0.5486 GB, free: 8.113 MB / 430.1 MB Notification: Performance of remove unused functions: time 0.001142/0.2313, allocations: 276 kB / 0.5488 GB, free: 7.844 MB / 430.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.005463/0.2367, allocations: 2.853 MB / 0.5516 GB, free: 4.836 MB / 430.1 MB Notification: Performance of simCode: created initialization part: time 0.007845/0.2446, allocations: 2.025 MB / 0.5536 GB, free: 2.773 MB / 430.1 MB Notification: Performance of simCode: created event and clocks part: time 4.699e-06/0.2446, allocations: 0 / 0.5536 GB, free: 2.773 MB / 430.1 MB Notification: Performance of simCode: created simulation system equations: time 0.006682/0.2513, allocations: 1.658 MB / 0.5552 GB, free: 1.074 MB / 430.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001147/0.2525, allocations: 185.4 kB / 0.5554 GB, free: 0.8906 MB / 430.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01651/0.269, allocations: 7.209 MB / 0.5624 GB, free: 9.328 MB / 446.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006307/0.2696, allocations: 0.9209 MB / 0.5633 GB, free: 8.383 MB / 446.1 MB Notification: Performance of simCode: alias equations: time 0.0004868/0.2701, allocations: 93.19 kB / 0.5634 GB, free: 8.289 MB / 446.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003788/0.2705, allocations: 219.4 kB / 0.5636 GB, free: 8.074 MB / 446.1 MB Notification: Performance of SimCode: time 2.384e-06/0.2705, allocations: 4 kB / 0.5636 GB, free: 8.07 MB / 446.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.07746/0.348, allocations: 21.56 MB / 0.5847 GB, free: 2.691 MB / 462.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 13.66/14.01, allocations: 15.42 kB / 0.5847 GB, free: 2.684 MB / 462.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)