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.001206/0.001206, allocations: 83.03 kB / 19.18 MB, free: 2.516 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.001658/0.001658, allocations: 161.3 kB / 22.46 MB, free: 5.375 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.505/1.505, allocations: 177.1 MB / 202.8 MB, free: 9.148 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.06217/0.06217, allocations: 8.606 MB / 267.8 MB, free: 8.547 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: Performance of FrontEnd - loaded program: time 1.513e-06/1.513e-06, allocations: 0 / 395.6 MB, free: 6.645 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.901e-05/3.052e-05, allocations: 2.281 kB / 395.6 MB, free: 6.641 MB / 318.1 MB Notification: Performance of NFInst.instantiate(IndustrialControlSystems.Controllers.Blocks.Examples.TestAntiWindupBlocks): time 0.003513/0.003543, allocations: 1.833 MB / 397.4 MB, free: 4.789 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.00158/0.005123, allocations: 0.7402 MB / 398.2 MB, free: 4.047 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001784/0.005301, allocations: 27.75 kB / 398.2 MB, free: 4.02 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003528/0.005654, allocations: 55.56 kB / 398.2 MB, free: 3.965 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001618/0.005816, allocations: 63.56 kB / 398.3 MB, free: 3.902 MB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0007431/0.006559, allocations: 186.9 kB / 398.5 MB, free: 3.723 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 0.0004304/0.006989, allocations: 291.2 kB / 398.8 MB, free: 3.438 MB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001305/0.00712, allocations: 32.84 kB / 398.8 MB, free: 3.41 MB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002187/0.007338, allocations: 167.5 kB / 399 MB, free: 3.246 MB / 318.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002268/0.007565, allocations: 99.72 kB / 399.1 MB, free: 3.148 MB / 318.1 MB Notification: Performance of NFPackage.collectConstants: time 4.26e-05/0.007608, allocations: 16 kB / 399.1 MB, free: 3.133 MB / 318.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001614/0.007769, allocations: 83.88 kB / 399.2 MB, free: 3.051 MB / 318.1 MB Notification: Performance of NFScalarize.scalarize: time 9.899e-05/0.007868, allocations: 55.81 kB / 399.2 MB, free: 2.996 MB / 318.1 MB Notification: Performance of NFVerifyModel.verify: time 9.533e-05/0.007963, allocations: 63.75 kB / 399.3 MB, free: 2.934 MB / 318.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0004088/0.008372, allocations: 290.9 kB / 399.6 MB, free: 2.648 MB / 318.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.801e-06/0.008378, allocations: 4 kB / 399.6 MB, free: 2.645 MB / 318.1 MB Notification: Performance of FrontEnd: time 9.52e-07/0.008379, allocations: 4 kB / 399.6 MB, free: 2.641 MB / 318.1 MB Notification: Performance of Transformations before backend: time 9.718e-06/0.008389, allocations: 0 / 399.6 MB, free: 2.641 MB / 318.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.00114/0.009528, allocations: 0.5325 MB / 400.1 MB, free: 2.07 MB / 318.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.592e-05/0.009574, allocations: 8.031 kB / 400.1 MB, free: 2.062 MB / 318.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001114/0.009686, allocations: 36.75 kB / 400.1 MB, free: 2.027 MB / 318.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006484/0.01033, allocations: 291.1 kB / 400.4 MB, free: 1.715 MB / 318.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002224/0.01056, allocations: 179.1 kB / 400.6 MB, free: 1.5 MB / 318.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.276e-05/0.01061, allocations: 24.36 kB / 400.6 MB, free: 1.477 MB / 318.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004466/0.01106, allocations: 258.7 kB / 400.9 MB, free: 1.207 MB / 318.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.686e-05/0.01107, allocations: 7.875 kB / 400.9 MB, free: 1.199 MB / 318.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.306e-05/0.0111, allocations: 4 kB / 400.9 MB, free: 1.195 MB / 318.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.586e-06/0.0111, allocations: 4 kB / 400.9 MB, free: 1.191 MB / 318.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002505/0.01135, allocations: 145.2 kB / 401 MB, free: 1.043 MB / 318.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001213/0.01257, allocations: 0.6365 MB / 401.7 MB, free: 380 kB / 318.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002782/0.01285, allocations: 132.2 kB / 401.8 MB, free: 232 kB / 318.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001253/0.01297, allocations: 94.53 kB / 401.9 MB, free: 128 kB / 318.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.059e-05/0.01298, allocations: 0 / 401.9 MB, free: 128 kB / 318.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003052/0.01329, allocations: 174.7 kB / 402.1 MB, free: 15.93 MB / 334.1 MB Notification: Performance of pre-optimization done (n=16): time 1.443e-06/0.01329, allocations: 3.938 kB / 402.1 MB, free: 15.93 MB / 334.1 MB Notification: Performance of matching and sorting (n=16): time 0.0006943/0.01398, allocations: 369.6 kB / 402.4 MB, free: 15.54 MB / 334.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.768e-05/0.01404, allocations: 81.11 kB / 402.5 MB, free: 15.45 MB / 334.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003712/0.01441, allocations: 288.6 kB / 402.8 MB, free: 15.15 MB / 334.1 MB Notification: Performance of collectPreVariables (initialization): time 5.464e-05/0.01447, allocations: 25.7 kB / 402.8 MB, free: 15.12 MB / 334.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001662/0.01463, allocations: 184.3 kB / 403 MB, free: 14.94 MB / 334.1 MB Notification: Performance of collectInitialBindings (initialization): time 9.369e-05/0.01473, allocations: 55.58 kB / 403 MB, free: 14.88 MB / 334.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 8.912e-05/0.01482, allocations: 53.94 kB / 403.1 MB, free: 14.82 MB / 334.1 MB Notification: Performance of setup shared object (initialization): time 0.0001616/0.01498, allocations: 342.8 kB / 403.4 MB, free: 14.48 MB / 334.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001377/0.01511, allocations: 94.19 kB / 403.5 MB, free: 14.38 MB / 334.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002084/0.01532, allocations: 194.3 kB / 403.7 MB, free: 14.14 MB / 334.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003453/0.01567, allocations: 293.2 kB / 404 MB, free: 13.81 MB / 334.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.251e-06/0.01567, allocations: 12 kB / 404 MB, free: 13.8 MB / 334.1 MB Notification: Performance of matching and sorting (n=33) (initialization): time 0.0005507/0.01622, allocations: 368.5 kB / 404.4 MB, free: 13.42 MB / 334.1 MB Notification: Performance of prepare postOptimizeDAE: time 4.321e-05/0.01627, allocations: 41.64 kB / 404.4 MB, free: 13.37 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.764e-06/0.01628, allocations: 4 kB / 404.4 MB, free: 13.37 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.66e-05/0.01629, allocations: 4 kB / 404.4 MB, free: 13.36 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002452/0.01654, allocations: 60.27 kB / 404.5 MB, free: 13.3 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.576e-06/0.01655, allocations: 4 kB / 404.5 MB, free: 13.3 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000127/0.01667, allocations: 27.83 kB / 404.5 MB, free: 13.27 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.227e-05/0.0167, allocations: 12 kB / 404.5 MB, free: 13.26 MB / 334.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.0001931/0.01689, allocations: 195.3 kB / 404.7 MB, free: 13.05 MB / 334.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.562e-05/0.01697, allocations: 31.81 kB / 404.7 MB, free: 13.02 MB / 334.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.094e-05/0.01704, allocations: 30.23 kB / 404.8 MB, free: 12.99 MB / 334.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.174e-06/0.01704, allocations: 0 / 404.8 MB, free: 12.99 MB / 334.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.128e-06/0.01704, allocations: 4 kB / 404.8 MB, free: 12.99 MB / 334.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.286e-06/0.01704, allocations: 0 / 404.8 MB, free: 12.99 MB / 334.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0007696/0.01781, allocations: 0.5958 MB / 405.4 MB, free: 12.34 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.673e-06/0.01782, allocations: 7.938 kB / 405.4 MB, free: 12.33 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002465/0.01806, allocations: 27.98 kB / 405.4 MB, free: 12.3 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.179e-06/0.01807, allocations: 4 kB / 405.4 MB, free: 12.3 MB / 334.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.283e-05/0.01809, allocations: 8 kB / 405.4 MB, free: 12.29 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.483e-06/0.01809, allocations: 0 / 405.4 MB, free: 12.29 MB / 334.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.082e-06/0.01809, allocations: 0 / 405.4 MB, free: 12.29 MB / 334.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00069/0.01878, allocations: 0.5198 MB / 405.9 MB, free: 11.74 MB / 334.1 MB Notification: Performance of postOpt removeConstants (simulation): time 3.381e-05/0.01882, allocations: 23.75 kB / 406 MB, free: 11.71 MB / 334.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.731e-05/0.01885, allocations: 4 kB / 406 MB, free: 11.71 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001143/0.01897, allocations: 8.062 kB / 406 MB, free: 11.7 MB / 334.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.44e-05/0.01901, allocations: 7.984 kB / 406 MB, free: 11.7 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.791e-05/0.01904, allocations: 15.92 kB / 406 MB, free: 11.68 MB / 334.1 MB Notification: Performance of sorting global known variables: time 0.0001908/0.01923, allocations: 191.1 kB / 406.2 MB, free: 11.5 MB / 334.1 MB Notification: Performance of sort global known variables: time 1e-07/0.01923, allocations: 3.938 kB / 406.2 MB, free: 11.49 MB / 334.1 MB Notification: Performance of remove unused functions: time 0.0003492/0.01958, allocations: 55.94 kB / 406.2 MB, free: 11.44 MB / 334.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.0002383/0.01982, allocations: 135.2 kB / 406.4 MB, free: 11.29 MB / 334.1 MB Notification: Performance of simCode: created initialization part: time 0.0004435/0.02026, allocations: 294.5 kB / 406.7 MB, free: 10.98 MB / 334.1 MB Notification: Performance of simCode: created event and clocks part: time 1.884e-06/0.02026, allocations: 0 / 406.7 MB, free: 10.98 MB / 334.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001899/0.02045, allocations: 161 kB / 406.8 MB, free: 10.8 MB / 334.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003202/0.02077, allocations: 19.44 kB / 406.8 MB, free: 10.79 MB / 334.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009209/0.0217, allocations: 0.5218 MB / 407.4 MB, free: 10.23 MB / 334.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000165/0.02186, allocations: 150.9 kB / 407.5 MB, free: 10.07 MB / 334.1 MB Notification: Performance of simCode: alias equations: time 9.246e-05/0.02195, allocations: 30.28 kB / 407.5 MB, free: 10.04 MB / 334.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.135e-05/0.022, allocations: 20.5 kB / 407.6 MB, free: 10.02 MB / 334.1 MB Notification: Performance of SimCode: time 3.4e-07/0.022, allocations: 4 kB / 407.6 MB, free: 10.01 MB / 334.1 MB Notification: Performance of Templates: time 0.006079/0.02808, allocations: 1.812 MB / 409.4 MB, free: 8.246 MB / 334.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.490428224205971] Failed to read output from testmodel.py, exit status != 0: 0.03752363100647926 0.052677864000000005 0.041127891 Calling exit ...