Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr AES_AES.Devel_test_models.Test_header_002.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_header_002,fileNamePrefix="AES_AES_Devel_test_models_Test_header_002",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(AES.Devel_test_models.Test_header_002,fileNamePrefix="AES_AES_Devel_test_models_Test_header_002",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.001132/0.001132, 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.001148/0.001148, allocations: 192.9 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.341/1.341, allocations: 222.9 MB / 240.2 MB, free: 4.41 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/AES main/package.mo): time 0.1929/0.1929, allocations: 22.36 MB / 312.7 MB, free: 12.59 MB / 254.1 MB Notification: Performance of FrontEnd - loaded program: time 0.002404/0.002404, allocations: 63.89 kB / 380.9 MB, free: 10.51 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2603/0.2628, allocations: 54.95 MB / 435.9 MB, free: 39.68 MB / 350.1 MB Notification: Performance of NFInst.instantiate(AES.Devel_test_models.Test_header_002): time 0.002646/0.2655, allocations: 1.935 MB / 437.8 MB, free: 38.3 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.0002866/0.2658, allocations: 146.8 kB / 438 MB, free: 38.2 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001004/0.2659, allocations: 3.281 kB / 438 MB, free: 38.2 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 5.104e-05/0.2659, allocations: 22.42 kB / 438 MB, free: 38.18 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001252/0.2661, allocations: 61.09 kB / 438 MB, free: 38.14 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001239/0.2662, allocations: 33.5 kB / 438.1 MB, free: 38.12 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001254/0.2664, allocations: 171.7 kB / 438.2 MB, free: 38.03 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001837/0.2665, allocations: 80.48 kB / 438.3 MB, free: 38 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 8.241e-05/0.2666, allocations: 68.27 kB / 438.4 MB, free: 37.97 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 9.421e-05/0.2667, allocations: 69.3 kB / 438.5 MB, free: 37.93 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 2.342e-05/0.2668, allocations: 9.375 kB / 438.5 MB, free: 37.93 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 2.693e-05/0.2668, allocations: 14.78 kB / 438.5 MB, free: 37.93 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 2.389e-05/0.2668, allocations: 28.75 kB / 438.5 MB, free: 37.91 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 6.58e-05/0.2669, allocations: 73.89 kB / 438.6 MB, free: 37.87 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001322/0.267, allocations: 148.8 kB / 438.7 MB, free: 37.81 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.128e-06/0.267, allocations: 3.938 kB / 438.7 MB, free: 37.8 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.122e-06/0.267, allocations: 0 / 438.7 MB, free: 37.8 MB / 350.1 MB Notification: Performance of Transformations before backend: time 9.668e-06/0.2671, allocations: 0 / 438.7 MB, free: 37.8 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: 23 * Number of variables: 23 Notification: Performance of Generate backend data structure: time 0.0004941/0.2676, allocations: 441.1 kB / 439.2 MB, free: 37.38 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.657e-05/0.2676, allocations: 8.219 kB / 439.2 MB, free: 37.38 MB / 350.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.518e-05/0.2676, allocations: 44.98 kB / 439.2 MB, free: 37.34 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.519e-05/0.2677, allocations: 21.34 kB / 439.2 MB, free: 37.32 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001859/0.2679, allocations: 219.7 kB / 439.5 MB, free: 37.1 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.521e-05/0.2679, allocations: 9.5 kB / 439.5 MB, free: 37.09 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.802e-05/0.2679, allocations: 9.719 kB / 439.5 MB, free: 37.09 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001884/0.2681, allocations: 119.9 kB / 439.6 MB, free: 37.01 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.187e-06/0.2681, allocations: 3.938 kB / 439.6 MB, free: 37.01 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.493e-05/0.2682, allocations: 6.594 kB / 439.6 MB, free: 37 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.162e-06/0.2682, allocations: 6.438 kB / 439.6 MB, free: 37 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000121/0.2683, allocations: 58.7 kB / 439.7 MB, free: 36.98 MB / 350.1 MB Warning: Alias set with conflicting start values * Candidate: header.T(start = header.Tstart = 293.15, confidence number = 2) * Candidate: header.heatPort.T(start = 288.15, confidence number = 8) * Candidate: P.port.T(start = 288.15, confidence number = 8) => Select value from header.T(start = header.Tstart = 293.15) for variable: header.T Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007775/0.2691, allocations: 0.7933 MB / 440.5 MB, free: 36.21 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001177/0.2692, allocations: 43.8 kB / 440.5 MB, free: 36.18 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 3.916e-05/0.2693, allocations: 24.77 kB / 440.5 MB, free: 36.16 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.346e-05/0.2693, allocations: 0 / 440.5 MB, free: 36.16 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.102e-05/0.2693, allocations: 33.12 kB / 440.6 MB, free: 36.12 MB / 350.1 MB Notification: Performance of pre-optimization done (n=3): time 1.162e-06/0.2693, allocations: 0 / 440.6 MB, free: 36.12 MB / 350.1 MB Notification: Performance of matching and sorting (n=3): time 0.0001913/0.2695, allocations: 84.53 kB / 440.6 MB, free: 36.07 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 1.782e-05/0.2695, allocations: 51.41 kB / 440.7 MB, free: 36 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001257/0.2697, allocations: 195.5 kB / 440.9 MB, free: 35.88 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 7.835e-06/0.2697, allocations: 25.7 kB / 440.9 MB, free: 35.85 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 4.984e-05/0.2697, allocations: 122.2 kB / 441 MB, free: 35.73 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 1.433e-05/0.2697, allocations: 21.64 kB / 441 MB, free: 35.72 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.396e-05/0.2698, allocations: 18.78 kB / 441.1 MB, free: 35.7 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 5.519e-05/0.2698, allocations: 324.8 kB / 441.4 MB, free: 35.38 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 3.995e-05/0.2699, allocations: 18.78 kB / 441.4 MB, free: 35.37 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 3.761e-05/0.2699, allocations: 29.59 kB / 441.4 MB, free: 35.35 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000276/0.2702, allocations: 80.75 kB / 441.5 MB, free: 35.3 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.653e-06/0.2702, allocations: 2.906 kB / 441.5 MB, free: 35.3 MB / 350.1 MB Notification: Performance of matching and sorting (n=7) (initialization): time 0.0001232/0.2704, allocations: 94.67 kB / 441.6 MB, free: 35.24 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.076e-05/0.2704, allocations: 5.781 kB / 441.6 MB, free: 35.24 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.218e-06/0.2704, allocations: 0 / 441.6 MB, free: 35.24 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.225e-05/0.2704, allocations: 0 / 441.6 MB, free: 35.24 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.999e-05/0.2705, allocations: 15.39 kB / 441.6 MB, free: 35.24 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.691e-06/0.2705, allocations: 3.094 kB / 441.6 MB, free: 35.24 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.274e-05/0.2706, allocations: 7.906 kB / 441.6 MB, free: 35.23 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.223e-06/0.2706, allocations: 3.562 kB / 441.6 MB, free: 35.23 MB / 350.1 MB Warning: Assuming fixed start value for the following 1 variables: header.T:VARIABLE(min = 0.0 start = header.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: 2 * 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 (7): * Single equations (assignments): 7 * 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.0001028/0.2707, allocations: 133.3 kB / 441.8 MB, free: 35.1 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.233e-05/0.2707, allocations: 15.69 kB / 441.8 MB, free: 35.09 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.701e-05/0.2708, allocations: 15.89 kB / 441.8 MB, free: 35.08 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.224e-06/0.2708, allocations: 3.188 kB / 441.8 MB, free: 35.08 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.477e-06/0.2708, allocations: 2.531 kB / 441.8 MB, free: 35.08 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.994e-06/0.2708, allocations: 0 / 441.8 MB, free: 35.08 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001483/0.2709, allocations: 208.2 kB / 442 MB, free: 34.87 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.332e-06/0.271, allocations: 0 / 442 MB, free: 34.87 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.851e-05/0.271, allocations: 15.73 kB / 442 MB, free: 34.86 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.463e-06/0.2711, allocations: 0 / 442 MB, free: 34.86 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.715e-06/0.2711, allocations: 4 kB / 442 MB, free: 34.86 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.102e-06/0.2711, allocations: 3.938 kB / 442 MB, free: 34.86 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.52e-07/0.2711, allocations: 2.75 kB / 442 MB, free: 34.86 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001615/0.2712, allocations: 176 kB / 442.2 MB, free: 34.7 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 3.391e-05/0.2713, allocations: 97.45 kB / 442.3 MB, free: 34.59 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.227e-05/0.2713, allocations: 0 / 442.3 MB, free: 34.59 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.444e-05/0.2714, allocations: 4 kB / 442.3 MB, free: 34.59 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.591e-05/0.2714, allocations: 7.062 kB / 442.3 MB, free: 34.59 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.987e-06/0.2714, allocations: 0 / 442.3 MB, free: 34.59 MB / 350.1 MB Notification: Performance of sorting global known variables: time 7.934e-05/0.2715, allocations: 149.8 kB / 442.5 MB, free: 34.49 MB / 350.1 MB Notification: Performance of sort global known variables: time 8.02e-07/0.2715, allocations: 0 / 442.5 MB, free: 34.49 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0002344/0.2718, allocations: 27 kB / 442.5 MB, free: 34.48 MB / 350.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 1 (header.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 (3): * Single equations (assignments): 3 * 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.0002888/0.2721, allocations: 0.7046 MB / 443.2 MB, free: 33.8 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.000119/0.2722, allocations: 46.64 kB / 443.2 MB, free: 33.78 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 1.833e-06/0.2722, allocations: 0 / 443.2 MB, free: 33.78 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 2.885e-05/0.2722, allocations: 12.66 kB / 443.2 MB, free: 33.78 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002865/0.2725, allocations: 27.31 kB / 443.3 MB, free: 33.77 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001353/0.2739, allocations: 1.796 MB / 445.1 MB, free: 32.32 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001283/0.274, allocations: 0.715 MB / 445.8 MB, free: 31.62 MB / 350.1 MB Notification: Performance of simCode: alias equations: time 6.407e-05/0.2741, allocations: 11.05 kB / 445.8 MB, free: 31.61 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.769e-05/0.2742, allocations: 45.25 kB / 445.8 MB, free: 31.58 MB / 350.1 MB Notification: Performance of SimCode: time 2.5e-07/0.2742, allocations: 0 / 445.8 MB, free: 31.58 MB / 350.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02252/0.2967, allocations: 2.966 MB / 448.8 MB, free: 31.14 MB / 350.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 7.236/7.532, allocations: 15.72 kB / 448.8 MB, free: 31.13 MB / 350.1 MB (rm -f AES_AES.Devel_test_models.Test_header_002.pipe ; mkfifo AES_AES.Devel_test_models.Test_header_002.pipe ; head -c 1048576 < AES_AES.Devel_test_models.Test_header_002.pipe >> ../files/AES_AES.Devel_test_models.Test_header_002.sim & python3 -m fmpy simulate --output-file AES_AES.Devel_test_models.Test_header_002_res.csv --start-time 0 --stop-time 86400 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 8.64 AES_AES_Devel_test_models_Test_header_002.fmu > AES_AES.Devel_test_models.Test_header_002.pipe 2>&1)