Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr AES_AES.Devel_test_models.Test_digital_PI_awfb_full.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001227/0.001227, allocations: 104.9 kB / 16.4 MB, free: 6.5 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001359/0.001359, allocations: 191.7 kB / 19.35 MB, free: 3.734 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.427/1.427, allocations: 222.9 MB / 245.1 MB, free: 15.01 MB / 206.1 MB " [Timeout remaining time 178] 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.1014/0.1014, allocations: 22.33 MB / 319.6 MB, free: 6.758 MB / 254.1 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.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_digital_PI_awfb_full,fileNamePrefix="AES_AES_Devel_test_models_Test_digital_PI_awfb_full",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(AES.Devel_test_models.Test_digital_PI_awfb_full,fileNamePrefix="AES_AES_Devel_test_models_Test_digital_PI_awfb_full",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.001993/0.001993, allocations: 67.89 kB / 443.2 MB, free: 10.71 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1106/0.1126, allocations: 54.94 MB / 498.1 MB, free: 3.715 MB / 366.1 MB Notification: Performance of NFInst.instantiate(AES.Devel_test_models.Test_digital_PI_awfb_full): time 0.002915/0.1155, allocations: 1.74 MB / 499.8 MB, free: 1.961 MB / 366.1 MB Notification: Performance of NFInst.instExpressions: time 0.0005311/0.1161, allocations: 235.5 kB / 0.4883 GB, free: 1.73 MB / 366.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 8.509e-05/0.1162, allocations: 7.938 kB / 0.4884 GB, free: 1.723 MB / 366.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001448/0.1163, allocations: 27.73 kB / 0.4884 GB, free: 1.695 MB / 366.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001422/0.1165, allocations: 19.8 kB / 0.4884 GB, free: 1.676 MB / 366.1 MB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/AES main/ControlBlocks/DigitalControllers/PI_awfb_full.mo:73:5-73:30:writable] Warning: Conditional component 'ovrMax' is used in a non-connect context. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/AES main/ControlBlocks/DigitalControllers/PI_awfb_full.mo:79:5-79:30:writable] Warning: Conditional component 'ovrMin' is used in a non-connect context. Notification: Performance of NFTyping.typeClassSections: time 0.0001531/0.1167, allocations: 55.94 kB / 0.4885 GB, free: 1.621 MB / 366.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002876/0.117, allocations: 187.6 kB / 0.4886 GB, free: 1.438 MB / 366.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.000174/0.1171, allocations: 75.92 kB / 0.4887 GB, free: 1.359 MB / 366.1 MB Notification: Performance of NFEvalConstants.evaluate: time 7.798e-05/0.1172, allocations: 59.78 kB / 0.4888 GB, free: 1.301 MB / 366.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001175/0.1173, allocations: 75.61 kB / 0.4888 GB, free: 1.227 MB / 366.1 MB Notification: Performance of NFPackage.collectConstants: time 3.342e-05/0.1174, allocations: 16 kB / 0.4889 GB, free: 1.211 MB / 366.1 MB Notification: Performance of NFFlatten.collectFunctions: time 3.044e-05/0.1174, allocations: 20 kB / 0.4889 GB, free: 1.191 MB / 366.1 MB Notification: Performance of NFScalarize.scalarize: time 4.202e-05/0.1175, allocations: 31.84 kB / 0.4889 GB, free: 1.16 MB / 366.1 MB Notification: Performance of NFVerifyModel.verify: time 9.387e-05/0.1176, allocations: 71.59 kB / 0.489 GB, free: 1.09 MB / 366.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001998/0.1178, allocations: 147.3 kB / 0.4891 GB, free: 0.9453 MB / 366.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.337e-06/0.1178, allocations: 0 / 0.4891 GB, free: 0.9453 MB / 366.1 MB Notification: Performance of FrontEnd: time 1.283e-06/0.1178, allocations: 0 / 0.4891 GB, free: 0.9453 MB / 366.1 MB Notification: Performance of Transformations before backend: time 4.879e-06/0.1178, allocations: 0 / 0.4891 GB, free: 0.9453 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: 38 * Number of variables: 38 Notification: Performance of Generate backend data structure: time 0.0006248/0.1184, allocations: 0.4904 MB / 0.4896 GB, free: 400 kB / 366.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.581e-05/0.1185, allocations: 12.03 kB / 0.4896 GB, free: 388 kB / 366.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.037e-05/0.1185, allocations: 46.73 kB / 0.4896 GB, free: 332 kB / 366.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.77e-05/0.1186, allocations: 24.8 kB / 0.4897 GB, free: 308 kB / 366.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002658/0.1189, allocations: 214.1 kB / 0.4899 GB, free: 56 kB / 366.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.581e-05/0.1189, allocations: 12.38 kB / 0.4899 GB, free: 44 kB / 366.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.569e-05/0.1189, allocations: 16.38 kB / 0.4899 GB, free: 28 kB / 366.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003888/0.1193, allocations: 158.4 kB / 0.4901 GB, free: 15.87 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.555e-05/0.1194, allocations: 7.875 kB / 0.4901 GB, free: 15.86 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.951e-05/0.1194, allocations: 15.94 kB / 0.4901 GB, free: 15.84 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.873e-06/0.1194, allocations: 4 kB / 0.4901 GB, free: 15.84 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003377/0.1197, allocations: 96.69 kB / 0.4902 GB, free: 15.75 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007816/0.1205, allocations: 480.2 kB / 0.4906 GB, free: 15.23 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002871/0.1208, allocations: 166.5 kB / 0.4908 GB, free: 15.05 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002383/0.1211, allocations: 132.8 kB / 0.4909 GB, free: 14.92 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.716e-05/0.1211, allocations: 7.938 kB / 0.4909 GB, free: 14.91 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003057/0.1214, allocations: 153 kB / 0.4911 GB, free: 14.75 MB / 382.1 MB Notification: Performance of pre-optimization done (n=20): time 1.503e-06/0.1214, allocations: 0 / 0.4911 GB, free: 14.75 MB / 382.1 MB Notification: Performance of matching and sorting (n=20): time 0.0008371/0.1223, allocations: 349.3 kB / 0.4914 GB, free: 14.39 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.344e-05/0.1224, allocations: 126.7 kB / 0.4915 GB, free: 14.25 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001167/0.1225, allocations: 138.1 kB / 0.4917 GB, free: 14.1 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 2.785e-05/0.1225, allocations: 33.7 kB / 0.4917 GB, free: 14.06 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 7.628e-05/0.1226, allocations: 116.5 kB / 0.4918 GB, free: 13.95 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 5.209e-05/0.1227, allocations: 59.58 kB / 0.4919 GB, free: 13.89 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.576e-05/0.1228, allocations: 45.7 kB / 0.4919 GB, free: 13.84 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 0.0001379/0.1229, allocations: 326.8 kB / 0.4922 GB, free: 13.51 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001766/0.1231, allocations: 63.89 kB / 0.4923 GB, free: 13.45 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002207/0.1233, allocations: 120.6 kB / 0.4924 GB, free: 13.3 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004412/0.1238, allocations: 275.5 kB / 0.4926 GB, free: 12.99 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.148e-06/0.1238, allocations: 4 kB / 0.4926 GB, free: 12.98 MB / 382.1 MB Notification: Performance of matching and sorting (n=31) (initialization): time 0.0006102/0.1244, allocations: 311.1 kB / 0.4929 GB, free: 12.66 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 6.229e-05/0.1245, allocations: 71.33 kB / 0.493 GB, free: 12.58 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.983e-06/0.1245, allocations: 4.25 kB / 0.493 GB, free: 12.58 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.439e-05/0.1245, allocations: 4 kB / 0.493 GB, free: 12.57 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001596/0.1247, allocations: 31.91 kB / 0.4931 GB, free: 12.54 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.826e-06/0.1247, allocations: 4 kB / 0.4931 GB, free: 12.54 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001613/0.1248, allocations: 31.81 kB / 0.4931 GB, free: 12.51 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.07e-05/0.1249, allocations: 8 kB / 0.4931 GB, free: 12.5 MB / 382.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 9 * Number of states: 0 () * Number of discrete variables: 22 ($whenCondition1,C.u,$PRE.C.u,C.ulino,$PRE.C.ulino,C.ulin,$PRE.C.ulin,C.xfb,$PRE.C.xfb,C.fBias,$PRE.C.fBias,C.iBiaso,$PRE.C.iBiaso,C.xBias,$PRE.C.xBias,C.LOsat,$PRE.C.LOsat,C.HIsat,$PRE.C.HIsat,ts.y,C.noInc,C.noDec) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (23): * Single equations (assignments): 21 * Array equations: 0 * Algorithm blocks: 2 * 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.0001526/0.125, allocations: 184.2 kB / 0.4933 GB, free: 12.3 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.063e-05/0.1251, allocations: 19.84 kB / 0.4933 GB, free: 12.29 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0007031/0.1258, allocations: 337.8 kB / 0.4936 GB, free: 11.94 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.212e-06/0.1258, allocations: 4 kB / 0.4936 GB, free: 11.94 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.078e-06/0.1258, allocations: 0 / 0.4936 GB, free: 11.94 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.42e-06/0.1258, allocations: 4 kB / 0.4936 GB, free: 11.93 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002338/0.1261, allocations: 253.4 kB / 0.4939 GB, free: 11.64 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.132e-06/0.1261, allocations: 0 / 0.4939 GB, free: 11.64 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001323/0.1262, allocations: 15.98 kB / 0.4939 GB, free: 11.62 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.68e-06/0.1262, allocations: 3.938 kB / 0.4939 GB, free: 11.62 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.418e-05/0.1262, allocations: 11.98 kB / 0.4939 GB, free: 11.61 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.532e-06/0.1262, allocations: 0 / 0.4939 GB, free: 11.61 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.453e-06/0.1263, allocations: 0 / 0.4939 GB, free: 11.61 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0009378/0.1272, allocations: 463.9 kB / 0.4943 GB, free: 11.13 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.711e-05/0.1273, allocations: 88.95 kB / 0.4944 GB, free: 11.02 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.729e-05/0.1273, allocations: 8 kB / 0.4944 GB, free: 11.02 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001761/0.1275, allocations: 23.97 kB / 0.4944 GB, free: 10.99 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.361e-05/0.1276, allocations: 19.97 kB / 0.4945 GB, free: 10.97 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.741e-05/0.1276, allocations: 8.062 kB / 0.4945 GB, free: 10.96 MB / 382.1 MB Notification: Performance of sorting global known variables: time 6.733e-05/0.1277, allocations: 106.2 kB / 0.4946 GB, free: 10.86 MB / 382.1 MB Notification: Performance of sort global known variables: time 1e-07/0.1277, allocations: 0 / 0.4946 GB, free: 10.86 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.000303/0.128, allocations: 43.89 kB / 0.4946 GB, free: 10.82 MB / 382.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 1 (P.y) * Number of discrete variables: 13 ($whenCondition1,C.noInc,C.noDec,C.HIsat,C.LOsat,C.xBias,C.iBiaso,C.fBias,C.xfb,C.ulin,C.ulino,C.u,ts.y) * Number of discrete states: 10 (C.LOsat,C.HIsat,C.u,C.ulino,C.ulin,C.xfb,C.iBiaso,C.fBias,C.xBias,$whenCondition1) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (11): * Single equations (assignments): 10 * Array equations: 0 * Algorithm blocks: 1 * 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.001274/0.1293, allocations: 1.004 MB / 0.4956 GB, free: 9.781 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.0006445/0.1299, allocations: 369.6 kB / 0.496 GB, free: 9.398 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 2.374e-06/0.13, allocations: 0 / 0.496 GB, free: 9.398 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0003727/0.1303, allocations: 287.3 kB / 0.4962 GB, free: 9.105 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002326/0.1306, allocations: 16.59 kB / 0.4962 GB, free: 9.09 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003006/0.1336, allocations: 2.116 MB / 0.4983 GB, free: 6.828 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003275/0.1339, allocations: 0.7197 MB / 0.499 GB, free: 6.082 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 7.632e-05/0.134, allocations: 16.64 kB / 0.499 GB, free: 6.066 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.854e-05/0.1341, allocations: 43.42 kB / 0.4991 GB, free: 6.023 MB / 382.1 MB Notification: Performance of SimCode: time 3.3e-07/0.1341, allocations: 4 kB / 0.4991 GB, free: 6.02 MB / 382.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02552/0.1596, allocations: 3.35 MB / 0.5023 GB, free: 2.738 MB / 382.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 8.304/8.464, allocations: 10.44 kB / 0.5024 GB, free: 2.73 MB / 382.1 MB " [Timeout remaining time 651] (rm -f AES_AES.Devel_test_models.Test_digital_PI_awfb_full.pipe ; mkfifo AES_AES.Devel_test_models.Test_digital_PI_awfb_full.pipe ; head -c 1048576 < AES_AES.Devel_test_models.Test_digital_PI_awfb_full.pipe >> ../files/AES_AES.Devel_test_models.Test_digital_PI_awfb_full.sim & python3 -m fmpy simulate --output-file AES_AES.Devel_test_models.Test_digital_PI_awfb_full_res.csv --start-time 0 --stop-time 120 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.2 AES_AES_Devel_test_models_Test_digital_PI_awfb_full.fmu > AES_AES.Devel_test_models.Test_digital_PI_awfb_full.pipe 2>&1) [Timeout 52.5] [Calling sys.exit(0), Time elapsed: 11.478417770937085] Failed to read output from testmodel.py, exit status != 0: 8.535124729038216 8.780799346 8.66056416 Calling exit ...