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.001594/0.001594, allocations: 105.1 kB / 18.99 MB, free: 2.605 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.00175/0.00175, allocations: 215.1 kB / 22.3 MB, free: 5.305 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.346/1.346, allocations: 230.6 MB / 256.1 MB, free: 7.812 MB / 206.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.06278/0.06278, allocations: 11.34 MB / 323.8 MB, free: 8.043 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: IndustrialControlSystems requested package Modelica of version 4.0.0. Modelica 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.00205/0.00205, allocations: 59.91 kB / 451.6 MB, free: 9.812 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09344/0.09549, allocations: 56.08 MB / 0.4958 GB, free: 1.633 MB / 366.1 MB Notification: Performance of NFInst.instantiate(IndustrialControlSystems.Controllers.Blocks.Examples.TestAntiWindupBlocks): time 0.002912/0.0984, allocations: 1.839 MB / 0.4975 GB, free: 15.78 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.001313/0.09972, allocations: 0.7404 MB / 0.4983 GB, free: 15.04 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001089/0.09982, allocations: 23.75 kB / 0.4983 GB, free: 15.02 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001786/0.1, allocations: 59.55 kB / 0.4984 GB, free: 14.96 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001166/0.1001, allocations: 55.64 kB / 0.4984 GB, free: 14.9 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0005188/0.1006, allocations: 191.6 kB / 0.4986 GB, free: 14.71 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.0003317/0.101, allocations: 287.2 kB / 0.4989 GB, free: 14.43 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001139/0.1011, allocations: 32.92 kB / 0.4989 GB, free: 14.4 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001517/0.1012, allocations: 119.5 kB / 0.499 GB, free: 14.28 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002087/0.1014, allocations: 115.4 kB / 0.4991 GB, free: 14.17 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 3.673e-05/0.1015, allocations: 16 kB / 0.4991 GB, free: 14.15 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001404/0.1016, allocations: 79.94 kB / 0.4992 GB, free: 14.07 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 9.657e-05/0.1017, allocations: 55.77 kB / 0.4993 GB, free: 14.02 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001052/0.1018, allocations: 95.33 kB / 0.4994 GB, free: 13.93 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003404/0.1022, allocations: 278.7 kB / 0.4996 GB, free: 13.65 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.647e-06/0.1022, allocations: 0 / 0.4996 GB, free: 13.65 MB / 382.1 MB Notification: Performance of FrontEnd: time 1.102e-06/0.1022, allocations: 3.938 kB / 0.4996 GB, free: 13.65 MB / 382.1 MB Notification: Performance of Transformations before backend: time 5.531e-06/0.1022, allocations: 0 / 0.4996 GB, free: 13.65 MB / 382.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.0007934/0.103, allocations: 0.5338 MB / 0.5001 GB, free: 13.07 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.202e-05/0.103, allocations: 12.03 kB / 0.5002 GB, free: 13.06 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.954e-05/0.1031, allocations: 32.75 kB / 0.5002 GB, free: 13.03 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004921/0.1036, allocations: 299.8 kB / 0.5005 GB, free: 12.71 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001535/0.1037, allocations: 175.1 kB / 0.5006 GB, free: 12.5 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.915e-05/0.1038, allocations: 28.06 kB / 0.5007 GB, free: 12.48 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003869/0.1042, allocations: 254.1 kB / 0.5009 GB, free: 12.21 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.115e-05/0.1042, allocations: 3.984 kB / 0.5009 GB, free: 12.21 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.878e-05/0.1042, allocations: 12 kB / 0.5009 GB, free: 12.2 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.602e-06/0.1042, allocations: 4 kB / 0.5009 GB, free: 12.19 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002264/0.1044, allocations: 137.7 kB / 0.5011 GB, free: 12.05 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001093/0.1055, allocations: 0.6363 MB / 0.5017 GB, free: 11.38 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002554/0.1058, allocations: 128.2 kB / 0.5018 GB, free: 11.24 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001169/0.1059, allocations: 94.47 kB / 0.5019 GB, free: 11.14 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.128e-05/0.1059, allocations: 7.984 kB / 0.5019 GB, free: 11.13 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002221/0.1061, allocations: 174.8 kB / 0.5021 GB, free: 10.93 MB / 382.1 MB Notification: Performance of pre-optimization done (n=16): time 1.352e-06/0.1061, allocations: 0 / 0.5021 GB, free: 10.93 MB / 382.1 MB Notification: Performance of matching and sorting (n=16): time 0.0005209/0.1067, allocations: 360 kB / 0.5024 GB, free: 10.56 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.543e-05/0.1067, allocations: 85.11 kB / 0.5025 GB, free: 10.46 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002756/0.107, allocations: 296.3 kB / 0.5028 GB, free: 10.16 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 2.556e-05/0.107, allocations: 33.7 kB / 0.5028 GB, free: 10.12 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.000133/0.1071, allocations: 176.4 kB / 0.503 GB, free: 9.945 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.753e-05/0.1072, allocations: 51.58 kB / 0.503 GB, free: 9.895 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 9.169e-05/0.1073, allocations: 61.89 kB / 0.5031 GB, free: 9.824 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 0.0001529/0.1074, allocations: 338.8 kB / 0.5034 GB, free: 9.484 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001289/0.1076, allocations: 98.19 kB / 0.5035 GB, free: 9.383 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000196/0.1078, allocations: 186.6 kB / 0.5037 GB, free: 9.156 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003142/0.1081, allocations: 290.3 kB / 0.504 GB, free: 8.82 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.083e-06/0.1081, allocations: 0 / 0.504 GB, free: 8.82 MB / 382.1 MB Notification: Performance of matching and sorting (n=33) (initialization): time 0.0004905/0.1086, allocations: 378.2 kB / 0.5043 GB, free: 8.434 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.834e-05/0.1086, allocations: 34.08 kB / 0.5043 GB, free: 8.395 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.949e-06/0.1086, allocations: 4 kB / 0.5044 GB, free: 8.391 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.517e-05/0.1086, allocations: 8 kB / 0.5044 GB, free: 8.383 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002337/0.1089, allocations: 55.91 kB / 0.5044 GB, free: 8.328 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.157e-05/0.1089, allocations: 7.938 kB / 0.5044 GB, free: 8.32 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001157/0.109, allocations: 27.83 kB / 0.5044 GB, free: 8.293 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.871e-05/0.109, allocations: 8 kB / 0.5045 GB, free: 8.285 MB / 382.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.0001757/0.1092, allocations: 193.6 kB / 0.5046 GB, free: 8.082 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.037e-05/0.1092, allocations: 27.86 kB / 0.5047 GB, free: 8.055 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.327e-05/0.1093, allocations: 38.17 kB / 0.5047 GB, free: 8.012 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.755e-06/0.1093, allocations: 3.938 kB / 0.5047 GB, free: 8.008 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.877e-06/0.1093, allocations: 0 / 0.5047 GB, free: 8.008 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.164e-06/0.1093, allocations: 0 / 0.5047 GB, free: 8.008 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0007132/0.11, allocations: 0.5958 MB / 0.5053 GB, free: 7.359 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.753e-06/0.11, allocations: 0 / 0.5053 GB, free: 7.359 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002454/0.1103, allocations: 31.98 kB / 0.5053 GB, free: 7.328 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.114e-06/0.1103, allocations: 0 / 0.5053 GB, free: 7.328 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.077e-05/0.1103, allocations: 8 kB / 0.5053 GB, free: 7.32 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.523e-06/0.1103, allocations: 4.031 kB / 0.5053 GB, free: 7.316 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.575e-06/0.1103, allocations: 3.938 kB / 0.5053 GB, free: 7.312 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005896/0.1109, allocations: 0.5144 MB / 0.5058 GB, free: 6.762 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 3.696e-05/0.1109, allocations: 27.75 kB / 0.5059 GB, free: 6.734 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.225e-05/0.1109, allocations: 4 kB / 0.5059 GB, free: 6.73 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001091/0.1111, allocations: 12 kB / 0.5059 GB, free: 6.719 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.315e-05/0.1111, allocations: 7.984 kB / 0.5059 GB, free: 6.711 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.006e-05/0.1111, allocations: 7.984 kB / 0.5059 GB, free: 6.703 MB / 382.1 MB Notification: Performance of sorting global known variables: time 0.0001846/0.1113, allocations: 191.1 kB / 0.5061 GB, free: 6.516 MB / 382.1 MB Notification: Performance of sort global known variables: time 8e-08/0.1113, allocations: 0 / 0.5061 GB, free: 6.516 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.0003241/0.1116, allocations: 67.89 kB / 0.5061 GB, free: 6.449 MB / 382.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.0001773/0.1118, allocations: 131 kB / 0.5063 GB, free: 6.312 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.0003869/0.1122, allocations: 286.6 kB / 0.5065 GB, free: 6.008 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 1.774e-06/0.1122, allocations: 0 / 0.5065 GB, free: 6.008 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001678/0.1123, allocations: 165.8 kB / 0.5067 GB, free: 5.828 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000285/0.1126, allocations: 20.66 kB / 0.5067 GB, free: 5.809 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008008/0.1134, allocations: 0.5484 MB / 0.5072 GB, free: 5.223 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001444/0.1136, allocations: 150.9 kB / 0.5074 GB, free: 5.055 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 8.172e-05/0.1137, allocations: 30.28 kB / 0.5074 GB, free: 5.027 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.275e-05/0.1137, allocations: 20.5 kB / 0.5074 GB, free: 5.004 MB / 382.1 MB Notification: Performance of SimCode: time 3e-07/0.1137, allocations: 0 / 0.5074 GB, free: 5.004 MB / 382.1 MB Notification: Performance of Templates: time 0.005343/0.119, allocations: 1.831 MB / 0.5092 GB, free: 3.223 MB / 382.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.1974382838234305] Failed to read output from testmodel.py, exit status != 0: 0.12735003605484962 0.284240884 0.179670247 Calling exit ...