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.001393/0.001393, allocations: 88.72 kB / 19.44 MB, free: 328 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.001549/0.001549, allocations: 165.3 kB / 22.75 MB, free: 1.652 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 1.522/1.522, allocations: 177.1 MB / 203.1 MB, free: 5.605 MB / 186.7 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.06581/0.06581, allocations: 8.609 MB / 268.2 MB, free: 4.941 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.864e-06/1.864e-06, allocations: 0 / 340.1 MB, free: 8.75 MB / 266.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.816e-05/3.003e-05, allocations: 2.312 kB / 340.1 MB, free: 8.746 MB / 266.7 MB Notification: Performance of NFInst.instantiate(IndustrialControlSystems.Controllers.Blocks.Examples.TestAntiWindupBlocks): time 0.002549/0.002579, allocations: 1.853 MB / 342 MB, free: 6.879 MB / 266.7 MB Notification: Performance of NFInst.instExpressions: time 0.00122/0.003798, allocations: 0.7364 MB / 342.7 MB, free: 6.141 MB / 266.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.000128/0.003926, allocations: 23.75 kB / 342.7 MB, free: 6.117 MB / 266.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0001933/0.00412, allocations: 59.5 kB / 342.8 MB, free: 6.059 MB / 266.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0001153/0.004235, allocations: 59.62 kB / 342.9 MB, free: 6 MB / 266.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0005388/0.004774, allocations: 191.5 kB / 343 MB, free: 5.812 MB / 266.7 MB Notification: Performance of NFFlatten.flatten: time 0.0002632/0.005037, allocations: 279.3 kB / 343.3 MB, free: 5.539 MB / 266.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001261/0.005163, allocations: 36.91 kB / 343.4 MB, free: 5.504 MB / 266.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001693/0.005332, allocations: 163.5 kB / 343.5 MB, free: 5.344 MB / 266.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001951/0.005527, allocations: 95.73 kB / 343.6 MB, free: 5.25 MB / 266.7 MB Notification: Performance of NFPackage.collectConstants: time 3.332e-05/0.005561, allocations: 16 kB / 343.6 MB, free: 5.234 MB / 266.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.000126/0.005687, allocations: 83.92 kB / 343.7 MB, free: 5.152 MB / 266.7 MB Notification: Performance of NFScalarize.scalarize: time 7.636e-05/0.005763, allocations: 55.77 kB / 343.8 MB, free: 5.098 MB / 266.7 MB Notification: Performance of NFVerifyModel.verify: time 7.229e-05/0.005835, allocations: 67.73 kB / 343.8 MB, free: 5.031 MB / 266.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0003167/0.006152, allocations: 290.9 kB / 344.1 MB, free: 4.746 MB / 266.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.194e-06/0.006154, allocations: 4 kB / 344.1 MB, free: 4.742 MB / 266.7 MB Notification: Performance of FrontEnd: time 5.71e-07/0.006155, allocations: 4 kB / 344.1 MB, free: 4.738 MB / 266.7 MB Notification: Performance of Transformations before backend: time 4.829e-06/0.00616, allocations: 0 / 344.1 MB, free: 4.738 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.0007618/0.006921, allocations: 0.526 MB / 344.6 MB, free: 4.172 MB / 266.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.418e-05/0.006956, allocations: 8.031 kB / 344.7 MB, free: 4.164 MB / 266.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.989e-05/0.007046, allocations: 56.7 kB / 344.7 MB, free: 4.109 MB / 266.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004601/0.007506, allocations: 311.1 kB / 345 MB, free: 3.773 MB / 266.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001306/0.007636, allocations: 179.1 kB / 345.2 MB, free: 3.559 MB / 266.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.083e-05/0.007687, allocations: 24.33 kB / 345.2 MB, free: 3.535 MB / 266.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003611/0.008048, allocations: 250.7 kB / 345.5 MB, free: 3.273 MB / 266.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.306e-05/0.008061, allocations: 3.938 kB / 345.5 MB, free: 3.27 MB / 266.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.409e-05/0.008085, allocations: 11.98 kB / 345.5 MB, free: 3.258 MB / 266.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.825e-06/0.008093, allocations: 4 kB / 345.5 MB, free: 3.254 MB / 266.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002049/0.008298, allocations: 138.3 kB / 345.6 MB, free: 3.113 MB / 266.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0009792/0.009277, allocations: 0.6404 MB / 346.3 MB, free: 2.438 MB / 266.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002493/0.009527, allocations: 128.2 kB / 346.4 MB, free: 2.297 MB / 266.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001046/0.009631, allocations: 90.53 kB / 346.5 MB, free: 2.199 MB / 266.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.586e-05/0.009647, allocations: 4 kB / 346.5 MB, free: 2.195 MB / 266.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000201/0.009848, allocations: 174.7 kB / 346.6 MB, free: 2 MB / 266.7 MB Notification: Performance of pre-optimization done (n=16): time 1.162e-06/0.009849, allocations: 4 kB / 346.6 MB, free: 1.996 MB / 266.7 MB Notification: Performance of matching and sorting (n=16): time 0.0004644/0.01031, allocations: 365.6 kB / 347 MB, free: 1.617 MB / 266.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.3e-05/0.01035, allocations: 77.11 kB / 347.1 MB, free: 1.523 MB / 266.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002114/0.01056, allocations: 292.5 kB / 347.4 MB, free: 1.234 MB / 266.7 MB Notification: Performance of collectPreVariables (initialization): time 1.8e-05/0.01058, allocations: 33.7 kB / 347.4 MB, free: 1.195 MB / 266.7 MB Notification: Performance of collectInitialEqns (initialization): time 9.215e-05/0.01067, allocations: 180.3 kB / 347.6 MB, free: 1.016 MB / 266.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.498e-05/0.0107, allocations: 55.55 kB / 347.6 MB, free: 0.9609 MB / 266.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.146e-05/0.01077, allocations: 53.92 kB / 347.7 MB, free: 0.8984 MB / 266.7 MB Notification: Performance of setup shared object (initialization): time 7.104e-05/0.01085, allocations: 342.8 kB / 348 MB, free: 0.5547 MB / 266.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001003/0.01095, allocations: 98.12 kB / 348.1 MB, free: 464 kB / 266.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001268/0.01107, allocations: 191.3 kB / 348.3 MB, free: 228 kB / 266.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000326/0.0114, allocations: 301.1 kB / 348.6 MB, free: 15.88 MB / 282.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.555e-06/0.0114, allocations: 0 / 348.6 MB, free: 15.88 MB / 282.7 MB Notification: Performance of matching and sorting (n=33) (initialization): time 0.0005985/0.012, allocations: 376.5 kB / 349 MB, free: 15.49 MB / 282.7 MB Notification: Performance of prepare postOptimizeDAE: time 6.383e-05/0.01206, allocations: 47.88 kB / 349 MB, free: 15.44 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.724e-06/0.01207, allocations: 0 / 349 MB, free: 15.44 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.403e-05/0.0121, allocations: 8.359 kB / 349 MB, free: 15.43 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002679/0.01236, allocations: 59.91 kB / 349.1 MB, free: 15.37 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.94e-05/0.01238, allocations: 11.94 kB / 349.1 MB, free: 15.36 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001313/0.01251, allocations: 23.84 kB / 349.1 MB, free: 15.34 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.405e-05/0.01254, allocations: 12 kB / 349.1 MB, free: 15.32 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.0002108/0.01275, allocations: 189.6 kB / 349.3 MB, free: 15.12 MB / 282.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.054e-05/0.01281, allocations: 39.81 kB / 349.3 MB, free: 15.09 MB / 282.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.864e-05/0.01288, allocations: 30.23 kB / 349.4 MB, free: 15.05 MB / 282.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.375e-06/0.01288, allocations: 4 kB / 349.4 MB, free: 15.05 MB / 282.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.382e-06/0.01289, allocations: 0 / 349.4 MB, free: 15.05 MB / 282.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.116e-06/0.01289, allocations: 4 kB / 349.4 MB, free: 15.04 MB / 282.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0008473/0.01374, allocations: 0.584 MB / 350 MB, free: 14.41 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.703e-06/0.01374, allocations: 0 / 350 MB, free: 14.41 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002571/0.014, allocations: 39.97 kB / 350 MB, free: 14.37 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.304e-06/0.014, allocations: 0 / 350 MB, free: 14.37 MB / 282.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.049e-05/0.01402, allocations: 7.938 kB / 350 MB, free: 14.36 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.503e-06/0.01402, allocations: 0 / 350 MB, free: 14.36 MB / 282.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.596e-06/0.01402, allocations: 8.031 kB / 350 MB, free: 14.36 MB / 282.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006995/0.01472, allocations: 0.5121 MB / 350.5 MB, free: 13.81 MB / 282.7 MB Notification: Performance of postOpt removeConstants (simulation): time 4.478e-05/0.01477, allocations: 31.81 kB / 350.6 MB, free: 13.78 MB / 282.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.526e-05/0.0148, allocations: 4 kB / 350.6 MB, free: 13.77 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001102/0.01491, allocations: 4 kB / 350.6 MB, free: 13.77 MB / 282.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.029e-05/0.01496, allocations: 11.98 kB / 350.6 MB, free: 13.76 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.531e-05/0.01499, allocations: 7.938 kB / 350.6 MB, free: 13.75 MB / 282.7 MB Notification: Performance of sorting global known variables: time 0.0002131/0.0152, allocations: 203 kB / 350.8 MB, free: 13.55 MB / 282.7 MB Notification: Performance of sort global known variables: time 8e-08/0.0152, allocations: 0 / 350.8 MB, free: 13.55 MB / 282.7 MB Notification: Performance of remove unused functions: time 0.0003457/0.01555, allocations: 59.89 kB / 350.8 MB, free: 13.49 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.0002355/0.01578, allocations: 143.4 kB / 351 MB, free: 13.34 MB / 282.7 MB Notification: Performance of simCode: created initialization part: time 0.0004651/0.01625, allocations: 298.5 kB / 351.3 MB, free: 13.03 MB / 282.7 MB Notification: Performance of simCode: created event and clocks part: time 1.713e-06/0.01625, allocations: 0 / 351.3 MB, free: 13.03 MB / 282.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0002013/0.01645, allocations: 165 kB / 351.4 MB, free: 12.85 MB / 282.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003132/0.01676, allocations: 17.47 kB / 351.5 MB, free: 12.83 MB / 282.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009375/0.0177, allocations: 0.5329 MB / 352 MB, free: 12.27 MB / 282.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001842/0.01789, allocations: 146.9 kB / 352.1 MB, free: 12.1 MB / 282.7 MB Notification: Performance of simCode: alias equations: time 9.238e-05/0.01798, allocations: 30.28 kB / 352.2 MB, free: 12.07 MB / 282.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.332e-05/0.01804, allocations: 20.5 kB / 352.2 MB, free: 12.05 MB / 282.7 MB Notification: Performance of SimCode: time 5.51e-07/0.01804, allocations: 0 / 352.2 MB, free: 12.05 MB / 282.7 MB Notification: Performance of Templates: time 0.006384/0.02443, allocations: 1.831 MB / 354 MB, free: 10.27 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=480 -lv LOG_STATS > IndustrialControlSystems_IndustrialControlSystems.Controllers.Blocks.Examples.TestAntiWindupBlocks.pipe 2>&1) [Timeout 480] [Calling sys.exit(0), Time elapsed: 4.6403521070024]