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.001028/0.001028, allocations: 81.95 kB / 19.87 MB, free: 4.617 MB / 18.57 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.0009753/0.0009753, allocations: 173.7 kB / 23.28 MB, free: 1.219 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.9917/0.9917, allocations: 177.1 MB / 203.7 MB, free: 5.5 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.03955/0.03955, allocations: 8.613 MB / 268.9 MB, free: 4.758 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.272e-06/1.272e-06, allocations: 0 / 341.3 MB, free: 8.105 MB / 266.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.399e-05/1.526e-05, allocations: 6.25 kB / 341.3 MB, free: 8.098 MB / 266.7 MB Notification: Performance of NFInst.instantiate(IndustrialControlSystems.Controllers.Blocks.Examples.TestAntiWindupBlocks): time 0.001776/0.001791, allocations: 1.887 MB / 343.2 MB, free: 6.199 MB / 266.7 MB Notification: Performance of NFInst.instExpressions: time 0.001263/0.003054, allocations: 0.7558 MB / 344 MB, free: 5.441 MB / 266.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001461/0.0032, allocations: 23.75 kB / 344 MB, free: 5.418 MB / 266.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0001608/0.003361, allocations: 51.62 kB / 344 MB, free: 5.367 MB / 266.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0001041/0.003465, allocations: 63.5 kB / 344.1 MB, free: 5.305 MB / 266.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.000527/0.003992, allocations: 191.5 kB / 344.3 MB, free: 5.117 MB / 266.7 MB Notification: Performance of NFFlatten.flatten: time 0.0002916/0.004283, allocations: 283.3 kB / 344.6 MB, free: 4.84 MB / 266.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001162/0.0044, allocations: 32.91 kB / 344.6 MB, free: 4.809 MB / 266.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002371/0.004637, allocations: 167.5 kB / 344.8 MB, free: 4.645 MB / 266.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.000186/0.004823, allocations: 95.73 kB / 344.9 MB, free: 4.551 MB / 266.7 MB Notification: Performance of NFPackage.collectConstants: time 3.855e-05/0.004861, allocations: 16 kB / 344.9 MB, free: 4.535 MB / 266.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001372/0.004998, allocations: 87.81 kB / 345 MB, free: 4.449 MB / 266.7 MB Notification: Performance of NFScalarize.scalarize: time 7.053e-05/0.005069, allocations: 51.81 kB / 345 MB, free: 4.398 MB / 266.7 MB Notification: Performance of NFVerifyModel.verify: time 7.461e-05/0.005143, allocations: 67.75 kB / 345.1 MB, free: 4.332 MB / 266.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0003187/0.005462, allocations: 227.1 kB / 345.3 MB, free: 4.109 MB / 266.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.934e-06/0.005464, allocations: 0 / 345.3 MB, free: 4.109 MB / 266.7 MB Notification: Performance of FrontEnd: time 5.71e-07/0.005465, allocations: 0 / 345.3 MB, free: 4.109 MB / 266.7 MB Notification: Performance of Transformations before backend: time 7.104e-06/0.005472, allocations: 0 / 345.3 MB, free: 4.109 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.000675/0.006147, allocations: 0.6336 MB / 345.9 MB, free: 3.43 MB / 266.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.917e-05/0.006186, allocations: 12.03 kB / 345.9 MB, free: 3.418 MB / 266.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.19e-05/0.006268, allocations: 56.7 kB / 346 MB, free: 3.363 MB / 266.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003802/0.006648, allocations: 317.9 kB / 346.3 MB, free: 3.02 MB / 266.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.604e-05/0.006734, allocations: 175.1 kB / 346.5 MB, free: 2.809 MB / 266.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.804e-05/0.006772, allocations: 20.38 kB / 346.5 MB, free: 2.789 MB / 266.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002581/0.00703, allocations: 213.1 kB / 346.7 MB, free: 2.559 MB / 266.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.062e-05/0.007041, allocations: 7.938 kB / 346.7 MB, free: 2.551 MB / 266.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.755e-05/0.007058, allocations: 4 kB / 346.7 MB, free: 2.547 MB / 266.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.206e-06/0.007067, allocations: 4 kB / 346.7 MB, free: 2.543 MB / 266.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001249/0.007192, allocations: 85.66 kB / 346.8 MB, free: 2.453 MB / 266.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008474/0.008039, allocations: 0.6702 MB / 347.5 MB, free: 1.75 MB / 266.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001565/0.008195, allocations: 104.7 kB / 347.6 MB, free: 1.629 MB / 266.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.558e-05/0.008251, allocations: 73.34 kB / 347.7 MB, free: 1.547 MB / 266.7 MB Notification: Performance of preOpt evalFunc (simulation): time 9.127e-06/0.00826, allocations: 0 / 347.7 MB, free: 1.547 MB / 266.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001375/0.008398, allocations: 156.4 kB / 347.8 MB, free: 1.367 MB / 266.7 MB Notification: Performance of pre-optimization done (n=16): time 1.543e-06/0.008399, allocations: 0 / 347.8 MB, free: 1.367 MB / 266.7 MB Notification: Performance of matching and sorting (n=16): time 0.0003152/0.008714, allocations: 258.7 kB / 348.1 MB, free: 1.09 MB / 266.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.409e-05/0.008738, allocations: 81.11 kB / 348.1 MB, free: 0.9922 MB / 266.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002149/0.008953, allocations: 334 kB / 348.5 MB, free: 0.6523 MB / 266.7 MB Notification: Performance of collectPreVariables (initialization): time 1.448e-05/0.008968, allocations: 25.7 kB / 348.5 MB, free: 0.6211 MB / 266.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001041/0.009072, allocations: 235.1 kB / 348.7 MB, free: 396 kB / 266.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.777e-05/0.00911, allocations: 55.47 kB / 348.8 MB, free: 340 kB / 266.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.621e-05/0.009186, allocations: 63.56 kB / 348.8 MB, free: 264 kB / 266.7 MB Notification: Performance of setup shared object (initialization): time 0.0001594/0.009345, allocations: 0.5234 MB / 349.4 MB, free: 15.72 MB / 282.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 7.303e-05/0.009418, allocations: 58.2 kB / 349.4 MB, free: 15.66 MB / 282.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000148/0.009566, allocations: 183.2 kB / 349.6 MB, free: 15.42 MB / 282.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002274/0.009794, allocations: 267 kB / 349.9 MB, free: 15.09 MB / 282.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.595e-06/0.009796, allocations: 0 / 349.9 MB, free: 15.09 MB / 282.7 MB Notification: Performance of matching and sorting (n=33) (initialization): time 0.0003721/0.01017, allocations: 292.1 kB / 350.1 MB, free: 14.79 MB / 282.7 MB Notification: Performance of prepare postOptimizeDAE: time 3.596e-05/0.0102, allocations: 41.73 kB / 350.2 MB, free: 14.75 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.071e-06/0.01021, allocations: 4 kB / 350.2 MB, free: 14.74 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.596e-05/0.01023, allocations: 4 kB / 350.2 MB, free: 14.74 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001966/0.01042, allocations: 51.91 kB / 350.2 MB, free: 14.69 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.807e-06/0.01043, allocations: 7.938 kB / 350.2 MB, free: 14.68 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001148/0.01055, allocations: 35.77 kB / 350.3 MB, free: 14.64 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.003e-05/0.01057, allocations: 15.94 kB / 350.3 MB, free: 14.63 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,Gain.TS_in,Integrator.TS_in,FirstOrder.TS_in,LeadLAG.TS_in,complexPoles.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.0001448/0.01071, allocations: 207 kB / 350.5 MB, free: 14.41 MB / 282.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.625e-05/0.01076, allocations: 39.75 kB / 350.5 MB, free: 14.37 MB / 282.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.4e-05/0.0108, allocations: 26.25 kB / 350.6 MB, free: 14.35 MB / 282.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.549e-06/0.01081, allocations: 3.984 kB / 350.6 MB, free: 14.34 MB / 282.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.913e-06/0.01081, allocations: 4 kB / 350.6 MB, free: 14.34 MB / 282.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.578e-06/0.01081, allocations: 0 / 350.6 MB, free: 14.34 MB / 282.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006458/0.01146, allocations: 0.5221 MB / 351.1 MB, free: 13.77 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.468e-06/0.01146, allocations: 4 kB / 351.1 MB, free: 13.77 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001867/0.01165, allocations: 31.97 kB / 351.1 MB, free: 13.73 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.228e-06/0.01165, allocations: 8.031 kB / 351.1 MB, free: 13.73 MB / 282.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.037e-05/0.01167, allocations: 15.94 kB / 351.2 MB, free: 13.71 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.444e-06/0.01168, allocations: 0 / 351.2 MB, free: 13.71 MB / 282.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.192e-06/0.01168, allocations: 0 / 351.2 MB, free: 13.71 MB / 282.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004377/0.01212, allocations: 464.3 kB / 351.6 MB, free: 13.21 MB / 282.7 MB Notification: Performance of postOpt removeConstants (simulation): time 3.419e-05/0.01215, allocations: 27.84 kB / 351.6 MB, free: 13.19 MB / 282.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.69e-05/0.01219, allocations: 4 kB / 351.6 MB, free: 13.18 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001958/0.01238, allocations: 8 kB / 351.6 MB, free: 13.18 MB / 282.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.591e-05/0.01243, allocations: 7.984 kB / 351.7 MB, free: 13.17 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.925e-05/0.01245, allocations: 4 kB / 351.7 MB, free: 13.16 MB / 282.7 MB Notification: Performance of sorting global known variables: time 0.0001148/0.01256, allocations: 214.8 kB / 351.9 MB, free: 12.95 MB / 282.7 MB Notification: Performance of sort global known variables: time 6e-08/0.01256, allocations: 0 / 351.9 MB, free: 12.95 MB / 282.7 MB Notification: Performance of remove unused functions: time 0.0002391/0.0128, allocations: 59.89 kB / 351.9 MB, free: 12.89 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.0001659/0.01297, allocations: 135.2 kB / 352.1 MB, free: 12.75 MB / 282.7 MB Notification: Performance of simCode: created initialization part: time 0.0002514/0.01322, allocations: 245.5 kB / 352.3 MB, free: 12.48 MB / 282.7 MB Notification: Performance of simCode: created event and clocks part: time 1.753e-06/0.01322, allocations: 0.75 kB / 352.3 MB, free: 12.48 MB / 282.7 MB Notification: Performance of simCode: created simulation system equations: time 8.692e-05/0.01331, allocations: 144.6 kB / 352.4 MB, free: 12.32 MB / 282.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002364/0.01354, allocations: 31.16 kB / 352.5 MB, free: 12.29 MB / 282.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005153/0.01406, allocations: 487.1 kB / 352.9 MB, free: 11.77 MB / 282.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 6.8e-05/0.01413, allocations: 88.17 kB / 353 MB, free: 11.66 MB / 282.7 MB Notification: Performance of simCode: alias equations: time 6.842e-05/0.0142, allocations: 30.28 kB / 353.1 MB, free: 11.64 MB / 282.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.673e-05/0.01429, allocations: 106.2 kB / 353.2 MB, free: 11.53 MB / 282.7 MB Notification: Performance of SimCode: time 1.303e-06/0.01429, allocations: 8 kB / 353.2 MB, free: 11.52 MB / 282.7 MB Notification: Performance of Templates: time 0.004422/0.01872, allocations: 1.959 MB / 355.1 MB, free: 9.617 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.786450286861509]