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.001248/0.001248, allocations: 113.9 kB / 17.61 MB, free: 4.684 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.001251/0.001251, allocations: 185.9 kB / 20.78 MB, free: 1.52 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.409/1.409, allocations: 225.6 MB / 249.4 MB, free: 3 MB / 190.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/IndustrialControlSystems 2.0.0/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IndustrialControlSystems 2.0.0/package.mo): time 0.06074/0.06074, allocations: 11.33 MB / 315.8 MB, free: 476 kB / 238.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/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: translateModel(IndustrialControlSystems.Controllers.Blocks.Examples.TestAntiWindupBlocks,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="IndustrialControlSystems_IndustrialControlSystems.Controllers.Blocks.Examples.TestAntiWindupBlocks") translateModel(IndustrialControlSystems.Controllers.Blocks.Examples.TestAntiWindupBlocks,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="IndustrialControlSystems_IndustrialControlSystems.Controllers.Blocks.Examples.TestAntiWindupBlocks") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.001936/0.001936, allocations: 62.67 kB / 440.6 MB, free: 38.34 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1173/0.1193, allocations: 54.84 MB / 495.5 MB, free: 8.797 MB / 350.1 MB Notification: Performance of NFInst.instantiate(IndustrialControlSystems.Controllers.Blocks.Examples.TestAntiWindupBlocks): time 0.002748/0.122, allocations: 1.929 MB / 497.4 MB, free: 7.266 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.001293/0.1233, allocations: 0.7553 MB / 498.1 MB, free: 6.672 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001376/0.1235, allocations: 18.59 kB / 498.2 MB, free: 6.66 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.000192/0.1237, allocations: 56.16 kB / 498.2 MB, free: 6.621 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.000105/0.1238, allocations: 58.34 kB / 498.3 MB, free: 6.582 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.000554/0.1243, allocations: 189.9 kB / 498.5 MB, free: 6.438 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0003912/0.1247, allocations: 284.7 kB / 498.7 MB, free: 6.27 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001515/0.1249, allocations: 32.77 kB / 498.8 MB, free: 6.246 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001482/0.125, allocations: 121.7 kB / 498.9 MB, free: 6.172 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002111/0.1252, allocations: 127.2 kB / 499 MB, free: 6.09 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 4.152e-05/0.1253, allocations: 16.5 kB / 499 MB, free: 6.09 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001487/0.1254, allocations: 96.77 kB / 499.1 MB, free: 6.043 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 8.714e-05/0.1255, allocations: 52.75 kB / 499.2 MB, free: 6.004 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 9.464e-05/0.1256, allocations: 108.3 kB / 499.3 MB, free: 5.918 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003352/0.1259, allocations: 276.9 kB / 499.5 MB, free: 5.723 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.142e-06/0.1259, allocations: 1.25 kB / 499.5 MB, free: 5.723 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.472e-06/0.1259, allocations: 0 / 499.5 MB, free: 5.723 MB / 350.1 MB Notification: Performance of Transformations before backend: time 7.304e-06/0.1259, allocations: 7.938 kB / 499.6 MB, free: 5.715 MB / 350.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.0008106/0.1267, allocations: 0.6132 MB / 0.4884 GB, free: 5.133 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.95e-05/0.1268, allocations: 9.281 kB / 0.4885 GB, free: 5.133 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.357e-05/0.1269, allocations: 36.81 kB / 0.4885 GB, free: 5.098 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004538/0.1273, allocations: 363.4 kB / 0.4888 GB, free: 4.707 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.342e-05/0.1274, allocations: 157.4 kB / 0.489 GB, free: 4.52 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.157e-05/0.1275, allocations: 24.12 kB / 0.489 GB, free: 4.496 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003073/0.1278, allocations: 212.5 kB / 0.4892 GB, free: 4.277 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.368e-05/0.1278, allocations: 4 kB / 0.4892 GB, free: 4.273 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.126e-05/0.1278, allocations: 8 kB / 0.4892 GB, free: 4.266 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.332e-06/0.1278, allocations: 4 kB / 0.4892 GB, free: 4.262 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001777/0.128, allocations: 115.6 kB / 0.4893 GB, free: 4.148 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0009624/0.1289, allocations: 0.7345 MB / 0.4901 GB, free: 3.359 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000236/0.1292, allocations: 106.5 kB / 0.4902 GB, free: 3.246 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 8.54e-05/0.1293, allocations: 56.83 kB / 0.4902 GB, free: 3.188 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.929e-05/0.1293, allocations: 0 / 0.4902 GB, free: 3.188 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001809/0.1295, allocations: 137.1 kB / 0.4903 GB, free: 3.035 MB / 350.1 MB Notification: Performance of pre-optimization done (n=16): time 1.513e-06/0.1295, allocations: 0 / 0.4903 GB, free: 3.035 MB / 350.1 MB Notification: Performance of matching and sorting (n=16): time 0.0004454/0.1299, allocations: 300.6 kB / 0.4906 GB, free: 2.73 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.207e-05/0.13, allocations: 89.05 kB / 0.4907 GB, free: 2.625 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002037/0.1302, allocations: 283.4 kB / 0.491 GB, free: 2.34 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 1.365e-05/0.1302, allocations: 25.81 kB / 0.491 GB, free: 2.309 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 7.823e-05/0.1303, allocations: 192.2 kB / 0.4912 GB, free: 2.117 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.885e-05/0.1303, allocations: 51.59 kB / 0.4912 GB, free: 2.066 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.38e-05/0.1303, allocations: 57.88 kB / 0.4913 GB, free: 2 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 6.041e-05/0.1304, allocations: 338.8 kB / 0.4916 GB, free: 1.66 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000101/0.1305, allocations: 68.48 kB / 0.4917 GB, free: 1.594 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001051/0.1306, allocations: 144.2 kB / 0.4918 GB, free: 1.414 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002022/0.1308, allocations: 290.1 kB / 0.4921 GB, free: 1.082 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.096e-06/0.1308, allocations: 4 kB / 0.4921 GB, free: 1.078 MB / 350.1 MB Notification: Performance of matching and sorting (n=33) (initialization): time 0.0003262/0.1311, allocations: 343 kB / 0.4924 GB, free: 0.7305 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.093e-05/0.1312, allocations: 37.69 kB / 0.4925 GB, free: 0.6875 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.612e-06/0.1312, allocations: 0 / 0.4925 GB, free: 0.6875 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.835e-05/0.1312, allocations: 8 kB / 0.4925 GB, free: 0.6797 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002115/0.1314, allocations: 55.91 kB / 0.4925 GB, free: 0.625 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.528e-06/0.1314, allocations: 4 kB / 0.4925 GB, free: 0.6211 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00011/0.1315, allocations: 31.72 kB / 0.4926 GB, free: 0.5898 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.725e-05/0.1316, allocations: 12 kB / 0.4926 GB, free: 0.5781 MB / 350.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.0001124/0.1317, allocations: 188 kB / 0.4927 GB, free: 388 kB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.8e-05/0.1317, allocations: 27.86 kB / 0.4928 GB, free: 360 kB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.262e-05/0.1317, allocations: 30.3 kB / 0.4928 GB, free: 328 kB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.274e-06/0.1317, allocations: 0 / 0.4928 GB, free: 328 kB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.161e-06/0.1317, allocations: 3.938 kB / 0.4928 GB, free: 324 kB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.348e-06/0.1317, allocations: 3.938 kB / 0.4928 GB, free: 320 kB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00069/0.1324, allocations: 0.6359 MB / 0.4934 GB, free: 15.61 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.903e-06/0.1324, allocations: 0 / 0.4934 GB, free: 15.61 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002339/0.1327, allocations: 36.02 kB / 0.4935 GB, free: 15.58 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.294e-06/0.1327, allocations: 3.938 kB / 0.4935 GB, free: 15.57 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.397e-05/0.1327, allocations: 11.94 kB / 0.4935 GB, free: 15.56 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.078e-06/0.1327, allocations: 3.938 kB / 0.4935 GB, free: 15.56 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.433e-06/0.1327, allocations: 0 / 0.4935 GB, free: 15.56 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005492/0.1333, allocations: 453.8 kB / 0.4939 GB, free: 15.09 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 7.454e-05/0.1333, allocations: 100.9 kB / 0.494 GB, free: 14.97 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.978e-05/0.1334, allocations: 12 kB / 0.494 GB, free: 14.96 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001074/0.1335, allocations: 7.984 kB / 0.494 GB, free: 14.95 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.898e-05/0.1335, allocations: 8 kB / 0.494 GB, free: 14.95 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.239e-05/0.1335, allocations: 7.984 kB / 0.4941 GB, free: 14.94 MB / 366.1 MB Notification: Performance of sorting global known variables: time 0.0001791/0.1337, allocations: 190 kB / 0.4942 GB, free: 14.75 MB / 366.1 MB Notification: Performance of sort global known variables: time 6e-08/0.1337, allocations: 0 / 0.4942 GB, free: 14.75 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.0003405/0.1341, allocations: 67.77 kB / 0.4943 GB, free: 14.68 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.0001987/0.1343, allocations: 131.2 kB / 0.4944 GB, free: 14.55 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.0004565/0.1347, allocations: 231.1 kB / 0.4946 GB, free: 14.31 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 2.304e-06/0.1347, allocations: 0 / 0.4946 GB, free: 14.31 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001497/0.1349, allocations: 123.3 kB / 0.4948 GB, free: 14.18 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003017/0.1352, allocations: 21.69 kB / 0.4948 GB, free: 14.16 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008963/0.1361, allocations: 0.511 MB / 0.4953 GB, free: 13.62 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004319/0.1365, allocations: 0.7595 MB / 0.496 GB, free: 12.83 MB / 366.1 MB Notification: Performance of simCode: alias equations: time 0.000101/0.1366, allocations: 34.22 kB / 0.4961 GB, free: 12.79 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.896e-05/0.1366, allocations: 23.44 kB / 0.4961 GB, free: 12.77 MB / 366.1 MB Notification: Performance of SimCode: time 5.91e-07/0.1366, allocations: 0 / 0.4961 GB, free: 12.77 MB / 366.1 MB Notification: Performance of Templates: time 0.005991/0.1426, allocations: 1.884 MB / 0.4979 GB, free: 10.93 MB / 366.1 MB " [Timeout remaining time 660] make -j1 -f IndustrialControlSystems_IndustrialControlSystems.Controllers.Blocks.Examples.TestAntiWindupBlocks.makefile [Timeout 660] (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 & ./IndustrialControlSystems_IndustrialControlSystems.Controllers.Blocks.Examples.TestAntiWindupBlocks -abortSlowSimulation -alarm=480 -lv LOG_STATS > IndustrialControlSystems_IndustrialControlSystems.Controllers.Blocks.Examples.TestAntiWindupBlocks.pipe 2>&1) [Timeout 480] [Calling sys.exit(0), Time elapsed: 4.706901794299483]