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.004623/0.004623, allocations: 102.8 kB / 15.74 MB, free: 6.039 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001225/0.001226, allocations: 201.3 kB / 16.68 MB, free: 5.965 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.314/1.314, allocations: 222.9 MB / 240.4 MB, free: 4.305 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/AES main/package.mo): time 0.1896/0.1896, allocations: 22.36 MB / 312.9 MB, free: 12.46 MB / 254.1 MB Notification: Performance of FrontEnd - loaded program: time 0.00122/0.00122, allocations: 66.59 kB / 436.6 MB, free: 34.26 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09212/0.09335, allocations: 54.97 MB / 491.6 MB, free: 1.797 MB / 350.1 MB Notification: Performance of NFInst.instantiate(AES.Devel_test_models.Test_header_002): time 0.002377/0.09577, allocations: 1.94 MB / 493.5 MB, free: 15.84 MB / 366.1 MB Notification: Performance of NFInst.instExpressions: time 0.0003295/0.09612, allocations: 155.4 kB / 493.7 MB, free: 15.69 MB / 366.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.943e-05/0.09621, allocations: 0 / 493.7 MB, free: 15.69 MB / 366.1 MB Notification: Performance of NFTyping.typeComponents: time 5.971e-05/0.09627, allocations: 23.78 kB / 493.7 MB, free: 15.67 MB / 366.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001327/0.09642, allocations: 55.48 kB / 493.7 MB, free: 15.61 MB / 366.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001289/0.09655, allocations: 35.95 kB / 493.8 MB, free: 15.58 MB / 366.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001627/0.09672, allocations: 171.1 kB / 493.9 MB, free: 15.41 MB / 366.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001986/0.09693, allocations: 93.3 kB / 494 MB, free: 15.32 MB / 366.1 MB Notification: Performance of NFEvalConstants.evaluate: time 9.921e-05/0.09704, allocations: 67.72 kB / 494.1 MB, free: 15.25 MB / 366.1 MB Notification: Performance of NFSimplifyModel.simplify: time 9.791e-05/0.09715, allocations: 63.72 kB / 494.2 MB, free: 15.19 MB / 366.1 MB Notification: Performance of NFPackage.collectConstants: time 2.617e-05/0.09718, allocations: 12 kB / 494.2 MB, free: 15.18 MB / 366.1 MB Notification: Performance of NFFlatten.collectFunctions: time 2.275e-05/0.09721, allocations: 12 kB / 494.2 MB, free: 15.16 MB / 366.1 MB Notification: Performance of NFScalarize.scalarize: time 3.258e-05/0.09725, allocations: 31.84 kB / 494.2 MB, free: 15.13 MB / 366.1 MB Notification: Performance of NFVerifyModel.verify: time 7.044e-05/0.09732, allocations: 67.67 kB / 494.3 MB, free: 15.07 MB / 366.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001743/0.0975, allocations: 159.3 kB / 494.4 MB, free: 14.91 MB / 366.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.567e-06/0.09751, allocations: 3.938 kB / 494.4 MB, free: 14.91 MB / 366.1 MB Notification: Performance of FrontEnd: time 1.162e-06/0.09752, allocations: 0 / 494.4 MB, free: 14.91 MB / 366.1 MB Notification: Performance of Transformations before backend: time 4.869e-06/0.09753, allocations: 0 / 494.4 MB, free: 14.91 MB / 366.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.0005311/0.09806, allocations: 446.7 kB / 494.9 MB, free: 14.42 MB / 366.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.392e-05/0.0981, allocations: 8.031 kB / 494.9 MB, free: 14.41 MB / 366.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.235e-05/0.09815, allocations: 46.73 kB / 494.9 MB, free: 14.36 MB / 366.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.544e-05/0.09819, allocations: 20.8 kB / 494.9 MB, free: 14.34 MB / 366.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002406/0.09844, allocations: 220.8 kB / 495.2 MB, free: 14.08 MB / 366.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.38e-05/0.09846, allocations: 8.375 kB / 495.2 MB, free: 14.07 MB / 366.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.293e-05/0.09849, allocations: 8.375 kB / 495.2 MB, free: 14.07 MB / 366.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002097/0.0987, allocations: 123.9 kB / 495.3 MB, free: 13.93 MB / 366.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.358e-06/0.09872, allocations: 3.938 kB / 495.3 MB, free: 13.93 MB / 366.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.5e-05/0.09874, allocations: 8 kB / 495.3 MB, free: 13.92 MB / 366.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.378e-06/0.09875, allocations: 0 / 495.3 MB, free: 13.92 MB / 366.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001319/0.09889, allocations: 59.97 kB / 495.4 MB, free: 13.86 MB / 366.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.0008912/0.09979, allocations: 0.7902 MB / 496.2 MB, free: 12.96 MB / 366.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000134/0.09993, allocations: 50.5 kB / 496.2 MB, free: 12.91 MB / 366.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.666e-05/0.09999, allocations: 24.88 kB / 496.2 MB, free: 12.88 MB / 366.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.031e-05/0.1, allocations: 0 / 496.2 MB, free: 12.88 MB / 366.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.138e-05/0.1, allocations: 38.56 kB / 496.3 MB, free: 12.83 MB / 366.1 MB Notification: Performance of pre-optimization done (n=3): time 9.62e-07/0.1, allocations: 3.938 kB / 496.3 MB, free: 12.83 MB / 366.1 MB Notification: Performance of matching and sorting (n=3): time 0.0002186/0.1003, allocations: 81.52 kB / 496.4 MB, free: 12.74 MB / 366.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.105e-05/0.1003, allocations: 51.41 kB / 496.4 MB, free: 12.68 MB / 366.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001675/0.1005, allocations: 191.9 kB / 496.6 MB, free: 12.48 MB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 1.745e-05/0.1005, allocations: 33.7 kB / 496.6 MB, free: 12.45 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 7.011e-05/0.1006, allocations: 116 kB / 496.7 MB, free: 12.33 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 1.671e-05/0.1006, allocations: 23.88 kB / 496.8 MB, free: 12.3 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.648e-05/0.1007, allocations: 17.72 kB / 496.8 MB, free: 12.28 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 0.0001069/0.1008, allocations: 326.8 kB / 497.1 MB, free: 11.95 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 4.413e-05/0.1008, allocations: 19.98 kB / 497.1 MB, free: 11.93 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 4.098e-05/0.1009, allocations: 21.72 kB / 497.1 MB, free: 11.91 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000303/0.1012, allocations: 81.61 kB / 497.2 MB, free: 11.82 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.894e-06/0.1012, allocations: 4 kB / 497.2 MB, free: 11.82 MB / 366.1 MB Notification: Performance of matching and sorting (n=7) (initialization): time 0.0001451/0.1013, allocations: 89.53 kB / 497.3 MB, free: 11.72 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.492e-05/0.1014, allocations: 11.94 kB / 497.3 MB, free: 11.71 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.188e-06/0.1014, allocations: 0 / 497.3 MB, free: 11.71 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.2e-05/0.1014, allocations: 0 / 497.3 MB, free: 11.71 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.889e-05/0.1015, allocations: 19.92 kB / 497.3 MB, free: 11.69 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.759e-06/0.1015, allocations: 80 / 497.3 MB, free: 11.69 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.839e-05/0.1016, allocations: 11.89 kB / 497.4 MB, free: 11.68 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.644e-06/0.1016, allocations: 3.984 kB / 497.4 MB, free: 11.68 MB / 366.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.0001197/0.1017, allocations: 128.3 kB / 497.5 MB, free: 11.54 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.575e-05/0.1018, allocations: 15.84 kB / 497.5 MB, free: 11.53 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.158e-05/0.1018, allocations: 16.92 kB / 497.5 MB, free: 11.5 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.065e-06/0.1018, allocations: 4 kB / 497.5 MB, free: 11.5 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.826e-06/0.1018, allocations: 0 / 497.5 MB, free: 11.5 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.043e-06/0.1018, allocations: 0 / 497.5 MB, free: 11.5 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002046/0.102, allocations: 209.7 kB / 497.7 MB, free: 11.25 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.395e-06/0.1021, allocations: 4 kB / 497.7 MB, free: 11.24 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.351e-05/0.1022, allocations: 15.98 kB / 497.7 MB, free: 11.23 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.773e-06/0.1022, allocations: 0 / 497.7 MB, free: 11.23 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.243e-06/0.1022, allocations: 0 / 497.7 MB, free: 11.23 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.233e-06/0.1022, allocations: 0 / 497.7 MB, free: 11.23 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.12e-07/0.1022, allocations: 0 / 497.7 MB, free: 11.23 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002072/0.1024, allocations: 183.3 kB / 497.9 MB, free: 11.03 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.908e-05/0.1025, allocations: 89.09 kB / 498 MB, free: 10.93 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.327e-05/0.1025, allocations: 0 / 498 MB, free: 10.93 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001016/0.1026, allocations: 8.047 kB / 498 MB, free: 10.92 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.604e-05/0.1026, allocations: 4 kB / 498 MB, free: 10.91 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.837e-06/0.1026, allocations: 0 / 498 MB, free: 10.91 MB / 366.1 MB Notification: Performance of sorting global known variables: time 0.0001166/0.1027, allocations: 149.5 kB / 498.2 MB, free: 10.77 MB / 366.1 MB Notification: Performance of sort global known variables: time 1.31e-07/0.1027, allocations: 3.938 kB / 498.2 MB, free: 10.77 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.0002414/0.103, allocations: 23.95 kB / 498.2 MB, free: 10.74 MB / 366.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.00046/0.1035, allocations: 0.7162 MB / 498.9 MB, free: 10 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.0001265/0.1036, allocations: 31.98 kB / 498.9 MB, free: 9.969 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 1.683e-06/0.1036, allocations: 0 / 498.9 MB, free: 9.969 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 3.637e-05/0.1036, allocations: 19.92 kB / 499 MB, free: 9.949 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000318/0.104, allocations: 23.98 kB / 499 MB, free: 9.926 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001727/0.1057, allocations: 1.808 MB / 0.4891 GB, free: 8.035 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002561/0.106, allocations: 0.7045 MB / 0.4897 GB, free: 7.305 MB / 366.1 MB Notification: Performance of simCode: alias equations: time 6.001e-05/0.106, allocations: 17.42 kB / 0.4898 GB, free: 7.289 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.739e-05/0.1061, allocations: 43.42 kB / 0.4898 GB, free: 7.246 MB / 366.1 MB Notification: Performance of SimCode: time 5.21e-07/0.1061, allocations: 0 / 0.4898 GB, free: 7.246 MB / 366.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01844/0.1246, allocations: 3.005 MB / 0.4927 GB, free: 4.324 MB / 366.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 7.387/7.512, allocations: 17.17 kB / 0.4928 GB, free: 4.312 MB / 366.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)