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.001848/0.001848, allocations: 100.3 kB / 19.72 MB, free: 1.785 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.002217/0.002217, allocations: 211.8 kB / 23.01 MB, free: 4.621 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.498/1.498, allocations: 230.6 MB / 256.8 MB, free: 7.777 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.1072/0.1072, allocations: 24.04 MB / 337.2 MB, free: 11.33 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.002166/0.002166, allocations: 63.91 kB / 473.8 MB, free: 6.371 MB / 334.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.313/0.3152, allocations: 59.58 MB / 0.5209 GB, free: 10.1 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.06727/0.3825, allocations: 22.9 MB / 0.5433 GB, free: 2.02 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.0006222/0.3831, allocations: 169.7 kB / 0.5434 GB, free: 1.895 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001224/0.3832, allocations: 7.656 kB / 0.5434 GB, free: 1.891 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 7.491e-05/0.3833, allocations: 23.95 kB / 0.5435 GB, free: 1.875 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002555/0.3835, allocations: 66.48 kB / 0.5435 GB, free: 1.828 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001077/0.3836, allocations: 33.34 kB / 0.5436 GB, free: 1.809 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.000197/0.3838, allocations: 190.5 kB / 0.5437 GB, free: 1.707 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002349/0.3841, allocations: 98.17 kB / 0.5438 GB, free: 1.664 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001304/0.3842, allocations: 89.14 kB / 0.5439 GB, free: 1.621 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001281/0.3843, allocations: 86.59 kB / 0.544 GB, free: 1.582 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 3.212e-05/0.3844, allocations: 18.06 kB / 0.544 GB, free: 1.578 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 3.497e-05/0.3844, allocations: 13.97 kB / 0.544 GB, free: 1.578 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 3.065e-05/0.3844, allocations: 32.62 kB / 0.5441 GB, free: 1.555 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 6.45e-05/0.3845, allocations: 71.84 kB / 0.5441 GB, free: 1.52 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001809/0.3847, allocations: 192.3 kB / 0.5443 GB, free: 1.406 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.076e-06/0.3847, allocations: 0 / 0.5443 GB, free: 1.406 MB / 382.1 MB Notification: Performance of FrontEnd: time 1.302e-06/0.3847, allocations: 0 / 0.5443 GB, free: 1.406 MB / 382.1 MB Notification: Performance of Transformations before backend: time 5.25e-06/0.3847, allocations: 0 / 0.5443 GB, free: 1.406 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.0004959/0.3852, allocations: 385.3 kB / 0.5447 GB, free: 1.012 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.149e-05/0.3852, allocations: 8.922 kB / 0.5447 GB, free: 1.004 MB / 382.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 2.981e-05/0.3852, allocations: 46.75 kB / 0.5447 GB, free: 0.9492 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.568e-05/0.3853, allocations: 26.14 kB / 0.5448 GB, free: 0.9258 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001915/0.3855, allocations: 161.2 kB / 0.5449 GB, free: 0.7539 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.194e-05/0.3855, allocations: 8.609 kB / 0.5449 GB, free: 0.7461 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.702e-05/0.3855, allocations: 12.38 kB / 0.5449 GB, free: 0.7344 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000276/0.3858, allocations: 164.6 kB / 0.5451 GB, free: 0.5898 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.287e-06/0.3858, allocations: 0 / 0.5451 GB, free: 0.5898 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.445e-05/0.3858, allocations: 4 kB / 0.5451 GB, free: 0.5859 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.01e-06/0.3858, allocations: 4 kB / 0.5451 GB, free: 0.582 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002489/0.3861, allocations: 102.4 kB / 0.5452 GB, free: 0.4961 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.0007287/0.3868, allocations: 0.5315 MB / 0.5457 GB, free: 15.96 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001481/0.3869, allocations: 48.72 kB / 0.5458 GB, free: 15.91 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001084/0.3871, allocations: 31.91 kB / 0.5458 GB, free: 15.88 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.624e-05/0.3871, allocations: 0 / 0.5458 GB, free: 15.88 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.602e-05/0.3871, allocations: 34.56 kB / 0.5458 GB, free: 15.83 MB / 398.1 MB Notification: Performance of preOpt simplifyInStream (simulation): time 0.0001217/0.3872, allocations: 19.75 kB / 0.5459 GB, free: 15.82 MB / 398.1 MB Notification: Performance of pre-optimization done (n=7): time 1.122e-06/0.3872, allocations: 0 / 0.5459 GB, free: 15.82 MB / 398.1 MB Notification: Performance of matching and sorting (n=7): time 0.0004003/0.3876, allocations: 118.9 kB / 0.546 GB, free: 15.7 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.623e-05/0.3877, allocations: 52.11 kB / 0.546 GB, free: 15.64 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001967/0.3879, allocations: 200.4 kB / 0.5462 GB, free: 15.45 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 1.909e-05/0.3879, allocations: 25.7 kB / 0.5462 GB, free: 15.42 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 9.092e-05/0.388, allocations: 130.2 kB / 0.5464 GB, free: 15.3 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.866e-05/0.388, allocations: 30.38 kB / 0.5464 GB, free: 15.27 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.242e-05/0.388, allocations: 28.72 kB / 0.5464 GB, free: 15.24 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.0001345/0.3882, allocations: 327.8 kB / 0.5467 GB, free: 14.91 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001012/0.3883, allocations: 23.42 kB / 0.5467 GB, free: 14.89 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001088/0.3884, allocations: 43.92 kB / 0.5468 GB, free: 14.85 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.00108/0.3895, allocations: 201.3 kB / 0.547 GB, free: 14.68 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.783e-06/0.3895, allocations: 0 / 0.547 GB, free: 14.68 MB / 398.1 MB Notification: Performance of matching and sorting (n=12) (initialization): time 0.0002945/0.3898, allocations: 123.5 kB / 0.5471 GB, free: 14.57 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.386e-05/0.3898, allocations: 8 kB / 0.5471 GB, free: 14.56 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.979e-06/0.3898, allocations: 0.5625 kB / 0.5471 GB, free: 14.56 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.243e-05/0.3898, allocations: 0 / 0.5471 GB, free: 14.56 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001585/0.39, allocations: 26.33 kB / 0.5471 GB, free: 14.54 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.474e-06/0.39, allocations: 3.938 kB / 0.5471 GB, free: 14.54 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.176e-05/0.3901, allocations: 12 kB / 0.5471 GB, free: 14.52 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.361e-05/0.3901, allocations: 9.031 kB / 0.5472 GB, free: 14.52 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.0001641/0.3902, allocations: 127.2 kB / 0.5473 GB, free: 14.38 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.079e-05/0.3903, allocations: 16.52 kB / 0.5473 GB, free: 14.37 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002689/0.3905, allocations: 119.3 kB / 0.5474 GB, free: 14.26 MB / 398.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.277e-06/0.3905, allocations: 0 / 0.5474 GB, free: 14.26 MB / 398.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.64e-06/0.3905, allocations: 11.94 kB / 0.5474 GB, free: 14.25 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.075e-06/0.3906, allocations: 0.8906 kB / 0.5474 GB, free: 14.25 MB / 398.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002662/0.3908, allocations: 188 kB / 0.5476 GB, free: 14.04 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.583e-06/0.3908, allocations: 4.734 kB / 0.5476 GB, free: 14.03 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001413/0.391, allocations: 23.89 kB / 0.5476 GB, free: 14.01 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.364e-06/0.391, allocations: 0 / 0.5476 GB, free: 14.01 MB / 398.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.377e-06/0.391, allocations: 0.7031 kB / 0.5476 GB, free: 14.01 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.529e-06/0.391, allocations: 4 kB / 0.5476 GB, free: 14.01 MB / 398.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.815e-06/0.391, allocations: 3.938 kB / 0.5476 GB, free: 14 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003354/0.3913, allocations: 227.6 kB / 0.5479 GB, free: 13.78 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 3.692e-05/0.3914, allocations: 21.41 kB / 0.5479 GB, free: 13.76 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.083e-05/0.3914, allocations: 9.312 kB / 0.5479 GB, free: 13.75 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000103/0.3915, allocations: 4 kB / 0.5479 GB, free: 13.75 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.379e-05/0.3915, allocations: 15.77 kB / 0.5479 GB, free: 13.73 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.292e-06/0.3915, allocations: 0.6562 kB / 0.5479 GB, free: 13.73 MB / 398.1 MB Notification: Performance of sorting global known variables: time 0.0001436/0.3917, allocations: 148.4 kB / 0.548 GB, free: 13.6 MB / 398.1 MB Notification: Performance of sort global known variables: time 7e-08/0.3917, allocations: 0 / 0.548 GB, free: 13.6 MB / 398.1 MB Notification: Performance of remove unused functions: time 0.0002711/0.3919, allocations: 39.89 kB / 0.5481 GB, free: 13.56 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.0006642/0.3926, allocations: 0.7561 MB / 0.5488 GB, free: 12.79 MB / 398.1 MB Notification: Performance of simCode: created initialization part: time 0.0002208/0.3928, allocations: 68.44 kB / 0.5489 GB, free: 12.73 MB / 398.1 MB Notification: Performance of simCode: created event and clocks part: time 2.004e-06/0.3928, allocations: 4 kB / 0.5489 GB, free: 12.73 MB / 398.1 MB Notification: Performance of simCode: created simulation system equations: time 7.559e-05/0.3929, allocations: 32.77 kB / 0.5489 GB, free: 12.7 MB / 398.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00033/0.3932, allocations: 38.14 kB / 0.549 GB, free: 12.67 MB / 398.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002344/0.3956, allocations: 1.905 MB / 0.5508 GB, free: 10.76 MB / 398.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001007/0.3957, allocations: 106.2 kB / 0.5509 GB, free: 10.66 MB / 398.1 MB Notification: Performance of simCode: alias equations: time 9.156e-05/0.3958, allocations: 22.75 kB / 0.5509 GB, free: 10.64 MB / 398.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.512e-05/0.3959, allocations: 52.83 kB / 0.551 GB, free: 10.59 MB / 398.1 MB Notification: Performance of SimCode: time 4.91e-07/0.3959, allocations: 0 / 0.551 GB, free: 10.59 MB / 398.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03132/0.4272, allocations: 4.257 MB / 0.5551 GB, free: 7.773 MB / 398.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 11.48/11.91, allocations: 8.609 kB / 0.5552 GB, free: 7.77 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.73471965501085] Failed to read output from testmodel.py, exit status != 0: 12.025572892278433 12.056256204 11.667192185 Calling exit ...