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.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.001902/0.001902, allocations: 111 kB / 17.15 MB, free: 5.949 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.002227/0.002227, allocations: 212 kB / 20.11 MB, free: 2.992 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 1.636/1.636, allocations: 230.6 MB / 253.5 MB, free: 15.11 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.1594/0.1594, allocations: 24.04 MB / 333.6 MB, free: 1.574 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.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo) Using package Complex with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.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: AES requested package Modelica of version 4.0.0. Modelica 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.002226/0.002226, allocations: 65.98 kB / 466.3 MB, free: 32.7 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1333/0.1355, allocations: 59.54 MB / 0.5135 GB, free: 14.43 MB / 382.1 MB Notification: Performance of NFInst.instantiate(AES.Devel_test_models.Test_digital_PI_awfb_full): time 0.003732/0.1393, allocations: 1.775 MB / 0.5152 GB, free: 12.64 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.0006206/0.1399, allocations: 231.5 kB / 0.5155 GB, free: 12.41 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001063/0.14, allocations: 4 kB / 0.5155 GB, free: 12.41 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001972/0.1402, allocations: 23.67 kB / 0.5155 GB, free: 12.39 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001612/0.1403, allocations: 27.8 kB / 0.5155 GB, free: 12.36 MB / 382.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.000179/0.1405, allocations: 63.86 kB / 0.5156 GB, free: 12.3 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.0003125/0.1408, allocations: 167.7 kB / 0.5157 GB, free: 12.13 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.000164/0.141, allocations: 51.88 kB / 0.5158 GB, free: 12.08 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 9.172e-05/0.1411, allocations: 67.77 kB / 0.5159 GB, free: 12.02 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001955/0.1413, allocations: 79.59 kB / 0.5159 GB, free: 11.94 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 3.773e-05/0.1413, allocations: 16 kB / 0.5159 GB, free: 11.92 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 2.574e-05/0.1413, allocations: 16 kB / 0.516 GB, free: 11.91 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 3.937e-05/0.1414, allocations: 27.92 kB / 0.516 GB, free: 11.88 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 9.555e-05/0.1415, allocations: 71.59 kB / 0.5161 GB, free: 11.81 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002507/0.1417, allocations: 151.2 kB / 0.5162 GB, free: 11.66 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.631e-06/0.1417, allocations: 0 / 0.5162 GB, free: 11.66 MB / 382.1 MB Notification: Performance of FrontEnd: time 1.432e-06/0.1417, allocations: 0 / 0.5162 GB, free: 11.66 MB / 382.1 MB Notification: Performance of Transformations before backend: time 1.145e-05/0.1417, allocations: 0 / 0.5162 GB, free: 11.66 MB / 382.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.0008014/0.1425, allocations: 496.3 kB / 0.5167 GB, free: 11.11 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.467e-05/0.1426, allocations: 8.625 kB / 0.5167 GB, free: 11.11 MB / 382.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 6.155e-05/0.1427, allocations: 50.73 kB / 0.5167 GB, free: 11.05 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.237e-05/0.1427, allocations: 20.84 kB / 0.5167 GB, free: 11.03 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003306/0.143, allocations: 216 kB / 0.517 GB, free: 10.78 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.891e-05/0.1431, allocations: 12.38 kB / 0.517 GB, free: 10.77 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001051/0.1432, allocations: 20.38 kB / 0.517 GB, free: 10.75 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000414/0.1436, allocations: 150.2 kB / 0.5171 GB, free: 10.59 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.132e-05/0.1436, allocations: 3.938 kB / 0.5171 GB, free: 10.59 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.453e-05/0.1436, allocations: 8 kB / 0.5171 GB, free: 10.58 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.083e-05/0.1436, allocations: 4 kB / 0.5171 GB, free: 10.58 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003571/0.144, allocations: 108.7 kB / 0.5172 GB, free: 10.47 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0009448/0.1449, allocations: 480.1 kB / 0.5177 GB, free: 9.953 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003043/0.1452, allocations: 82.55 kB / 0.5178 GB, free: 9.863 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002032/0.1454, allocations: 68.81 kB / 0.5178 GB, free: 9.793 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.085e-05/0.1455, allocations: 7.938 kB / 0.5179 GB, free: 9.785 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003403/0.1458, allocations: 157 kB / 0.518 GB, free: 9.613 MB / 382.1 MB Notification: Performance of pre-optimization done (n=20): time 1.352e-06/0.1458, allocations: 0 / 0.518 GB, free: 9.613 MB / 382.1 MB Notification: Performance of matching and sorting (n=20): time 0.0009669/0.1468, allocations: 364.9 kB / 0.5184 GB, free: 9.246 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 9.745e-05/0.1469, allocations: 110.8 kB / 0.5185 GB, free: 9.113 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001324/0.147, allocations: 144.6 kB / 0.5186 GB, free: 8.965 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 3.386e-05/0.147, allocations: 37.7 kB / 0.5186 GB, free: 8.922 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001473/0.1472, allocations: 116.5 kB / 0.5187 GB, free: 8.801 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 5.714e-05/0.1473, allocations: 51.59 kB / 0.5188 GB, free: 8.75 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 8.938e-05/0.1473, allocations: 53.69 kB / 0.5188 GB, free: 8.691 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 0.0001567/0.1475, allocations: 322.8 kB / 0.5192 GB, free: 8.367 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001783/0.1477, allocations: 55.95 kB / 0.5192 GB, free: 8.312 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002386/0.1479, allocations: 132.3 kB / 0.5193 GB, free: 8.156 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005026/0.1484, allocations: 266.7 kB / 0.5196 GB, free: 7.852 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.695e-06/0.1484, allocations: 3.938 kB / 0.5196 GB, free: 7.848 MB / 382.1 MB Notification: Performance of matching and sorting (n=31) (initialization): time 0.0005978/0.149, allocations: 322 kB / 0.5199 GB, free: 7.516 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 7.096e-05/0.1491, allocations: 71.33 kB / 0.52 GB, free: 7.434 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.933e-06/0.1491, allocations: 0 / 0.52 GB, free: 7.434 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 3.033e-05/0.1491, allocations: 4 kB / 0.52 GB, free: 7.43 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002158/0.1493, allocations: 32.23 kB / 0.52 GB, free: 7.398 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.431e-05/0.1494, allocations: 11.92 kB / 0.52 GB, free: 7.387 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001557/0.1495, allocations: 23.88 kB / 0.52 GB, free: 7.363 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.203e-05/0.1495, allocations: 12 kB / 0.52 GB, free: 7.352 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.0001944/0.1497, allocations: 175.5 kB / 0.5202 GB, free: 7.164 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.388e-05/0.1498, allocations: 27.84 kB / 0.5202 GB, free: 7.137 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000747/0.1505, allocations: 348.3 kB / 0.5206 GB, free: 6.781 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.596e-06/0.1505, allocations: 0 / 0.5206 GB, free: 6.781 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.485e-06/0.1505, allocations: 4 kB / 0.5206 GB, free: 6.777 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.697e-06/0.1505, allocations: 0 / 0.5206 GB, free: 6.777 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000253/0.1508, allocations: 249.4 kB / 0.5208 GB, free: 6.484 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.072e-06/0.1508, allocations: 0 / 0.5208 GB, free: 6.484 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001911/0.151, allocations: 19.98 kB / 0.5208 GB, free: 6.465 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 6.022e-06/0.151, allocations: 3.938 kB / 0.5208 GB, free: 6.461 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.025e-05/0.151, allocations: 8 kB / 0.5208 GB, free: 6.453 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.222e-06/0.151, allocations: 0 / 0.5208 GB, free: 6.453 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.243e-06/0.151, allocations: 0 / 0.5208 GB, free: 6.453 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001098/0.1521, allocations: 467.6 kB / 0.5213 GB, free: 5.973 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 6.559e-05/0.1522, allocations: 88.98 kB / 0.5214 GB, free: 5.867 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.661e-05/0.1522, allocations: 12 kB / 0.5214 GB, free: 5.855 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001694/0.1524, allocations: 19.97 kB / 0.5214 GB, free: 5.836 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.602e-05/0.1525, allocations: 27.91 kB / 0.5214 GB, free: 5.809 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.581e-05/0.1525, allocations: 4 kB / 0.5214 GB, free: 5.805 MB / 382.1 MB Notification: Performance of sorting global known variables: time 7.484e-05/0.1525, allocations: 99.27 kB / 0.5215 GB, free: 5.707 MB / 382.1 MB Notification: Performance of sort global known variables: time 8e-08/0.1525, allocations: 4.062 kB / 0.5215 GB, free: 5.703 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.0002808/0.1528, allocations: 47.89 kB / 0.5216 GB, free: 5.656 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.001473/0.1543, allocations: 0.9936 MB / 0.5226 GB, free: 4.625 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.0008065/0.1551, allocations: 299.2 kB / 0.5228 GB, free: 4.312 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 2.034e-06/0.1551, allocations: 0.5625 kB / 0.5228 GB, free: 4.312 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0003091/0.1554, allocations: 147.8 kB / 0.523 GB, free: 4.156 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002955/0.1557, allocations: 27.86 kB / 0.523 GB, free: 4.133 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003269/0.159, allocations: 2.115 MB / 0.5251 GB, free: 1.879 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003684/0.1593, allocations: 0.7158 MB / 0.5258 GB, free: 1.137 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 9.66e-05/0.1594, allocations: 20.42 kB / 0.5258 GB, free: 1.117 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001088/0.1596, allocations: 43.42 kB / 0.5258 GB, free: 1.074 MB / 382.1 MB Notification: Performance of SimCode: time 7.21e-07/0.1596, allocations: 0 / 0.5258 GB, free: 1.074 MB / 382.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03134/0.1909, allocations: 3.358 MB / 0.5291 GB, free: 13.79 MB / 398.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 8.525/8.716, allocations: 10.72 kB / 0.5291 GB, free: 13.78 MB / 398.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.995130032999441] Failed to read output from testmodel.py, exit status != 0: 8.784605678869411 8.799185256 8.654476673 Calling exit ...