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.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.001245/0.001245, allocations: 106 kB / 16.45 MB, free: 6.039 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.001263/0.001263, allocations: 196.5 kB / 19.41 MB, free: 3.535 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.336/1.336, allocations: 225.6 MB / 247.8 MB, free: 13.96 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.097/0.097, allocations: 22.69 MB / 325.4 MB, free: 3.566 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_analogue_PI_awfb_full,fileNamePrefix="AES_AES_Devel_test_models_Test_analogue_PI_awfb_full",fmuType="me",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="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.001855/0.001855, allocations: 63.91 kB / 455.1 MB, free: 3.887 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.111/0.1128, allocations: 58.02 MB / 0.501 GB, free: 9.758 MB / 382.1 MB Notification: Performance of NFInst.instantiate(AES.Devel_test_models.Test_analogue_PI_awfb_full): time 0.003381/0.1162, allocations: 1.749 MB / 0.5028 GB, free: 7.996 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.0004699/0.1167, allocations: 151.5 kB / 0.5029 GB, free: 7.848 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001138/0.1168, allocations: 3.938 kB / 0.5029 GB, free: 7.844 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001315/0.1169, allocations: 19.8 kB / 0.5029 GB, free: 7.824 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001679/0.1171, allocations: 23.8 kB / 0.5029 GB, free: 7.801 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.0001519/0.1172, allocations: 51.92 kB / 0.503 GB, free: 7.75 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.000214/0.1175, allocations: 147.6 kB / 0.5031 GB, free: 7.605 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.000164/0.1176, allocations: 47.94 kB / 0.5032 GB, free: 7.555 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 8.769e-05/0.1177, allocations: 59.77 kB / 0.5032 GB, free: 7.496 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001144/0.1178, allocations: 67.69 kB / 0.5033 GB, free: 7.43 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 3.154e-05/0.1179, allocations: 12 kB / 0.5033 GB, free: 7.418 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 2.218e-05/0.1179, allocations: 16 kB / 0.5033 GB, free: 7.402 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 4.122e-05/0.1179, allocations: 35.78 kB / 0.5034 GB, free: 7.367 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 7.569e-05/0.118, allocations: 75.58 kB / 0.5034 GB, free: 7.293 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002099/0.1182, allocations: 131.3 kB / 0.5036 GB, free: 7.164 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.128e-06/0.1182, allocations: 0 / 0.5036 GB, free: 7.164 MB / 382.1 MB Notification: Performance of FrontEnd: time 1.503e-06/0.1182, allocations: 0 / 0.5036 GB, free: 7.164 MB / 382.1 MB Notification: Performance of Transformations before backend: time 6.903e-06/0.1182, allocations: 0 / 0.5036 GB, free: 7.164 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.0006926/0.1189, allocations: 446.9 kB / 0.504 GB, free: 6.676 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.718e-05/0.1189, allocations: 8.031 kB / 0.504 GB, free: 6.668 MB / 382.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 6.457e-05/0.119, allocations: 50.73 kB / 0.504 GB, free: 6.609 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.776e-05/0.1191, allocations: 24.84 kB / 0.5041 GB, free: 6.586 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003326/0.1194, allocations: 204.1 kB / 0.5043 GB, free: 6.348 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.185e-05/0.1194, allocations: 16.38 kB / 0.5043 GB, free: 6.332 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.417e-05/0.1195, allocations: 20.33 kB / 0.5043 GB, free: 6.312 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003684/0.1198, allocations: 153.7 kB / 0.5044 GB, free: 6.156 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.52e-05/0.1198, allocations: 3.938 kB / 0.5044 GB, free: 6.152 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.408e-05/0.1199, allocations: 12 kB / 0.5045 GB, free: 6.141 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.918e-06/0.1199, allocations: 7.984 kB / 0.5045 GB, free: 6.133 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000353/0.1202, allocations: 127.8 kB / 0.5046 GB, free: 6.008 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008861/0.1211, allocations: 492.3 kB / 0.5051 GB, free: 5.477 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002746/0.1214, allocations: 114.5 kB / 0.5052 GB, free: 5.355 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001858/0.1216, allocations: 72.75 kB / 0.5052 GB, free: 5.281 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.78e-05/0.1216, allocations: 4 kB / 0.5052 GB, free: 5.277 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.285e-05/0.1216, allocations: 38.44 kB / 0.5053 GB, free: 5.23 MB / 382.1 MB Notification: Performance of pre-optimization done (n=20): time 1.423e-06/0.1216, allocations: 0 / 0.5053 GB, free: 5.23 MB / 382.1 MB Notification: Performance of matching and sorting (n=20): time 0.0006863/0.1223, allocations: 227 kB / 0.5055 GB, free: 5.004 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.452e-05/0.1224, allocations: 55.41 kB / 0.5055 GB, free: 4.938 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001211/0.1225, allocations: 129.8 kB / 0.5057 GB, free: 4.801 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 2.768e-05/0.1225, allocations: 33.64 kB / 0.5057 GB, free: 4.762 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 7.678e-05/0.1226, allocations: 120.5 kB / 0.5058 GB, free: 4.641 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 5.949e-05/0.1227, allocations: 75.42 kB / 0.5059 GB, free: 4.566 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.733e-05/0.1227, allocations: 41.7 kB / 0.5059 GB, free: 4.52 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 0.0001568/0.1229, allocations: 326.8 kB / 0.5062 GB, free: 4.191 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001881/0.1231, allocations: 55.95 kB / 0.5063 GB, free: 4.137 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000213/0.1233, allocations: 81.67 kB / 0.5064 GB, free: 4.051 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003473/0.1236, allocations: 142 kB / 0.5065 GB, free: 3.906 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.914e-06/0.1236, allocations: 0 / 0.5065 GB, free: 3.906 MB / 382.1 MB Notification: Performance of matching and sorting (n=26) (initialization): time 0.0004616/0.1241, allocations: 205.3 kB / 0.5067 GB, free: 3.699 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.622e-05/0.1241, allocations: 8.031 kB / 0.5067 GB, free: 3.691 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.494e-06/0.1241, allocations: 4 kB / 0.5067 GB, free: 3.688 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.344e-05/0.1241, allocations: 0 / 0.5067 GB, free: 3.688 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004115/0.1246, allocations: 55.95 kB / 0.5068 GB, free: 3.633 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.073e-06/0.1246, allocations: 0 / 0.5068 GB, free: 3.633 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001545/0.1247, allocations: 31.81 kB / 0.5068 GB, free: 3.602 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.827e-05/0.1247, allocations: 7.984 kB / 0.5068 GB, free: 3.594 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.0001175/0.1249, allocations: 134.6 kB / 0.5069 GB, free: 3.453 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.14e-05/0.1249, allocations: 15.84 kB / 0.5069 GB, free: 3.438 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005173/0.1254, allocations: 209.4 kB / 0.5071 GB, free: 3.227 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.951e-06/0.1254, allocations: 4 kB / 0.5071 GB, free: 3.223 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.077e-06/0.1254, allocations: 0 / 0.5071 GB, free: 3.223 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.137e-06/0.1254, allocations: 0 / 0.5071 GB, free: 3.223 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003027/0.1257, allocations: 253.5 kB / 0.5074 GB, free: 2.926 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.535e-06/0.1257, allocations: 4 kB / 0.5074 GB, free: 2.922 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002848/0.126, allocations: 47.97 kB / 0.5074 GB, free: 2.875 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.841e-06/0.126, allocations: 3.938 kB / 0.5074 GB, free: 2.871 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.773e-05/0.126, allocations: 3.984 kB / 0.5074 GB, free: 2.867 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.088e-06/0.126, allocations: 4 kB / 0.5075 GB, free: 2.863 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.012e-06/0.126, allocations: 3.938 kB / 0.5075 GB, free: 2.859 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006762/0.1267, allocations: 355.3 kB / 0.5078 GB, free: 2.496 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 6.691e-05/0.1268, allocations: 97.02 kB / 0.5079 GB, free: 2.383 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.848e-05/0.1268, allocations: 8.062 kB / 0.5079 GB, free: 2.375 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001687/0.127, allocations: 19.92 kB / 0.5079 GB, free: 2.355 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.244e-05/0.1271, allocations: 39.94 kB / 0.508 GB, free: 2.316 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.195e-05/0.1271, allocations: 11.94 kB / 0.508 GB, free: 2.305 MB / 382.1 MB Notification: Performance of sorting global known variables: time 6.987e-05/0.1272, allocations: 94.08 kB / 0.5081 GB, free: 2.215 MB / 382.1 MB Notification: Performance of sort global known variables: time 8e-08/0.1272, allocations: 4 kB / 0.5081 GB, free: 2.211 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.0002579/0.1274, allocations: 31.94 kB / 0.5081 GB, free: 2.18 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.00102/0.1284, allocations: 0.8932 MB / 0.509 GB, free: 1.262 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.0004421/0.1289, allocations: 152.1 kB / 0.5091 GB, free: 1.113 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 2.244e-06/0.1289, allocations: 0 / 0.5091 GB, free: 1.113 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0002076/0.1291, allocations: 81.66 kB / 0.5092 GB, free: 1.035 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003051/0.1294, allocations: 30.2 kB / 0.5092 GB, free: 1.008 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.21/0.3394, allocations: 1.961 MB / 0.5111 GB, free: 14.43 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001679/0.3396, allocations: 0.7223 MB / 0.5118 GB, free: 13.73 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 0.0001182/0.3397, allocations: 22.55 kB / 0.5119 GB, free: 13.73 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001024/0.3398, allocations: 50.89 kB / 0.5119 GB, free: 13.72 MB / 382.1 MB Notification: Performance of SimCode: time 1.493e-06/0.3398, allocations: 0.5938 kB / 0.5119 GB, free: 13.72 MB / 382.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0276/0.3674, allocations: 3.535 MB / 0.5154 GB, free: 13.34 MB / 382.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 7.744/8.111, allocations: 8.484 kB / 0.5154 GB, free: 13.34 MB / 382.1 MB " [Timeout remaining time 652] (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 sys.exit(0), Time elapsed: 10.48633393086493] Failed to read output from testmodel.py, exit status != 0: 8.191124517004937 8.208588539 8.086984397 Calling exit ...