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.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001317/0.001317, allocations: 104 kB / 16.4 MB, free: 6.484 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001322/0.001322, allocations: 192.6 kB / 19.36 MB, free: 3.75 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.409/1.409, allocations: 222.9 MB / 245.1 MB, free: 15.01 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.09836/0.09836, allocations: 22.34 MB / 319.6 MB, free: 6.773 MB / 254.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.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.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: Performance of FrontEnd - loaded program: time 0.001892/0.001892, allocations: 67.91 kB / 445.3 MB, free: 8.633 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1079/0.1098, allocations: 54.95 MB / 0.4885 GB, free: 1.633 MB / 366.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.4475/0.5573, allocations: 22.58 MB / 0.5105 GB, free: 5.027 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.0005018/0.5579, allocations: 169.5 kB / 0.5107 GB, free: 5.023 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 9.565e-05/0.558, allocations: 7.344 kB / 0.5107 GB, free: 5.02 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 6.7e-05/0.558, allocations: 27.48 kB / 0.5107 GB, free: 5.02 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002016/0.5583, allocations: 64.7 kB / 0.5108 GB, free: 5.016 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 8.297e-05/0.5583, allocations: 30.92 kB / 0.5108 GB, free: 5.016 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001525/0.5585, allocations: 183.9 kB / 0.511 GB, free: 5.016 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001967/0.5587, allocations: 120.3 kB / 0.5111 GB, free: 5 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001065/0.5588, allocations: 77.33 kB / 0.5112 GB, free: 4.988 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001086/0.5589, allocations: 94.05 kB / 0.5113 GB, free: 4.965 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 3.254e-05/0.559, allocations: 15.5 kB / 0.5113 GB, free: 4.965 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 3.026e-05/0.559, allocations: 16.31 kB / 0.5113 GB, free: 4.965 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 2.95e-05/0.559, allocations: 25.22 kB / 0.5113 GB, free: 4.961 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 6.712e-05/0.5591, allocations: 88.91 kB / 0.5114 GB, free: 4.934 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.000183/0.5593, allocations: 179 kB / 0.5116 GB, free: 4.902 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.957e-06/0.5593, allocations: 3.797 kB / 0.5116 GB, free: 4.902 MB / 382.1 MB Notification: Performance of FrontEnd: time 1.984e-06/0.5593, allocations: 0 / 0.5116 GB, free: 4.902 MB / 382.1 MB Notification: Performance of Transformations before backend: time 4.598e-06/0.5593, allocations: 3.938 kB / 0.5116 GB, free: 4.898 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.0004906/0.5598, allocations: 468.2 kB / 0.512 GB, free: 4.48 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.241e-05/0.5599, allocations: 8.094 kB / 0.5121 GB, free: 4.48 MB / 382.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.578e-05/0.5599, allocations: 45.05 kB / 0.5121 GB, free: 4.441 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.519e-05/0.5599, allocations: 22.17 kB / 0.5121 GB, free: 4.43 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001866/0.5601, allocations: 232.5 kB / 0.5123 GB, free: 4.215 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.685e-05/0.5602, allocations: 15.33 kB / 0.5124 GB, free: 4.211 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.339e-05/0.5602, allocations: 8.156 kB / 0.5124 GB, free: 4.211 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002691/0.5605, allocations: 154.2 kB / 0.5125 GB, free: 4.16 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.018e-05/0.5605, allocations: 4 kB / 0.5125 GB, free: 4.156 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.521e-05/0.5605, allocations: 3.25 kB / 0.5125 GB, free: 4.156 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.209e-06/0.5605, allocations: 3.438 kB / 0.5125 GB, free: 4.156 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002738/0.5608, allocations: 100.6 kB / 0.5126 GB, free: 4.156 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.0007501/0.5616, allocations: 0.6342 MB / 0.5132 GB, free: 3.68 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001469/0.5617, allocations: 60.16 kB / 0.5133 GB, free: 3.652 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 9.683e-05/0.5618, allocations: 39.98 kB / 0.5133 GB, free: 3.641 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.317e-05/0.5618, allocations: 0 / 0.5133 GB, free: 3.641 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.287e-05/0.5619, allocations: 36.56 kB / 0.5134 GB, free: 3.598 MB / 382.1 MB Notification: Performance of preOpt simplifyInStream (simulation): time 9.395e-05/0.562, allocations: 14.11 kB / 0.5134 GB, free: 3.594 MB / 382.1 MB Notification: Performance of pre-optimization done (n=7): time 1.433e-06/0.562, allocations: 0 / 0.5134 GB, free: 3.594 MB / 382.1 MB Notification: Performance of matching and sorting (n=7): time 0.0003704/0.5623, allocations: 116.5 kB / 0.5135 GB, free: 3.551 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.732e-05/0.5624, allocations: 55.16 kB / 0.5135 GB, free: 3.488 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001336/0.5625, allocations: 199 kB / 0.5137 GB, free: 3.375 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 8.887e-06/0.5625, allocations: 25.7 kB / 0.5138 GB, free: 3.344 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 5.515e-05/0.5626, allocations: 133.4 kB / 0.5139 GB, free: 3.246 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 1.869e-05/0.5626, allocations: 26.06 kB / 0.5139 GB, free: 3.23 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.441e-05/0.5627, allocations: 30.38 kB / 0.5139 GB, free: 3.211 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 4.698e-05/0.5627, allocations: 324.1 kB / 0.5142 GB, free: 2.898 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 9.351e-05/0.5628, allocations: 29.16 kB / 0.5143 GB, free: 2.895 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 9.25e-05/0.5629, allocations: 56.73 kB / 0.5143 GB, free: 2.859 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001/0.5639, allocations: 194.1 kB / 0.5145 GB, free: 2.828 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.773e-06/0.5639, allocations: 3.5 kB / 0.5145 GB, free: 2.828 MB / 382.1 MB Notification: Performance of matching and sorting (n=12) (initialization): time 0.0002552/0.5642, allocations: 123.4 kB / 0.5146 GB, free: 2.781 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.406e-05/0.5642, allocations: 4.781 kB / 0.5146 GB, free: 2.781 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.228e-06/0.5642, allocations: 1.344 kB / 0.5146 GB, free: 2.781 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.502e-05/0.5642, allocations: 6.203 kB / 0.5146 GB, free: 2.777 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001448/0.5644, allocations: 27.98 kB / 0.5147 GB, free: 2.773 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.803e-06/0.5644, allocations: 6.219 kB / 0.5147 GB, free: 2.77 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.324e-05/0.5645, allocations: 1.5 kB / 0.5147 GB, free: 2.77 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.069e-05/0.5645, allocations: 7.328 kB / 0.5147 GB, free: 2.77 MB / 382.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.0001324/0.5647, allocations: 128.9 kB / 0.5148 GB, free: 2.652 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.295e-05/0.5647, allocations: 12.91 kB / 0.5148 GB, free: 2.645 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002201/0.5649, allocations: 117.5 kB / 0.5149 GB, free: 2.602 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.855e-06/0.5649, allocations: 1.062 kB / 0.5149 GB, free: 2.602 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.189e-06/0.5649, allocations: 5.062 kB / 0.5149 GB, free: 2.598 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.135e-06/0.5649, allocations: 0.75 kB / 0.5149 GB, free: 2.598 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001883/0.5651, allocations: 231.9 kB / 0.5152 GB, free: 2.402 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.112e-06/0.5651, allocations: 0 / 0.5152 GB, free: 2.402 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001343/0.5653, allocations: 21.23 kB / 0.5152 GB, free: 2.402 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.515e-06/0.5653, allocations: 0 / 0.5152 GB, free: 2.402 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.013e-05/0.5653, allocations: 9.75 kB / 0.5152 GB, free: 2.398 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.605e-06/0.5653, allocations: 1.812 kB / 0.5152 GB, free: 2.398 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.402e-06/0.5653, allocations: 3.938 kB / 0.5152 GB, free: 2.395 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002646/0.5656, allocations: 231 kB / 0.5154 GB, free: 2.254 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 3.166e-05/0.5656, allocations: 89.88 kB / 0.5155 GB, free: 2.152 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.791e-05/0.5657, allocations: 13.19 kB / 0.5155 GB, free: 2.145 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.557e-05/0.5658, allocations: 1.875 kB / 0.5155 GB, free: 2.145 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.068e-05/0.5658, allocations: 10.28 kB / 0.5155 GB, free: 2.141 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.446e-06/0.5658, allocations: 6.094 kB / 0.5155 GB, free: 2.141 MB / 382.1 MB Notification: Performance of sorting global known variables: time 9.752e-05/0.5659, allocations: 147.4 kB / 0.5157 GB, free: 2.062 MB / 382.1 MB Notification: Performance of sort global known variables: time 1.31e-07/0.5659, allocations: 0 / 0.5157 GB, free: 2.062 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.0002462/0.5662, allocations: 29.41 kB / 0.5157 GB, free: 2.062 MB / 382.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.0003953/0.5666, allocations: 0.7629 MB / 0.5164 GB, free: 1.391 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.0002055/0.5668, allocations: 70.62 kB / 0.5165 GB, free: 1.387 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 2.054e-06/0.5668, allocations: 0 / 0.5165 GB, free: 1.387 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 6.89e-05/0.5669, allocations: 40.27 kB / 0.5166 GB, free: 1.383 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003016/0.5672, allocations: 41.61 kB / 0.5166 GB, free: 1.367 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001724/0.5689, allocations: 1.891 MB / 0.5184 GB, free: 36 kB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003497/0.5693, allocations: 0.7205 MB / 0.5191 GB, free: 15.34 MB / 398.1 MB Notification: Performance of simCode: alias equations: time 9.151e-05/0.5694, allocations: 21.17 kB / 0.5192 GB, free: 15.33 MB / 398.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.861e-05/0.5695, allocations: 51.98 kB / 0.5192 GB, free: 15.32 MB / 398.1 MB Notification: Performance of SimCode: time 3.5e-07/0.5695, allocations: 3.938 kB / 0.5192 GB, free: 15.32 MB / 398.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02718/0.5967, allocations: 3.544 MB / 0.5227 GB, free: 14.78 MB / 398.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 8.004/8.6, allocations: 10.27 kB / 0.5227 GB, free: 14.77 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.249130292097107] Failed to read output from testmodel.py, exit status != 0: 8.66834709001705 8.683156872 8.120895461 Calling exit ...