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.0009739/0.0009739, allocations: 72.52 kB / 19.95 MB, free: 4.613 MB / 18.57 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.001278/0.001278, allocations: 169.2 kB / 23.23 MB, free: 1.332 MB / 18.57 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 0.879/0.879, allocations: 177.1 MB / 203.5 MB, free: 5.73 MB / 186.7 MB " [Timeout remaining time 179] 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.06147/0.06147, allocations: 18.13 MB / 278.1 MB, free: 11.53 MB / 266.7 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: Performance of FrontEnd - loaded program: time 1.873e-06/1.873e-06, allocations: 1.281 kB / 412.7 MB, free: 13.23 MB / 330.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.133e-05/2.32e-05, allocations: 2.281 kB / 412.7 MB, free: 13.23 MB / 330.7 MB Notification: Performance of NFInst.instantiate(AES.Devel_test_models.Test_digital_PI_awfb_full): time 0.002021/0.002045, allocations: 1.721 MB / 414.4 MB, free: 12.71 MB / 330.7 MB Notification: Performance of NFInst.instExpressions: time 0.0004416/0.002486, allocations: 229.8 kB / 414.7 MB, free: 12.64 MB / 330.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 8.197e-05/0.002568, allocations: 4.219 kB / 414.7 MB, free: 12.64 MB / 330.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0001046/0.002673, allocations: 29.38 kB / 414.7 MB, free: 12.62 MB / 330.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0001433/0.002816, allocations: 22.28 kB / 414.7 MB, free: 12.6 MB / 330.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.000107/0.002923, allocations: 64.31 kB / 414.8 MB, free: 12.57 MB / 330.7 MB Notification: Performance of NFFlatten.flatten: time 0.0002135/0.003137, allocations: 179.7 kB / 414.9 MB, free: 12.48 MB / 330.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001289/0.003266, allocations: 54.02 kB / 415 MB, free: 12.45 MB / 330.7 MB Notification: Performance of NFEvalConstants.evaluate: time 6.279e-05/0.003328, allocations: 55.94 kB / 415.1 MB, free: 12.43 MB / 330.7 MB Notification: Performance of NFSimplifyModel.simplify: time 9.284e-05/0.003421, allocations: 57.67 kB / 415.1 MB, free: 12.4 MB / 330.7 MB Notification: Performance of NFPackage.collectConstants: time 3.166e-05/0.003453, allocations: 15.12 kB / 415.1 MB, free: 12.4 MB / 330.7 MB Notification: Performance of NFFlatten.collectFunctions: time 1.849e-05/0.003471, allocations: 19.31 kB / 415.1 MB, free: 12.4 MB / 330.7 MB Notification: Performance of NFScalarize.scalarize: time 2.918e-05/0.0035, allocations: 19.16 kB / 415.2 MB, free: 12.39 MB / 330.7 MB Notification: Performance of NFVerifyModel.verify: time 5.705e-05/0.003558, allocations: 56 kB / 415.2 MB, free: 12.36 MB / 330.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001972/0.003755, allocations: 152 kB / 415.4 MB, free: 12.29 MB / 330.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.775e-06/0.003758, allocations: 1.219 kB / 415.4 MB, free: 12.29 MB / 330.7 MB Notification: Performance of FrontEnd: time 1.313e-06/0.003759, allocations: 0 / 415.4 MB, free: 12.29 MB / 330.7 MB Notification: Performance of Transformations before backend: time 5.12e-06/0.003764, allocations: 0 / 415.4 MB, free: 12.29 MB / 330.7 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.0004473/0.004211, allocations: 431.5 kB / 415.8 MB, free: 11.89 MB / 330.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.364e-05/0.004255, allocations: 13.42 kB / 415.8 MB, free: 11.88 MB / 330.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.344e-05/0.004288, allocations: 48.36 kB / 415.8 MB, free: 11.84 MB / 330.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.648e-05/0.004325, allocations: 22.62 kB / 415.9 MB, free: 11.82 MB / 330.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002086/0.004533, allocations: 160.1 kB / 416 MB, free: 11.67 MB / 330.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.276e-05/0.004556, allocations: 11.75 kB / 416 MB, free: 11.67 MB / 330.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.87e-05/0.004585, allocations: 18.34 kB / 416.1 MB, free: 11.66 MB / 330.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002844/0.004869, allocations: 185.2 kB / 416.2 MB, free: 11.56 MB / 330.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.765e-06/0.004877, allocations: 1.562 kB / 416.2 MB, free: 11.56 MB / 330.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.374e-05/0.004891, allocations: 3.125 kB / 416.2 MB, free: 11.56 MB / 330.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.661e-06/0.004896, allocations: 6.875 kB / 416.2 MB, free: 11.55 MB / 330.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001949/0.005091, allocations: 141.5 kB / 416.4 MB, free: 11.48 MB / 330.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004991/0.00559, allocations: 417.8 kB / 416.8 MB, free: 11.17 MB / 330.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001549/0.005745, allocations: 127.9 kB / 416.9 MB, free: 11.08 MB / 330.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001076/0.005853, allocations: 97.72 kB / 417 MB, free: 11.02 MB / 330.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.434e-05/0.005877, allocations: 2.156 kB / 417 MB, free: 11.02 MB / 330.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002161/0.006093, allocations: 196.7 kB / 417.2 MB, free: 10.87 MB / 330.7 MB Notification: Performance of pre-optimization done (n=20): time 1.803e-06/0.006095, allocations: 0 / 417.2 MB, free: 10.87 MB / 330.7 MB Notification: Performance of matching and sorting (n=20): time 0.0005594/0.006654, allocations: 467.5 kB / 417.7 MB, free: 10.61 MB / 330.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.353e-05/0.006698, allocations: 116.3 kB / 417.8 MB, free: 10.48 MB / 330.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.348e-05/0.006771, allocations: 137.4 kB / 417.9 MB, free: 10.37 MB / 330.7 MB Notification: Performance of collectPreVariables (initialization): time 1.438e-05/0.006786, allocations: 34.53 kB / 417.9 MB, free: 10.34 MB / 330.7 MB Notification: Performance of collectInitialEqns (initialization): time 4.317e-05/0.006829, allocations: 119.7 kB / 418.1 MB, free: 10.23 MB / 330.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.283e-05/0.006862, allocations: 59.88 kB / 418.1 MB, free: 10.18 MB / 330.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.092e-05/0.006913, allocations: 47.92 kB / 418.2 MB, free: 10.15 MB / 330.7 MB Notification: Performance of setup shared object (initialization): time 3.805e-05/0.006951, allocations: 328.2 kB / 418.5 MB, free: 9.832 MB / 330.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001101/0.007061, allocations: 119.5 kB / 418.6 MB, free: 9.746 MB / 330.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001333/0.007194, allocations: 182.7 kB / 418.8 MB, free: 9.586 MB / 330.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002169/0.007411, allocations: 272.5 kB / 419 MB, free: 9.363 MB / 330.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.635e-06/0.007414, allocations: 0 / 419 MB, free: 9.363 MB / 330.7 MB Notification: Performance of matching and sorting (n=31) (initialization): time 0.0003344/0.007748, allocations: 387.7 kB / 419.4 MB, free: 9.121 MB / 330.7 MB Notification: Performance of prepare postOptimizeDAE: time 4.052e-05/0.007789, allocations: 72.61 kB / 419.5 MB, free: 9.051 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.053e-06/0.007796, allocations: 3.703 kB / 419.5 MB, free: 9.051 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.74e-05/0.007813, allocations: 3.688 kB / 419.5 MB, free: 9.051 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001389/0.007952, allocations: 35.88 kB / 419.5 MB, free: 9.039 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.607e-06/0.007961, allocations: 3.891 kB / 419.5 MB, free: 9.039 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.829e-05/0.008059, allocations: 28.27 kB / 419.6 MB, free: 9.031 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.559e-05/0.008074, allocations: 12.75 kB / 419.6 MB, free: 9.027 MB / 330.7 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.0001004/0.008175, allocations: 177.6 kB / 419.8 MB, free: 8.863 MB / 330.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.87e-05/0.008194, allocations: 16.12 kB / 419.8 MB, free: 8.855 MB / 330.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004484/0.008642, allocations: 406.8 kB / 420.2 MB, free: 8.648 MB / 330.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.266e-06/0.008645, allocations: 6.031 kB / 420.2 MB, free: 8.645 MB / 330.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.589e-06/0.00865, allocations: 3.938 kB / 420.2 MB, free: 8.641 MB / 330.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.069e-06/0.008655, allocations: 1.844 kB / 420.2 MB, free: 8.641 MB / 330.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001305/0.008785, allocations: 204.9 kB / 420.4 MB, free: 8.449 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.116e-06/0.008789, allocations: 3.406 kB / 420.4 MB, free: 8.449 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.737e-05/0.008876, allocations: 20.41 kB / 420.4 MB, free: 8.445 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.795e-06/0.008879, allocations: 2 kB / 420.4 MB, free: 8.445 MB / 330.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.664e-05/0.008895, allocations: 8.766 kB / 420.4 MB, free: 8.441 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.957e-06/0.008899, allocations: 2.094 kB / 420.4 MB, free: 8.441 MB / 330.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.515e-06/0.008902, allocations: 3.938 kB / 420.4 MB, free: 8.438 MB / 330.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005947/0.009497, allocations: 0.5518 MB / 421 MB, free: 8.117 MB / 330.7 MB Notification: Performance of postOpt removeConstants (simulation): time 1.913e-05/0.009516, allocations: 20.2 kB / 421 MB, free: 8.105 MB / 330.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.577e-05/0.009541, allocations: 6.109 kB / 421 MB, free: 8.105 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.282e-05/0.009634, allocations: 26.95 kB / 421 MB, free: 8.098 MB / 330.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.19e-05/0.009706, allocations: 22.23 kB / 421 MB, free: 8.094 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.289e-05/0.009719, allocations: 7.875 kB / 421.1 MB, free: 8.094 MB / 330.7 MB Notification: Performance of sorting global known variables: time 3.61e-05/0.009755, allocations: 101.4 kB / 421.2 MB, free: 8.012 MB / 330.7 MB Notification: Performance of sort global known variables: time 6e-08/0.009755, allocations: 4.062 kB / 421.2 MB, free: 8.008 MB / 330.7 MB Notification: Performance of remove unused functions: time 0.0001898/0.009945, allocations: 44.3 kB / 421.2 MB, free: 8 MB / 330.7 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.0007023/0.01065, allocations: 1.096 MB / 422.3 MB, free: 7.145 MB / 330.7 MB Notification: Performance of simCode: created initialization part: time 0.0003668/0.01101, allocations: 404.8 kB / 422.7 MB, free: 6.844 MB / 330.7 MB Notification: Performance of simCode: created event and clocks part: time 2.194e-06/0.01102, allocations: 0 / 422.7 MB, free: 6.844 MB / 330.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001618/0.01118, allocations: 188 kB / 422.9 MB, free: 6.711 MB / 330.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001852/0.01136, allocations: 18.52 kB / 422.9 MB, free: 6.707 MB / 330.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001868/0.01323, allocations: 2.409 MB / 425.3 MB, free: 4.77 MB / 330.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 6.802e-05/0.0133, allocations: 111.4 kB / 425.4 MB, free: 4.688 MB / 330.7 MB Notification: Performance of simCode: alias equations: time 6.142e-05/0.01336, allocations: 14.38 kB / 425.4 MB, free: 4.684 MB / 330.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.029e-05/0.01342, allocations: 44.23 kB / 425.5 MB, free: 4.652 MB / 330.7 MB Notification: Performance of SimCode: time 9.01e-07/0.01342, allocations: 0 / 425.5 MB, free: 4.652 MB / 330.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02052/0.03394, allocations: 4.119 MB / 429.6 MB, free: 3.57 MB / 330.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 7.053/7.087, allocations: 7.5 kB / 429.6 MB, free: 3.57 MB / 330.7 MB " [Timeout remaining time 653] (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: 9.101555501110852] Failed to read output from testmodel.py, exit status != 0: 7.3130526188761 7.176962377 7.171403226 Calling exit ...