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.00138/0.00138, allocations: 118.5 kB / 17.13 MB, free: 5.781 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.001395/0.001395, allocations: 191.7 kB / 20.08 MB, free: 2.871 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.324/1.324, allocations: 225.6 MB / 248.5 MB, free: 3.617 MB / 190.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.05767/0.05767, allocations: 11.34 MB / 314.7 MB, free: 0.8516 MB / 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-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: 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.001787/0.001787, allocations: 67.88 kB / 438.5 MB, free: 7.723 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1982/0.1999, allocations: 54.82 MB / 493.3 MB, free: 24.16 MB / 366.1 MB Notification: Performance of NFInst.instantiate(IndustrialControlSystems.Controllers.Blocks.Examples.TestAntiWindupBlocks): time 0.002389/0.2023, allocations: 1.924 MB / 495.3 MB, free: 22.79 MB / 366.1 MB Notification: Performance of NFInst.instExpressions: time 0.001011/0.2033, allocations: 0.7574 MB / 496 MB, free: 22.27 MB / 366.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001065/0.2035, allocations: 15.38 kB / 496 MB, free: 22.26 MB / 366.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001548/0.2036, allocations: 58.8 kB / 496.1 MB, free: 22.23 MB / 366.1 MB Notification: Performance of NFTyping.typeBindings: time 9.513e-05/0.2037, allocations: 52.95 kB / 496.1 MB, free: 22.21 MB / 366.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004743/0.2042, allocations: 198.2 kB / 496.3 MB, free: 22.11 MB / 366.1 MB Notification: Performance of NFFlatten.flatten: time 0.000263/0.2044, allocations: 270.4 kB / 496.6 MB, free: 22 MB / 366.1 MB Notification: Performance of NFFlatten.resolveConnections: time 9.79e-05/0.2045, allocations: 39.33 kB / 496.6 MB, free: 21.97 MB / 366.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001037/0.2046, allocations: 121.6 kB / 496.8 MB, free: 21.92 MB / 366.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.000176/0.2048, allocations: 124.6 kB / 496.9 MB, free: 21.87 MB / 366.1 MB Notification: Performance of NFPackage.collectConstants: time 3.084e-05/0.2048, allocations: 20.34 kB / 496.9 MB, free: 21.86 MB / 366.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001273/0.205, allocations: 91.11 kB / 497 MB, free: 21.84 MB / 366.1 MB Notification: Performance of NFScalarize.scalarize: time 6.199e-05/0.205, allocations: 50.97 kB / 497 MB, free: 21.81 MB / 366.1 MB Notification: Performance of NFVerifyModel.verify: time 6.872e-05/0.2051, allocations: 110.6 kB / 497.2 MB, free: 21.73 MB / 366.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002704/0.2054, allocations: 280.6 kB / 497.4 MB, free: 21.61 MB / 366.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.537e-06/0.2054, allocations: 1.438 kB / 497.4 MB, free: 21.61 MB / 366.1 MB Notification: Performance of FrontEnd: time 1.583e-06/0.2054, allocations: 7.938 kB / 497.4 MB, free: 21.61 MB / 366.1 MB Notification: Performance of Transformations before backend: time 5.27e-06/0.2054, allocations: 0 / 497.4 MB, free: 21.61 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.000629/0.206, allocations: 0.606 MB / 498 MB, free: 21.06 MB / 366.1 MB Notification: Performance of prepare preOptimizeDAE: time 2.797e-05/0.206, allocations: 9.844 kB / 498.1 MB, free: 21.06 MB / 366.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.781e-05/0.2061, allocations: 35.03 kB / 498.1 MB, free: 21.05 MB / 366.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004077/0.2065, allocations: 368.6 kB / 498.4 MB, free: 20.77 MB / 366.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.912e-05/0.2066, allocations: 154 kB / 498.6 MB, free: 20.6 MB / 366.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.374e-05/0.2066, allocations: 24.44 kB / 498.6 MB, free: 20.59 MB / 366.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003114/0.2069, allocations: 212.1 kB / 498.8 MB, free: 20.48 MB / 366.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.466e-05/0.207, allocations: 0 / 498.8 MB, free: 20.48 MB / 366.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.944e-05/0.207, allocations: 6.75 kB / 498.8 MB, free: 20.48 MB / 366.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.68e-06/0.207, allocations: 3.719 kB / 498.8 MB, free: 20.48 MB / 366.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001761/0.2072, allocations: 126.6 kB / 499 MB, free: 20.42 MB / 366.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008998/0.2081, allocations: 0.7245 MB / 499.7 MB, free: 19.8 MB / 366.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001974/0.2083, allocations: 100.5 kB / 499.8 MB, free: 19.74 MB / 366.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 7.812e-05/0.2083, allocations: 62.02 kB / 499.8 MB, free: 19.71 MB / 366.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.355e-05/0.2083, allocations: 2.281 kB / 499.8 MB, free: 19.71 MB / 366.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001383/0.2085, allocations: 135.8 kB / 500 MB, free: 19.59 MB / 366.1 MB Notification: Performance of pre-optimization done (n=16): time 1.242e-06/0.2085, allocations: 0 / 500 MB, free: 19.59 MB / 366.1 MB Notification: Performance of matching and sorting (n=16): time 0.0003762/0.2089, allocations: 306.3 kB / 0.4886 GB, free: 19.43 MB / 366.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.522e-05/0.2089, allocations: 84.98 kB / 0.4886 GB, free: 19.33 MB / 366.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001887/0.2091, allocations: 282.9 kB / 0.4889 GB, free: 19.14 MB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 1.26e-05/0.2091, allocations: 26.94 kB / 0.4889 GB, free: 19.11 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 6.837e-05/0.2092, allocations: 179.5 kB / 0.4891 GB, free: 18.95 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.694e-05/0.2092, allocations: 59.34 kB / 0.4892 GB, free: 18.89 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.194e-05/0.2092, allocations: 60.89 kB / 0.4892 GB, free: 18.85 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 4.527e-05/0.2093, allocations: 341.6 kB / 0.4895 GB, free: 18.51 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 8.272e-05/0.2094, allocations: 65.8 kB / 0.4896 GB, free: 18.48 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001008/0.2095, allocations: 147.2 kB / 0.4897 GB, free: 18.35 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002028/0.2097, allocations: 285.8 kB / 0.49 GB, free: 18.11 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.354e-06/0.2097, allocations: 0 / 0.49 GB, free: 18.11 MB / 366.1 MB Notification: Performance of matching and sorting (n=33) (initialization): time 0.0003421/0.21, allocations: 350.6 kB / 0.4904 GB, free: 17.91 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.734e-05/0.2101, allocations: 39.02 kB / 0.4904 GB, free: 17.88 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.821e-06/0.2101, allocations: 7.312 kB / 0.4904 GB, free: 17.87 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.494e-05/0.2101, allocations: 4.031 kB / 0.4904 GB, free: 17.87 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002055/0.2103, allocations: 51.84 kB / 0.4904 GB, free: 17.86 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.334e-06/0.2103, allocations: 4.562 kB / 0.4905 GB, free: 17.86 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001076/0.2104, allocations: 32.77 kB / 0.4905 GB, free: 17.84 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.744e-05/0.2104, allocations: 10.34 kB / 0.4905 GB, free: 17.84 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.0001033/0.2105, allocations: 192.5 kB / 0.4907 GB, free: 17.66 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.959e-05/0.2105, allocations: 24.67 kB / 0.4907 GB, free: 17.64 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.156e-05/0.2106, allocations: 30.98 kB / 0.4907 GB, free: 17.62 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.874e-06/0.2106, allocations: 1.125 kB / 0.4907 GB, free: 17.62 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.787e-06/0.2106, allocations: 0 / 0.4907 GB, free: 17.62 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.216e-06/0.2106, allocations: 4.938 kB / 0.4907 GB, free: 17.62 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000522/0.2111, allocations: 0.6367 MB / 0.4914 GB, free: 17.1 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.472e-06/0.2111, allocations: 1.031 kB / 0.4914 GB, free: 17.1 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002186/0.2113, allocations: 34.52 kB / 0.4914 GB, free: 17.09 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.014e-06/0.2113, allocations: 4.938 kB / 0.4914 GB, free: 17.09 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.674e-05/0.2114, allocations: 16.2 kB / 0.4914 GB, free: 17.07 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.014e-06/0.2114, allocations: 1.062 kB / 0.4914 GB, free: 17.07 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.293e-06/0.2114, allocations: 1.188 kB / 0.4914 GB, free: 17.07 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003872/0.2117, allocations: 445.9 kB / 0.4918 GB, free: 16.79 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 3.869e-05/0.2118, allocations: 103.5 kB / 0.4919 GB, free: 16.68 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.587e-05/0.2118, allocations: 12.3 kB / 0.4919 GB, free: 16.67 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001035/0.2119, allocations: 6.25 kB / 0.492 GB, free: 16.66 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.513e-05/0.212, allocations: 12.3 kB / 0.492 GB, free: 16.66 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.706e-05/0.212, allocations: 5.5 kB / 0.492 GB, free: 16.66 MB / 366.1 MB Notification: Performance of sorting global known variables: time 0.0001214/0.2121, allocations: 190 kB / 0.4922 GB, free: 16.53 MB / 366.1 MB Notification: Performance of sort global known variables: time 6e-08/0.2121, allocations: 0 / 0.4922 GB, free: 16.53 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.0003072/0.2124, allocations: 66.61 kB / 0.4922 GB, free: 16.51 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.0001246/0.2125, allocations: 127.8 kB / 0.4923 GB, free: 16.41 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.0002722/0.2128, allocations: 231.5 kB / 0.4926 GB, free: 16.28 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 1.412e-06/0.2128, allocations: 0 / 0.4926 GB, free: 16.28 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 9.878e-05/0.2129, allocations: 122.3 kB / 0.4927 GB, free: 16.19 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002689/0.2132, allocations: 25.69 kB / 0.4927 GB, free: 16.18 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005731/0.2137, allocations: 0.5413 MB / 0.4932 GB, free: 15.78 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001448/0.2139, allocations: 0.7677 MB / 0.494 GB, free: 15.04 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.282e-05/0.2139, allocations: 24.38 kB / 0.494 GB, free: 15.03 MB / 366.1 MB Notification: Performance of SimCode: time 3.1e-07/0.2139, allocations: 0 / 0.494 GB, free: 15.03 MB / 366.1 MB Notification: Performance of Templates: time 0.004065/0.218, allocations: 2.968 MB / 0.4969 GB, free: 13.49 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: 6.329039103817195] Failed to read output from testmodel.py, exit status != 0: 0.22474025189876556 0.23314782 0.025905694 Calling exit ...