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.001318/0.001318, allocations: 101.3 kB / 19.73 MB, free: 2.133 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.001455/0.001455, allocations: 215 kB / 23.03 MB, free: 4.949 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.454/1.454, allocations: 230.6 MB / 256.8 MB, free: 7.805 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.1068/0.1068, allocations: 22.94 MB / 336.2 MB, free: 12.45 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="cs",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="cs",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.002854/0.002854, allocations: 68.19 kB / 472.2 MB, free: 7.91 MB / 334.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3422/0.3451, allocations: 59.28 MB / 0.519 GB, free: 10.55 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.06623/0.4113, allocations: 22.53 MB / 0.541 GB, free: 2.684 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.000553/0.4119, allocations: 167.7 kB / 0.5412 GB, free: 2.562 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 9.888e-05/0.412, allocations: 6.688 kB / 0.5412 GB, free: 2.559 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 6.476e-05/0.4121, allocations: 20.88 kB / 0.5412 GB, free: 2.547 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002459/0.4123, allocations: 70.27 kB / 0.5413 GB, free: 2.496 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 9.362e-05/0.4124, allocations: 34.48 kB / 0.5413 GB, free: 2.477 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001638/0.4126, allocations: 183.5 kB / 0.5415 GB, free: 2.383 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001932/0.4128, allocations: 106.5 kB / 0.5416 GB, free: 2.328 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.000122/0.4129, allocations: 83.22 kB / 0.5416 GB, free: 2.293 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001212/0.413, allocations: 96.52 kB / 0.5417 GB, free: 2.246 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 3.321e-05/0.413, allocations: 13.06 kB / 0.5418 GB, free: 2.246 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 3.349e-05/0.4131, allocations: 14.28 kB / 0.5418 GB, free: 2.246 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 2.871e-05/0.4131, allocations: 28.94 kB / 0.5418 GB, free: 2.227 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 7.174e-05/0.4132, allocations: 72.61 kB / 0.5419 GB, free: 2.191 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001912/0.4134, allocations: 200.9 kB / 0.5421 GB, free: 2.102 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.667e-06/0.4134, allocations: 0 / 0.5421 GB, free: 2.102 MB / 382.1 MB Notification: Performance of FrontEnd: time 1.393e-06/0.4134, allocations: 1.031 kB / 0.5421 GB, free: 2.102 MB / 382.1 MB Notification: Performance of Transformations before backend: time 5.41e-06/0.4134, allocations: 0 / 0.5421 GB, free: 2.102 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.0005064/0.4139, allocations: 386.4 kB / 0.5424 GB, free: 1.758 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.631e-05/0.4139, allocations: 9.984 kB / 0.5424 GB, free: 1.758 MB / 382.1 MB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 1.759e-05/0.4139, allocations: 3.203 kB / 0.5424 GB, free: 1.758 MB / 382.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.225e-05/0.414, allocations: 51.56 kB / 0.5425 GB, free: 1.707 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.874e-05/0.414, allocations: 20.48 kB / 0.5425 GB, free: 1.695 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002055/0.4142, allocations: 177.6 kB / 0.5427 GB, free: 1.531 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.79e-05/0.4142, allocations: 9.234 kB / 0.5427 GB, free: 1.527 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.76e-05/0.4142, allocations: 12.12 kB / 0.5427 GB, free: 1.523 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002871/0.4145, allocations: 151.1 kB / 0.5428 GB, free: 1.438 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.415e-06/0.4145, allocations: 0 / 0.5428 GB, free: 1.438 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.563e-05/0.4146, allocations: 5.531 kB / 0.5428 GB, free: 1.434 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.48e-06/0.4146, allocations: 2.688 kB / 0.5428 GB, free: 1.434 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002734/0.4148, allocations: 111.2 kB / 0.543 GB, free: 1.391 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.0007515/0.4156, allocations: 0.519 MB / 0.5435 GB, free: 0.9492 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001363/0.4157, allocations: 46.95 kB / 0.5435 GB, free: 0.9141 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 9.917e-05/0.4158, allocations: 30.03 kB / 0.5435 GB, free: 0.8984 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.783e-05/0.4158, allocations: 5.312 kB / 0.5435 GB, free: 0.8945 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.273e-05/0.4159, allocations: 34.33 kB / 0.5436 GB, free: 0.8555 MB / 382.1 MB Notification: Performance of preOpt simplifyInStream (simulation): time 0.0001266/0.416, allocations: 21.52 kB / 0.5436 GB, free: 0.8438 MB / 382.1 MB Notification: Performance of pre-optimization done (n=7): time 1.763e-06/0.416, allocations: 7.922 kB / 0.5436 GB, free: 0.8359 MB / 382.1 MB Notification: Performance of matching and sorting (n=7): time 0.0003761/0.4164, allocations: 111.8 kB / 0.5437 GB, free: 0.7734 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 1.944e-05/0.4164, allocations: 56.72 kB / 0.5438 GB, free: 0.707 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001541/0.4165, allocations: 196.5 kB / 0.5439 GB, free: 0.5742 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 1.118e-05/0.4165, allocations: 29.7 kB / 0.544 GB, free: 0.5391 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 5.996e-05/0.4166, allocations: 131.8 kB / 0.5441 GB, free: 432 kB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.222e-05/0.4166, allocations: 27.25 kB / 0.5441 GB, free: 408 kB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.741e-05/0.4167, allocations: 24.64 kB / 0.5441 GB, free: 388 kB / 382.1 MB Notification: Performance of setup shared object (initialization): time 5.585e-05/0.4167, allocations: 327.8 kB / 0.5445 GB, free: 60 kB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001003/0.4168, allocations: 22.89 kB / 0.5445 GB, free: 52 kB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 9.867e-05/0.4169, allocations: 48.27 kB / 0.5445 GB, free: 16 kB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001165/0.4181, allocations: 201.2 kB / 0.5447 GB, free: 15.94 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.314e-06/0.4181, allocations: 4 kB / 0.5447 GB, free: 15.93 MB / 398.1 MB Notification: Performance of matching and sorting (n=12) (initialization): time 0.0003079/0.4184, allocations: 119.2 kB / 0.5448 GB, free: 15.87 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.802e-05/0.4184, allocations: 5.891 kB / 0.5448 GB, free: 15.87 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.191e-06/0.4184, allocations: 1.156 kB / 0.5448 GB, free: 15.87 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.716e-05/0.4184, allocations: 1.219 kB / 0.5448 GB, free: 15.87 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001653/0.4186, allocations: 28.19 kB / 0.5449 GB, free: 15.86 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.275e-05/0.4186, allocations: 5.312 kB / 0.5449 GB, free: 15.86 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.95e-05/0.4187, allocations: 6.016 kB / 0.5449 GB, free: 15.86 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.7e-05/0.4187, allocations: 5.094 kB / 0.5449 GB, free: 15.86 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.0001961/0.4189, allocations: 131.3 kB / 0.545 GB, free: 15.73 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.096e-05/0.419, allocations: 14.41 kB / 0.545 GB, free: 15.72 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002786/0.4193, allocations: 118.9 kB / 0.5451 GB, free: 15.65 MB / 398.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.917e-06/0.4193, allocations: 1.156 kB / 0.5451 GB, free: 15.65 MB / 398.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.963e-06/0.4193, allocations: 5.094 kB / 0.5451 GB, free: 15.64 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.517e-06/0.4193, allocations: 0.75 kB / 0.5451 GB, free: 15.64 MB / 398.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002752/0.4196, allocations: 198.6 kB / 0.5453 GB, free: 15.46 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.593e-06/0.4196, allocations: 1.875 kB / 0.5453 GB, free: 15.46 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001521/0.4197, allocations: 29.09 kB / 0.5454 GB, free: 15.45 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.906e-06/0.4197, allocations: 0 / 0.5454 GB, free: 15.45 MB / 398.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.202e-05/0.4197, allocations: 2.266 kB / 0.5454 GB, free: 15.45 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.695e-06/0.4197, allocations: 0.7188 kB / 0.5454 GB, free: 15.45 MB / 398.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.306e-06/0.4197, allocations: 7.875 kB / 0.5454 GB, free: 15.44 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003757/0.4201, allocations: 234.1 kB / 0.5456 GB, free: 15.27 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 3.455e-05/0.4201, allocations: 18.84 kB / 0.5456 GB, free: 15.25 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.237e-05/0.4202, allocations: 5.062 kB / 0.5456 GB, free: 15.25 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001079/0.4203, allocations: 8.812 kB / 0.5456 GB, free: 15.24 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.657e-05/0.4203, allocations: 11.12 kB / 0.5456 GB, free: 15.24 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.174e-06/0.4203, allocations: 2.969 kB / 0.5456 GB, free: 15.24 MB / 398.1 MB Notification: Performance of sorting global known variables: time 0.0001448/0.4205, allocations: 147.8 kB / 0.5458 GB, free: 15.14 MB / 398.1 MB Notification: Performance of sort global known variables: time 6e-08/0.4205, allocations: 0 / 0.5458 GB, free: 15.14 MB / 398.1 MB Notification: Performance of remove unused functions: time 0.0002669/0.4207, allocations: 31.42 kB / 0.5458 GB, free: 15.14 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.0006735/0.4214, allocations: 0.7607 MB / 0.5466 GB, free: 14.43 MB / 398.1 MB Notification: Performance of simCode: created initialization part: time 0.0002324/0.4216, allocations: 66.2 kB / 0.5466 GB, free: 14.41 MB / 398.1 MB Notification: Performance of simCode: created event and clocks part: time 2.034e-06/0.4217, allocations: 0 / 0.5466 GB, free: 14.41 MB / 398.1 MB Notification: Performance of simCode: created simulation system equations: time 7.836e-05/0.4217, allocations: 39.78 kB / 0.5467 GB, free: 14.4 MB / 398.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003538/0.4221, allocations: 39.17 kB / 0.5467 GB, free: 14.38 MB / 398.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002519/0.4246, allocations: 1.904 MB / 0.5486 GB, free: 12.77 MB / 398.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001129/0.4247, allocations: 114 kB / 0.5487 GB, free: 12.66 MB / 398.1 MB Notification: Performance of simCode: alias equations: time 0.000102/0.4248, allocations: 22.52 kB / 0.5487 GB, free: 12.64 MB / 398.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001006/0.4249, allocations: 53.77 kB / 0.5487 GB, free: 12.59 MB / 398.1 MB Notification: Performance of SimCode: time 7.42e-07/0.4249, allocations: 0 / 0.5487 GB, free: 12.59 MB / 398.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0341/0.459, allocations: 3.927 MB / 0.5526 GB, free: 10.14 MB / 398.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 11.36/11.81, allocations: 7.188 kB / 0.5526 GB, free: 10.14 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 & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_AES_AES_Devel_test_models_Test_liquid_mixing_streams_fmu --startTime=0 --stopTime=100 --stepSize=0.2 --timeout=50 --tolerance=1e-06 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.577973420033231] Failed to read output from testmodel.py, exit status != 0: 11.983752060914412 11.999278614 11.582628169 Calling exit ...