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) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/AES main/package.mo", uses=false) 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"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.00174/0.00174, allocations: 108 kB / 15.61 MB, free: 152 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.002209/0.002209, allocations: 195 kB / 16.53 MB, free: 6.664 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.403/1.403, allocations: 222.9 MB / 240.2 MB, free: 4.418 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/AES main/package.mo): time 0.194/0.194, allocations: 22.34 MB / 312.7 MB, free: 12.52 MB / 254.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001321/0.001321, allocations: 63.89 kB / 380.9 MB, free: 10.53 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.223/0.2244, allocations: 54.94 MB / 435.9 MB, free: 39.63 MB / 350.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.02893/0.2533, allocations: 21.61 MB / 457.5 MB, free: 32 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.0004808/0.2538, allocations: 165.1 kB / 457.6 MB, free: 31.88 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 9.058e-05/0.2539, allocations: 10.5 kB / 457.6 MB, free: 31.88 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 5.689e-05/0.254, allocations: 25.3 kB / 457.7 MB, free: 31.86 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001956/0.2542, allocations: 64.19 kB / 457.7 MB, free: 31.81 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 8.052e-05/0.2543, allocations: 34.5 kB / 457.8 MB, free: 31.79 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.000144/0.2544, allocations: 178 kB / 457.9 MB, free: 31.7 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001981/0.2546, allocations: 121.8 kB / 458.1 MB, free: 31.64 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001075/0.2547, allocations: 75.8 kB / 458.1 MB, free: 31.61 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001027/0.2549, allocations: 89.11 kB / 458.2 MB, free: 31.57 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 3.376e-05/0.2549, allocations: 13.78 kB / 458.2 MB, free: 31.57 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 3.421e-05/0.2549, allocations: 14.12 kB / 458.2 MB, free: 31.57 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 2.96e-05/0.255, allocations: 39.7 kB / 458.3 MB, free: 31.54 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 7.21e-05/0.255, allocations: 79.34 kB / 458.4 MB, free: 31.49 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001493/0.2552, allocations: 186.9 kB / 458.5 MB, free: 31.41 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.136e-06/0.2552, allocations: 0 / 458.5 MB, free: 31.41 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.162e-06/0.2552, allocations: 0 / 458.5 MB, free: 31.41 MB / 350.1 MB Notification: Performance of Transformations before backend: time 4.929e-06/0.2552, allocations: 1.062 kB / 458.5 MB, free: 31.41 MB / 350.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.0004852/0.2557, allocations: 464.6 kB / 459 MB, free: 30.98 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.081e-05/0.2558, allocations: 8.438 kB / 459 MB, free: 30.98 MB / 350.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.903e-05/0.2558, allocations: 45.86 kB / 459.1 MB, free: 30.93 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.846e-05/0.2558, allocations: 22.16 kB / 459.1 MB, free: 30.92 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001715/0.256, allocations: 226.5 kB / 459.3 MB, free: 30.69 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.481e-05/0.256, allocations: 4.828 kB / 459.3 MB, free: 30.69 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.578e-05/0.2561, allocations: 12.41 kB / 459.3 MB, free: 30.69 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002702/0.2564, allocations: 155.3 kB / 459.5 MB, free: 30.6 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.985e-06/0.2564, allocations: 0.7812 kB / 459.5 MB, free: 30.6 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.564e-05/0.2564, allocations: 5.125 kB / 459.5 MB, free: 30.59 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.261e-06/0.2564, allocations: 3.781 kB / 459.5 MB, free: 30.59 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000263/0.2567, allocations: 104.5 kB / 459.6 MB, free: 30.55 MB / 350.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.0007268/0.2574, allocations: 0.6301 MB / 460.2 MB, free: 30 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001469/0.2576, allocations: 55.16 kB / 460.3 MB, free: 29.97 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001007/0.2577, allocations: 36.12 kB / 460.3 MB, free: 29.95 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.275e-05/0.2577, allocations: 4.141 kB / 460.3 MB, free: 29.95 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.489e-05/0.2577, allocations: 35.53 kB / 460.3 MB, free: 29.9 MB / 350.1 MB Notification: Performance of preOpt simplifyInStream (simulation): time 9.849e-05/0.2578, allocations: 13.36 kB / 460.3 MB, free: 29.9 MB / 350.1 MB Notification: Performance of pre-optimization done (n=7): time 1.333e-06/0.2578, allocations: 4 kB / 460.3 MB, free: 29.89 MB / 350.1 MB Notification: Performance of matching and sorting (n=7): time 0.0003629/0.2582, allocations: 114.6 kB / 460.5 MB, free: 29.83 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.103e-05/0.2582, allocations: 52.88 kB / 460.5 MB, free: 29.77 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001348/0.2584, allocations: 200.5 kB / 460.7 MB, free: 29.63 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 9.487e-06/0.2584, allocations: 30.73 kB / 460.7 MB, free: 29.59 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 4.809e-05/0.2584, allocations: 131.8 kB / 460.9 MB, free: 29.47 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 1.884e-05/0.2585, allocations: 25.81 kB / 460.9 MB, free: 29.45 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.247e-05/0.2585, allocations: 29.45 kB / 460.9 MB, free: 29.43 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 4.005e-05/0.2586, allocations: 329.1 kB / 461.2 MB, free: 29.11 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 9.702e-05/0.2587, allocations: 31.05 kB / 461.3 MB, free: 29.09 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 9.427e-05/0.2588, allocations: 45.31 kB / 461.3 MB, free: 29.06 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001037/0.2598, allocations: 194.5 kB / 461.5 MB, free: 28.99 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.683e-06/0.2598, allocations: 4 kB / 461.5 MB, free: 28.98 MB / 350.1 MB Notification: Performance of matching and sorting (n=12) (initialization): time 0.0002597/0.2601, allocations: 123.6 kB / 461.6 MB, free: 28.91 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.262e-05/0.2601, allocations: 8.844 kB / 461.6 MB, free: 28.91 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.559e-06/0.2601, allocations: 1.094 kB / 461.6 MB, free: 28.91 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.159e-05/0.2601, allocations: 0.9688 kB / 461.6 MB, free: 28.91 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001471/0.2603, allocations: 26.5 kB / 461.7 MB, free: 28.91 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.66e-06/0.2603, allocations: 5.219 kB / 461.7 MB, free: 28.91 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.069e-05/0.2604, allocations: 4.266 kB / 461.7 MB, free: 28.91 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.071e-05/0.2604, allocations: 7.531 kB / 461.7 MB, free: 28.9 MB / 350.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.0001113/0.2605, allocations: 135.4 kB / 461.8 MB, free: 28.77 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.694e-05/0.2606, allocations: 13.03 kB / 461.8 MB, free: 28.76 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002199/0.2608, allocations: 115.7 kB / 461.9 MB, free: 28.7 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.865e-06/0.2608, allocations: 5.562 kB / 461.9 MB, free: 28.7 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.216e-06/0.2608, allocations: 3.938 kB / 462 MB, free: 28.69 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.336e-06/0.2608, allocations: 1.406 kB / 462 MB, free: 28.69 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001796/0.261, allocations: 234.5 kB / 462.2 MB, free: 28.47 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.212e-06/0.261, allocations: 0 / 462.2 MB, free: 28.47 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001361/0.2612, allocations: 23.83 kB / 462.2 MB, free: 28.46 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.605e-06/0.2612, allocations: 1.156 kB / 462.2 MB, free: 28.46 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.018e-05/0.2612, allocations: 9.125 kB / 462.2 MB, free: 28.46 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.913e-06/0.2612, allocations: 1.5 kB / 462.2 MB, free: 28.46 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.553e-06/0.2612, allocations: 3.938 kB / 462.2 MB, free: 28.45 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002508/0.2615, allocations: 233.8 kB / 462.4 MB, free: 28.28 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 3.15e-05/0.2615, allocations: 92.48 kB / 462.5 MB, free: 28.17 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.861e-05/0.2615, allocations: 4.422 kB / 462.5 MB, free: 28.17 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001026/0.2616, allocations: 1.219 kB / 462.5 MB, free: 28.17 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.12e-05/0.2617, allocations: 10.75 kB / 462.6 MB, free: 28.17 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.274e-06/0.2617, allocations: 6.219 kB / 462.6 MB, free: 28.16 MB / 350.1 MB Notification: Performance of sorting global known variables: time 8.798e-05/0.2618, allocations: 142.2 kB / 462.7 MB, free: 28.07 MB / 350.1 MB Notification: Performance of sort global known variables: time 1.2e-07/0.2618, allocations: 0 / 462.7 MB, free: 28.07 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0002562/0.262, allocations: 30.25 kB / 462.7 MB, free: 28.07 MB / 350.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.000372/0.2624, allocations: 0.7661 MB / 463.5 MB, free: 27.36 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.0002062/0.2626, allocations: 77.33 kB / 463.6 MB, free: 27.33 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 1.713e-06/0.2627, allocations: 0 / 463.6 MB, free: 27.33 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 6.653e-05/0.2627, allocations: 33.22 kB / 463.6 MB, free: 27.32 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003099/0.263, allocations: 43.66 kB / 463.6 MB, free: 27.3 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001651/0.2647, allocations: 1.897 MB / 465.5 MB, free: 25.8 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001169/0.2648, allocations: 0.7193 MB / 466.3 MB, free: 25.1 MB / 350.1 MB Notification: Performance of simCode: alias equations: time 9.517e-05/0.2649, allocations: 19.88 kB / 466.3 MB, free: 25.09 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.227e-05/0.265, allocations: 52.47 kB / 466.3 MB, free: 25.06 MB / 350.1 MB Notification: Performance of SimCode: time 3.2e-07/0.265, allocations: 0 / 466.3 MB, free: 25.06 MB / 350.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01901/0.284, allocations: 3.49 MB / 469.8 MB, free: 23.93 MB / 350.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 7.488/7.772, allocations: 29.72 kB / 469.9 MB, free: 23.9 MB / 350.1 MB (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)