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.001772/0.001772, allocations: 109.4 kB / 17.15 MB, free: 6.02 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.0021/0.0021, allocations: 207.2 kB / 20.11 MB, free: 3.062 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.602/1.602, allocations: 230.6 MB / 253.5 MB, free: 15.08 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.1055/0.1055, allocations: 24.03 MB / 333.6 MB, free: 1.645 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="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"}) [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.002093/0.002093, allocations: 69.44 kB / 468.4 MB, free: 31.43 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1273/0.1294, allocations: 59.55 MB / 0.5156 GB, free: 12.28 MB / 382.1 MB Notification: Performance of NFInst.instantiate(AES.Devel_test_models.Test_air_circ_002): time 0.006006/0.1354, allocations: 4.053 MB / 0.5196 GB, free: 8.195 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.002804/0.1382, allocations: 1.305 MB / 0.5208 GB, free: 6.887 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.000499/0.1387, allocations: 4 kB / 0.5208 GB, free: 6.883 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002923/0.139, allocations: 79.14 kB / 0.5209 GB, free: 6.805 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0008446/0.1399, allocations: 226 kB / 0.5211 GB, free: 6.582 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0006645/0.1405, allocations: 287.6 kB / 0.5214 GB, free: 6.301 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.001451/0.142, allocations: 1.083 MB / 0.5225 GB, free: 5.211 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.000805/0.1428, allocations: 448.1 kB / 0.5229 GB, free: 4.766 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0007976/0.1436, allocations: 438.8 kB / 0.5233 GB, free: 4.336 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.000809/0.1444, allocations: 466.4 kB / 0.5237 GB, free: 3.879 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0002492/0.1446, allocations: 100 kB / 0.5238 GB, free: 3.781 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002703/0.1449, allocations: 100 kB / 0.5239 GB, free: 3.684 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0002248/0.1451, allocations: 211.4 kB / 0.5241 GB, free: 3.477 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0006672/0.1458, allocations: 438.2 kB / 0.5246 GB, free: 3.047 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001218/0.147, allocations: 1.024 MB / 0.5256 GB, free: 2.02 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.099e-06/0.147, allocations: 0 / 0.5256 GB, free: 2.02 MB / 382.1 MB Notification: Performance of FrontEnd: time 5.29e-06/0.147, allocations: 3.984 kB / 0.5256 GB, free: 2.016 MB / 382.1 MB Notification: Performance of Transformations before backend: time 3.642e-05/0.1471, allocations: 0 / 0.5256 GB, free: 2.016 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.00269/0.1498, allocations: 1.006 MB / 0.5265 GB, free: 0.9609 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.444e-05/0.1498, allocations: 8.625 kB / 0.5265 GB, free: 0.9531 MB / 382.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0002083/0.15, allocations: 135.2 kB / 0.5267 GB, free: 0.8125 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000171/0.1502, allocations: 76.47 kB / 0.5268 GB, free: 0.7383 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002687/0.1505, allocations: 243.5 kB / 0.527 GB, free: 472 kB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.47e-05/0.1505, allocations: 66.38 kB / 0.527 GB, free: 404 kB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001367/0.1507, allocations: 84.12 kB / 0.5271 GB, free: 320 kB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001437/0.1521, allocations: 0.7374 MB / 0.5278 GB, free: 15.57 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.884e-05/0.1521, allocations: 0 / 0.5278 GB, free: 15.57 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.34e-05/0.1522, allocations: 36 kB / 0.5279 GB, free: 15.54 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.042e-05/0.1522, allocations: 20 kB / 0.5279 GB, free: 15.52 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001519/0.1537, allocations: 0.7574 MB / 0.5286 GB, free: 14.76 MB / 398.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.004038/0.1578, allocations: 2.236 MB / 0.5308 GB, free: 12.42 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002342/0.1601, allocations: 0.9326 MB / 0.5317 GB, free: 11.48 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006675/0.1608, allocations: 339.7 kB / 0.5321 GB, free: 11.15 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 7.785e-05/0.1609, allocations: 16.98 kB / 0.5321 GB, free: 11.14 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.698e-05/0.1609, allocations: 47.56 kB / 0.5321 GB, free: 11.08 MB / 398.1 MB Notification: Performance of preOpt simplifyInStream (simulation): time 0.0005705/0.1615, allocations: 127.5 kB / 0.5322 GB, free: 10.96 MB / 398.1 MB Notification: Performance of pre-optimization done (n=105): time 5.02e-06/0.1615, allocations: 4 kB / 0.5322 GB, free: 10.95 MB / 398.1 MB Notification: Performance of matching and sorting (n=116): time 0.01587/0.1773, allocations: 4.16 MB / 0.5363 GB, free: 6.715 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.886e-05/0.1774, allocations: 64.41 kB / 0.5364 GB, free: 6.641 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000317/0.1777, allocations: 215.2 kB / 0.5366 GB, free: 6.422 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0001852/0.1779, allocations: 45.7 kB / 0.5366 GB, free: 6.371 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001998/0.1781, allocations: 233.5 kB / 0.5368 GB, free: 6.137 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0005183/0.1786, allocations: 416.4 kB / 0.5372 GB, free: 5.727 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003721/0.179, allocations: 150.6 kB / 0.5374 GB, free: 5.57 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.0001974/0.1792, allocations: 366.7 kB / 0.5377 GB, free: 5.203 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0007212/0.1799, allocations: 329.9 kB / 0.538 GB, free: 4.883 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007689/0.1807, allocations: 392.5 kB / 0.5384 GB, free: 4.496 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.01535/0.196, allocations: 2.845 MB / 0.5412 GB, free: 1.645 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.218e-06/0.196, allocations: 0 / 0.5412 GB, free: 1.645 MB / 398.1 MB Notification: Performance of matching and sorting (n=123) (initialization): time 0.005604/0.2016, allocations: 1.491 MB / 0.5427 GB, free: 136 kB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.347e-05/0.2017, allocations: 10.03 kB / 0.5427 GB, free: 128 kB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.159e-05/0.2017, allocations: 0 / 0.5427 GB, free: 128 kB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.004546/0.2062, allocations: 0.7592 MB / 0.5434 GB, free: 15.36 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.005724/0.212, allocations: 0.7257 MB / 0.5441 GB, free: 14.63 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.02172/0.2337, allocations: 16.08 MB / 0.5598 GB, free: 13.27 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0008521/0.2345, allocations: 27.98 kB / 0.5598 GB, free: 13.25 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.167e-05/0.2346, allocations: 31.98 kB / 0.5599 GB, free: 13.21 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.0005171/0.2351, allocations: 216.9 kB / 0.5601 GB, free: 13 MB / 430.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001507/0.2353, allocations: 51.67 kB / 0.5601 GB, free: 12.95 MB / 430.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004489/0.2398, allocations: 1.648 MB / 0.5617 GB, free: 11.27 MB / 430.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.807e-05/0.2398, allocations: 12 kB / 0.5617 GB, free: 11.26 MB / 430.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.055e-06/0.2398, allocations: 0 / 0.5617 GB, free: 11.26 MB / 430.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.841e-05/0.2398, allocations: 11.97 kB / 0.5618 GB, free: 11.25 MB / 430.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.006808/0.2466, allocations: 2.959 MB / 0.5646 GB, free: 8.102 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.192e-05/0.2466, allocations: 8 kB / 0.5647 GB, free: 8.094 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.005069/0.2517, allocations: 0.6796 MB / 0.5653 GB, free: 7.418 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.003078/0.2548, allocations: 0.5917 MB / 0.5659 GB, free: 6.816 MB / 430.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001836/0.255, allocations: 35.98 kB / 0.5659 GB, free: 6.781 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0187/0.2737, allocations: 15.75 MB / 0.5813 GB, free: 5.738 MB / 446.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.448e-05/0.2737, allocations: 11.94 kB / 0.5813 GB, free: 5.727 MB / 446.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.005655/0.2793, allocations: 2.25 MB / 0.5835 GB, free: 3.332 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002567/0.2796, allocations: 136.8 kB / 0.5837 GB, free: 3.18 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001638/0.2798, allocations: 32 kB / 0.5837 GB, free: 3.148 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007791/0.2805, allocations: 35.98 kB / 0.5837 GB, free: 3.113 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0004523/0.281, allocations: 140.6 kB / 0.5839 GB, free: 2.977 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.922e-05/0.2811, allocations: 40 kB / 0.5839 GB, free: 2.938 MB / 446.1 MB Notification: Performance of sorting global known variables: time 0.000233/0.2813, allocations: 172.8 kB / 0.5841 GB, free: 2.77 MB / 446.1 MB Notification: Performance of sort global known variables: time 7e-08/0.2813, allocations: 0 / 0.5841 GB, free: 2.77 MB / 446.1 MB Notification: Performance of remove unused functions: time 0.001397/0.2827, allocations: 272 kB / 0.5843 GB, free: 2.504 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.3104/0.5931, allocations: 2.834 MB / 0.5871 GB, free: 65.99 MB / 446.1 MB Notification: Performance of simCode: created initialization part: time 0.0079/0.601, allocations: 1.965 MB / 0.589 GB, free: 65.62 MB / 446.1 MB Notification: Performance of simCode: created event and clocks part: time 1.516e-05/0.601, allocations: 5.156 kB / 0.589 GB, free: 65.62 MB / 446.1 MB Notification: Performance of simCode: created simulation system equations: time 0.00657/0.6076, allocations: 1.623 MB / 0.5906 GB, free: 65.25 MB / 446.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001379/0.6089, allocations: 191.8 kB / 0.5908 GB, free: 65.25 MB / 446.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01669/0.6256, allocations: 7.183 MB / 0.5978 GB, free: 62.28 MB / 446.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007023/0.6263, allocations: 0.9241 MB / 0.5987 GB, free: 61.57 MB / 446.1 MB Notification: Performance of simCode: alias equations: time 0.0006172/0.627, allocations: 95.09 kB / 0.5988 GB, free: 61.55 MB / 446.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003988/0.6273, allocations: 220.3 kB / 0.599 GB, free: 61.39 MB / 446.1 MB Notification: Performance of SimCode: time 1.192e-06/0.6274, allocations: 0 / 0.599 GB, free: 61.39 MB / 446.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.06314/0.6905, allocations: 21.71 MB / 0.6202 GB, free: 50.12 MB / 446.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 13.39/14.08, allocations: 14.8 kB / 0.6202 GB, free: 50.11 MB / 446.1 MB " [Timeout remaining time 646] (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 & python3 -m fmpy simulate --output-file AES_AES.Devel_test_models.Test_air_circ_002_res.csv --start-time 0 --stop-time 200 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.02 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.547346904873848] Failed to read output from testmodel.py, exit status != 0: 14.189052864909172 14.19798129 14.048699701 Calling exit ...