Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IndustrialControlSystems_IndustrialControlSystems.Controllers.Blocks.Examples.TestAntiWindupBlocks.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.001385/0.001385, allocations: 104.5 kB / 18.84 MB, free: 3.043 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.00158/0.00158, allocations: 189 kB / 22.1 MB, free: 5.148 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.464/1.464, allocations: 225.6 MB / 250.8 MB, free: 13.07 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/IndustrialControlSystems 2.0.0-master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IndustrialControlSystems 2.0.0-master/package.mo): time 0.06669/0.06669, allocations: 11.35 MB / 317.4 MB, free: 13.85 MB / 254.1 MB " [Timeout remaining time 180] Using package IndustrialControlSystems with version 2.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IndustrialControlSystems 2.0.0-master/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(IndustrialControlSystems.Controllers.Blocks.Examples.TestAntiWindupBlocks,fileNamePrefix="IndustrialControlSystems_IndustrialControlSystems_Controllers_Blocks_Examples_TestAntiWindupBlocks",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IndustrialControlSystems.Controllers.Blocks.Examples.TestAntiWindupBlocks,fileNamePrefix="IndustrialControlSystems_IndustrialControlSystems_Controllers_Blocks_Examples_TestAntiWindupBlocks",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.001926/0.001926, allocations: 67.88 kB / 442.2 MB, free: 7.102 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1065/0.1084, allocations: 54.88 MB / 497.1 MB, free: 120 kB / 350.1 MB Notification: Performance of NFInst.instantiate(IndustrialControlSystems.Controllers.Blocks.Examples.TestAntiWindupBlocks): time 0.003434/0.1119, allocations: 1.922 MB / 499 MB, free: 14.18 MB / 366.1 MB Notification: Performance of NFInst.instExpressions: time 0.001542/0.1134, allocations: 0.7559 MB / 499.8 MB, free: 13.42 MB / 366.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001288/0.1135, allocations: 23.75 kB / 499.8 MB, free: 13.39 MB / 366.1 MB Notification: Performance of NFTyping.typeComponents: time 0.000209/0.1138, allocations: 63.58 kB / 499.8 MB, free: 13.33 MB / 366.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001271/0.1139, allocations: 51.64 kB / 499.9 MB, free: 13.28 MB / 366.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0006358/0.1145, allocations: 202.8 kB / 0.4884 GB, free: 13.09 MB / 366.1 MB Notification: Performance of NFFlatten.flatten: time 0.0003683/0.1149, allocations: 279.3 kB / 0.4886 GB, free: 12.81 MB / 366.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001405/0.115, allocations: 32.92 kB / 0.4887 GB, free: 12.78 MB / 366.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001616/0.1152, allocations: 123.5 kB / 0.4888 GB, free: 12.66 MB / 366.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002624/0.1155, allocations: 123.4 kB / 0.4889 GB, free: 12.54 MB / 366.1 MB Notification: Performance of NFPackage.collectConstants: time 4.47e-05/0.1155, allocations: 16 kB / 0.4889 GB, free: 12.52 MB / 366.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001601/0.1157, allocations: 91.92 kB / 0.489 GB, free: 12.43 MB / 366.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001047/0.1158, allocations: 63.7 kB / 0.4891 GB, free: 12.37 MB / 366.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001176/0.1159, allocations: 107.2 kB / 0.4892 GB, free: 12.26 MB / 366.1 MB Notification: Performance of NFConvertDAE.convert: time 0.000423/0.1163, allocations: 279 kB / 0.4894 GB, free: 11.99 MB / 366.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.379e-06/0.1163, allocations: 0 / 0.4894 GB, free: 11.99 MB / 366.1 MB Notification: Performance of FrontEnd: time 2.264e-06/0.1163, allocations: 4 kB / 0.4894 GB, free: 11.98 MB / 366.1 MB Notification: Performance of Transformations before backend: time 8.226e-06/0.1163, allocations: 4 kB / 0.4894 GB, free: 11.98 MB / 366.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 43 * Number of variables: 43 Notification: Performance of Generate backend data structure: time 0.001002/0.1173, allocations: 0.5337 MB / 0.49 GB, free: 11.41 MB / 366.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.195e-05/0.1174, allocations: 8.031 kB / 0.49 GB, free: 11.4 MB / 366.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 6.925e-05/0.1174, allocations: 54.73 kB / 0.49 GB, free: 11.34 MB / 366.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.793e-05/0.1175, allocations: 32.75 kB / 0.4901 GB, free: 11.3 MB / 366.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006495/0.1182, allocations: 303.8 kB / 0.4903 GB, free: 10.98 MB / 366.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001821/0.1183, allocations: 149.4 kB / 0.4905 GB, free: 10.8 MB / 366.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 7.146e-05/0.1184, allocations: 27.92 kB / 0.4905 GB, free: 10.77 MB / 366.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004765/0.1189, allocations: 250.2 kB / 0.4907 GB, free: 10.51 MB / 366.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.32e-05/0.1189, allocations: 0 / 0.4907 GB, free: 10.51 MB / 366.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.529e-05/0.1189, allocations: 4 kB / 0.4908 GB, free: 10.51 MB / 366.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.013e-05/0.1189, allocations: 4 kB / 0.4908 GB, free: 10.5 MB / 366.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002633/0.1192, allocations: 153.3 kB / 0.4909 GB, free: 10.35 MB / 366.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001452/0.1207, allocations: 0.6945 MB / 0.4916 GB, free: 9.605 MB / 366.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003014/0.121, allocations: 128.2 kB / 0.4917 GB, free: 9.465 MB / 366.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001406/0.1211, allocations: 94.53 kB / 0.4918 GB, free: 9.363 MB / 366.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.614e-05/0.1211, allocations: 3.938 kB / 0.4918 GB, free: 9.359 MB / 366.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.00028/0.1214, allocations: 170.8 kB / 0.492 GB, free: 9.168 MB / 366.1 MB Notification: Performance of pre-optimization done (n=16): time 1.823e-06/0.1214, allocations: 0 / 0.492 GB, free: 9.168 MB / 366.1 MB Notification: Performance of matching and sorting (n=16): time 0.000619/0.122, allocations: 376.8 kB / 0.4923 GB, free: 8.777 MB / 366.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.904e-05/0.1221, allocations: 81.11 kB / 0.4924 GB, free: 8.68 MB / 366.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002825/0.1224, allocations: 288.6 kB / 0.4927 GB, free: 8.387 MB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 2.416e-05/0.1224, allocations: 25.7 kB / 0.4927 GB, free: 8.355 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001481/0.1225, allocations: 180.4 kB / 0.4929 GB, free: 8.176 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 5.316e-05/0.1226, allocations: 59.56 kB / 0.4929 GB, free: 8.117 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 8.76e-05/0.1227, allocations: 57.89 kB / 0.493 GB, free: 8.051 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 0.0001966/0.1229, allocations: 338.8 kB / 0.4933 GB, free: 7.711 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001294/0.123, allocations: 102.2 kB / 0.4934 GB, free: 7.605 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002141/0.1232, allocations: 181.8 kB / 0.4936 GB, free: 7.383 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003478/0.1236, allocations: 293.5 kB / 0.4939 GB, free: 7.047 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.355e-06/0.1236, allocations: 0 / 0.4939 GB, free: 7.047 MB / 366.1 MB Notification: Performance of matching and sorting (n=33) (initialization): time 0.0005501/0.1241, allocations: 380.7 kB / 0.4942 GB, free: 6.656 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 6.399e-05/0.1242, allocations: 40.83 kB / 0.4943 GB, free: 6.613 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.273e-05/0.1242, allocations: 11.92 kB / 0.4943 GB, free: 6.602 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.486e-05/0.1242, allocations: 4 kB / 0.4943 GB, free: 6.598 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002677/0.1245, allocations: 47.92 kB / 0.4943 GB, free: 6.551 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.736e-05/0.1245, allocations: 7.984 kB / 0.4943 GB, free: 6.543 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001441/0.1247, allocations: 31.72 kB / 0.4944 GB, free: 6.512 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.661e-05/0.1247, allocations: 16 kB / 0.4944 GB, free: 6.496 MB / 366.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 13 * Number of states: 0 () * Number of discrete variables: 12 (signal.nextEventScaled,signal.nextEvent,$PRE.signal.nextEvent,signal.last,signal.b,signal.a,$whenCondition1,complexPoles.TS_in,LeadLAG.TS_in,FirstOrder.TS_in,Integrator.TS_in,Gain.TS_in) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (28): * Single equations (assignments): 27 * 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 prepare postOptimizeDAE: time 0.0002334/0.1249, allocations: 187 kB / 0.4945 GB, free: 6.301 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.368e-05/0.125, allocations: 23.86 kB / 0.4946 GB, free: 6.277 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.774e-05/0.125, allocations: 30.17 kB / 0.4946 GB, free: 6.242 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.17e-05/0.125, allocations: 7.984 kB / 0.4946 GB, free: 6.234 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.951e-06/0.125, allocations: 0 / 0.4946 GB, free: 6.234 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.201e-06/0.1251, allocations: 3.938 kB / 0.4946 GB, free: 6.23 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0009622/0.126, allocations: 0.6343 MB / 0.4952 GB, free: 5.531 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.234e-06/0.126, allocations: 4.031 kB / 0.4952 GB, free: 5.527 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002619/0.1263, allocations: 35.97 kB / 0.4953 GB, free: 5.492 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.146e-06/0.1263, allocations: 0 / 0.4953 GB, free: 5.492 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.334e-05/0.1263, allocations: 11.94 kB / 0.4953 GB, free: 5.48 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.274e-06/0.1263, allocations: 0 / 0.4953 GB, free: 5.48 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.164e-06/0.1263, allocations: 3.938 kB / 0.4953 GB, free: 5.477 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006485/0.127, allocations: 0.512 MB / 0.4958 GB, free: 4.93 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 3.387e-05/0.127, allocations: 27.75 kB / 0.4958 GB, free: 4.902 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.748e-05/0.127, allocations: 8.062 kB / 0.4958 GB, free: 4.895 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000109/0.1271, allocations: 4 kB / 0.4958 GB, free: 4.891 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.719e-05/0.1272, allocations: 11.98 kB / 0.4958 GB, free: 4.879 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.104e-05/0.1272, allocations: 4.094 kB / 0.4958 GB, free: 4.875 MB / 366.1 MB Notification: Performance of sorting global known variables: time 0.0002005/0.1274, allocations: 199 kB / 0.496 GB, free: 4.68 MB / 366.1 MB Notification: Performance of sort global known variables: time 9e-08/0.1274, allocations: 0 / 0.496 GB, free: 4.68 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.0003579/0.1278, allocations: 63.83 kB / 0.4961 GB, free: 4.617 MB / 366.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * Number of states: 5 (Integrator.y,FirstOrder.Y,LeadLAG.uF,complexPoles.Y,complexPoles.dY) * Number of discrete variables: 6 ($whenCondition1,signal.a,signal.b,signal.last,signal.nextEvent,signal.nextEventScaled) * Number of discrete states: 6 (signal.nextEvent,signal.last,signal.nextEventScaled,signal.b,signal.a,$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.001052/0.1288, allocations: 1.089 MB / 0.4972 GB, free: 3.48 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.0004541/0.1293, allocations: 299.2 kB / 0.4974 GB, free: 3.164 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 2.585e-06/0.1293, allocations: 0 / 0.4974 GB, free: 3.164 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001873/0.1295, allocations: 165 kB / 0.4976 GB, free: 2.984 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003216/0.1298, allocations: 16.66 kB / 0.4976 GB, free: 2.969 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003594/0.1334, allocations: 3.022 MB / 0.5006 GB, free: 15.75 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004251/0.1338, allocations: 0.7712 MB / 0.5013 GB, free: 14.95 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 9.402e-05/0.1339, allocations: 26.28 kB / 0.5013 GB, free: 14.93 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001165/0.134, allocations: 79.42 kB / 0.5014 GB, free: 14.85 MB / 382.1 MB Notification: Performance of SimCode: time 1.032e-06/0.134, allocations: 0 / 0.5014 GB, free: 14.85 MB / 382.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03677/0.1708, allocations: 5.028 MB / 0.5063 GB, free: 9.996 MB / 382.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 11.3/11.47, allocations: 9.781 kB / 0.5063 GB, free: 9.992 MB / 382.1 MB " [Timeout remaining time 648] (rm -f IndustrialControlSystems_IndustrialControlSystems.Controllers.Blocks.Examples.TestAntiWindupBlocks.pipe ; mkfifo IndustrialControlSystems_IndustrialControlSystems.Controllers.Blocks.Examples.TestAntiWindupBlocks.pipe ; head -c 1048576 < IndustrialControlSystems_IndustrialControlSystems.Controllers.Blocks.Examples.TestAntiWindupBlocks.pipe >> ../files/IndustrialControlSystems_IndustrialControlSystems.Controllers.Blocks.Examples.TestAntiWindupBlocks.sim & python3 -m fmpy simulate --output-file IndustrialControlSystems_IndustrialControlSystems.Controllers.Blocks.Examples.TestAntiWindupBlocks_res.csv --start-time 0 --stop-time 80 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.032 IndustrialControlSystems_IndustrialControlSystems_Controllers_Blocks_Examples_TestAntiWindupBlocks.fmu > IndustrialControlSystems_IndustrialControlSystems.Controllers.Blocks.Examples.TestAntiWindupBlocks.pipe 2>&1) [Timeout 52.5] [Calling sys.exit(0), Time elapsed: 14.514358978020027] Failed to read output from testmodel.py, exit status != 0: 11.572730380110443 11.863534614 11.743667024 Calling exit ...