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.0009425/0.0009425, allocations: 72.52 kB / 19.95 MB, free: 4.613 MB / 18.57 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.001063/0.001063, allocations: 169.2 kB / 23.23 MB, free: 1.332 MB / 18.57 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 0.8726/0.8726, allocations: 177.1 MB / 203.5 MB, free: 5.734 MB / 186.7 MB " [Timeout remaining time 179] 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.06154/0.06154, allocations: 18.13 MB / 278.1 MB, free: 11.53 MB / 266.7 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: Performance of FrontEnd - loaded program: time 1.583e-06/1.583e-06, allocations: 0 / 415.1 MB, free: 12.71 MB / 330.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.864e-05/2.022e-05, allocations: 2.281 kB / 415.1 MB, free: 12.71 MB / 330.7 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.01952/0.01954, allocations: 23.18 MB / 438.3 MB, free: 15.88 MB / 346.7 MB Notification: Performance of NFInst.instExpressions: time 0.0005839/0.02012, allocations: 165.4 kB / 438.4 MB, free: 15.73 MB / 346.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 9.525e-05/0.02022, allocations: 4 kB / 438.4 MB, free: 15.73 MB / 346.7 MB Notification: Performance of NFTyping.typeComponents: time 6.216e-05/0.02028, allocations: 23.36 kB / 438.4 MB, free: 15.71 MB / 346.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0002291/0.02051, allocations: 73.53 kB / 438.5 MB, free: 15.65 MB / 346.7 MB Notification: Performance of NFTyping.typeClassSections: time 8.884e-05/0.0206, allocations: 37.06 kB / 438.5 MB, free: 15.62 MB / 346.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001548/0.02075, allocations: 190.1 kB / 438.7 MB, free: 15.45 MB / 346.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002039/0.02096, allocations: 109.8 kB / 438.8 MB, free: 15.37 MB / 346.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001165/0.02107, allocations: 76.09 kB / 438.9 MB, free: 15.3 MB / 346.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001043/0.02118, allocations: 68.59 kB / 439 MB, free: 15.25 MB / 346.7 MB Notification: Performance of NFPackage.collectConstants: time 2.816e-05/0.02121, allocations: 12 kB / 439 MB, free: 15.24 MB / 346.7 MB Notification: Performance of NFFlatten.collectFunctions: time 1.845e-05/0.02123, allocations: 16 kB / 439 MB, free: 15.22 MB / 346.7 MB Notification: Performance of NFScalarize.scalarize: time 2.872e-05/0.02125, allocations: 41.3 kB / 439.1 MB, free: 15.19 MB / 346.7 MB Notification: Performance of NFVerifyModel.verify: time 5.065e-05/0.0213, allocations: 57.73 kB / 439.1 MB, free: 15.14 MB / 346.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0002075/0.02151, allocations: 190.5 kB / 439.3 MB, free: 15.01 MB / 346.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.268e-06/0.02152, allocations: 0 / 439.3 MB, free: 15.01 MB / 346.7 MB Notification: Performance of FrontEnd: time 1.413e-06/0.02152, allocations: 0 / 439.3 MB, free: 15.01 MB / 346.7 MB Notification: Performance of Transformations before backend: time 4.688e-06/0.02152, allocations: 0 / 439.3 MB, free: 15.01 MB / 346.7 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.0004762/0.022, allocations: 383.4 kB / 439.7 MB, free: 14.62 MB / 346.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.532e-05/0.02203, allocations: 9.672 kB / 439.7 MB, free: 14.61 MB / 346.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.69e-05/0.02207, allocations: 45.38 kB / 439.7 MB, free: 14.56 MB / 346.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.205e-05/0.0221, allocations: 20.8 kB / 439.7 MB, free: 14.54 MB / 346.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001975/0.0223, allocations: 179.9 kB / 439.9 MB, free: 14.35 MB / 346.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.47e-05/0.02231, allocations: 8.609 kB / 439.9 MB, free: 14.34 MB / 346.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.291e-05/0.02234, allocations: 16.36 kB / 439.9 MB, free: 14.33 MB / 346.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002582/0.0226, allocations: 152.6 kB / 440.1 MB, free: 14.2 MB / 346.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.504e-06/0.0226, allocations: 4.188 kB / 440.1 MB, free: 14.19 MB / 346.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.417e-05/0.02262, allocations: 8.125 kB / 440.1 MB, free: 14.18 MB / 346.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.601e-06/0.02262, allocations: 4 kB / 440.1 MB, free: 14.18 MB / 346.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001794/0.0228, allocations: 102.6 kB / 440.2 MB, free: 14.09 MB / 346.7 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.0006529/0.02346, allocations: 0.52 MB / 440.7 MB, free: 13.57 MB / 346.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001048/0.02356, allocations: 47.12 kB / 440.8 MB, free: 13.52 MB / 346.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 6.412e-05/0.02362, allocations: 33.66 kB / 440.8 MB, free: 13.48 MB / 346.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.648e-05/0.02364, allocations: 0 / 440.8 MB, free: 13.48 MB / 346.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.649e-05/0.02366, allocations: 39.06 kB / 440.8 MB, free: 13.44 MB / 346.7 MB Notification: Performance of preOpt simplifyInStream (simulation): time 7.532e-05/0.02373, allocations: 21.39 kB / 440.9 MB, free: 13.42 MB / 346.7 MB Notification: Performance of pre-optimization done (n=7): time 8.42e-07/0.02373, allocations: 0 / 440.9 MB, free: 13.42 MB / 346.7 MB Notification: Performance of matching and sorting (n=7): time 0.0003389/0.02407, allocations: 117.3 kB / 441 MB, free: 13.31 MB / 346.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.807e-05/0.0241, allocations: 51.41 kB / 441 MB, free: 13.25 MB / 346.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001258/0.02423, allocations: 193.4 kB / 441.2 MB, free: 13.07 MB / 346.7 MB Notification: Performance of collectPreVariables (initialization): time 1.697e-05/0.02424, allocations: 29.7 kB / 441.2 MB, free: 13.03 MB / 346.7 MB Notification: Performance of collectInitialEqns (initialization): time 6.502e-05/0.02431, allocations: 134.3 kB / 441.4 MB, free: 12.9 MB / 346.7 MB Notification: Performance of collectInitialBindings (initialization): time 1.852e-05/0.02433, allocations: 26.14 kB / 441.4 MB, free: 12.88 MB / 346.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.797e-05/0.02436, allocations: 28.75 kB / 441.4 MB, free: 12.85 MB / 346.7 MB Notification: Performance of setup shared object (initialization): time 7.761e-05/0.02444, allocations: 331.8 kB / 441.8 MB, free: 12.52 MB / 346.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.872e-05/0.0245, allocations: 23.75 kB / 441.8 MB, free: 12.5 MB / 346.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.198e-05/0.02456, allocations: 44.25 kB / 441.8 MB, free: 12.45 MB / 346.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005767/0.02514, allocations: 200.7 kB / 442 MB, free: 12.29 MB / 346.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.753e-06/0.02514, allocations: 4 kB / 442 MB, free: 12.29 MB / 346.7 MB Notification: Performance of matching and sorting (n=12) (initialization): time 0.0001749/0.02532, allocations: 123.4 kB / 442.1 MB, free: 12.17 MB / 346.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.2e-05/0.02533, allocations: 8 kB / 442.2 MB, free: 12.16 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.42e-06/0.02533, allocations: 0.75 kB / 442.2 MB, free: 12.16 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.267e-05/0.02535, allocations: 0 / 442.2 MB, free: 12.16 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.051e-05/0.02543, allocations: 24.92 kB / 442.2 MB, free: 12.14 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.949e-06/0.02543, allocations: 0.7031 kB / 442.2 MB, free: 12.14 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.502e-05/0.02548, allocations: 12.75 kB / 442.2 MB, free: 12.13 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.594e-06/0.02548, allocations: 0.75 kB / 442.2 MB, free: 12.13 MB / 346.7 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.0001296/0.02561, allocations: 135.2 kB / 442.3 MB, free: 11.99 MB / 346.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.036e-05/0.02563, allocations: 16.66 kB / 442.3 MB, free: 11.97 MB / 346.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001735/0.02581, allocations: 118.8 kB / 442.5 MB, free: 11.87 MB / 346.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.164e-06/0.02581, allocations: 0.75 kB / 442.5 MB, free: 11.87 MB / 346.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.917e-06/0.02581, allocations: 0 / 442.5 MB, free: 11.87 MB / 346.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.875e-06/0.02582, allocations: 0.75 kB / 442.5 MB, free: 11.87 MB / 346.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001584/0.02598, allocations: 203.8 kB / 442.7 MB, free: 11.64 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.112e-06/0.02598, allocations: 0 / 442.7 MB, free: 11.64 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.389e-05/0.02605, allocations: 23.89 kB / 442.7 MB, free: 11.62 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.663e-06/0.02605, allocations: 0.6562 kB / 442.7 MB, free: 11.62 MB / 346.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.195e-06/0.02606, allocations: 0.7969 kB / 442.7 MB, free: 11.62 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.92e-07/0.02606, allocations: 0 / 442.7 MB, free: 11.62 MB / 346.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.263e-06/0.02606, allocations: 0 / 442.7 MB, free: 11.62 MB / 346.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003459/0.02641, allocations: 247.8 kB / 442.9 MB, free: 11.38 MB / 346.7 MB Notification: Performance of postOpt removeConstants (simulation): time 1.94e-05/0.02643, allocations: 12.73 kB / 442.9 MB, free: 11.37 MB / 346.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.605e-05/0.02644, allocations: 0.75 kB / 442.9 MB, free: 11.37 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.163e-05/0.0265, allocations: 8.766 kB / 442.9 MB, free: 11.36 MB / 346.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.183e-05/0.02653, allocations: 11.41 kB / 443 MB, free: 11.35 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.049e-06/0.02653, allocations: 4.844 kB / 443 MB, free: 11.35 MB / 346.7 MB Notification: Performance of sorting global known variables: time 8.274e-05/0.02662, allocations: 148.3 kB / 443.1 MB, free: 11.21 MB / 346.7 MB Notification: Performance of sort global known variables: time 5e-08/0.02662, allocations: 0 / 443.1 MB, free: 11.21 MB / 346.7 MB Notification: Performance of remove unused functions: time 0.0001697/0.02679, allocations: 28 kB / 443.1 MB, free: 11.18 MB / 346.7 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.0003559/0.02714, allocations: 0.7718 MB / 443.9 MB, free: 10.39 MB / 346.7 MB Notification: Performance of simCode: created initialization part: time 0.0001457/0.02729, allocations: 68.84 kB / 444 MB, free: 10.34 MB / 346.7 MB Notification: Performance of simCode: created event and clocks part: time 1.573e-06/0.02729, allocations: 0 / 444 MB, free: 10.34 MB / 346.7 MB Notification: Performance of simCode: created simulation system equations: time 4.431e-05/0.02733, allocations: 39.92 kB / 444 MB, free: 10.3 MB / 346.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002242/0.02756, allocations: 32.12 kB / 444 MB, free: 10.27 MB / 346.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001505/0.02906, allocations: 1.866 MB / 445.9 MB, free: 8.41 MB / 346.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 9.469e-05/0.02916, allocations: 106.3 kB / 446 MB, free: 8.297 MB / 346.7 MB Notification: Performance of simCode: alias equations: time 7.265e-05/0.02923, allocations: 26.61 kB / 446 MB, free: 8.273 MB / 346.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.746e-05/0.02931, allocations: 49.94 kB / 446.1 MB, free: 8.23 MB / 346.7 MB Notification: Performance of SimCode: time 5.81e-07/0.02931, allocations: 3.938 kB / 446.1 MB, free: 8.227 MB / 346.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01989/0.04919, allocations: 4.393 MB / 450.5 MB, free: 5.266 MB / 346.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 6.692/6.742, allocations: 6.438 kB / 450.5 MB, free: 5.262 MB / 346.7 MB " [Timeout remaining time 653] (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: 8.594986833631992] Failed to read output from testmodel.py, exit status != 0: 6.821105227805674 6.82902294 6.80506539 Calling exit ...