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.001642/0.001642, allocations: 114.3 kB / 18.94 MB, free: 2.934 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.002304/0.002304, allocations: 217 kB / 22.25 MB, free: 5.082 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.453/1.453, allocations: 230.6 MB / 256 MB, free: 8.027 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.1084/0.1084, allocations: 24.13 MB / 336.6 MB, free: 11.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="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.00219/0.00219, allocations: 63.89 kB / 473.3 MB, free: 6.402 MB / 334.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.306/0.3082, allocations: 59.6 MB / 0.5204 GB, free: 10.11 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.03498/0.3432, allocations: 22.81 MB / 0.5427 GB, free: 1.961 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.0007027/0.3439, allocations: 180.8 kB / 0.5429 GB, free: 1.824 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001349/0.344, allocations: 3.062 kB / 0.5429 GB, free: 1.824 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 7.892e-05/0.3441, allocations: 20.83 kB / 0.5429 GB, free: 1.812 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002633/0.3443, allocations: 69.88 kB / 0.543 GB, free: 1.762 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001056/0.3444, allocations: 38.09 kB / 0.543 GB, free: 1.738 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002257/0.3447, allocations: 181.6 kB / 0.5432 GB, free: 1.645 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002684/0.3449, allocations: 102.1 kB / 0.5433 GB, free: 1.598 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001739/0.3451, allocations: 94.17 kB / 0.5434 GB, free: 1.551 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001676/0.3453, allocations: 85.02 kB / 0.5434 GB, free: 1.512 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 3.283e-05/0.3453, allocations: 14.06 kB / 0.5435 GB, free: 1.512 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 3.258e-05/0.3453, allocations: 14.28 kB / 0.5435 GB, free: 1.512 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 4.29e-05/0.3454, allocations: 42.98 kB / 0.5435 GB, free: 1.48 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 8.675e-05/0.3455, allocations: 81.69 kB / 0.5436 GB, free: 1.434 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002368/0.3457, allocations: 189.8 kB / 0.5438 GB, free: 1.355 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.198e-06/0.3457, allocations: 0 / 0.5438 GB, free: 1.355 MB / 382.1 MB Notification: Performance of FrontEnd: time 1.443e-06/0.3457, allocations: 0 / 0.5438 GB, free: 1.355 MB / 382.1 MB Notification: Performance of Transformations before backend: time 6.462e-06/0.3457, allocations: 0 / 0.5438 GB, free: 1.355 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.0005682/0.3463, allocations: 389.1 kB / 0.5441 GB, free: 1.008 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.018e-05/0.3463, allocations: 10.89 kB / 0.5441 GB, free: 1.008 MB / 382.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.833e-05/0.3464, allocations: 46.09 kB / 0.5442 GB, free: 0.9609 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.644e-05/0.3464, allocations: 21.11 kB / 0.5442 GB, free: 0.9492 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002654/0.3467, allocations: 173.8 kB / 0.5444 GB, free: 0.7891 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.803e-05/0.3467, allocations: 9.828 kB / 0.5444 GB, free: 0.7852 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.405e-05/0.3468, allocations: 11.81 kB / 0.5444 GB, free: 0.7812 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003055/0.3471, allocations: 151.4 kB / 0.5445 GB, free: 0.6953 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.177e-05/0.3471, allocations: 5.344 kB / 0.5445 GB, free: 0.6914 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.654e-05/0.3471, allocations: 5.469 kB / 0.5446 GB, free: 0.6875 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.815e-06/0.3471, allocations: 6.781 kB / 0.5446 GB, free: 0.6836 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002742/0.3474, allocations: 102.4 kB / 0.5447 GB, free: 0.6445 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.0007781/0.3482, allocations: 0.5974 MB / 0.5452 GB, free: 48 kB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001455/0.3483, allocations: 59.95 kB / 0.5453 GB, free: 15.98 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.000104/0.3484, allocations: 29.5 kB / 0.5453 GB, free: 15.96 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.845e-05/0.3484, allocations: 0 / 0.5453 GB, free: 15.96 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.769e-05/0.3484, allocations: 34.56 kB / 0.5454 GB, free: 15.91 MB / 398.1 MB Notification: Performance of preOpt simplifyInStream (simulation): time 0.0001296/0.3486, allocations: 21.06 kB / 0.5454 GB, free: 15.89 MB / 398.1 MB Notification: Performance of pre-optimization done (n=7): time 1.002e-06/0.3486, allocations: 0 / 0.5454 GB, free: 15.89 MB / 398.1 MB Notification: Performance of matching and sorting (n=7): time 0.0003868/0.349, allocations: 113.7 kB / 0.5455 GB, free: 15.79 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.69e-05/0.349, allocations: 55.34 kB / 0.5455 GB, free: 15.72 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002042/0.3492, allocations: 193 kB / 0.5457 GB, free: 15.54 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 2.177e-05/0.3492, allocations: 29.7 kB / 0.5458 GB, free: 15.51 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 9.714e-05/0.3493, allocations: 133.5 kB / 0.5459 GB, free: 15.38 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.057e-05/0.3494, allocations: 30.61 kB / 0.5459 GB, free: 15.35 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.178e-05/0.3494, allocations: 24.44 kB / 0.5459 GB, free: 15.32 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.0001377/0.3495, allocations: 327.7 kB / 0.5462 GB, free: 15 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001024/0.3496, allocations: 27.98 kB / 0.5463 GB, free: 14.98 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001059/0.3498, allocations: 48.06 kB / 0.5463 GB, free: 14.93 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001126/0.3509, allocations: 197.5 kB / 0.5465 GB, free: 14.77 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.154e-06/0.3509, allocations: 0 / 0.5465 GB, free: 14.77 MB / 398.1 MB Notification: Performance of matching and sorting (n=12) (initialization): time 0.0003252/0.3512, allocations: 126.7 kB / 0.5466 GB, free: 14.64 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.906e-05/0.3512, allocations: 4.844 kB / 0.5466 GB, free: 14.64 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.97e-06/0.3512, allocations: 0 / 0.5466 GB, free: 14.64 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.214e-05/0.3513, allocations: 4 kB / 0.5466 GB, free: 14.64 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001534/0.3514, allocations: 21.2 kB / 0.5467 GB, free: 14.62 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.742e-05/0.3514, allocations: 12.75 kB / 0.5467 GB, free: 14.61 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.622e-05/0.3515, allocations: 8.594 kB / 0.5467 GB, free: 14.6 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.334e-05/0.3515, allocations: 4.562 kB / 0.5467 GB, free: 14.6 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.0001879/0.3517, allocations: 131.3 kB / 0.5468 GB, free: 14.46 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.876e-05/0.3518, allocations: 12.42 kB / 0.5468 GB, free: 14.45 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002636/0.352, allocations: 123.7 kB / 0.5469 GB, free: 14.34 MB / 398.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.448e-06/0.352, allocations: 4 kB / 0.5469 GB, free: 14.33 MB / 398.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.511e-06/0.352, allocations: 3.938 kB / 0.5469 GB, free: 14.33 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.657e-06/0.352, allocations: 0.8906 kB / 0.5469 GB, free: 14.33 MB / 398.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002559/0.3523, allocations: 204.6 kB / 0.5471 GB, free: 14.11 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.092e-06/0.3523, allocations: 7.938 kB / 0.5471 GB, free: 14.1 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001386/0.3524, allocations: 20.31 kB / 0.5472 GB, free: 14.09 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.384e-06/0.3524, allocations: 1.594 kB / 0.5472 GB, free: 14.09 MB / 398.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.658e-06/0.3524, allocations: 0 / 0.5472 GB, free: 14.09 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.684e-06/0.3524, allocations: 4 kB / 0.5472 GB, free: 14.08 MB / 398.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.725e-06/0.3524, allocations: 3.938 kB / 0.5472 GB, free: 14.08 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003332/0.3528, allocations: 235.1 kB / 0.5474 GB, free: 13.84 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 3.217e-05/0.3528, allocations: 13.62 kB / 0.5474 GB, free: 13.83 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.818e-05/0.3528, allocations: 8.062 kB / 0.5474 GB, free: 13.82 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001051/0.3529, allocations: 4.703 kB / 0.5474 GB, free: 13.82 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.878e-05/0.353, allocations: 9.141 kB / 0.5474 GB, free: 13.82 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.815e-06/0.353, allocations: 4 kB / 0.5474 GB, free: 13.81 MB / 398.1 MB Notification: Performance of sorting global known variables: time 0.0001363/0.3531, allocations: 147.6 kB / 0.5476 GB, free: 13.68 MB / 398.1 MB Notification: Performance of sort global known variables: time 1e-07/0.3531, allocations: 0 / 0.5476 GB, free: 13.68 MB / 398.1 MB Notification: Performance of remove unused functions: time 0.0002601/0.3534, allocations: 28 kB / 0.5476 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.0006797/0.3541, allocations: 0.7718 MB / 0.5484 GB, free: 12.86 MB / 398.1 MB Notification: Performance of simCode: created initialization part: time 0.0002227/0.3543, allocations: 64.8 kB / 0.5484 GB, free: 12.81 MB / 398.1 MB Notification: Performance of simCode: created event and clocks part: time 2.084e-06/0.3543, allocations: 0 / 0.5484 GB, free: 12.81 MB / 398.1 MB Notification: Performance of simCode: created simulation system equations: time 7.801e-05/0.3544, allocations: 36.39 kB / 0.5485 GB, free: 12.78 MB / 398.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003337/0.3547, allocations: 44.42 kB / 0.5485 GB, free: 12.74 MB / 398.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00247/0.3572, allocations: 1.897 MB / 0.5503 GB, free: 10.84 MB / 398.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003897/0.3576, allocations: 0.7181 MB / 0.551 GB, free: 10.11 MB / 398.1 MB Notification: Performance of simCode: alias equations: time 0.0001039/0.3577, allocations: 26.97 kB / 0.5511 GB, free: 10.09 MB / 398.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.843e-05/0.3578, allocations: 52.31 kB / 0.5511 GB, free: 10.04 MB / 398.1 MB Notification: Performance of SimCode: time 7.91e-07/0.3578, allocations: 0 / 0.5511 GB, free: 10.04 MB / 398.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03052/0.3883, allocations: 3.728 MB / 0.5548 GB, free: 7.766 MB / 398.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 11.15/11.54, allocations: 12.06 kB / 0.5548 GB, free: 7.754 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.219208057038486] Failed to read output from testmodel.py, exit status != 0: 11.648124756058678 11.678027439 11.327653402 Calling exit ...