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.001009/0.001009, allocations: 80.44 kB / 19.95 MB, free: 4.617 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.001117/0.001117, allocations: 165.2 kB / 23.23 MB, free: 1.336 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.8849/0.8849, allocations: 177.1 MB / 203.5 MB, free: 5.73 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.06609/0.06609, allocations: 18.12 MB / 278.1 MB, free: 11.52 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.823e-06/1.823e-06, allocations: 0 / 415.1 MB, free: 12.71 MB / 330.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.96e-05/2.142e-05, allocations: 3.828 kB / 415.1 MB, free: 12.7 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.02248/0.0225, allocations: 23.17 MB / 438.2 MB, free: 15.89 MB / 346.7 MB Notification: Performance of NFInst.instExpressions: time 0.0006605/0.02316, allocations: 169.3 kB / 438.4 MB, free: 15.75 MB / 346.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001072/0.02327, allocations: 4 kB / 438.4 MB, free: 15.74 MB / 346.7 MB Notification: Performance of NFTyping.typeComponents: time 6.582e-05/0.02333, allocations: 27.16 kB / 438.4 MB, free: 15.72 MB / 346.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0002513/0.02358, allocations: 73.2 kB / 438.5 MB, free: 15.66 MB / 346.7 MB Notification: Performance of NFTyping.typeClassSections: time 9.982e-05/0.02368, allocations: 36.86 kB / 438.5 MB, free: 15.63 MB / 346.7 MB Notification: Performance of NFFlatten.flatten: time 0.000174/0.02386, allocations: 194.5 kB / 438.7 MB, free: 15.46 MB / 346.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002436/0.0241, allocations: 101.8 kB / 438.8 MB, free: 15.38 MB / 346.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001387/0.02424, allocations: 76.7 kB / 438.9 MB, free: 15.32 MB / 346.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.000108/0.02435, allocations: 71.7 kB / 439 MB, free: 15.26 MB / 346.7 MB Notification: Performance of NFPackage.collectConstants: time 2.984e-05/0.02438, allocations: 12 kB / 439 MB, free: 15.25 MB / 346.7 MB Notification: Performance of NFFlatten.collectFunctions: time 1.939e-05/0.0244, allocations: 20 kB / 439 MB, free: 15.23 MB / 346.7 MB Notification: Performance of NFScalarize.scalarize: time 3.076e-05/0.02443, allocations: 33.72 kB / 439 MB, free: 15.2 MB / 346.7 MB Notification: Performance of NFVerifyModel.verify: time 5.359e-05/0.02448, allocations: 61.48 kB / 439.1 MB, free: 15.15 MB / 346.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0002057/0.02469, allocations: 186.8 kB / 439.3 MB, free: 15.03 MB / 346.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.118e-06/0.02469, allocations: 0 / 439.3 MB, free: 15.03 MB / 346.7 MB Notification: Performance of FrontEnd: time 1.302e-06/0.02469, allocations: 0 / 439.3 MB, free: 15.03 MB / 346.7 MB Notification: Performance of Transformations before backend: time 5.451e-06/0.0247, allocations: 3.938 kB / 439.3 MB, free: 15.02 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.0004986/0.0252, allocations: 375.6 kB / 439.7 MB, free: 14.64 MB / 346.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.861e-05/0.02524, allocations: 12.92 kB / 439.7 MB, free: 14.62 MB / 346.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.096e-05/0.02528, allocations: 49.8 kB / 439.7 MB, free: 14.57 MB / 346.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.701e-05/0.02531, allocations: 24.8 kB / 439.7 MB, free: 14.55 MB / 346.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002049/0.02552, allocations: 175.7 kB / 439.9 MB, free: 14.36 MB / 346.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.591e-05/0.02553, allocations: 8.609 kB / 439.9 MB, free: 14.36 MB / 346.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.26e-05/0.02556, allocations: 12.98 kB / 439.9 MB, free: 14.34 MB / 346.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002483/0.02581, allocations: 156.4 kB / 440.1 MB, free: 14.21 MB / 346.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.638e-06/0.02582, allocations: 192 / 440.1 MB, free: 14.21 MB / 346.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.596e-05/0.02583, allocations: 12.12 kB / 440.1 MB, free: 14.2 MB / 346.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.352e-06/0.02584, allocations: 4 kB / 440.1 MB, free: 14.19 MB / 346.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001919/0.02603, allocations: 98.48 kB / 440.2 MB, free: 14.11 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.0007079/0.02674, allocations: 0.5199 MB / 440.7 MB, free: 13.58 MB / 346.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001112/0.02685, allocations: 47.27 kB / 440.8 MB, free: 13.53 MB / 346.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 6.586e-05/0.02691, allocations: 33.03 kB / 440.8 MB, free: 13.5 MB / 346.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.93e-05/0.02693, allocations: 0.75 kB / 440.8 MB, free: 13.5 MB / 346.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.236e-05/0.02696, allocations: 34.56 kB / 440.8 MB, free: 13.46 MB / 346.7 MB Notification: Performance of preOpt simplifyInStream (simulation): time 8.343e-05/0.02704, allocations: 22.09 kB / 440.9 MB, free: 13.44 MB / 346.7 MB Notification: Performance of pre-optimization done (n=7): time 9.12e-07/0.02704, allocations: 0 / 440.9 MB, free: 13.44 MB / 346.7 MB Notification: Performance of matching and sorting (n=7): time 0.0002925/0.02733, allocations: 120.5 kB / 441 MB, free: 13.32 MB / 346.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.166e-05/0.02736, allocations: 60.06 kB / 441 MB, free: 13.25 MB / 346.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001358/0.0275, allocations: 189.9 kB / 441.2 MB, free: 13.08 MB / 346.7 MB Notification: Performance of collectPreVariables (initialization): time 1.16e-05/0.02751, allocations: 25.7 kB / 441.2 MB, free: 13.05 MB / 346.7 MB Notification: Performance of collectInitialEqns (initialization): time 6.805e-05/0.02758, allocations: 134 kB / 441.4 MB, free: 12.92 MB / 346.7 MB Notification: Performance of collectInitialBindings (initialization): time 1.878e-05/0.0276, allocations: 25.3 kB / 441.4 MB, free: 12.89 MB / 346.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.059e-05/0.02764, allocations: 28.91 kB / 441.4 MB, free: 12.86 MB / 346.7 MB Notification: Performance of setup shared object (initialization): time 8.621e-05/0.02773, allocations: 328.1 kB / 441.7 MB, free: 12.54 MB / 346.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.425e-05/0.02779, allocations: 31.53 kB / 441.8 MB, free: 12.51 MB / 346.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.741e-05/0.02786, allocations: 48.02 kB / 441.8 MB, free: 12.46 MB / 346.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006182/0.02848, allocations: 197.3 kB / 442 MB, free: 12.3 MB / 346.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.013e-06/0.02848, allocations: 0 / 442 MB, free: 12.3 MB / 346.7 MB Notification: Performance of matching and sorting (n=12) (initialization): time 0.0001761/0.02865, allocations: 123.1 kB / 442.1 MB, free: 12.18 MB / 346.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.394e-05/0.02867, allocations: 8.625 kB / 442.1 MB, free: 12.18 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.56e-06/0.02867, allocations: 0.75 kB / 442.1 MB, free: 12.18 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.228e-05/0.02869, allocations: 0 / 442.1 MB, free: 12.18 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.541e-05/0.02877, allocations: 25.06 kB / 442.2 MB, free: 12.16 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.142e-06/0.02878, allocations: 0 / 442.2 MB, free: 12.16 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.566e-05/0.02882, allocations: 5.406 kB / 442.2 MB, free: 12.15 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.973e-06/0.02883, allocations: 8.672 kB / 442.2 MB, free: 12.14 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.0001397/0.02897, allocations: 135.1 kB / 442.3 MB, free: 12 MB / 346.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.333e-05/0.02899, allocations: 16.61 kB / 442.3 MB, free: 11.99 MB / 346.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001905/0.02918, allocations: 123.6 kB / 442.5 MB, free: 11.88 MB / 346.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.086e-06/0.02919, allocations: 0 / 442.5 MB, free: 11.88 MB / 346.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.459e-06/0.02919, allocations: 0 / 442.5 MB, free: 11.88 MB / 346.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.827e-06/0.02919, allocations: 4.703 kB / 442.5 MB, free: 11.88 MB / 346.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001737/0.02937, allocations: 199.5 kB / 442.7 MB, free: 11.66 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.973e-06/0.02937, allocations: 0.6562 kB / 442.7 MB, free: 11.66 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.391e-05/0.02945, allocations: 23.89 kB / 442.7 MB, free: 11.64 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.166e-06/0.02946, allocations: 4 kB / 442.7 MB, free: 11.63 MB / 346.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.678e-06/0.02947, allocations: 4.562 kB / 442.7 MB, free: 11.63 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.214e-06/0.02947, allocations: 0.5156 kB / 442.7 MB, free: 11.63 MB / 346.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.372e-06/0.02947, allocations: 0 / 442.7 MB, free: 11.63 MB / 346.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002315/0.0297, allocations: 235.6 kB / 442.9 MB, free: 11.39 MB / 346.7 MB Notification: Performance of postOpt removeConstants (simulation): time 2.239e-05/0.02972, allocations: 17.38 kB / 442.9 MB, free: 11.38 MB / 346.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.874e-05/0.02974, allocations: 8.062 kB / 442.9 MB, free: 11.37 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.212e-05/0.0298, allocations: 4.609 kB / 442.9 MB, free: 11.37 MB / 346.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.056e-05/0.02984, allocations: 4.125 kB / 442.9 MB, free: 11.37 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.901e-06/0.02984, allocations: 4.75 kB / 443 MB, free: 11.36 MB / 346.7 MB Notification: Performance of sorting global known variables: time 9.801e-05/0.02994, allocations: 148.1 kB / 443.1 MB, free: 11.23 MB / 346.7 MB Notification: Performance of sort global known variables: time 5e-08/0.02994, allocations: 0 / 443.1 MB, free: 11.23 MB / 346.7 MB Notification: Performance of remove unused functions: time 0.0001812/0.03012, allocations: 28 kB / 443.1 MB, free: 11.2 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.0004125/0.03053, allocations: 0.7756 MB / 443.9 MB, free: 10.41 MB / 346.7 MB Notification: Performance of simCode: created initialization part: time 0.0001558/0.03069, allocations: 64.94 kB / 444 MB, free: 10.35 MB / 346.7 MB Notification: Performance of simCode: created event and clocks part: time 1.533e-06/0.03069, allocations: 4.375 kB / 444 MB, free: 10.35 MB / 346.7 MB Notification: Performance of simCode: created simulation system equations: time 4.777e-05/0.03074, allocations: 39.81 kB / 444 MB, free: 10.31 MB / 346.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002391/0.03098, allocations: 30.75 kB / 444 MB, free: 10.29 MB / 346.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00155/0.03253, allocations: 1.867 MB / 445.9 MB, free: 8.422 MB / 346.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 7.573e-05/0.0326, allocations: 110.3 kB / 446 MB, free: 8.305 MB / 346.7 MB Notification: Performance of simCode: alias equations: time 6.693e-05/0.03267, allocations: 22.09 kB / 446 MB, free: 8.285 MB / 346.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.4e-05/0.03274, allocations: 50.36 kB / 446.1 MB, free: 8.242 MB / 346.7 MB Notification: Performance of SimCode: time 8.82e-07/0.03275, allocations: 0 / 446.1 MB, free: 8.242 MB / 346.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01917/0.05191, allocations: 4.392 MB / 450.5 MB, free: 5.281 MB / 346.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 6.816/6.868, allocations: 9.984 kB / 450.5 MB, free: 5.277 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 & 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: 8.80159602407366] Failed to read output from testmodel.py, exit status != 0: 6.949948091059923 6.958580545 6.931897322 Calling exit ...