Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr AES_AES.Devel_test_models.Test_analogue_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.001359/0.001359, allocations: 117.1 kB / 17.16 MB, free: 5.895 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.001494/0.001494, allocations: 215 kB / 20.13 MB, free: 2.949 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.572/1.572, allocations: 230.6 MB / 253.5 MB, free: 15.1 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.1016/0.1016, allocations: 22.93 MB / 332.5 MB, free: 2.641 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_analogue_PI_awfb_full,fileNamePrefix="AES_AES_Devel_test_models_Test_analogue_PI_awfb_full",fmuType="cs",version="2.0",platforms={"static"}) "" <> buildModelFMU(AES.Devel_test_models.Test_analogue_PI_awfb_full,fileNamePrefix="AES_AES_Devel_test_models_Test_analogue_PI_awfb_full",fmuType="cs",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.002056/0.002056, allocations: 71.98 kB / 464.6 MB, free: 33.38 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1119/0.114, allocations: 59.26 MB / 0.5116 GB, free: 140 kB / 366.1 MB Notification: Performance of NFInst.instantiate(AES.Devel_test_models.Test_analogue_PI_awfb_full): time 0.003216/0.1172, allocations: 1.763 MB / 0.5133 GB, free: 14.36 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.0004492/0.1176, allocations: 151.4 kB / 0.5135 GB, free: 14.21 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001138/0.1178, allocations: 4 kB / 0.5135 GB, free: 14.21 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001426/0.1179, allocations: 19.73 kB / 0.5135 GB, free: 14.19 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001636/0.1181, allocations: 23.8 kB / 0.5135 GB, free: 14.16 MB / 382.1 MB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/AES main/ControlBlocks/AnalogueControllers/PI_awfb_full.mo:71:5-71:30:writable] Warning: Conditional component 'ovrMax' is used in a non-connect context. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/AES main/ControlBlocks/AnalogueControllers/PI_awfb_full.mo:77:5-77:30:writable] Warning: Conditional component 'ovrMin' is used in a non-connect context. Notification: Performance of NFTyping.typeClassSections: time 0.0001405/0.1182, allocations: 47.92 kB / 0.5136 GB, free: 14.12 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.000234/0.1184, allocations: 143.7 kB / 0.5137 GB, free: 13.98 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001669/0.1186, allocations: 51.94 kB / 0.5138 GB, free: 13.93 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 8.429e-05/0.1187, allocations: 59.77 kB / 0.5138 GB, free: 13.87 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001229/0.1188, allocations: 75.61 kB / 0.5139 GB, free: 13.79 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 2.933e-05/0.1188, allocations: 12 kB / 0.5139 GB, free: 13.78 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 3.691e-05/0.1189, allocations: 16 kB / 0.5139 GB, free: 13.77 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 4.64e-05/0.1189, allocations: 35.89 kB / 0.5139 GB, free: 13.73 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 7.338e-05/0.119, allocations: 63.59 kB / 0.514 GB, free: 13.67 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002236/0.1192, allocations: 131.3 kB / 0.5141 GB, free: 13.54 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.653e-06/0.1192, allocations: 3.984 kB / 0.5141 GB, free: 13.54 MB / 382.1 MB Notification: Performance of FrontEnd: time 1.994e-06/0.1192, allocations: 0 / 0.5141 GB, free: 13.54 MB / 382.1 MB Notification: Performance of Transformations before backend: time 1.091e-05/0.1192, allocations: 0 / 0.5141 GB, free: 13.54 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.0008118/0.12, allocations: 446.9 kB / 0.5146 GB, free: 13.05 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.799e-05/0.1201, allocations: 8.625 kB / 0.5146 GB, free: 13.04 MB / 382.1 MB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 2.14e-05/0.1201, allocations: 7.938 kB / 0.5146 GB, free: 13.03 MB / 382.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.927e-05/0.1202, allocations: 54.67 kB / 0.5146 GB, free: 12.97 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.841e-05/0.1202, allocations: 16.84 kB / 0.5146 GB, free: 12.95 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003049/0.1205, allocations: 212.1 kB / 0.5148 GB, free: 12.71 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.924e-05/0.1206, allocations: 12.38 kB / 0.5149 GB, free: 12.7 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.021e-05/0.1206, allocations: 24.38 kB / 0.5149 GB, free: 12.67 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004209/0.121, allocations: 149.9 kB / 0.515 GB, free: 12.52 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.281e-05/0.1211, allocations: 7.938 kB / 0.515 GB, free: 12.51 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.219e-05/0.1211, allocations: 8 kB / 0.515 GB, free: 12.5 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.021e-05/0.1211, allocations: 11.92 kB / 0.5151 GB, free: 12.49 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004089/0.1215, allocations: 124.3 kB / 0.5152 GB, free: 12.37 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0009139/0.1224, allocations: 492.3 kB / 0.5156 GB, free: 11.84 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003041/0.1227, allocations: 114.5 kB / 0.5157 GB, free: 11.72 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.000223/0.1229, allocations: 72.8 kB / 0.5158 GB, free: 11.64 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.937e-05/0.123, allocations: 12.28 kB / 0.5158 GB, free: 11.63 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.125e-05/0.123, allocations: 30.56 kB / 0.5159 GB, free: 11.59 MB / 382.1 MB Notification: Performance of pre-optimization done (n=20): time 1.393e-06/0.123, allocations: 0 / 0.5159 GB, free: 11.59 MB / 382.1 MB Notification: Performance of matching and sorting (n=20): time 0.0007636/0.1238, allocations: 231.3 kB / 0.5161 GB, free: 11.36 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.29e-05/0.1238, allocations: 59.39 kB / 0.5161 GB, free: 11.29 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001407/0.124, allocations: 139.6 kB / 0.5163 GB, free: 11.15 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 2.69e-05/0.124, allocations: 29.7 kB / 0.5163 GB, free: 11.11 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 8.336e-05/0.1241, allocations: 112.5 kB / 0.5164 GB, free: 11 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 7.513e-05/0.1241, allocations: 67.39 kB / 0.5165 GB, free: 10.93 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 8.552e-05/0.1242, allocations: 49.7 kB / 0.5165 GB, free: 10.88 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 0.000158/0.1244, allocations: 326.8 kB / 0.5168 GB, free: 10.55 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002281/0.1246, allocations: 59.97 kB / 0.5169 GB, free: 10.49 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002239/0.1248, allocations: 85.61 kB / 0.517 GB, free: 10.4 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004041/0.1252, allocations: 137.5 kB / 0.5171 GB, free: 10.26 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.924e-06/0.1253, allocations: 0 / 0.5171 GB, free: 10.26 MB / 382.1 MB Notification: Performance of matching and sorting (n=26) (initialization): time 0.0005146/0.1258, allocations: 205.8 kB / 0.5173 GB, free: 10.05 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.55e-05/0.1258, allocations: 4 kB / 0.5173 GB, free: 10.05 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.584e-06/0.1258, allocations: 3.984 kB / 0.5173 GB, free: 10.04 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.618e-05/0.1258, allocations: 4 kB / 0.5173 GB, free: 10.04 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004486/0.1263, allocations: 59.94 kB / 0.5174 GB, free: 9.98 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.652e-06/0.1263, allocations: 4 kB / 0.5174 GB, free: 9.977 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000171/0.1264, allocations: 27.86 kB / 0.5174 GB, free: 9.949 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.927e-05/0.1264, allocations: 8 kB / 0.5174 GB, free: 9.941 MB / 382.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 2 * Number of states: 0 () * Number of discrete variables: 5 (ts.y,C.LOsat,C.HIsat,C.noDec,C.noInc) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (26): * Single equations (assignments): 26 * 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.0001261/0.1266, allocations: 122.6 kB / 0.5175 GB, free: 9.812 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.315e-05/0.1266, allocations: 19.89 kB / 0.5175 GB, free: 9.793 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005927/0.1272, allocations: 206.3 kB / 0.5177 GB, free: 9.582 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.761e-06/0.1272, allocations: 4 kB / 0.5177 GB, free: 9.578 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.218e-06/0.1272, allocations: 0 / 0.5177 GB, free: 9.578 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.334e-06/0.1272, allocations: 3.984 kB / 0.5177 GB, free: 9.574 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000332/0.1276, allocations: 257.4 kB / 0.518 GB, free: 9.273 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.392e-06/0.1276, allocations: 0 / 0.518 GB, free: 9.273 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002906/0.1279, allocations: 47.91 kB / 0.518 GB, free: 9.227 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.033e-05/0.1279, allocations: 7.938 kB / 0.518 GB, free: 9.219 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.062e-05/0.1279, allocations: 4 kB / 0.518 GB, free: 9.215 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.434e-06/0.1279, allocations: 0 / 0.518 GB, free: 9.215 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.483e-06/0.1279, allocations: 3.938 kB / 0.518 GB, free: 9.211 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008224/0.1287, allocations: 369.1 kB / 0.5184 GB, free: 8.836 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 6.924e-05/0.1288, allocations: 96.89 kB / 0.5185 GB, free: 8.723 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.022e-05/0.1288, allocations: 4.062 kB / 0.5185 GB, free: 8.719 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001966/0.129, allocations: 19.97 kB / 0.5185 GB, free: 8.699 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.544e-05/0.1291, allocations: 27.95 kB / 0.5185 GB, free: 8.672 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.808e-05/0.1291, allocations: 8 kB / 0.5185 GB, free: 8.664 MB / 382.1 MB Notification: Performance of sorting global known variables: time 8.302e-05/0.1292, allocations: 95.27 kB / 0.5186 GB, free: 8.57 MB / 382.1 MB Notification: Performance of sort global known variables: time 7.1e-08/0.1292, allocations: 0 / 0.5186 GB, free: 8.57 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.0002769/0.1295, allocations: 43.89 kB / 0.5187 GB, free: 8.527 MB / 382.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 5 (C.xfb,C.xBias,C.u,C.csfil,P.y) * Number of discrete variables: 5 (C.noInc,C.noDec,C.HIsat,C.LOsat,ts.y) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (21): * Single equations (assignments): 21 * 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.001109/0.1306, allocations: 0.8892 MB / 0.5196 GB, free: 7.613 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.0004873/0.1311, allocations: 147.9 kB / 0.5197 GB, free: 7.469 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 2.184e-06/0.1311, allocations: 0 / 0.5197 GB, free: 7.469 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0002211/0.1313, allocations: 85.7 kB / 0.5198 GB, free: 7.387 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003472/0.1317, allocations: 15.7 kB / 0.5198 GB, free: 7.375 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002966/0.1346, allocations: 1.977 MB / 0.5217 GB, free: 5.312 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004073/0.135, allocations: 0.7279 MB / 0.5224 GB, free: 4.559 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 0.0001067/0.1351, allocations: 21.42 kB / 0.5225 GB, free: 4.539 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001113/0.1352, allocations: 51.42 kB / 0.5225 GB, free: 4.488 MB / 382.1 MB Notification: Performance of SimCode: time 4.51e-07/0.1352, allocations: 0 / 0.5225 GB, free: 4.488 MB / 382.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02118/0.1564, allocations: 3.565 MB / 0.526 GB, free: 1.004 MB / 382.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 8.79/8.946, allocations: 15.22 kB / 0.526 GB, free: 0.9922 MB / 382.1 MB " [Timeout remaining time 651] (rm -f AES_AES.Devel_test_models.Test_analogue_PI_awfb_full.pipe ; mkfifo AES_AES.Devel_test_models.Test_analogue_PI_awfb_full.pipe ; head -c 1048576 < AES_AES.Devel_test_models.Test_analogue_PI_awfb_full.pipe >> ../files/AES_AES.Devel_test_models.Test_analogue_PI_awfb_full.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_AES_AES_Devel_test_models_Test_analogue_PI_awfb_full_fmu --startTime=0 --stopTime=120 --stepSize=0.2 --timeout=50 --tolerance=1e-06 AES_AES_Devel_test_models_Test_analogue_PI_awfb_full.fmu > AES_AES.Devel_test_models.Test_analogue_PI_awfb_full.pipe 2>&1) [Timeout 52.5] [Calling os._exit(0), Time elapsed: 11.780688692000695] Failed to read output from testmodel.py, exit status != 0: 9.076611934986431 9.102233837 8.977915446 Calling exit ...