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.001403/0.001403, allocations: 113.9 kB / 18.94 MB, free: 2.93 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.001607/0.001607, allocations: 189 kB / 22.22 MB, free: 5.105 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.524/1.524, allocations: 225.6 MB / 251 MB, free: 13.02 MB / 206.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.09065/0.09065, allocations: 11.33 MB / 317.6 MB, free: 13.75 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/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.001972/0.001972, allocations: 67.89 kB / 443 MB, free: 6.383 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1331/0.1351, allocations: 54.88 MB / 497.9 MB, free: 15.4 MB / 366.1 MB Notification: Performance of NFInst.instantiate(IndustrialControlSystems.Controllers.Blocks.Examples.TestAntiWindupBlocks): time 0.003672/0.1387, allocations: 1.93 MB / 499.9 MB, free: 13.45 MB / 366.1 MB Notification: Performance of NFInst.instExpressions: time 0.002001/0.1407, allocations: 0.7521 MB / 0.4889 GB, free: 12.7 MB / 366.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001756/0.1409, allocations: 23.75 kB / 0.4889 GB, free: 12.67 MB / 366.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002818/0.1412, allocations: 67.5 kB / 0.489 GB, free: 12.61 MB / 366.1 MB Notification: Performance of NFTyping.typeBindings: time 0.000137/0.1413, allocations: 51.64 kB / 0.489 GB, free: 12.55 MB / 366.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0008665/0.1422, allocations: 194.9 kB / 0.4892 GB, free: 12.37 MB / 366.1 MB Notification: Performance of NFFlatten.flatten: time 0.0004434/0.1427, allocations: 283.3 kB / 0.4895 GB, free: 12.09 MB / 366.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001734/0.1428, allocations: 28.92 kB / 0.4895 GB, free: 12.06 MB / 366.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001877/0.143, allocations: 127.5 kB / 0.4896 GB, free: 11.93 MB / 366.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002798/0.1433, allocations: 123.4 kB / 0.4897 GB, free: 11.81 MB / 366.1 MB Notification: Performance of NFPackage.collectConstants: time 4.875e-05/0.1433, allocations: 20 kB / 0.4897 GB, free: 11.79 MB / 366.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002126/0.1436, allocations: 99.86 kB / 0.4898 GB, free: 11.7 MB / 366.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001287/0.1437, allocations: 51.77 kB / 0.4899 GB, free: 11.64 MB / 366.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001359/0.1438, allocations: 107.2 kB / 0.49 GB, free: 11.54 MB / 366.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0004984/0.1443, allocations: 286.6 kB / 0.4903 GB, free: 11.26 MB / 366.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.419e-06/0.1443, allocations: 0 / 0.4903 GB, free: 11.26 MB / 366.1 MB Notification: Performance of FrontEnd: time 1.593e-06/0.1443, allocations: 0 / 0.4903 GB, free: 11.26 MB / 366.1 MB Notification: Performance of Transformations before backend: time 8.195e-06/0.1443, allocations: 0 / 0.4903 GB, free: 11.26 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.001114/0.1454, allocations: 0.5337 MB / 0.4908 GB, free: 10.68 MB / 366.1 MB Notification: Performance of prepare preOptimizeDAE: time 6.418e-05/0.1455, allocations: 12.92 kB / 0.4908 GB, free: 10.67 MB / 366.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 9.737e-05/0.1456, allocations: 32.75 kB / 0.4908 GB, free: 10.64 MB / 366.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006869/0.1463, allocations: 295.8 kB / 0.4911 GB, free: 10.32 MB / 366.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001753/0.1465, allocations: 149.4 kB / 0.4913 GB, free: 10.14 MB / 366.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 7.194e-05/0.1465, allocations: 32.12 kB / 0.4913 GB, free: 10.11 MB / 366.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004309/0.147, allocations: 216.5 kB / 0.4915 GB, free: 9.891 MB / 366.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.655e-05/0.147, allocations: 0 / 0.4915 GB, free: 9.891 MB / 366.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.564e-05/0.147, allocations: 8 kB / 0.4915 GB, free: 9.883 MB / 366.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.588e-06/0.147, allocations: 4 kB / 0.4915 GB, free: 9.879 MB / 366.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000242/0.1473, allocations: 119.7 kB / 0.4916 GB, free: 9.762 MB / 366.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001309/0.1486, allocations: 0.7023 MB / 0.4923 GB, free: 9.012 MB / 366.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002698/0.1488, allocations: 98.53 kB / 0.4924 GB, free: 8.906 MB / 366.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001033/0.1489, allocations: 64.84 kB / 0.4925 GB, free: 8.84 MB / 366.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.407e-05/0.149, allocations: 0 / 0.4925 GB, free: 8.84 MB / 366.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002553/0.1492, allocations: 147.2 kB / 0.4926 GB, free: 8.68 MB / 366.1 MB Notification: Performance of pre-optimization done (n=16): time 1.272e-06/0.1492, allocations: 0 / 0.4926 GB, free: 8.68 MB / 366.1 MB Notification: Performance of matching and sorting (n=16): time 0.0005618/0.1498, allocations: 291.2 kB / 0.4929 GB, free: 8.383 MB / 366.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.975e-05/0.1499, allocations: 89.03 kB / 0.493 GB, free: 8.277 MB / 366.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003909/0.1502, allocations: 284.6 kB / 0.4932 GB, free: 7.988 MB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 3.066e-05/0.1503, allocations: 29.7 kB / 0.4933 GB, free: 7.953 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001898/0.1505, allocations: 184.3 kB / 0.4934 GB, free: 7.77 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 6.182e-05/0.1505, allocations: 55.58 kB / 0.4935 GB, free: 7.715 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001011/0.1506, allocations: 57.89 kB / 0.4935 GB, free: 7.648 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 0.0002518/0.1509, allocations: 342.8 kB / 0.4939 GB, free: 7.305 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001115/0.151, allocations: 60.48 kB / 0.4939 GB, free: 7.246 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002112/0.1512, allocations: 160 kB / 0.4941 GB, free: 7.051 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003896/0.1516, allocations: 284.4 kB / 0.4944 GB, free: 6.723 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.627e-06/0.1516, allocations: 0 / 0.4944 GB, free: 6.723 MB / 366.1 MB Notification: Performance of matching and sorting (n=33) (initialization): time 0.0004984/0.1521, allocations: 334.7 kB / 0.4947 GB, free: 6.383 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 5.316e-05/0.1522, allocations: 43.56 kB / 0.4947 GB, free: 6.336 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.417e-06/0.1522, allocations: 4 kB / 0.4947 GB, free: 6.332 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.879e-05/0.1522, allocations: 4.375 kB / 0.4947 GB, free: 6.328 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000251/0.1524, allocations: 55.91 kB / 0.4948 GB, free: 6.273 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.006e-05/0.1524, allocations: 7.938 kB / 0.4948 GB, free: 6.266 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001362/0.1526, allocations: 31.72 kB / 0.4948 GB, free: 6.234 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.266e-05/0.1526, allocations: 16 kB / 0.4948 GB, free: 6.219 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.0001969/0.1528, allocations: 182.9 kB / 0.495 GB, free: 6.027 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.89e-05/0.1528, allocations: 23.86 kB / 0.495 GB, free: 6.004 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.782e-05/0.1529, allocations: 30.23 kB / 0.4951 GB, free: 5.969 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.47e-06/0.1529, allocations: 4 kB / 0.4951 GB, free: 5.965 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.057e-06/0.1529, allocations: 7.875 kB / 0.4951 GB, free: 5.957 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.763e-06/0.1529, allocations: 7.922 kB / 0.4951 GB, free: 5.949 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0008867/0.1538, allocations: 0.5975 MB / 0.4957 GB, free: 5.293 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.733e-06/0.1538, allocations: 0 / 0.4957 GB, free: 5.293 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002548/0.1541, allocations: 35.97 kB / 0.4957 GB, free: 5.258 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.425e-06/0.1541, allocations: 32 / 0.4957 GB, free: 5.258 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.268e-05/0.1541, allocations: 15.94 kB / 0.4957 GB, free: 5.242 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.426e-05/0.1541, allocations: 4 kB / 0.4957 GB, free: 5.238 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.453e-06/0.1541, allocations: 0 / 0.4957 GB, free: 5.238 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006553/0.1547, allocations: 459 kB / 0.4962 GB, free: 4.77 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.273e-05/0.1548, allocations: 23.81 kB / 0.4962 GB, free: 4.746 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.57e-05/0.1548, allocations: 12 kB / 0.4962 GB, free: 4.734 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001076/0.1549, allocations: 4.125 kB / 0.4962 GB, free: 4.73 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.19e-05/0.155, allocations: 7.984 kB / 0.4962 GB, free: 4.723 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.098e-05/0.155, allocations: 16 kB / 0.4962 GB, free: 4.707 MB / 366.1 MB Notification: Performance of sorting global known variables: time 0.0002655/0.1553, allocations: 195.1 kB / 0.4964 GB, free: 4.516 MB / 366.1 MB Notification: Performance of sort global known variables: time 6e-08/0.1553, allocations: 0 / 0.4964 GB, free: 4.516 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.0003748/0.1557, allocations: 63.83 kB / 0.4965 GB, free: 4.453 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.0002024/0.1559, allocations: 123.2 kB / 0.4966 GB, free: 4.324 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.000409/0.1563, allocations: 239 kB / 0.4968 GB, free: 4.078 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 2.264e-06/0.1563, allocations: 0 / 0.4968 GB, free: 4.078 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001483/0.1564, allocations: 127.3 kB / 0.4969 GB, free: 3.941 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003286/0.1568, allocations: 24.66 kB / 0.497 GB, free: 3.918 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009251/0.1577, allocations: 0.5088 MB / 0.4974 GB, free: 3.379 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004278/0.1581, allocations: 0.7634 MB / 0.4982 GB, free: 2.59 MB / 366.1 MB Notification: Performance of simCode: alias equations: time 9.648e-05/0.1582, allocations: 30.28 kB / 0.4982 GB, free: 2.559 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.914e-05/0.1582, allocations: 23.38 kB / 0.4982 GB, free: 2.535 MB / 366.1 MB Notification: Performance of SimCode: time 3.01e-07/0.1582, allocations: 0 / 0.4982 GB, free: 2.535 MB / 366.1 MB Notification: Performance of Templates: time 0.00639/0.1646, allocations: 1.933 MB / 0.5001 GB, free: 0.6367 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.95184896979481] Failed to read output from testmodel.py, exit status != 0: 0.17311245296150446 0.18879288200000002 0.041335945000000006 Calling exit ... <OMPython.OMCSessionZMQ object at 0x7f467a2117b0>