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.001859/0.001859, allocations: 104.3 kB / 19.72 MB, free: 1.914 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.00229/0.00229, allocations: 214.3 kB / 23.01 MB, free: 4.988 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.569/1.569, allocations: 230.6 MB / 256.8 MB, free: 7.812 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.1097/0.1097, allocations: 24.03 MB / 337.2 MB, free: 11.34 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.003235/0.003235, allocations: 73.31 kB / 473.8 MB, free: 6.387 MB / 334.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3153/0.3185, allocations: 59.57 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.06846/0.387, allocations: 22.91 MB / 0.5433 GB, free: 2.02 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.0006054/0.3876, allocations: 171 kB / 0.5434 GB, free: 1.895 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 9.978e-05/0.3877, allocations: 2.719 kB / 0.5434 GB, free: 1.895 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 6.823e-05/0.3878, allocations: 28.12 kB / 0.5435 GB, free: 1.875 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002302/0.388, allocations: 70.23 kB / 0.5435 GB, free: 1.824 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 9.012e-05/0.3881, allocations: 38.08 kB / 0.5436 GB, free: 1.801 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001651/0.3882, allocations: 178.8 kB / 0.5437 GB, free: 1.711 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002023/0.3885, allocations: 105.7 kB / 0.5438 GB, free: 1.66 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001288/0.3886, allocations: 85.91 kB / 0.5439 GB, free: 1.621 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001253/0.3887, allocations: 76.64 kB / 0.544 GB, free: 1.59 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 3.05e-05/0.3887, allocations: 15.22 kB / 0.544 GB, free: 1.59 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 3.43e-05/0.3888, allocations: 16.03 kB / 0.544 GB, free: 1.586 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 3.325e-05/0.3888, allocations: 43.72 kB / 0.5441 GB, free: 1.555 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 7.283e-05/0.3889, allocations: 66.08 kB / 0.5441 GB, free: 1.523 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002083/0.3891, allocations: 189.6 kB / 0.5443 GB, free: 1.445 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.677e-06/0.3891, allocations: 1.219 kB / 0.5443 GB, free: 1.445 MB / 382.1 MB Notification: Performance of FrontEnd: time 1.202e-06/0.3891, allocations: 0 / 0.5443 GB, free: 1.445 MB / 382.1 MB Notification: Performance of Transformations before backend: time 9.939e-06/0.3891, allocations: 0 / 0.5443 GB, free: 1.445 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.0004919/0.3896, allocations: 385.2 kB / 0.5447 GB, free: 1.062 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.269e-05/0.3896, allocations: 12.92 kB / 0.5447 GB, free: 1.051 MB / 382.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.377e-05/0.3897, allocations: 47.62 kB / 0.5447 GB, free: 1 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.583e-05/0.3897, allocations: 24.8 kB / 0.5448 GB, free: 0.9766 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001994/0.3899, allocations: 165.3 kB / 0.5449 GB, free: 0.8008 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.289e-05/0.3899, allocations: 8.609 kB / 0.5449 GB, free: 0.793 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.88e-05/0.3899, allocations: 16.36 kB / 0.5449 GB, free: 0.7773 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000268/0.3902, allocations: 163.8 kB / 0.5451 GB, free: 0.6328 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.978e-06/0.3902, allocations: 0 / 0.5451 GB, free: 0.6328 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.738e-05/0.3902, allocations: 8 kB / 0.5451 GB, free: 0.625 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.459e-06/0.3902, allocations: 0 / 0.5451 GB, free: 0.625 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002542/0.3905, allocations: 98.25 kB / 0.5452 GB, free: 0.543 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.0007339/0.3912, allocations: 0.5308 MB / 0.5457 GB, free: 4 kB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001768/0.3914, allocations: 47.53 kB / 0.5458 GB, free: 15.95 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001253/0.3915, allocations: 37.64 kB / 0.5458 GB, free: 15.92 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.136e-05/0.3915, allocations: 0 / 0.5458 GB, free: 15.92 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.925e-05/0.3916, allocations: 31.27 kB / 0.5458 GB, free: 15.88 MB / 398.1 MB Notification: Performance of preOpt simplifyInStream (simulation): time 0.0001255/0.3917, allocations: 17.41 kB / 0.5459 GB, free: 15.86 MB / 398.1 MB Notification: Performance of pre-optimization done (n=7): time 1.142e-06/0.3917, allocations: 0 / 0.5459 GB, free: 15.86 MB / 398.1 MB Notification: Performance of matching and sorting (n=7): time 0.000418/0.3921, allocations: 117.2 kB / 0.546 GB, free: 15.75 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.01e-05/0.3922, allocations: 55.41 kB / 0.546 GB, free: 15.69 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002083/0.3924, allocations: 196.7 kB / 0.5462 GB, free: 15.5 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 2.094e-05/0.3924, allocations: 29.64 kB / 0.5462 GB, free: 15.47 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.000101/0.3925, allocations: 130.2 kB / 0.5464 GB, free: 15.34 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.129e-05/0.3925, allocations: 30.66 kB / 0.5464 GB, free: 15.32 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.671e-05/0.3926, allocations: 28.77 kB / 0.5464 GB, free: 15.29 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.0001469/0.3927, allocations: 327.6 kB / 0.5467 GB, free: 14.96 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001014/0.3928, allocations: 19.8 kB / 0.5467 GB, free: 14.95 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001157/0.3929, allocations: 47.5 kB / 0.5468 GB, free: 14.89 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001087/0.394, allocations: 201.9 kB / 0.547 GB, free: 14.73 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.873e-06/0.394, allocations: 0 / 0.547 GB, free: 14.73 MB / 398.1 MB Notification: Performance of matching and sorting (n=12) (initialization): time 0.0003024/0.3943, allocations: 131.2 kB / 0.5471 GB, free: 14.61 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.462e-05/0.3943, allocations: 4 kB / 0.5471 GB, free: 14.6 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.554e-06/0.3944, allocations: 4.078 kB / 0.5471 GB, free: 14.6 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.466e-05/0.3944, allocations: 0.7031 kB / 0.5471 GB, free: 14.6 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001607/0.3945, allocations: 24.88 kB / 0.5471 GB, free: 14.58 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.015e-05/0.3945, allocations: 8.438 kB / 0.5471 GB, free: 14.57 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.182e-05/0.3946, allocations: 0.6094 kB / 0.5471 GB, free: 14.57 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.321e-05/0.3946, allocations: 9.375 kB / 0.5472 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.0001773/0.3948, allocations: 127 kB / 0.5473 GB, free: 14.43 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.823e-05/0.3949, allocations: 16 kB / 0.5473 GB, free: 14.41 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002827/0.3952, allocations: 127.5 kB / 0.5474 GB, free: 14.3 MB / 398.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.725e-06/0.3952, allocations: 0 / 0.5474 GB, free: 14.3 MB / 398.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.862e-06/0.3952, allocations: 4.734 kB / 0.5474 GB, free: 14.29 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.935e-06/0.3952, allocations: 4 kB / 0.5474 GB, free: 14.29 MB / 398.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002626/0.3954, allocations: 188.1 kB / 0.5476 GB, free: 14.08 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.953e-06/0.3954, allocations: 0.8906 kB / 0.5476 GB, free: 14.08 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001444/0.3956, allocations: 24.83 kB / 0.5476 GB, free: 14.06 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.21e-06/0.3956, allocations: 4 kB / 0.5476 GB, free: 14.05 MB / 398.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.046e-05/0.3956, allocations: 0 / 0.5476 GB, free: 14.05 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.463e-06/0.3956, allocations: 0 / 0.5476 GB, free: 14.05 MB / 398.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.38e-06/0.3956, allocations: 3.938 kB / 0.5476 GB, free: 14.05 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003385/0.3959, allocations: 231.9 kB / 0.5479 GB, free: 13.82 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 3.585e-05/0.396, allocations: 16.64 kB / 0.5479 GB, free: 13.8 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.678e-05/0.396, allocations: 5 kB / 0.5479 GB, free: 13.8 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001002/0.3961, allocations: 0.6562 kB / 0.5479 GB, free: 13.8 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.601e-05/0.3962, allocations: 19.2 kB / 0.5479 GB, free: 13.79 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.606e-06/0.3962, allocations: 4.656 kB / 0.5479 GB, free: 13.78 MB / 398.1 MB Notification: Performance of sorting global known variables: time 0.0001421/0.3963, allocations: 152.6 kB / 0.548 GB, free: 13.64 MB / 398.1 MB Notification: Performance of sort global known variables: time 8e-08/0.3963, allocations: 0 / 0.548 GB, free: 13.64 MB / 398.1 MB Notification: Performance of remove unused functions: time 0.000266/0.3966, allocations: 31.89 kB / 0.5481 GB, free: 13.61 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.0006339/0.3972, allocations: 0.7682 MB / 0.5488 GB, free: 12.83 MB / 398.1 MB Notification: Performance of simCode: created initialization part: time 0.0002188/0.3974, allocations: 68.92 kB / 0.5489 GB, free: 12.77 MB / 398.1 MB Notification: Performance of simCode: created event and clocks part: time 1.723e-06/0.3974, allocations: 4 kB / 0.5489 GB, free: 12.77 MB / 398.1 MB Notification: Performance of simCode: created simulation system equations: time 7.857e-05/0.3975, allocations: 35.55 kB / 0.5489 GB, free: 12.73 MB / 398.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000321/0.3978, allocations: 32.7 kB / 0.549 GB, free: 12.71 MB / 398.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002485/0.4003, allocations: 1.893 MB / 0.5508 GB, free: 10.81 MB / 398.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001067/0.4004, allocations: 110.4 kB / 0.5509 GB, free: 10.71 MB / 398.1 MB Notification: Performance of simCode: alias equations: time 0.0001035/0.4005, allocations: 26.31 kB / 0.5509 GB, free: 10.68 MB / 398.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.909e-05/0.4006, allocations: 48.88 kB / 0.551 GB, free: 10.64 MB / 398.1 MB Notification: Performance of SimCode: time 6.51e-07/0.4006, allocations: 0 / 0.551 GB, free: 10.64 MB / 398.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0333/0.4339, allocations: 4.263 MB / 0.5551 GB, free: 7.812 MB / 398.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 11.17/11.6, allocations: 4.922 kB / 0.5552 GB, free: 7.812 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.357210595160723] Failed to read output from testmodel.py, exit status != 0: 11.711076624225825 11.724834779 11.332730019 Calling exit ...