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.001533/0.001533, allocations: 112.9 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.00217/0.00217, 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.56/1.56, 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.1094/0.1094, allocations: 24.03 MB / 333.6 MB, free: 1.586 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="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: 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.002099/0.002099, allocations: 71.11 kB / 466.3 MB, free: 32.75 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1061/0.1082, allocations: 59.54 MB / 0.5135 GB, free: 14.43 MB / 382.1 MB Notification: Performance of NFInst.instantiate(AES.Devel_test_models.Test_analogue_PI_awfb_full): time 0.003439/0.1116, allocations: 1.78 MB / 0.5152 GB, free: 12.64 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.0004237/0.112, allocations: 147.5 kB / 0.5154 GB, free: 12.49 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 9.697e-05/0.1121, allocations: 7.938 kB / 0.5154 GB, free: 12.48 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001304/0.1123, allocations: 23.73 kB / 0.5154 GB, free: 12.46 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001741/0.1124, allocations: 19.8 kB / 0.5154 GB, free: 12.44 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.0001355/0.1126, allocations: 51.94 kB / 0.5155 GB, free: 12.39 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002402/0.1128, allocations: 143.7 kB / 0.5156 GB, free: 12.25 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001549/0.113, allocations: 47.94 kB / 0.5157 GB, free: 12.2 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 8.2e-05/0.113, allocations: 63.72 kB / 0.5157 GB, free: 12.14 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001246/0.1132, allocations: 71.59 kB / 0.5158 GB, free: 12.07 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 3.272e-05/0.1132, allocations: 16 kB / 0.5158 GB, free: 12.05 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 2.216e-05/0.1132, allocations: 12 kB / 0.5158 GB, free: 12.04 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 4.136e-05/0.1133, allocations: 27.92 kB / 0.5159 GB, free: 12.02 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 7.194e-05/0.1133, allocations: 67.59 kB / 0.5159 GB, free: 11.95 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002316/0.1136, allocations: 135.3 kB / 0.516 GB, free: 11.82 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.056e-06/0.1136, allocations: 0 / 0.516 GB, free: 11.82 MB / 382.1 MB Notification: Performance of FrontEnd: time 1.052e-06/0.1136, allocations: 4 kB / 0.516 GB, free: 11.81 MB / 382.1 MB Notification: Performance of Transformations before backend: time 6.502e-06/0.1136, allocations: 0 / 0.516 GB, free: 11.81 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.0007295/0.1143, allocations: 442.9 kB / 0.5165 GB, free: 11.33 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.342e-05/0.1144, allocations: 12.62 kB / 0.5165 GB, free: 11.32 MB / 382.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 6.429e-05/0.1144, allocations: 46.73 kB / 0.5165 GB, free: 11.26 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.171e-05/0.1145, allocations: 16.84 kB / 0.5165 GB, free: 11.25 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002992/0.1148, allocations: 216 kB / 0.5167 GB, free: 11 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.692e-05/0.1148, allocations: 24.12 kB / 0.5168 GB, free: 10.97 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.809e-05/0.1149, allocations: 16.38 kB / 0.5168 GB, free: 10.96 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004031/0.1153, allocations: 150.1 kB / 0.5169 GB, free: 10.8 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.111e-05/0.1153, allocations: 3.938 kB / 0.5169 GB, free: 10.8 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.085e-05/0.1153, allocations: 8 kB / 0.5169 GB, free: 10.79 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.802e-06/0.1153, allocations: 7.938 kB / 0.5169 GB, free: 10.79 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004283/0.1157, allocations: 124.5 kB / 0.5171 GB, free: 10.66 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0009568/0.1167, allocations: 496.1 kB / 0.5175 GB, free: 10.13 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000311/0.117, allocations: 118.5 kB / 0.5177 GB, free: 10 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002231/0.1172, allocations: 68.81 kB / 0.5177 GB, free: 9.934 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.351e-05/0.1172, allocations: 4.344 kB / 0.5177 GB, free: 9.93 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.093e-05/0.1173, allocations: 34.5 kB / 0.5178 GB, free: 9.887 MB / 382.1 MB Notification: Performance of pre-optimization done (n=20): time 1.423e-06/0.1173, allocations: 0 / 0.5178 GB, free: 9.887 MB / 382.1 MB Notification: Performance of matching and sorting (n=20): time 0.0007517/0.118, allocations: 225.5 kB / 0.518 GB, free: 9.66 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.496e-05/0.1181, allocations: 55.41 kB / 0.518 GB, free: 9.594 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001354/0.1182, allocations: 145.6 kB / 0.5182 GB, free: 9.441 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 2.508e-05/0.1182, allocations: 29.7 kB / 0.5182 GB, free: 9.406 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 8.649e-05/0.1183, allocations: 112.5 kB / 0.5183 GB, free: 9.289 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 7.365e-05/0.1184, allocations: 79.36 kB / 0.5184 GB, free: 9.211 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 8.681e-05/0.1185, allocations: 41.7 kB / 0.5184 GB, free: 9.164 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 0.0001587/0.1186, allocations: 330.8 kB / 0.5187 GB, free: 8.832 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002309/0.1189, allocations: 55.95 kB / 0.5188 GB, free: 8.777 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002264/0.1191, allocations: 85.61 kB / 0.5189 GB, free: 8.688 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004124/0.1195, allocations: 137.6 kB / 0.519 GB, free: 8.547 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.004e-06/0.1195, allocations: 0 / 0.519 GB, free: 8.547 MB / 382.1 MB Notification: Performance of matching and sorting (n=26) (initialization): time 0.000524/0.12, allocations: 205.8 kB / 0.5192 GB, free: 8.34 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.546e-05/0.1201, allocations: 4 kB / 0.5192 GB, free: 8.336 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.789e-06/0.1201, allocations: 4 kB / 0.5192 GB, free: 8.332 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.422e-05/0.1201, allocations: 0 / 0.5192 GB, free: 8.332 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004646/0.1205, allocations: 63.92 kB / 0.5193 GB, free: 8.27 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.811e-06/0.1205, allocations: 0 / 0.5193 GB, free: 8.27 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001755/0.1207, allocations: 27.88 kB / 0.5193 GB, free: 8.242 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.947e-05/0.1207, allocations: 7.984 kB / 0.5193 GB, free: 8.234 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.0001424/0.1209, allocations: 130.8 kB / 0.5194 GB, free: 8.098 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.086e-05/0.1209, allocations: 11.89 kB / 0.5194 GB, free: 8.086 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005849/0.1215, allocations: 208.4 kB / 0.5196 GB, free: 7.875 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.119e-06/0.1215, allocations: 4 kB / 0.5196 GB, free: 7.871 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.959e-06/0.1215, allocations: 0 / 0.5196 GB, free: 7.871 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.148e-06/0.1215, allocations: 0 / 0.5196 GB, free: 7.871 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003284/0.1218, allocations: 253.5 kB / 0.5199 GB, free: 7.574 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.39e-06/0.1219, allocations: 7.984 kB / 0.5199 GB, free: 7.566 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000302/0.1222, allocations: 55.91 kB / 0.5199 GB, free: 7.512 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.05e-06/0.1222, allocations: 3.938 kB / 0.5199 GB, free: 7.508 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.019e-05/0.1222, allocations: 3.984 kB / 0.5199 GB, free: 7.504 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.487e-06/0.1222, allocations: 4 kB / 0.5199 GB, free: 7.5 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.61e-07/0.1222, allocations: 0 / 0.5199 GB, free: 7.5 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007949/0.123, allocations: 359.2 kB / 0.5203 GB, free: 7.133 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 6.277e-05/0.123, allocations: 92.95 kB / 0.5204 GB, free: 7.023 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.88e-05/0.1231, allocations: 8 kB / 0.5204 GB, free: 7.016 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001977/0.1233, allocations: 19.97 kB / 0.5204 GB, free: 6.996 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001001/0.1234, allocations: 35.95 kB / 0.5204 GB, free: 6.961 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.344e-05/0.1234, allocations: 7.938 kB / 0.5204 GB, free: 6.953 MB / 382.1 MB Notification: Performance of sorting global known variables: time 6.939e-05/0.1235, allocations: 93.38 kB / 0.5205 GB, free: 6.863 MB / 382.1 MB Notification: Performance of sort global known variables: time 8e-08/0.1235, allocations: 8 kB / 0.5205 GB, free: 6.855 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.0002743/0.1237, allocations: 35.89 kB / 0.5206 GB, free: 6.82 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.001155/0.1249, allocations: 0.8931 MB / 0.5215 GB, free: 5.902 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.0004941/0.1254, allocations: 149.8 kB / 0.5216 GB, free: 5.758 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 1.593e-06/0.1254, allocations: 0 / 0.5216 GB, free: 5.758 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0002218/0.1256, allocations: 75.91 kB / 0.5217 GB, free: 5.684 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003117/0.1259, allocations: 25.95 kB / 0.5217 GB, free: 5.66 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002971/0.1289, allocations: 1.97 MB / 0.5236 GB, free: 3.605 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004149/0.1293, allocations: 0.7279 MB / 0.5243 GB, free: 2.852 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 0.0001098/0.1294, allocations: 21.42 kB / 0.5243 GB, free: 2.832 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001115/0.1295, allocations: 51.42 kB / 0.5244 GB, free: 2.781 MB / 382.1 MB Notification: Performance of SimCode: time 3.11e-07/0.1295, allocations: 0 / 0.5244 GB, free: 2.781 MB / 382.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02931/0.1588, allocations: 3.525 MB / 0.5278 GB, free: 15.32 MB / 398.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 8.558/8.716, allocations: 9 kB / 0.5278 GB, free: 15.32 MB / 398.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 & python3 -m fmpy simulate --output-file AES_AES.Devel_test_models.Test_analogue_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_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: 11.802292912034318] Failed to read output from testmodel.py, exit status != 0: 8.785836203955114 8.807452599 8.689931299 Calling exit ...