Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr AES_AES.Devel_test_models.Test_liquid_mixing_streams.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.001576/0.001576, allocations: 110.1 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.001614/0.001614, 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.47/1.47, 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.1118/0.1118, allocations: 24.02 MB / 333.6 MB, free: 1.566 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_liquid_mixing_streams,fileNamePrefix="AES_AES_Devel_test_models_Test_liquid_mixing_streams",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(AES.Devel_test_models.Test_liquid_mixing_streams,fileNamePrefix="AES_AES_Devel_test_models_Test_liquid_mixing_streams",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.002231/0.002231, allocations: 74.3 kB / 468.4 MB, free: 31.39 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.103/0.1052, allocations: 59.55 MB / 0.5156 GB, free: 12.28 MB / 382.1 MB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/AES main/ProcessComponents/Thermal/Interfaces/flowOnePort_pwh.mo:4:3-4:45:writable] Warning: An inner declaration for outer component system could not be found and was automatically generated. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/AES main/ProcessComponents/Thermal/Interfaces/flowOnePort_pwh.mo:4:3-4:45:writable] Notification: The diagnostics message for the missing inner is: Your model is using an outer \"system\" component but an inner \"system\" component is not defined. Drag AES.ProcessComponents.Thermal.System_settings.System_liquid into your model to specify the working fluid properties. Notification: Performance of NFInst.instantiate(AES.Devel_test_models.Test_liquid_mixing_streams): time 0.0401/0.1453, allocations: 23 MB / 0.538 GB, free: 5.402 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.0006318/0.1459, allocations: 183.4 kB / 0.5382 GB, free: 5.223 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001481/0.1461, allocations: 3.938 kB / 0.5382 GB, free: 5.219 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 8.159e-05/0.1462, allocations: 27.78 kB / 0.5382 GB, free: 5.191 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002841/0.1464, allocations: 71.36 kB / 0.5383 GB, free: 5.121 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001055/0.1466, allocations: 27.95 kB / 0.5383 GB, free: 5.094 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002358/0.1468, allocations: 187 kB / 0.5385 GB, free: 4.91 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002334/0.147, allocations: 105.4 kB / 0.5386 GB, free: 4.809 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001836/0.1472, allocations: 83.66 kB / 0.5387 GB, free: 4.727 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001578/0.1474, allocations: 91.67 kB / 0.5388 GB, free: 4.637 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 3.552e-05/0.1474, allocations: 12 kB / 0.5388 GB, free: 4.625 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 3.477e-05/0.1474, allocations: 20 kB / 0.5388 GB, free: 4.605 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 4.151e-05/0.1475, allocations: 31.84 kB / 0.5388 GB, free: 4.574 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001006/0.1476, allocations: 87.53 kB / 0.5389 GB, free: 4.488 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002647/0.1478, allocations: 179.2 kB / 0.5391 GB, free: 4.312 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.801e-06/0.1478, allocations: 4 kB / 0.5391 GB, free: 4.309 MB / 398.1 MB Notification: Performance of FrontEnd: time 1.854e-06/0.1478, allocations: 0 / 0.5391 GB, free: 4.309 MB / 398.1 MB Notification: Performance of Transformations before backend: time 1.049e-05/0.1479, allocations: 0 / 0.5391 GB, free: 4.309 MB / 398.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 28 * Number of variables: 28 Notification: Performance of Generate backend data structure: time 0.0006981/0.1486, allocations: 462.8 kB / 0.5395 GB, free: 3.801 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.21e-05/0.1486, allocations: 8.625 kB / 0.5396 GB, free: 3.793 MB / 398.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.588e-05/0.1487, allocations: 46.75 kB / 0.5396 GB, free: 3.738 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.43e-05/0.1487, allocations: 24.8 kB / 0.5396 GB, free: 3.715 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002965/0.149, allocations: 236.7 kB / 0.5399 GB, free: 3.445 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.126e-05/0.149, allocations: 8.609 kB / 0.5399 GB, free: 3.438 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.58e-05/0.1491, allocations: 12.38 kB / 0.5399 GB, free: 3.426 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003441/0.1494, allocations: 157.4 kB / 0.54 GB, free: 3.262 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.536e-06/0.1494, allocations: 0 / 0.54 GB, free: 3.262 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.867e-05/0.1494, allocations: 4 kB / 0.54 GB, free: 3.258 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.384e-06/0.1494, allocations: 4 kB / 0.54 GB, free: 3.254 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003103/0.1498, allocations: 111.8 kB / 0.5401 GB, free: 3.145 MB / 398.1 MB Warning: The model contains alias variables with redundant start and/or conflicting nominal values. It is recommended to resolve the conflicts, because otherwise the system could be hard to solve. To print the conflicting alias sets and the chosen candidates please use -d=aliasConflicts. Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001039/0.1508, allocations: 0.6279 MB / 0.5407 GB, free: 2.445 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001764/0.151, allocations: 54.48 kB / 0.5408 GB, free: 2.383 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.000122/0.1511, allocations: 36.84 kB / 0.5408 GB, free: 2.344 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.231e-05/0.1511, allocations: 0 / 0.5408 GB, free: 2.344 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.579e-05/0.1511, allocations: 34.56 kB / 0.5409 GB, free: 2.301 MB / 398.1 MB Notification: Performance of preOpt simplifyInStream (simulation): time 0.0001332/0.1513, allocations: 15.95 kB / 0.5409 GB, free: 2.285 MB / 398.1 MB Notification: Performance of pre-optimization done (n=7): time 1.072e-06/0.1513, allocations: 0 / 0.5409 GB, free: 2.285 MB / 398.1 MB Notification: Performance of matching and sorting (n=7): time 0.0004332/0.1517, allocations: 113.7 kB / 0.541 GB, free: 2.168 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.592e-05/0.1517, allocations: 55.34 kB / 0.541 GB, free: 2.102 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001955/0.1519, allocations: 203.1 kB / 0.5412 GB, free: 1.895 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 2.424e-05/0.152, allocations: 29.7 kB / 0.5413 GB, free: 1.859 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 9.212e-05/0.1521, allocations: 131.9 kB / 0.5414 GB, free: 1.727 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.871e-05/0.1521, allocations: 27.8 kB / 0.5414 GB, free: 1.699 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.282e-05/0.1521, allocations: 25.7 kB / 0.5414 GB, free: 1.668 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.0001438/0.1523, allocations: 326.8 kB / 0.5418 GB, free: 1.34 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001067/0.1524, allocations: 23.98 kB / 0.5418 GB, free: 1.316 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001145/0.1525, allocations: 50.5 kB / 0.5418 GB, free: 1.258 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001116/0.1536, allocations: 194.3 kB / 0.542 GB, free: 1.059 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.354e-06/0.1536, allocations: 0 / 0.542 GB, free: 1.059 MB / 398.1 MB Notification: Performance of matching and sorting (n=12) (initialization): time 0.0003159/0.1539, allocations: 129.4 kB / 0.5421 GB, free: 0.9258 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.437e-05/0.154, allocations: 4 kB / 0.5421 GB, free: 0.9219 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.009e-06/0.154, allocations: 0 / 0.5421 GB, free: 0.9219 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.64e-05/0.154, allocations: 8.062 kB / 0.5421 GB, free: 0.9141 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001539/0.1541, allocations: 27.91 kB / 0.5422 GB, free: 0.8867 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.087e-05/0.1541, allocations: 7.938 kB / 0.5422 GB, free: 0.8789 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.498e-05/0.1542, allocations: 4 kB / 0.5422 GB, free: 0.875 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.243e-05/0.1543, allocations: 4 kB / 0.5422 GB, free: 0.8711 MB / 398.1 MB Warning: Assuming fixed start value for the following 1 variables: H.T:VARIABLE(min = 0.0 start = H.Tstart unit = \"K\" fixed = true nominal = 300.0 ) \"fluid T\" type: Real Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 3 * 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 (12): * Single equations (assignments): 12 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001843/0.1544, allocations: 134.5 kB / 0.5423 GB, free: 0.7305 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.851e-05/0.1545, allocations: 11.91 kB / 0.5423 GB, free: 0.7188 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002938/0.1548, allocations: 123.1 kB / 0.5424 GB, free: 0.5898 MB / 398.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.996e-06/0.1548, allocations: 0 / 0.5424 GB, free: 0.5898 MB / 398.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.864e-06/0.1548, allocations: 7.938 kB / 0.5425 GB, free: 0.582 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.276e-06/0.1548, allocations: 3.938 kB / 0.5425 GB, free: 0.5781 MB / 398.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002723/0.1551, allocations: 225.5 kB / 0.5427 GB, free: 316 kB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.546e-06/0.1551, allocations: 4 kB / 0.5427 GB, free: 312 kB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001442/0.1552, allocations: 23.98 kB / 0.5427 GB, free: 288 kB / 398.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.205e-06/0.1552, allocations: 0 / 0.5427 GB, free: 288 kB / 398.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.135e-05/0.1552, allocations: 8 kB / 0.5427 GB, free: 280 kB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.556e-06/0.1552, allocations: 3.984 kB / 0.5427 GB, free: 276 kB / 398.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.739e-06/0.1552, allocations: 3.938 kB / 0.5427 GB, free: 272 kB / 398.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003338/0.1556, allocations: 231.4 kB / 0.5429 GB, free: 24 kB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 8.68e-05/0.1556, allocations: 93.05 kB / 0.543 GB, free: 15.91 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.44e-05/0.1557, allocations: 0 / 0.543 GB, free: 15.91 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.899e-05/0.1558, allocations: 0 / 0.543 GB, free: 15.91 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.224e-05/0.1558, allocations: 15.98 kB / 0.543 GB, free: 15.9 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.195e-06/0.1558, allocations: 8 kB / 0.543 GB, free: 15.89 MB / 414.1 MB Notification: Performance of sorting global known variables: time 0.0001387/0.156, allocations: 148.2 kB / 0.5432 GB, free: 15.74 MB / 414.1 MB Notification: Performance of sort global known variables: time 8e-08/0.156, allocations: 0 / 0.5432 GB, free: 15.74 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.0002633/0.1562, allocations: 24 kB / 0.5432 GB, free: 15.72 MB / 414.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 1 (H.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 (10): * Single equations (assignments): 10 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0006315/0.1569, allocations: 0.7789 MB / 0.544 GB, free: 14.91 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.0002255/0.1571, allocations: 72.11 kB / 0.544 GB, free: 14.84 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 1.613e-06/0.1571, allocations: 3.938 kB / 0.544 GB, free: 14.84 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 7.788e-05/0.1572, allocations: 31.98 kB / 0.5441 GB, free: 14.81 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003105/0.1575, allocations: 31.7 kB / 0.5441 GB, free: 14.78 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002407/0.1599, allocations: 1.903 MB / 0.546 GB, free: 12.78 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003458/0.1602, allocations: 0.7202 MB / 0.5467 GB, free: 12.04 MB / 414.1 MB Notification: Performance of simCode: alias equations: time 8.447e-05/0.1603, allocations: 25.55 kB / 0.5467 GB, free: 12.01 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.303e-05/0.1604, allocations: 47.42 kB / 0.5467 GB, free: 11.96 MB / 414.1 MB Notification: Performance of SimCode: time 3e-07/0.1604, allocations: 0 / 0.5467 GB, free: 11.96 MB / 414.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02718/0.1876, allocations: 3.553 MB / 0.5502 GB, free: 8.465 MB / 414.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 8.128/8.315, allocations: 15.94 kB / 0.5502 GB, free: 8.449 MB / 414.1 MB " [Timeout remaining time 652] (rm -f AES_AES.Devel_test_models.Test_liquid_mixing_streams.pipe ; mkfifo AES_AES.Devel_test_models.Test_liquid_mixing_streams.pipe ; head -c 1048576 < AES_AES.Devel_test_models.Test_liquid_mixing_streams.pipe >> ../files/AES_AES.Devel_test_models.Test_liquid_mixing_streams.sim & python3 -m fmpy simulate --output-file AES_AES.Devel_test_models.Test_liquid_mixing_streams_res.csv --start-time 0 --stop-time 100 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.2 AES_AES_Devel_test_models_Test_liquid_mixing_streams.fmu > AES_AES.Devel_test_models.Test_liquid_mixing_streams.pipe 2>&1) [Timeout 52.5] [Calling sys.exit(0), Time elapsed: 11.091247834963724] Failed to read output from testmodel.py, exit status != 0: 8.386132681043819 8.402161372 8.250877378 Calling exit ...