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.001455/0.001455, allocations: 105 kB / 16.45 MB, free: 6.488 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.001502/0.001502, allocations: 216.2 kB / 19.43 MB, free: 3.656 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.475/1.475, allocations: 230.6 MB / 252.8 MB, free: 8.969 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.107/0.107, allocations: 24.1 MB / 333 MB, free: 12.61 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.002337/0.002337, allocations: 71.89 kB / 467.9 MB, free: 9.047 MB / 334.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3276/0.3299, allocations: 59.56 MB / 0.5151 GB, free: 9.625 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.0338/0.3637, allocations: 22.8 MB / 0.5373 GB, free: 1.613 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.0006923/0.3644, allocations: 175.1 kB / 0.5375 GB, free: 1.484 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001165/0.3645, allocations: 6.688 kB / 0.5375 GB, free: 1.48 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 7.767e-05/0.3646, allocations: 20.36 kB / 0.5375 GB, free: 1.469 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002661/0.3648, allocations: 69.97 kB / 0.5376 GB, free: 1.418 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001016/0.3649, allocations: 32.92 kB / 0.5376 GB, free: 1.398 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002069/0.3652, allocations: 183.5 kB / 0.5378 GB, free: 1.305 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002629/0.3654, allocations: 100.8 kB / 0.5379 GB, free: 1.258 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001614/0.3656, allocations: 90.08 kB / 0.538 GB, free: 1.215 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001571/0.3657, allocations: 90.33 kB / 0.5381 GB, free: 1.172 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 3.374e-05/0.3658, allocations: 13.75 kB / 0.5381 GB, free: 1.172 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 3.435e-05/0.3658, allocations: 14.06 kB / 0.5381 GB, free: 1.172 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 3.691e-05/0.3658, allocations: 35.19 kB / 0.5381 GB, free: 1.148 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 8.34e-05/0.3659, allocations: 86.06 kB / 0.5382 GB, free: 1.098 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002336/0.3662, allocations: 189.9 kB / 0.5384 GB, free: 1.02 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.789e-06/0.3662, allocations: 1.188 kB / 0.5384 GB, free: 1.02 MB / 382.1 MB Notification: Performance of FrontEnd: time 1.292e-06/0.3662, allocations: 0 / 0.5384 GB, free: 1.02 MB / 382.1 MB Notification: Performance of Transformations before backend: time 6.041e-06/0.3662, allocations: 0 / 0.5384 GB, free: 1.02 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.0005612/0.3667, allocations: 467.2 kB / 0.5388 GB, free: 0.5781 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.895e-05/0.3668, allocations: 10.72 kB / 0.5389 GB, free: 0.5781 MB / 382.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.902e-05/0.3668, allocations: 48.75 kB / 0.5389 GB, free: 0.5273 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.112e-05/0.3668, allocations: 21.89 kB / 0.5389 GB, free: 0.5156 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002397/0.3671, allocations: 233.8 kB / 0.5391 GB, free: 296 kB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.031e-05/0.3671, allocations: 10.23 kB / 0.5392 GB, free: 292 kB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.236e-05/0.3671, allocations: 11.47 kB / 0.5392 GB, free: 288 kB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003202/0.3675, allocations: 149.5 kB / 0.5393 GB, free: 200 kB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.132e-05/0.3675, allocations: 5.719 kB / 0.5393 GB, free: 196 kB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.817e-05/0.3675, allocations: 4 kB / 0.5393 GB, free: 192 kB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.783e-06/0.3675, allocations: 2.969 kB / 0.5393 GB, free: 192 kB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002955/0.3678, allocations: 110.9 kB / 0.5394 GB, free: 148 kB / 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.001044/0.3688, allocations: 0.6259 MB / 0.54 GB, free: 15.6 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001767/0.369, allocations: 55.84 kB / 0.5401 GB, free: 15.55 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001285/0.3691, allocations: 31.67 kB / 0.5401 GB, free: 15.54 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.637e-05/0.3692, allocations: 5.516 kB / 0.5401 GB, free: 15.54 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.111e-05/0.3692, allocations: 31.94 kB / 0.5402 GB, free: 15.5 MB / 398.1 MB Notification: Performance of preOpt simplifyInStream (simulation): time 0.0001321/0.3693, allocations: 23.14 kB / 0.5402 GB, free: 15.48 MB / 398.1 MB Notification: Performance of pre-optimization done (n=7): time 1.343e-06/0.3693, allocations: 0 / 0.5402 GB, free: 15.48 MB / 398.1 MB Notification: Performance of matching and sorting (n=7): time 0.0004496/0.3698, allocations: 117 kB / 0.5403 GB, free: 15.42 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.682e-05/0.3698, allocations: 55.34 kB / 0.5403 GB, free: 15.35 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002054/0.37, allocations: 196.3 kB / 0.5405 GB, free: 15.22 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 2.8e-05/0.3701, allocations: 31.08 kB / 0.5406 GB, free: 15.18 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 9.866e-05/0.3702, allocations: 132.7 kB / 0.5407 GB, free: 15.07 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.083e-05/0.3702, allocations: 28.42 kB / 0.5407 GB, free: 15.04 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.36e-05/0.3703, allocations: 25.53 kB / 0.5407 GB, free: 15.02 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.0001558/0.3704, allocations: 326.4 kB / 0.541 GB, free: 14.7 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001048/0.3705, allocations: 26.84 kB / 0.5411 GB, free: 14.69 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001243/0.3706, allocations: 52.94 kB / 0.5411 GB, free: 14.65 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001113/0.3718, allocations: 197.4 kB / 0.5413 GB, free: 14.58 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.625e-06/0.3718, allocations: 0 / 0.5413 GB, free: 14.58 MB / 398.1 MB Notification: Performance of matching and sorting (n=12) (initialization): time 0.0003222/0.3721, allocations: 127.2 kB / 0.5414 GB, free: 14.5 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.519e-05/0.3721, allocations: 6.875 kB / 0.5414 GB, free: 14.5 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.963e-06/0.3721, allocations: 1.719 kB / 0.5414 GB, free: 14.5 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.451e-05/0.3721, allocations: 0 / 0.5414 GB, free: 14.5 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000158/0.3723, allocations: 23.77 kB / 0.5415 GB, free: 14.5 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.118e-05/0.3723, allocations: 6.812 kB / 0.5415 GB, free: 14.5 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.582e-05/0.3724, allocations: 5.703 kB / 0.5415 GB, free: 14.5 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.396e-05/0.3724, allocations: 8.891 kB / 0.5415 GB, free: 14.49 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.0002043/0.3726, allocations: 130.8 kB / 0.5416 GB, free: 14.36 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.218e-05/0.3726, allocations: 15.23 kB / 0.5416 GB, free: 14.36 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002936/0.3729, allocations: 113.9 kB / 0.5417 GB, free: 14.29 MB / 398.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.316e-06/0.3729, allocations: 5.062 kB / 0.5417 GB, free: 14.29 MB / 398.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.117e-06/0.3729, allocations: 9.125 kB / 0.5417 GB, free: 14.28 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.068e-06/0.373, allocations: 0 / 0.5417 GB, free: 14.28 MB / 398.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003073/0.3733, allocations: 227.8 kB / 0.542 GB, free: 14.06 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.867e-06/0.3733, allocations: 8 kB / 0.542 GB, free: 14.05 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001516/0.3734, allocations: 25.94 kB / 0.542 GB, free: 14.05 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.104e-06/0.3734, allocations: 0 / 0.542 GB, free: 14.05 MB / 398.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.261e-05/0.3734, allocations: 1.281 kB / 0.542 GB, free: 14.05 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.765e-06/0.3734, allocations: 1.281 kB / 0.542 GB, free: 14.05 MB / 398.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.041e-06/0.3734, allocations: 3.938 kB / 0.542 GB, free: 14.05 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003847/0.3738, allocations: 232.5 kB / 0.5422 GB, free: 13.87 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 8.138e-05/0.3739, allocations: 95 kB / 0.5423 GB, free: 13.77 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.029e-05/0.3739, allocations: 10.38 kB / 0.5423 GB, free: 13.76 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.843e-05/0.374, allocations: 0.6562 kB / 0.5423 GB, free: 13.76 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.255e-05/0.3741, allocations: 14.73 kB / 0.5423 GB, free: 13.75 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.294e-06/0.3741, allocations: 1.656 kB / 0.5423 GB, free: 13.75 MB / 398.1 MB Notification: Performance of sorting global known variables: time 0.0001688/0.3743, allocations: 149 kB / 0.5425 GB, free: 13.65 MB / 398.1 MB Notification: Performance of sort global known variables: time 9e-08/0.3743, allocations: 0 / 0.5425 GB, free: 13.65 MB / 398.1 MB Notification: Performance of remove unused functions: time 0.0002676/0.3745, allocations: 26.56 kB / 0.5425 GB, free: 13.65 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.0007392/0.3753, allocations: 0.7734 MB / 0.5433 GB, free: 12.93 MB / 398.1 MB Notification: Performance of simCode: created initialization part: time 0.000247/0.3755, allocations: 65.17 kB / 0.5433 GB, free: 12.91 MB / 398.1 MB Notification: Performance of simCode: created event and clocks part: time 3.106e-06/0.3755, allocations: 1.156 kB / 0.5433 GB, free: 12.91 MB / 398.1 MB Notification: Performance of simCode: created simulation system equations: time 8.388e-05/0.3756, allocations: 30.89 kB / 0.5434 GB, free: 12.91 MB / 398.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003459/0.3759, allocations: 37.94 kB / 0.5434 GB, free: 12.89 MB / 398.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002624/0.3786, allocations: 1.915 MB / 0.5453 GB, free: 11.24 MB / 398.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003981/0.379, allocations: 0.7221 MB / 0.546 GB, free: 10.51 MB / 398.1 MB Notification: Performance of simCode: alias equations: time 0.0001065/0.3791, allocations: 22.58 kB / 0.546 GB, free: 10.49 MB / 398.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001071/0.3792, allocations: 49.06 kB / 0.546 GB, free: 10.45 MB / 398.1 MB Notification: Performance of SimCode: time 3.01e-07/0.3792, allocations: 0 / 0.546 GB, free: 10.45 MB / 398.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02683/0.406, allocations: 3.546 MB / 0.5495 GB, free: 8.23 MB / 398.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 8.102/8.508, allocations: 16.05 kB / 0.5495 GB, free: 8.215 MB / 398.1 MB " [Timeout remaining time 651] (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.262677574995905] Failed to read output from testmodel.py, exit status != 0: 8.579579646931961 8.595355077 8.226173334 Calling exit ...