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.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.001379/0.001379, allocations: 114.8 kB / 17.16 MB, free: 5.895 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.001437/0.001437, allocations: 210.2 kB / 20.13 MB, free: 2.949 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 1.543/1.543, allocations: 230.6 MB / 253.5 MB, free: 15.1 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/AES main/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/AES main/package.mo): time 0.1009/0.1009, allocations: 22.92 MB / 332.5 MB, free: 2.652 MB / 254.1 MB " [Timeout remaining time 180] Using package AES with version (/home/hudson/saved_omc/libraries/.openmodelica/libraries/AES main/package.mo) Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo) Using package Complex with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.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="cs",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="cs",version="2.0",platforms={"static"}) [Timeout 660] "Notification: AES requested package Modelica of version 4.0.0. Modelica 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.001995/0.001995, allocations: 65.33 kB / 466.8 MB, free: 32.25 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1258/0.1278, allocations: 59.26 MB / 0.5137 GB, free: 14.01 MB / 382.1 MB Notification: Performance of NFInst.instantiate(AES.Devel_test_models.Test_air_circ_002): time 0.006171/0.134, allocations: 4.049 MB / 0.5176 GB, free: 9.93 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.003106/0.1371, allocations: 1.317 MB / 0.5189 GB, free: 8.609 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0005534/0.1376, allocations: 4 kB / 0.5189 GB, free: 8.605 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003206/0.138, allocations: 79.14 kB / 0.519 GB, free: 8.527 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0009804/0.1389, allocations: 214 kB / 0.5192 GB, free: 8.316 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0007483/0.1397, allocations: 295.5 kB / 0.5195 GB, free: 8.027 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.001619/0.1413, allocations: 1.087 MB / 0.5206 GB, free: 6.938 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0007116/0.142, allocations: 444.1 kB / 0.521 GB, free: 6.496 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0006218/0.1426, allocations: 438.8 kB / 0.5214 GB, free: 6.066 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0006072/0.1433, allocations: 466.4 kB / 0.5218 GB, free: 5.609 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001399/0.1434, allocations: 104 kB / 0.5219 GB, free: 5.504 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001798/0.1436, allocations: 100 kB / 0.522 GB, free: 5.406 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001996/0.1438, allocations: 207.4 kB / 0.5222 GB, free: 5.203 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 0.000469/0.1442, allocations: 442.2 kB / 0.5227 GB, free: 4.77 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001154/0.1454, allocations: 1.024 MB / 0.5237 GB, free: 3.742 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.02e-06/0.1454, allocations: 4 kB / 0.5237 GB, free: 3.738 MB / 382.1 MB Notification: Performance of FrontEnd: time 1.503e-06/0.1454, allocations: 0 / 0.5237 GB, free: 3.738 MB / 382.1 MB Notification: Performance of Transformations before backend: time 1.939e-05/0.1454, allocations: 0 / 0.5237 GB, free: 3.738 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: 207 * Number of variables: 207 Notification: Performance of Generate backend data structure: time 0.002397/0.1478, allocations: 1.002 MB / 0.5246 GB, free: 2.688 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.27e-05/0.1479, allocations: 12.62 kB / 0.5246 GB, free: 2.676 MB / 382.1 MB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 3.966e-05/0.1479, allocations: 22.19 kB / 0.5247 GB, free: 2.652 MB / 382.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001656/0.1481, allocations: 127.3 kB / 0.5248 GB, free: 2.52 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001591/0.1482, allocations: 84.41 kB / 0.5249 GB, free: 2.438 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002735/0.1485, allocations: 247.5 kB / 0.5251 GB, free: 2.156 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.997e-05/0.1486, allocations: 62.38 kB / 0.5252 GB, free: 2.098 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001377/0.1487, allocations: 79.94 kB / 0.5252 GB, free: 2.02 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001358/0.1501, allocations: 0.7375 MB / 0.526 GB, free: 1.277 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.798e-05/0.1501, allocations: 0 / 0.526 GB, free: 1.277 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.286e-05/0.1502, allocations: 36 kB / 0.526 GB, free: 1.242 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.323e-05/0.1502, allocations: 20 kB / 0.526 GB, free: 1.223 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001443/0.1516, allocations: 0.7612 MB / 0.5268 GB, free: 468 kB / 382.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.003935/0.1556, allocations: 2.229 MB / 0.5289 GB, free: 14.12 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.00234/0.1579, allocations: 0.929 MB / 0.5298 GB, free: 13.2 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.000632/0.1585, allocations: 343.7 kB / 0.5302 GB, free: 12.86 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 7.274e-05/0.1586, allocations: 20.92 kB / 0.5302 GB, free: 12.84 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.775e-05/0.1586, allocations: 47.55 kB / 0.5302 GB, free: 12.79 MB / 398.1 MB Notification: Performance of preOpt simplifyInStream (simulation): time 0.000539/0.1592, allocations: 131.5 kB / 0.5304 GB, free: 12.66 MB / 398.1 MB Notification: Performance of pre-optimization done (n=105): time 3.016e-06/0.1592, allocations: 0 / 0.5304 GB, free: 12.66 MB / 398.1 MB Notification: Performance of matching and sorting (n=116): time 0.01533/0.1745, allocations: 4.167 MB / 0.5344 GB, free: 8.414 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.752e-05/0.1746, allocations: 60.41 kB / 0.5345 GB, free: 8.344 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002563/0.1748, allocations: 215.2 kB / 0.5347 GB, free: 8.125 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0001179/0.175, allocations: 49.7 kB / 0.5347 GB, free: 8.07 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001842/0.1751, allocations: 229.6 kB / 0.535 GB, free: 7.84 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0003695/0.1755, allocations: 408.4 kB / 0.5353 GB, free: 7.438 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002871/0.1758, allocations: 154.6 kB / 0.5355 GB, free: 7.277 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.0001799/0.176, allocations: 358.8 kB / 0.5358 GB, free: 6.918 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006279/0.1766, allocations: 329.8 kB / 0.5362 GB, free: 6.598 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006866/0.1773, allocations: 396.5 kB / 0.5365 GB, free: 6.207 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.01545/0.1927, allocations: 2.845 MB / 0.5393 GB, free: 3.355 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.998e-06/0.1927, allocations: 0 / 0.5393 GB, free: 3.355 MB / 398.1 MB Notification: Performance of matching and sorting (n=123) (initialization): time 0.005268/0.198, allocations: 1.495 MB / 0.5408 GB, free: 1.84 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.849e-05/0.198, allocations: 7.938 kB / 0.5408 GB, free: 1.832 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.075e-05/0.198, allocations: 0 / 0.5408 GB, free: 1.832 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.004513/0.2026, allocations: 0.7583 MB / 0.5415 GB, free: 1.066 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.005751/0.2083, allocations: 0.7296 MB / 0.5422 GB, free: 344 kB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.02159/0.2299, allocations: 16.07 MB / 0.5579 GB, free: 14.98 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007879/0.2307, allocations: 31.91 kB / 0.558 GB, free: 14.95 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.985e-05/0.2308, allocations: 35.98 kB / 0.558 GB, free: 14.92 MB / 430.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.0004847/0.2313, allocations: 214.9 kB / 0.5582 GB, free: 14.7 MB / 430.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001308/0.2314, allocations: 51.67 kB / 0.5582 GB, free: 14.65 MB / 430.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004366/0.2357, allocations: 1.648 MB / 0.5599 GB, free: 12.98 MB / 430.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.468e-05/0.2358, allocations: 12 kB / 0.5599 GB, free: 12.97 MB / 430.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.235e-06/0.2358, allocations: 4 kB / 0.5599 GB, free: 12.96 MB / 430.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.475e-05/0.2358, allocations: 7.969 kB / 0.5599 GB, free: 12.96 MB / 430.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.006429/0.2422, allocations: 2.96 MB / 0.5628 GB, free: 9.809 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.354e-05/0.2422, allocations: 8 kB / 0.5628 GB, free: 9.801 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.00501/0.2472, allocations: 0.6751 MB / 0.5634 GB, free: 9.125 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.002929/0.2502, allocations: 0.6033 MB / 0.564 GB, free: 8.512 MB / 430.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001624/0.2503, allocations: 32 kB / 0.564 GB, free: 8.48 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01827/0.2686, allocations: 15.74 MB / 0.5794 GB, free: 7.449 MB / 446.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.287e-05/0.2686, allocations: 11.94 kB / 0.5794 GB, free: 7.438 MB / 446.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.005334/0.2739, allocations: 2.254 MB / 0.5816 GB, free: 5.039 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002079/0.2742, allocations: 144.8 kB / 0.5818 GB, free: 4.879 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001082/0.2743, allocations: 35.98 kB / 0.5818 GB, free: 4.844 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.00066/0.2749, allocations: 32 kB / 0.5818 GB, free: 4.812 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0004132/0.2753, allocations: 132.6 kB / 0.582 GB, free: 4.684 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.167e-05/0.2754, allocations: 43.98 kB / 0.582 GB, free: 4.641 MB / 446.1 MB Notification: Performance of sorting global known variables: time 0.0001979/0.2756, allocations: 168.9 kB / 0.5822 GB, free: 4.473 MB / 446.1 MB Notification: Performance of sort global known variables: time 6e-08/0.2756, allocations: 0 / 0.5822 GB, free: 4.473 MB / 446.1 MB Notification: Performance of remove unused functions: time 0.001291/0.2769, allocations: 272 kB / 0.5824 GB, free: 4.207 MB / 446.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.005498/0.2824, allocations: 2.837 MB / 0.5852 GB, free: 1.215 MB / 446.1 MB Notification: Performance of simCode: created initialization part: time 0.2571/0.5395, allocations: 1.973 MB / 0.5871 GB, free: 68.53 MB / 446.1 MB Notification: Performance of simCode: created event and clocks part: time 1.768e-05/0.5396, allocations: 1.781 kB / 0.5871 GB, free: 68.53 MB / 446.1 MB Notification: Performance of simCode: created simulation system equations: time 0.006799/0.5464, allocations: 1.609 MB / 0.5887 GB, free: 68.16 MB / 446.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001374/0.5477, allocations: 197.2 kB / 0.5889 GB, free: 68.15 MB / 446.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01561/0.5633, allocations: 7.18 MB / 0.5959 GB, free: 65.44 MB / 446.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005257/0.5639, allocations: 0.924 MB / 0.5968 GB, free: 64.73 MB / 446.1 MB Notification: Performance of simCode: alias equations: time 0.0005658/0.5644, allocations: 95.34 kB / 0.5969 GB, free: 64.73 MB / 446.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000343/0.5648, allocations: 221.2 kB / 0.5971 GB, free: 64.57 MB / 446.1 MB Notification: Performance of SimCode: time 9.92e-07/0.5648, allocations: 0 / 0.5971 GB, free: 64.57 MB / 446.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.05109/0.6159, allocations: 21.76 MB / 0.6184 GB, free: 53.94 MB / 446.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 13.84/14.45, allocations: 9.641 kB / 0.6184 GB, free: 53.93 MB / 446.1 MB " [Timeout remaining time 645] (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 --stepSize=0.02 --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) [Timeout 52.5] [Calling sys.exit(0), Time elapsed: 17.99793040001532] Failed to read output from testmodel.py, exit status != 0: 14.617800923995674 14.627782837 14.480003876 Calling exit ...