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.001295/0.001295, allocations: 103.3 kB / 16.45 MB, free: 6.449 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.001514/0.001514, allocations: 210.4 kB / 19.43 MB, free: 3.637 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.596/1.596, allocations: 230.6 MB / 252.8 MB, free: 9.133 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.1101/0.1101, allocations: 24.11 MB / 333 MB, free: 12.63 MB / 270.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.002162/0.002162, allocations: 71.84 kB / 465.7 MB, free: 11.17 MB / 334.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3126/0.3147, allocations: 59.57 MB / 0.513 GB, free: 8.402 MB / 382.1 MB Notification: Performance of NFInst.instantiate(AES.Devel_test_models.Test_digital_PI_awfb_full): time 0.002563/0.3173, allocations: 1.777 MB / 0.5147 GB, free: 7.562 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.0005389/0.3178, allocations: 236 kB / 0.515 GB, free: 7.406 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 9.288e-05/0.3179, allocations: 5.625 kB / 0.515 GB, free: 7.402 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001203/0.318, allocations: 25.56 kB / 0.515 GB, free: 7.383 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001579/0.3182, allocations: 22.41 kB / 0.515 GB, free: 7.371 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.0001836/0.3184, allocations: 59.45 kB / 0.5151 GB, free: 7.34 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002822/0.3187, allocations: 168.7 kB / 0.5152 GB, free: 7.27 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001548/0.3188, allocations: 61.45 kB / 0.5153 GB, free: 7.234 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 8.78e-05/0.3189, allocations: 64.27 kB / 0.5154 GB, free: 7.203 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001232/0.319, allocations: 72.58 kB / 0.5154 GB, free: 7.168 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 3.803e-05/0.3191, allocations: 14.72 kB / 0.5154 GB, free: 7.168 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 2.787e-05/0.3191, allocations: 19.09 kB / 0.5155 GB, free: 7.164 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 4.08e-05/0.3191, allocations: 27.47 kB / 0.5155 GB, free: 7.145 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 8.018e-05/0.3192, allocations: 72.61 kB / 0.5155 GB, free: 7.098 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002177/0.3194, allocations: 149.7 kB / 0.5157 GB, free: 7.027 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.25e-06/0.3194, allocations: 0 / 0.5157 GB, free: 7.027 MB / 382.1 MB Notification: Performance of FrontEnd: time 3.326e-06/0.3194, allocations: 0 / 0.5157 GB, free: 7.027 MB / 382.1 MB Notification: Performance of Transformations before backend: time 6.963e-06/0.3194, allocations: 1.062 kB / 0.5157 GB, free: 7.027 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.0005879/0.32, allocations: 497.6 kB / 0.5162 GB, free: 6.543 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.435e-05/0.3201, allocations: 10.31 kB / 0.5162 GB, free: 6.543 MB / 382.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.987e-05/0.3201, allocations: 49.69 kB / 0.5162 GB, free: 6.496 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.197e-05/0.3202, allocations: 23.5 kB / 0.5162 GB, free: 6.484 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002362/0.3204, allocations: 215.7 kB / 0.5165 GB, free: 6.262 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.822e-05/0.3204, allocations: 16.5 kB / 0.5165 GB, free: 6.254 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.378e-05/0.3205, allocations: 18.2 kB / 0.5165 GB, free: 6.25 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003784/0.3209, allocations: 151.1 kB / 0.5166 GB, free: 6.18 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.049e-05/0.3209, allocations: 5.094 kB / 0.5166 GB, free: 6.176 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.833e-05/0.3209, allocations: 6.594 kB / 0.5166 GB, free: 6.172 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.612e-06/0.3209, allocations: 3.469 kB / 0.5166 GB, free: 6.172 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000333/0.3212, allocations: 113.7 kB / 0.5168 GB, free: 6.133 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007819/0.322, allocations: 470.7 kB / 0.5172 GB, free: 5.785 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000232/0.3223, allocations: 88.77 kB / 0.5173 GB, free: 5.734 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001845/0.3224, allocations: 66.3 kB / 0.5173 GB, free: 5.703 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.713e-05/0.3225, allocations: 9.281 kB / 0.5174 GB, free: 5.695 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002847/0.3227, allocations: 156.6 kB / 0.5175 GB, free: 5.586 MB / 382.1 MB Notification: Performance of pre-optimization done (n=20): time 1.332e-06/0.3227, allocations: 3.938 kB / 0.5175 GB, free: 5.582 MB / 382.1 MB Notification: Performance of matching and sorting (n=20): time 0.0007783/0.3235, allocations: 357.3 kB / 0.5179 GB, free: 5.418 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.281e-05/0.3236, allocations: 111.8 kB / 0.518 GB, free: 5.293 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.324e-05/0.3237, allocations: 142.1 kB / 0.5181 GB, free: 5.176 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 1.86e-05/0.3237, allocations: 38.8 kB / 0.5181 GB, free: 5.137 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 4.953e-05/0.3237, allocations: 120.5 kB / 0.5182 GB, free: 5.023 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.138e-05/0.3238, allocations: 58.69 kB / 0.5183 GB, free: 4.977 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.592e-05/0.3238, allocations: 52.58 kB / 0.5184 GB, free: 4.945 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 5.18e-05/0.3239, allocations: 327.2 kB / 0.5187 GB, free: 4.625 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001753/0.3241, allocations: 54.8 kB / 0.5187 GB, free: 4.609 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001934/0.3242, allocations: 122.5 kB / 0.5188 GB, free: 4.512 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003739/0.3246, allocations: 272.7 kB / 0.5191 GB, free: 4.285 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.176e-06/0.3246, allocations: 0 / 0.5191 GB, free: 4.285 MB / 382.1 MB Notification: Performance of matching and sorting (n=31) (initialization): time 0.0005525/0.3252, allocations: 319.2 kB / 0.5194 GB, free: 4.113 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 4.591e-05/0.3252, allocations: 69.91 kB / 0.5195 GB, free: 4.047 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.645e-06/0.3252, allocations: 2.375 kB / 0.5195 GB, free: 4.047 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.849e-05/0.3253, allocations: 3.438 kB / 0.5195 GB, free: 4.047 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001895/0.3254, allocations: 36.03 kB / 0.5195 GB, free: 4.035 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.053e-05/0.3255, allocations: 4.016 kB / 0.5195 GB, free: 4.035 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001612/0.3256, allocations: 27.28 kB / 0.5195 GB, free: 4.027 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.076e-05/0.3256, allocations: 13.17 kB / 0.5195 GB, free: 4.023 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.0001189/0.3258, allocations: 174.8 kB / 0.5197 GB, free: 3.863 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.047e-05/0.3258, allocations: 28.69 kB / 0.5197 GB, free: 3.844 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0006369/0.3264, allocations: 340.5 kB / 0.5201 GB, free: 3.676 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.136e-06/0.3264, allocations: 1.281 kB / 0.5201 GB, free: 3.676 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.907e-06/0.3264, allocations: 0 / 0.5201 GB, free: 3.676 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.158e-06/0.3264, allocations: 5.547 kB / 0.5201 GB, free: 3.672 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001725/0.3266, allocations: 251.2 kB / 0.5203 GB, free: 3.445 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.514e-06/0.3266, allocations: 3.922 kB / 0.5203 GB, free: 3.445 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001348/0.3267, allocations: 26.08 kB / 0.5203 GB, free: 3.438 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.226e-06/0.3267, allocations: 4.688 kB / 0.5203 GB, free: 3.434 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.116e-05/0.3268, allocations: 6.094 kB / 0.5204 GB, free: 3.434 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.302e-06/0.3268, allocations: 0 / 0.5204 GB, free: 3.434 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.613e-06/0.3268, allocations: 0.7031 kB / 0.5204 GB, free: 3.434 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008064/0.3276, allocations: 454.5 kB / 0.5208 GB, free: 3.199 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 2.883e-05/0.3276, allocations: 93.89 kB / 0.5209 GB, free: 3.094 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.262e-05/0.3276, allocations: 9.219 kB / 0.5209 GB, free: 3.09 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001689/0.3278, allocations: 27.7 kB / 0.5209 GB, free: 3.082 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.559e-05/0.3279, allocations: 25.66 kB / 0.5209 GB, free: 3.074 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.696e-05/0.3279, allocations: 6.734 kB / 0.5209 GB, free: 3.074 MB / 382.1 MB Notification: Performance of sorting global known variables: time 4.502e-05/0.3279, allocations: 102.5 kB / 0.521 GB, free: 2.992 MB / 382.1 MB Notification: Performance of sort global known variables: time 8e-08/0.3279, allocations: 4.062 kB / 0.521 GB, free: 2.988 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.0002494/0.3282, allocations: 46.61 kB / 0.5211 GB, free: 2.977 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.00102/0.3292, allocations: 0.989 MB / 0.5221 GB, free: 2.219 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.0005064/0.3297, allocations: 292.6 kB / 0.5223 GB, free: 2.031 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 1.603e-06/0.3297, allocations: 0.5625 kB / 0.5223 GB, free: 2.031 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0002368/0.33, allocations: 154.7 kB / 0.5225 GB, free: 1.93 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002113/0.3302, allocations: 19.5 kB / 0.5225 GB, free: 1.926 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002468/0.3326, allocations: 2.109 MB / 0.5246 GB, free: 308 kB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003445/0.333, allocations: 0.7231 MB / 0.5253 GB, free: 15.6 MB / 398.1 MB Notification: Performance of simCode: alias equations: time 8.681e-05/0.3331, allocations: 18.06 kB / 0.5253 GB, free: 15.59 MB / 398.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.059e-05/0.3331, allocations: 42.19 kB / 0.5253 GB, free: 15.56 MB / 398.1 MB Notification: Performance of SimCode: time 2.71e-07/0.3331, allocations: 1.469 kB / 0.5253 GB, free: 15.56 MB / 398.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02897/0.3621, allocations: 3.375 MB / 0.5286 GB, free: 15.04 MB / 398.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 8.254/8.616, allocations: 1.406 kB / 0.5286 GB, free: 15.04 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.609439444961026] Failed to read output from testmodel.py, exit status != 0: 8.685516212135553 8.704159425 8.381573569 Calling exit ...