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.001458/0.001458, allocations: 93.06 kB / 19.65 MB, free: 280 kB / 13.93 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.001909/0.001909, allocations: 173 kB / 23.02 MB, free: 1.551 MB / 18.57 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 0.9643/0.9643, allocations: 177.1 MB / 203.4 MB, free: 5.637 MB / 186.7 MB " [Timeout remaining time 179] 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.03535/0.03535, allocations: 8.608 MB / 268.6 MB, free: 4.926 MB / 250.7 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.703e-06/1.703e-06, allocations: 0 / 340.9 MB, free: 8.406 MB / 266.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.348e-05/1.518e-05, allocations: 6.25 kB / 340.9 MB, free: 8.398 MB / 266.7 MB Notification: Performance of NFInst.instantiate(IndustrialControlSystems.Controllers.Blocks.Examples.TestAntiWindupBlocks): time 0.001664/0.001679, allocations: 1.916 MB / 342.8 MB, free: 6.473 MB / 266.7 MB Notification: Performance of NFInst.instExpressions: time 0.0008107/0.00249, allocations: 0.7519 MB / 343.5 MB, free: 5.719 MB / 266.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 9.65e-05/0.002586, allocations: 23.75 kB / 343.6 MB, free: 5.695 MB / 266.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0001632/0.00275, allocations: 59.56 kB / 343.6 MB, free: 5.637 MB / 266.7 MB Notification: Performance of NFTyping.typeBindings: time 6.846e-05/0.002818, allocations: 55.58 kB / 343.7 MB, free: 5.582 MB / 266.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003873/0.003205, allocations: 195.5 kB / 343.9 MB, free: 5.391 MB / 266.7 MB Notification: Performance of NFFlatten.flatten: time 0.0002079/0.003413, allocations: 283.2 kB / 344.1 MB, free: 5.113 MB / 266.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001071/0.00352, allocations: 36.91 kB / 344.2 MB, free: 5.078 MB / 266.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001327/0.003653, allocations: 163.6 kB / 344.3 MB, free: 4.918 MB / 266.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001533/0.003806, allocations: 91.69 kB / 344.4 MB, free: 4.828 MB / 266.7 MB Notification: Performance of NFPackage.collectConstants: time 3.04e-05/0.003837, allocations: 16 kB / 344.4 MB, free: 4.812 MB / 266.7 MB Notification: Performance of NFFlatten.collectFunctions: time 9.962e-05/0.003936, allocations: 87.86 kB / 344.5 MB, free: 4.727 MB / 266.7 MB Notification: Performance of NFScalarize.scalarize: time 6.401e-05/0.004, allocations: 55.77 kB / 344.6 MB, free: 4.672 MB / 266.7 MB Notification: Performance of NFVerifyModel.verify: time 5.449e-05/0.004055, allocations: 63.75 kB / 344.7 MB, free: 4.609 MB / 266.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0002098/0.004265, allocations: 227.2 kB / 344.9 MB, free: 4.387 MB / 266.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.933e-06/0.004267, allocations: 3.938 kB / 344.9 MB, free: 4.383 MB / 266.7 MB Notification: Performance of FrontEnd: time 5.21e-07/0.004267, allocations: 0 / 344.9 MB, free: 4.383 MB / 266.7 MB Notification: Performance of Transformations before backend: time 3.827e-06/0.004271, allocations: 0 / 344.9 MB, free: 4.383 MB / 266.7 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.0005079/0.004779, allocations: 0.6337 MB / 345.5 MB, free: 3.703 MB / 266.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.374e-05/0.004813, allocations: 8.031 kB / 345.5 MB, free: 3.695 MB / 266.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.084e-05/0.004874, allocations: 56.7 kB / 345.6 MB, free: 3.641 MB / 266.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002713/0.005145, allocations: 321.9 kB / 345.9 MB, free: 3.293 MB / 266.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.239e-05/0.005227, allocations: 183.1 kB / 346.1 MB, free: 3.074 MB / 266.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.962e-05/0.005257, allocations: 16.38 kB / 346.1 MB, free: 3.059 MB / 266.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002237/0.00548, allocations: 229.1 kB / 346.3 MB, free: 2.812 MB / 266.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.005e-05/0.005491, allocations: 3.938 kB / 346.3 MB, free: 2.809 MB / 266.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.576e-05/0.005506, allocations: 8 kB / 346.3 MB, free: 2.801 MB / 266.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.255e-06/0.005515, allocations: 4 kB / 346.3 MB, free: 2.797 MB / 266.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.406e-05/0.005609, allocations: 101.7 kB / 346.4 MB, free: 2.691 MB / 266.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000614/0.006223, allocations: 0.7126 MB / 347.1 MB, free: 1.938 MB / 266.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001555/0.006378, allocations: 104.7 kB / 347.2 MB, free: 1.816 MB / 266.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.218e-05/0.00643, allocations: 69.38 kB / 347.3 MB, free: 1.738 MB / 266.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.026e-05/0.006441, allocations: 4 kB / 347.3 MB, free: 1.734 MB / 266.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001245/0.006565, allocations: 160.3 kB / 347.5 MB, free: 1.551 MB / 266.7 MB Notification: Performance of pre-optimization done (n=16): time 1.653e-06/0.006567, allocations: 0 / 347.5 MB, free: 1.551 MB / 266.7 MB Notification: Performance of matching and sorting (n=16): time 0.00028/0.006847, allocations: 273.4 kB / 347.7 MB, free: 1.262 MB / 266.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.444e-05/0.006871, allocations: 85.11 kB / 347.8 MB, free: 1.16 MB / 266.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000144/0.007015, allocations: 330.2 kB / 348.1 MB, free: 0.8242 MB / 266.7 MB Notification: Performance of collectPreVariables (initialization): time 1.045e-05/0.007026, allocations: 29.7 kB / 348.2 MB, free: 0.7891 MB / 266.7 MB Notification: Performance of collectInitialEqns (initialization): time 7.258e-05/0.007098, allocations: 227.1 kB / 348.4 MB, free: 0.5625 MB / 266.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.602e-05/0.007124, allocations: 67.52 kB / 348.5 MB, free: 0.4961 MB / 266.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.818e-05/0.007172, allocations: 55.59 kB / 348.5 MB, free: 440 kB / 266.7 MB Notification: Performance of setup shared object (initialization): time 0.0001001/0.007272, allocations: 0.5196 MB / 349 MB, free: 15.9 MB / 282.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.643e-05/0.007329, allocations: 66.19 kB / 349.1 MB, free: 15.83 MB / 282.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001138/0.007443, allocations: 195.2 kB / 349.3 MB, free: 15.58 MB / 282.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001939/0.007637, allocations: 267 kB / 349.5 MB, free: 15.25 MB / 282.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.356e-06/0.00764, allocations: 4 kB / 349.5 MB, free: 15.25 MB / 282.7 MB Notification: Performance of matching and sorting (n=33) (initialization): time 0.0002679/0.007908, allocations: 312 kB / 349.9 MB, free: 14.93 MB / 282.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.785e-05/0.007936, allocations: 41.77 kB / 349.9 MB, free: 14.88 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.35e-06/0.007941, allocations: 0 / 349.9 MB, free: 14.88 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.583e-05/0.007957, allocations: 4 kB / 349.9 MB, free: 14.88 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001305/0.008087, allocations: 55.91 kB / 350 MB, free: 14.82 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.747e-06/0.008096, allocations: 11.94 kB / 350 MB, free: 14.81 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.34e-05/0.008169, allocations: 27.77 kB / 350 MB, free: 14.78 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.408e-05/0.008184, allocations: 12 kB / 350 MB, free: 14.77 MB / 282.7 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.0001085/0.008292, allocations: 215 kB / 350.2 MB, free: 14.54 MB / 282.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.928e-05/0.008321, allocations: 35.81 kB / 350.2 MB, free: 14.51 MB / 282.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.253e-05/0.008354, allocations: 30.23 kB / 350.3 MB, free: 14.48 MB / 282.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.824e-06/0.008356, allocations: 0 / 350.3 MB, free: 14.48 MB / 282.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.407e-06/0.008359, allocations: 0 / 350.3 MB, free: 14.48 MB / 282.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.946e-06/0.008362, allocations: 0 / 350.3 MB, free: 14.48 MB / 282.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004313/0.008793, allocations: 0.5784 MB / 350.9 MB, free: 13.84 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.024e-06/0.008795, allocations: 0 / 350.9 MB, free: 13.84 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001242/0.00892, allocations: 31.98 kB / 350.9 MB, free: 13.81 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.224e-06/0.008922, allocations: 4.031 kB / 350.9 MB, free: 13.81 MB / 282.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.269e-05/0.008935, allocations: 8 kB / 350.9 MB, free: 13.8 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.336e-06/0.008938, allocations: 11.88 kB / 350.9 MB, free: 13.79 MB / 282.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.715e-06/0.008941, allocations: 3.984 kB / 350.9 MB, free: 13.79 MB / 282.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003165/0.009257, allocations: 480.3 kB / 351.4 MB, free: 13.27 MB / 282.7 MB Notification: Performance of postOpt removeConstants (simulation): time 1.857e-05/0.009276, allocations: 19.84 kB / 351.4 MB, free: 13.25 MB / 282.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.082e-05/0.009296, allocations: 4 kB / 351.4 MB, free: 13.25 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.319e-05/0.00935, allocations: 8 kB / 351.4 MB, free: 13.24 MB / 282.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.091e-05/0.009391, allocations: 7.984 kB / 351.4 MB, free: 13.23 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.608e-05/0.009407, allocations: 7.938 kB / 351.4 MB, free: 13.23 MB / 282.7 MB Notification: Performance of sorting global known variables: time 0.0001049/0.009512, allocations: 219 kB / 351.6 MB, free: 13.01 MB / 282.7 MB Notification: Performance of sort global known variables: time 5e-08/0.009512, allocations: 0 / 351.6 MB, free: 13.01 MB / 282.7 MB Notification: Performance of remove unused functions: time 0.0002234/0.009735, allocations: 67.81 kB / 351.7 MB, free: 12.95 MB / 282.7 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.0001523/0.009887, allocations: 131.2 kB / 351.8 MB, free: 12.8 MB / 282.7 MB Notification: Performance of simCode: created initialization part: time 0.0002266/0.01011, allocations: 253.4 kB / 352.1 MB, free: 12.53 MB / 282.7 MB Notification: Performance of simCode: created event and clocks part: time 1.232e-06/0.01012, allocations: 4.75 kB / 352.1 MB, free: 12.53 MB / 282.7 MB Notification: Performance of simCode: created simulation system equations: time 8.312e-05/0.0102, allocations: 152.6 kB / 352.2 MB, free: 12.36 MB / 282.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001971/0.0104, allocations: 27.14 kB / 352.3 MB, free: 12.33 MB / 282.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004888/0.01088, allocations: 487 kB / 352.7 MB, free: 11.81 MB / 282.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 5.492e-05/0.01094, allocations: 92.17 kB / 352.8 MB, free: 11.7 MB / 282.7 MB Notification: Performance of simCode: alias equations: time 5.559e-05/0.01099, allocations: 26.34 kB / 352.9 MB, free: 11.68 MB / 282.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.11e-05/0.01103, allocations: 24.5 kB / 352.9 MB, free: 11.65 MB / 282.7 MB Notification: Performance of SimCode: time 4.61e-07/0.01103, allocations: 3.938 kB / 352.9 MB, free: 11.65 MB / 282.7 MB Notification: Performance of Templates: time 0.004081/0.01511, allocations: 1.902 MB / 354.8 MB, free: 9.793 MB / 282.7 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=240 -lv LOG_STATS > IndustrialControlSystems_IndustrialControlSystems.Controllers.Blocks.Examples.TestAntiWindupBlocks.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 2.745971485041082]