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.00183/0.00183, allocations: 114.3 kB / 18.94 MB, free: 2.789 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.002414/0.002414, allocations: 218.7 kB / 22.26 MB, free: 5.215 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.484/1.484, allocations: 230.6 MB / 256 MB, free: 7.996 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.1079/0.1079, allocations: 24.13 MB / 336.6 MB, free: 11.43 MB / 270.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.002052/0.002052, allocations: 68.17 kB / 473.3 MB, free: 6.398 MB / 334.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3285/0.3305, allocations: 59.6 MB / 0.5204 GB, free: 10.12 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.03509/0.3656, allocations: 22.82 MB / 0.5427 GB, free: 1.965 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.0006911/0.3663, allocations: 174.3 kB / 0.5429 GB, free: 1.836 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001228/0.3664, allocations: 6.469 kB / 0.5429 GB, free: 1.832 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 7.345e-05/0.3665, allocations: 20.53 kB / 0.5429 GB, free: 1.82 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002794/0.3668, allocations: 61.98 kB / 0.543 GB, free: 1.777 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001074/0.3669, allocations: 43.16 kB / 0.543 GB, free: 1.75 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002145/0.3671, allocations: 180.8 kB / 0.5432 GB, free: 1.656 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002607/0.3674, allocations: 110.3 kB / 0.5433 GB, free: 1.602 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001562/0.3675, allocations: 84.95 kB / 0.5434 GB, free: 1.562 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.000161/0.3677, allocations: 86.66 kB / 0.5434 GB, free: 1.523 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 3.31e-05/0.3677, allocations: 14.19 kB / 0.5434 GB, free: 1.523 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 3.547e-05/0.3678, allocations: 17.88 kB / 0.5435 GB, free: 1.52 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 3.823e-05/0.3678, allocations: 35.03 kB / 0.5435 GB, free: 1.496 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 8.465e-05/0.3679, allocations: 86.27 kB / 0.5436 GB, free: 1.445 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002625/0.3681, allocations: 189.1 kB / 0.5438 GB, free: 1.367 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.32e-06/0.3681, allocations: 0 / 0.5438 GB, free: 1.367 MB / 382.1 MB Notification: Performance of FrontEnd: time 2.014e-06/0.3681, allocations: 4 kB / 0.5438 GB, free: 1.363 MB / 382.1 MB Notification: Performance of Transformations before backend: time 5.73e-06/0.3682, allocations: 0 / 0.5438 GB, free: 1.363 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: 28 * Number of variables: 28 Notification: Performance of Generate backend data structure: time 0.0005908/0.3687, allocations: 386.5 kB / 0.5441 GB, free: 1.02 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.625e-05/0.3688, allocations: 10.83 kB / 0.5441 GB, free: 1.02 MB / 382.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.487e-05/0.3688, allocations: 41.11 kB / 0.5442 GB, free: 0.9766 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.463e-05/0.3689, allocations: 21.89 kB / 0.5442 GB, free: 0.9648 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002329/0.3691, allocations: 176.4 kB / 0.5444 GB, free: 0.8008 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.863e-05/0.3691, allocations: 6.859 kB / 0.5444 GB, free: 0.8008 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.969e-05/0.3692, allocations: 10.94 kB / 0.5444 GB, free: 0.7969 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003333/0.3695, allocations: 163.3 kB / 0.5445 GB, free: 0.6992 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.263e-05/0.3695, allocations: 1.5 kB / 0.5445 GB, free: 0.6992 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.593e-05/0.3695, allocations: 8.453 kB / 0.5446 GB, free: 0.6914 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.474e-06/0.3695, allocations: 4.375 kB / 0.5446 GB, free: 0.6914 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002685/0.3698, allocations: 109.6 kB / 0.5447 GB, free: 0.6055 MB / 382.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.0008014/0.3706, allocations: 0.5948 MB / 0.5452 GB, free: 8 kB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001921/0.3708, allocations: 54.64 kB / 0.5453 GB, free: 15.95 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001068/0.3709, allocations: 31.95 kB / 0.5453 GB, free: 15.92 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.902e-05/0.3709, allocations: 0 / 0.5453 GB, free: 15.92 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.604e-05/0.3709, allocations: 34.56 kB / 0.5454 GB, free: 15.88 MB / 398.1 MB Notification: Performance of preOpt simplifyInStream (simulation): time 0.0001312/0.3711, allocations: 22.8 kB / 0.5454 GB, free: 15.86 MB / 398.1 MB Notification: Performance of pre-optimization done (n=7): time 9.22e-07/0.3711, allocations: 0 / 0.5454 GB, free: 15.86 MB / 398.1 MB Notification: Performance of matching and sorting (n=7): time 0.0004097/0.3715, allocations: 116 kB / 0.5455 GB, free: 15.75 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.033e-05/0.3715, allocations: 51.41 kB / 0.5455 GB, free: 15.69 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001943/0.3717, allocations: 192.2 kB / 0.5457 GB, free: 15.51 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 1.892e-05/0.3717, allocations: 29.64 kB / 0.5458 GB, free: 15.47 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001072/0.3718, allocations: 138.9 kB / 0.5459 GB, free: 15.34 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.653e-05/0.3719, allocations: 25.62 kB / 0.5459 GB, free: 15.32 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.701e-05/0.3719, allocations: 33.09 kB / 0.5459 GB, free: 15.29 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.0001452/0.3721, allocations: 327.7 kB / 0.5463 GB, free: 14.96 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 9.981e-05/0.3722, allocations: 23.98 kB / 0.5463 GB, free: 14.94 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001053/0.3723, allocations: 43.41 kB / 0.5463 GB, free: 14.89 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001104/0.3734, allocations: 201.7 kB / 0.5465 GB, free: 14.73 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.609e-06/0.3734, allocations: 4 kB / 0.5465 GB, free: 14.73 MB / 398.1 MB Notification: Performance of matching and sorting (n=12) (initialization): time 0.0002891/0.3737, allocations: 119.1 kB / 0.5466 GB, free: 14.61 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.635e-05/0.3737, allocations: 4.516 kB / 0.5466 GB, free: 14.61 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.48e-06/0.3737, allocations: 7.875 kB / 0.5466 GB, free: 14.6 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.682e-05/0.3737, allocations: 4 kB / 0.5466 GB, free: 14.6 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001578/0.3739, allocations: 21.39 kB / 0.5467 GB, free: 14.58 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.063e-05/0.3739, allocations: 8.734 kB / 0.5467 GB, free: 14.57 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.936e-05/0.374, allocations: 0.8906 kB / 0.5467 GB, free: 14.57 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.383e-05/0.374, allocations: 12.81 kB / 0.5467 GB, free: 14.56 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.0001726/0.3742, allocations: 123.4 kB / 0.5468 GB, free: 14.43 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.822e-05/0.3742, allocations: 11.91 kB / 0.5468 GB, free: 14.42 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003115/0.3745, allocations: 127.1 kB / 0.5469 GB, free: 14.3 MB / 398.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.222e-06/0.3745, allocations: 4.797 kB / 0.5469 GB, free: 14.3 MB / 398.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.811e-06/0.3745, allocations: 11.88 kB / 0.5469 GB, free: 14.29 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.397e-06/0.3745, allocations: 0.6562 kB / 0.5469 GB, free: 14.29 MB / 398.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002685/0.3748, allocations: 196.9 kB / 0.5471 GB, free: 14.08 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.313e-06/0.3748, allocations: 3.938 kB / 0.5471 GB, free: 14.07 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001454/0.3749, allocations: 20.55 kB / 0.5472 GB, free: 14.06 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.084e-06/0.375, allocations: 0 / 0.5472 GB, free: 14.06 MB / 398.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.312e-05/0.375, allocations: 4.75 kB / 0.5472 GB, free: 14.05 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.266e-06/0.375, allocations: 4 kB / 0.5472 GB, free: 14.05 MB / 398.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.905e-06/0.375, allocations: 3.938 kB / 0.5472 GB, free: 14.05 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003381/0.3753, allocations: 231.7 kB / 0.5474 GB, free: 13.82 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 3.259e-05/0.3753, allocations: 17.3 kB / 0.5474 GB, free: 13.8 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.706e-05/0.3754, allocations: 0 / 0.5474 GB, free: 13.8 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001022/0.3755, allocations: 4.984 kB / 0.5474 GB, free: 13.8 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.797e-05/0.3755, allocations: 11.41 kB / 0.5474 GB, free: 13.79 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.007e-05/0.3755, allocations: 4.984 kB / 0.5474 GB, free: 13.79 MB / 398.1 MB Notification: Performance of sorting global known variables: time 0.0001367/0.3757, allocations: 148 kB / 0.5476 GB, free: 13.65 MB / 398.1 MB Notification: Performance of sort global known variables: time 9.1e-08/0.3757, allocations: 0 / 0.5476 GB, free: 13.65 MB / 398.1 MB Notification: Performance of remove unused functions: time 0.0002806/0.3759, allocations: 24.06 kB / 0.5476 GB, free: 13.62 MB / 398.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.0006715/0.3766, allocations: 0.7761 MB / 0.5484 GB, free: 12.84 MB / 398.1 MB Notification: Performance of simCode: created initialization part: time 0.0002347/0.3768, allocations: 72.92 kB / 0.5484 GB, free: 12.77 MB / 398.1 MB Notification: Performance of simCode: created event and clocks part: time 1.844e-06/0.3768, allocations: 192 / 0.5484 GB, free: 12.77 MB / 398.1 MB Notification: Performance of simCode: created simulation system equations: time 8.035e-05/0.3769, allocations: 36.67 kB / 0.5485 GB, free: 12.74 MB / 398.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000326/0.3773, allocations: 41.3 kB / 0.5485 GB, free: 12.71 MB / 398.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002426/0.3797, allocations: 1.897 MB / 0.5503 GB, free: 10.81 MB / 398.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003493/0.38, allocations: 0.7186 MB / 0.5511 GB, free: 10.08 MB / 398.1 MB Notification: Performance of simCode: alias equations: time 8.761e-05/0.3801, allocations: 21.95 kB / 0.5511 GB, free: 10.06 MB / 398.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.592e-05/0.3802, allocations: 53.56 kB / 0.5511 GB, free: 10.02 MB / 398.1 MB Notification: Performance of SimCode: time 3.5e-07/0.3802, allocations: 4 kB / 0.5511 GB, free: 10.01 MB / 398.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03097/0.4112, allocations: 3.732 MB / 0.5548 GB, free: 7.727 MB / 398.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 11.25/11.67, allocations: 4.062 kB / 0.5548 GB, free: 7.723 MB / 398.1 MB " [Timeout remaining time 648] (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: 14.472680646002118] Failed to read output from testmodel.py, exit status != 0: 11.77358416300558 11.792426239 11.420623189 Calling exit ...