Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr AES_AES.Devel_test_models.Test_header_001.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_001,fileNamePrefix="AES_AES_Devel_test_models_Test_header_001",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(AES.Devel_test_models.Test_header_001,fileNamePrefix="AES_AES_Devel_test_models_Test_header_001",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.004873/0.004873, allocations: 96.97 kB / 15.73 MB, free: 6.031 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.00111/0.001111, allocations: 194.6 kB / 16.68 MB, free: 5.961 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.34/1.34, allocations: 222.9 MB / 240.4 MB, free: 4.32 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/AES main/package.mo): time 0.2158/0.2158, allocations: 22.34 MB / 312.9 MB, free: 12.39 MB / 254.1 MB Notification: Performance of FrontEnd - loaded program: time 0.002095/0.002096, allocations: 67.05 kB / 436.6 MB, free: 34.08 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1126/0.1148, allocations: 54.97 MB / 491.5 MB, free: 1.719 MB / 350.1 MB Notification: Performance of NFInst.instantiate(AES.Devel_test_models.Test_header_001): time 0.00287/0.1177, allocations: 2.09 MB / 493.6 MB, free: 15.62 MB / 366.1 MB Notification: Performance of NFInst.instExpressions: time 0.0004451/0.1181, allocations: 183.3 kB / 493.8 MB, free: 15.44 MB / 366.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001322/0.1183, allocations: 4 kB / 493.8 MB, free: 15.43 MB / 366.1 MB Notification: Performance of NFTyping.typeComponents: time 7.152e-05/0.1184, allocations: 23.72 kB / 493.8 MB, free: 15.41 MB / 366.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001771/0.1186, allocations: 67.42 kB / 493.9 MB, free: 15.34 MB / 366.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001489/0.1187, allocations: 47.88 kB / 494 MB, free: 15.3 MB / 366.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001971/0.1189, allocations: 214.9 kB / 494.2 MB, free: 15.09 MB / 366.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002129/0.1191, allocations: 100.5 kB / 494.3 MB, free: 14.99 MB / 366.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001079/0.1193, allocations: 79.7 kB / 494.3 MB, free: 14.91 MB / 366.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001197/0.1194, allocations: 95.52 kB / 494.4 MB, free: 14.82 MB / 366.1 MB Notification: Performance of NFPackage.collectConstants: time 2.631e-05/0.1194, allocations: 12 kB / 494.4 MB, free: 14.81 MB / 366.1 MB Notification: Performance of NFFlatten.collectFunctions: time 2.793e-05/0.1194, allocations: 16 kB / 494.5 MB, free: 14.79 MB / 366.1 MB Notification: Performance of NFScalarize.scalarize: time 3.426e-05/0.1195, allocations: 31.86 kB / 494.5 MB, free: 14.76 MB / 366.1 MB Notification: Performance of NFVerifyModel.verify: time 8.689e-05/0.1196, allocations: 95.53 kB / 494.6 MB, free: 14.67 MB / 366.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002088/0.1198, allocations: 199.4 kB / 494.8 MB, free: 14.47 MB / 366.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.228e-06/0.1198, allocations: 3.938 kB / 494.8 MB, free: 14.47 MB / 366.1 MB Notification: Performance of FrontEnd: time 1.433e-06/0.1198, allocations: 0 / 494.8 MB, free: 14.47 MB / 366.1 MB Notification: Performance of Transformations before backend: time 5.841e-06/0.1198, allocations: 0 / 494.8 MB, free: 14.47 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: 33 * Number of variables: 33 Notification: Performance of Generate backend data structure: time 0.0005759/0.1204, allocations: 486.7 kB / 495.3 MB, free: 13.94 MB / 366.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.651e-05/0.1204, allocations: 12.03 kB / 495.3 MB, free: 13.93 MB / 366.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.263e-05/0.1205, allocations: 46.73 kB / 495.3 MB, free: 13.87 MB / 366.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.184e-05/0.1205, allocations: 24.73 kB / 495.3 MB, free: 13.85 MB / 366.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002739/0.1208, allocations: 232.8 kB / 495.6 MB, free: 13.58 MB / 366.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.519e-05/0.1208, allocations: 8.656 kB / 495.6 MB, free: 13.57 MB / 366.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.693e-05/0.1209, allocations: 16.31 kB / 495.6 MB, free: 13.56 MB / 366.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002274/0.1211, allocations: 140.3 kB / 495.7 MB, free: 13.42 MB / 366.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.144e-05/0.1211, allocations: 3.938 kB / 495.7 MB, free: 13.41 MB / 366.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.475e-05/0.1212, allocations: 4 kB / 495.7 MB, free: 13.41 MB / 366.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.211e-06/0.1212, allocations: 8 kB / 495.7 MB, free: 13.4 MB / 366.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001554/0.1213, allocations: 72.81 kB / 495.8 MB, free: 13.33 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) => Select value from header.T(start = header.Tstart = 293.15) for variable: header.T Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008122/0.1221, allocations: 0.6527 MB / 496.5 MB, free: 12.6 MB / 366.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001352/0.1223, allocations: 50.55 kB / 496.5 MB, free: 12.54 MB / 366.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.861e-05/0.1224, allocations: 24.86 kB / 496.5 MB, free: 12.51 MB / 366.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.171e-05/0.1224, allocations: 0 / 496.5 MB, free: 12.51 MB / 366.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.906e-05/0.1224, allocations: 34.56 kB / 496.6 MB, free: 12.47 MB / 366.1 MB Notification: Performance of pre-optimization done (n=4): time 8.92e-07/0.1224, allocations: 0 / 496.6 MB, free: 12.47 MB / 366.1 MB Notification: Performance of matching and sorting (n=4): time 0.0002267/0.1226, allocations: 93.56 kB / 496.7 MB, free: 12.37 MB / 366.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.244e-05/0.1227, allocations: 51.41 kB / 496.7 MB, free: 12.31 MB / 366.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001873/0.1229, allocations: 225 kB / 496.9 MB, free: 12.07 MB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 1.335e-05/0.1229, allocations: 29.7 kB / 497 MB, free: 12.04 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 8.145e-05/0.123, allocations: 148.1 kB / 497.1 MB, free: 11.89 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 1.865e-05/0.123, allocations: 19.81 kB / 497.1 MB, free: 11.87 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.128e-05/0.123, allocations: 25.72 kB / 497.2 MB, free: 11.84 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 9.427e-05/0.1231, allocations: 330.8 kB / 497.5 MB, free: 11.5 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.299e-05/0.1232, allocations: 20 kB / 497.5 MB, free: 11.48 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.321e-05/0.1233, allocations: 47.36 kB / 497.5 MB, free: 11.43 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000257/0.1235, allocations: 95.34 kB / 497.6 MB, free: 11.32 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.186e-06/0.1236, allocations: 0 / 497.6 MB, free: 11.32 MB / 366.1 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0001739/0.1237, allocations: 117.4 kB / 497.8 MB, free: 11.2 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.472e-05/0.1238, allocations: 7.984 kB / 497.8 MB, free: 11.19 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.743e-06/0.1238, allocations: 12.05 kB / 497.8 MB, free: 11.18 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.081e-05/0.1238, allocations: 0 / 497.8 MB, free: 11.18 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002575/0.1241, allocations: 35.98 kB / 497.8 MB, free: 11.14 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.336e-06/0.1241, allocations: 4 kB / 497.8 MB, free: 11.14 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.563e-05/0.1242, allocations: 19.83 kB / 497.8 MB, free: 11.12 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.663e-06/0.1242, allocations: 3.938 kB / 497.8 MB, free: 11.12 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: 4 * 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 (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 prepare postOptimizeDAE: time 0.0001255/0.1243, allocations: 136 kB / 498 MB, free: 10.98 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.705e-05/0.1243, allocations: 16.08 kB / 498 MB, free: 10.96 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.094e-05/0.1244, allocations: 17.25 kB / 498 MB, free: 10.94 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.493e-06/0.1244, allocations: 3.938 kB / 498 MB, free: 10.93 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.436e-06/0.1244, allocations: 0 / 498 MB, free: 10.93 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.486e-06/0.1244, allocations: 3.938 kB / 498 MB, free: 10.93 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004911/0.1249, allocations: 412.1 kB / 498.4 MB, free: 10.46 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.523e-06/0.1249, allocations: 4 kB / 498.4 MB, free: 10.46 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.224e-05/0.125, allocations: 11.98 kB / 498.4 MB, free: 10.45 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.134e-06/0.125, allocations: 0 / 498.4 MB, free: 10.45 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.274e-05/0.125, allocations: 7.938 kB / 498.4 MB, free: 10.44 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.513e-06/0.125, allocations: 3.938 kB / 498.4 MB, free: 10.44 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.51e-07/0.125, allocations: 0 / 498.4 MB, free: 10.44 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002066/0.1253, allocations: 197.5 kB / 498.6 MB, free: 10.22 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.079e-05/0.1253, allocations: 93.05 kB / 498.7 MB, free: 10.11 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.784e-05/0.1254, allocations: 7.938 kB / 498.7 MB, free: 10.11 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.766e-05/0.1255, allocations: 48 / 498.7 MB, free: 10.11 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.618e-05/0.1255, allocations: 11.97 kB / 498.7 MB, free: 10.09 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.491e-06/0.1255, allocations: 0 / 498.7 MB, free: 10.09 MB / 366.1 MB Notification: Performance of sorting global known variables: time 0.0001226/0.1256, allocations: 164.4 kB / 498.9 MB, free: 9.934 MB / 366.1 MB Notification: Performance of sort global known variables: time 1.6e-07/0.1256, allocations: 4.062 kB / 498.9 MB, free: 9.93 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.0002567/0.1259, allocations: 39.89 kB / 498.9 MB, free: 9.891 MB / 366.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 3 * 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 (4): * Single equations (assignments): 4 * 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.0004292/0.1263, allocations: 0.7258 MB / 499.7 MB, free: 9.133 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.0001414/0.1265, allocations: 51.98 kB / 499.7 MB, free: 9.082 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 1.884e-06/0.1265, allocations: 0 / 499.7 MB, free: 9.082 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 4.037e-05/0.1265, allocations: 15.94 kB / 499.7 MB, free: 9.066 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003081/0.1268, allocations: 32.84 kB / 499.8 MB, free: 9.035 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002048/0.1289, allocations: 1.986 MB / 0.49 GB, free: 6.941 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002472/0.1292, allocations: 0.728 MB / 0.4907 GB, free: 6.188 MB / 366.1 MB Notification: Performance of simCode: alias equations: time 6.722e-05/0.1292, allocations: 17.55 kB / 0.4907 GB, free: 6.172 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.706e-05/0.1293, allocations: 51.42 kB / 0.4908 GB, free: 6.125 MB / 366.1 MB Notification: Performance of SimCode: time 2.3e-07/0.1293, allocations: 0 / 0.4908 GB, free: 6.125 MB / 366.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01913/0.1485, allocations: 3.367 MB / 0.4941 GB, free: 2.84 MB / 366.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 7.262/7.411, allocations: 8.062 kB / 0.4941 GB, free: 2.836 MB / 366.1 MB (rm -f AES_AES.Devel_test_models.Test_header_001.pipe ; mkfifo AES_AES.Devel_test_models.Test_header_001.pipe ; head -c 1048576 < AES_AES.Devel_test_models.Test_header_001.pipe >> ../files/AES_AES.Devel_test_models.Test_header_001.sim & python3 -m fmpy simulate --output-file AES_AES.Devel_test_models.Test_header_001_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_001.fmu > AES_AES.Devel_test_models.Test_header_001.pipe 2>&1)