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.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.00182/0.00182, allocations: 110.2 kB / 19.69 MB, free: 2.254 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.002475/0.002475, allocations: 211.8 kB / 23.01 MB, free: 4.57 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.427/1.427, allocations: 230.6 MB / 256.8 MB, free: 8.023 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.06412/0.06412, allocations: 11.35 MB / 324.5 MB, free: 8.242 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.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: 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: IndustrialControlSystems 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.00203/0.00203, allocations: 63.89 kB / 452.3 MB, free: 10.02 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1187/0.1207, allocations: 56.06 MB / 0.4965 GB, free: 1.852 MB / 366.1 MB Notification: Performance of NFInst.instantiate(IndustrialControlSystems.Controllers.Blocks.Examples.TestAntiWindupBlocks): time 0.003381/0.1241, allocations: 1.942 MB / 0.4983 GB, free: 15.89 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.001529/0.1256, allocations: 0.791 MB / 0.4991 GB, free: 15.1 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001305/0.1257, allocations: 27.75 kB / 0.4991 GB, free: 15.07 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002088/0.126, allocations: 55.56 kB / 0.4992 GB, free: 15.02 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001194/0.1261, allocations: 59.62 kB / 0.4993 GB, free: 14.96 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0006183/0.1267, allocations: 183.6 kB / 0.4994 GB, free: 14.78 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.0004262/0.1271, allocations: 279.4 kB / 0.4997 GB, free: 14.51 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001394/0.1273, allocations: 36.86 kB / 0.4997 GB, free: 14.47 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001595/0.1274, allocations: 123.5 kB / 0.4999 GB, free: 14.35 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.000243/0.1277, allocations: 127.4 kB / 0.5 GB, free: 14.22 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 3.683e-05/0.1277, allocations: 19.94 kB / 0.5 GB, free: 14.2 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001623/0.1279, allocations: 91.92 kB / 0.5001 GB, free: 14.11 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 9.266e-05/0.128, allocations: 51.77 kB / 0.5001 GB, free: 14.06 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001218/0.1281, allocations: 107.3 kB / 0.5002 GB, free: 13.96 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0004168/0.1285, allocations: 286.6 kB / 0.5005 GB, free: 13.68 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.19e-06/0.1285, allocations: 0 / 0.5005 GB, free: 13.68 MB / 382.1 MB Notification: Performance of FrontEnd: time 1.373e-06/0.1285, allocations: 0 / 0.5005 GB, free: 13.68 MB / 382.1 MB Notification: Performance of Transformations before backend: time 1.135e-05/0.1285, allocations: 4 kB / 0.5005 GB, free: 13.67 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: 43 * Number of variables: 43 Notification: Performance of Generate backend data structure: time 0.0009316/0.1294, allocations: 0.526 MB / 0.501 GB, free: 13.11 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.682e-05/0.1295, allocations: 12.03 kB / 0.501 GB, free: 13.09 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.772e-05/0.1296, allocations: 32.75 kB / 0.5011 GB, free: 13.06 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005884/0.1301, allocations: 303.8 kB / 0.5014 GB, free: 12.74 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001805/0.1303, allocations: 179.1 kB / 0.5015 GB, free: 12.53 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.246e-05/0.1304, allocations: 28.12 kB / 0.5016 GB, free: 12.5 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004139/0.1308, allocations: 224.4 kB / 0.5018 GB, free: 12.27 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.149e-05/0.1308, allocations: 0 / 0.5018 GB, free: 12.27 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.574e-05/0.1308, allocations: 12 kB / 0.5018 GB, free: 12.26 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.852e-06/0.1308, allocations: 4 kB / 0.5018 GB, free: 12.25 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002197/0.1311, allocations: 115.9 kB / 0.5019 GB, free: 12.14 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001444/0.1325, allocations: 0.6982 MB / 0.5026 GB, free: 11.39 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002402/0.1327, allocations: 98.55 kB / 0.5027 GB, free: 11.29 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001033/0.1328, allocations: 60.83 kB / 0.5027 GB, free: 11.23 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.529e-05/0.1329, allocations: 0 / 0.5027 GB, free: 11.23 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002216/0.1331, allocations: 147.7 kB / 0.5029 GB, free: 11.07 MB / 382.1 MB Notification: Performance of pre-optimization done (n=16): time 1.253e-06/0.1331, allocations: 0 / 0.5029 GB, free: 11.07 MB / 382.1 MB Notification: Performance of matching and sorting (n=16): time 0.000513/0.1336, allocations: 287.3 kB / 0.5031 GB, free: 10.77 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.911e-05/0.1337, allocations: 89.16 kB / 0.5032 GB, free: 10.67 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002926/0.134, allocations: 292.4 kB / 0.5035 GB, free: 10.38 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 2.591e-05/0.134, allocations: 29.7 kB / 0.5035 GB, free: 10.34 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001525/0.1341, allocations: 188.3 kB / 0.5037 GB, free: 10.15 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.799e-05/0.1342, allocations: 51.58 kB / 0.5038 GB, free: 10.1 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 8.344e-05/0.1343, allocations: 57.88 kB / 0.5038 GB, free: 10.04 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 0.0001698/0.1344, allocations: 338.8 kB / 0.5041 GB, free: 9.695 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001146/0.1346, allocations: 64.48 kB / 0.5042 GB, free: 9.633 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001828/0.1347, allocations: 149 kB / 0.5043 GB, free: 9.449 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003347/0.1351, allocations: 292.7 kB / 0.5046 GB, free: 9.113 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.524e-06/0.1351, allocations: 0 / 0.5046 GB, free: 9.113 MB / 382.1 MB Notification: Performance of matching and sorting (n=33) (initialization): time 0.0004723/0.1355, allocations: 339.2 kB / 0.5049 GB, free: 8.77 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 4.374e-05/0.1356, allocations: 33.7 kB / 0.505 GB, free: 8.73 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.015e-06/0.1356, allocations: 4 kB / 0.505 GB, free: 8.727 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.026e-05/0.1356, allocations: 7.984 kB / 0.505 GB, free: 8.719 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002318/0.1358, allocations: 51.86 kB / 0.505 GB, free: 8.668 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.403e-05/0.1359, allocations: 11.92 kB / 0.5051 GB, free: 8.656 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001289/0.136, allocations: 31.72 kB / 0.5051 GB, free: 8.625 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.332e-05/0.136, allocations: 16 kB / 0.5051 GB, free: 8.609 MB / 382.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.0001873/0.1362, allocations: 188.2 kB / 0.5053 GB, free: 8.41 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.734e-05/0.1362, allocations: 27.81 kB / 0.5053 GB, free: 8.383 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.065e-05/0.1363, allocations: 30.23 kB / 0.5053 GB, free: 8.348 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.99e-06/0.1363, allocations: 4 kB / 0.5053 GB, free: 8.344 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.183e-06/0.1363, allocations: 4 kB / 0.5053 GB, free: 8.34 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.07e-06/0.1363, allocations: 3.938 kB / 0.5053 GB, free: 8.336 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0007819/0.1371, allocations: 0.6014 MB / 0.5059 GB, free: 7.676 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.797e-06/0.1371, allocations: 7.969 kB / 0.5059 GB, free: 7.668 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002361/0.1373, allocations: 31.98 kB / 0.506 GB, free: 7.637 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.17e-06/0.1373, allocations: 4 kB / 0.506 GB, free: 7.633 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.411e-05/0.1374, allocations: 15.92 kB / 0.506 GB, free: 7.617 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.914e-06/0.1374, allocations: 0 / 0.506 GB, free: 7.617 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.92e-07/0.1374, allocations: 0 / 0.506 GB, free: 7.617 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005758/0.1379, allocations: 456 kB / 0.5064 GB, free: 7.148 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 3.686e-05/0.138, allocations: 27.83 kB / 0.5064 GB, free: 7.121 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.149e-05/0.138, allocations: 12 kB / 0.5065 GB, free: 7.109 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001058/0.1381, allocations: 4 kB / 0.5065 GB, free: 7.105 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.102e-05/0.1382, allocations: 11.98 kB / 0.5065 GB, free: 7.094 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.923e-05/0.1382, allocations: 4 kB / 0.5065 GB, free: 7.09 MB / 382.1 MB Notification: Performance of sorting global known variables: time 0.0001896/0.1384, allocations: 191.1 kB / 0.5067 GB, free: 6.902 MB / 382.1 MB Notification: Performance of sort global known variables: time 6e-08/0.1384, allocations: 0 / 0.5067 GB, free: 6.902 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.0003447/0.1387, allocations: 67.81 kB / 0.5067 GB, free: 6.836 MB / 382.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.0001978/0.1389, allocations: 131.1 kB / 0.5069 GB, free: 6.699 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.0003718/0.1393, allocations: 227.2 kB / 0.5071 GB, free: 6.465 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 2.054e-06/0.1393, allocations: 0 / 0.5071 GB, free: 6.465 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001431/0.1395, allocations: 123.3 kB / 0.5072 GB, free: 6.332 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003237/0.1398, allocations: 31.08 kB / 0.5072 GB, free: 6.305 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000907/0.1407, allocations: 0.5369 MB / 0.5077 GB, free: 5.73 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000446/0.1411, allocations: 0.7636 MB / 0.5085 GB, free: 4.938 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.651e-05/0.1412, allocations: 23.38 kB / 0.5085 GB, free: 4.914 MB / 382.1 MB Notification: Performance of SimCode: time 4.21e-07/0.1412, allocations: 3.938 kB / 0.5085 GB, free: 4.91 MB / 382.1 MB Notification: Performance of Templates: time 0.005473/0.1466, allocations: 2.979 MB / 0.5114 GB, free: 1.941 MB / 382.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: 7.329719089902937] Failed to read output from testmodel.py, exit status != 0: 0.15580905904062092 0.349445585 0.218246553 Calling exit ...