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.001743/0.001743, allocations: 115.6 kB / 17.16 MB, free: 5.895 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.00203/0.00203, allocations: 215 kB / 20.13 MB, free: 2.949 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.419/1.419, allocations: 230.6 MB / 253.5 MB, free: 15.1 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.0597/0.0597, allocations: 11.33 MB / 320.9 MB, free: 14.11 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: "" <> buildModelFMU(IndustrialControlSystems.Controllers.Blocks.Examples.TestAntiWindupBlocks,fileNamePrefix="IndustrialControlSystems_IndustrialControlSystems_Controllers_Blocks_Examples_TestAntiWindupBlocks",fmuType="cs",version="2.0",platforms={"static"}) "" <> buildModelFMU(IndustrialControlSystems.Controllers.Blocks.Examples.TestAntiWindupBlocks,fileNamePrefix="IndustrialControlSystems_IndustrialControlSystems_Controllers_Blocks_Examples_TestAntiWindupBlocks",fmuType="cs",version="2.0",platforms={"static"}) [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.002169/0.002169, allocations: 79.86 kB / 446.5 MB, free: 38.96 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09957/0.1017, allocations: 56.01 MB / 0.4908 GB, free: 3.457 MB / 350.1 MB Notification: Performance of NFInst.instantiate(IndustrialControlSystems.Controllers.Blocks.Examples.TestAntiWindupBlocks): time 0.002515/0.1043, allocations: 1.922 MB / 0.4926 GB, free: 1.516 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.001212/0.1055, allocations: 0.791 MB / 0.4934 GB, free: 0.7227 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001811/0.1056, allocations: 23.75 kB / 0.4934 GB, free: 0.6992 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001847/0.1058, allocations: 51.58 kB / 0.4935 GB, free: 0.6484 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001159/0.1059, allocations: 55.62 kB / 0.4935 GB, free: 0.5938 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0005672/0.1065, allocations: 195.6 kB / 0.4937 GB, free: 412 kB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002915/0.1068, allocations: 275.3 kB / 0.494 GB, free: 136 kB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001285/0.1069, allocations: 37 kB / 0.494 GB, free: 92 kB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001589/0.1071, allocations: 123.5 kB / 0.4941 GB, free: 15.97 MB / 366.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002544/0.1073, allocations: 123.4 kB / 0.4943 GB, free: 15.85 MB / 366.1 MB Notification: Performance of NFPackage.collectConstants: time 4.503e-05/0.1074, allocations: 16 kB / 0.4943 GB, free: 15.83 MB / 366.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001577/0.1076, allocations: 91.88 kB / 0.4944 GB, free: 15.74 MB / 366.1 MB Notification: Performance of NFScalarize.scalarize: time 8.848e-05/0.1076, allocations: 59.81 kB / 0.4944 GB, free: 15.68 MB / 366.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001135/0.1078, allocations: 107.2 kB / 0.4945 GB, free: 15.58 MB / 366.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0004119/0.1082, allocations: 282.6 kB / 0.4948 GB, free: 15.3 MB / 366.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.638e-06/0.1082, allocations: 0 / 0.4948 GB, free: 15.3 MB / 366.1 MB Notification: Performance of FrontEnd: time 1.152e-06/0.1082, allocations: 0 / 0.4948 GB, free: 15.3 MB / 366.1 MB Notification: Performance of Transformations before backend: time 9.578e-06/0.1082, allocations: 0 / 0.4948 GB, free: 15.3 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.000992/0.1092, allocations: 0.6052 MB / 0.4954 GB, free: 14.64 MB / 366.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.504e-05/0.1092, allocations: 12.03 kB / 0.4954 GB, free: 14.62 MB / 366.1 MB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 2.636e-05/0.1092, allocations: 4.469 kB / 0.4954 GB, free: 14.62 MB / 366.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 6.34e-05/0.1093, allocations: 54.73 kB / 0.4955 GB, free: 14.56 MB / 366.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.492e-05/0.1094, allocations: 36.75 kB / 0.4955 GB, free: 14.52 MB / 366.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005712/0.11, allocations: 363.5 kB / 0.4958 GB, free: 14.13 MB / 366.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001541/0.1101, allocations: 157.1 kB / 0.496 GB, free: 13.94 MB / 366.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.211e-05/0.1102, allocations: 31.98 kB / 0.496 GB, free: 13.91 MB / 366.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004232/0.1106, allocations: 216.5 kB / 0.4962 GB, free: 13.69 MB / 366.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.121e-05/0.1106, allocations: 0 / 0.4962 GB, free: 13.69 MB / 366.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.573e-05/0.1106, allocations: 8 kB / 0.4962 GB, free: 13.68 MB / 366.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.508e-06/0.1106, allocations: 4 kB / 0.4962 GB, free: 13.68 MB / 366.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002366/0.1109, allocations: 108 kB / 0.4963 GB, free: 13.57 MB / 366.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001324/0.1122, allocations: 0.7342 MB / 0.4971 GB, free: 12.78 MB / 366.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002646/0.1125, allocations: 102.5 kB / 0.4971 GB, free: 12.67 MB / 366.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001056/0.1126, allocations: 64.83 kB / 0.4972 GB, free: 12.61 MB / 366.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.149e-05/0.1126, allocations: 0 / 0.4972 GB, free: 12.61 MB / 366.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002359/0.1128, allocations: 143.5 kB / 0.4973 GB, free: 12.45 MB / 366.1 MB Notification: Performance of pre-optimization done (n=16): time 1.563e-06/0.1128, allocations: 3.938 kB / 0.4974 GB, free: 12.45 MB / 366.1 MB Notification: Performance of matching and sorting (n=16): time 0.0005395/0.1134, allocations: 295.1 kB / 0.4976 GB, free: 12.14 MB / 366.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.465e-05/0.1134, allocations: 81.09 kB / 0.4977 GB, free: 12.05 MB / 366.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000315/0.1137, allocations: 279.4 kB / 0.498 GB, free: 11.77 MB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 2.716e-05/0.1138, allocations: 37.7 kB / 0.498 GB, free: 11.72 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001581/0.1139, allocations: 184.2 kB / 0.4982 GB, free: 11.54 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 5.486e-05/0.114, allocations: 55.52 kB / 0.4982 GB, free: 11.48 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 9.576e-05/0.1141, allocations: 61.92 kB / 0.4983 GB, free: 11.41 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 0.000167/0.1143, allocations: 342.8 kB / 0.4986 GB, free: 11.07 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001128/0.1144, allocations: 60.48 kB / 0.4987 GB, free: 11.01 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001737/0.1145, allocations: 152.2 kB / 0.4988 GB, free: 10.82 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003404/0.1149, allocations: 286.4 kB / 0.4991 GB, free: 10.49 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.725e-06/0.1149, allocations: 0 / 0.4991 GB, free: 10.49 MB / 366.1 MB Notification: Performance of matching and sorting (n=33) (initialization): time 0.0004905/0.1154, allocations: 338.1 kB / 0.4994 GB, free: 10.15 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 4.678e-05/0.1154, allocations: 41.69 kB / 0.4995 GB, free: 10.11 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.055e-05/0.1154, allocations: 4 kB / 0.4995 GB, free: 10.1 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.971e-05/0.1154, allocations: 4.375 kB / 0.4995 GB, free: 10.1 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002549/0.1157, allocations: 55.91 kB / 0.4995 GB, free: 10.04 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.366e-05/0.1157, allocations: 11.88 kB / 0.4995 GB, free: 10.03 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001371/0.1159, allocations: 31.78 kB / 0.4996 GB, free: 10 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.03e-05/0.1159, allocations: 8 kB / 0.4996 GB, free: 9.992 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.0001814/0.1161, allocations: 187.4 kB / 0.4998 GB, free: 9.793 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.411e-05/0.1161, allocations: 27.81 kB / 0.4998 GB, free: 9.766 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.806e-05/0.1162, allocations: 34.3 kB / 0.4998 GB, free: 9.73 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.874e-06/0.1162, allocations: 4 kB / 0.4998 GB, free: 9.727 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.204e-06/0.1162, allocations: 3.938 kB / 0.4998 GB, free: 9.723 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.116e-06/0.1162, allocations: 0 / 0.4998 GB, free: 9.723 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0007563/0.1169, allocations: 0.6258 MB / 0.5004 GB, free: 9.031 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.144e-06/0.1169, allocations: 4 kB / 0.5004 GB, free: 9.027 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002438/0.1172, allocations: 31.97 kB / 0.5005 GB, free: 8.996 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 7.394e-06/0.1172, allocations: 11.97 kB / 0.5005 GB, free: 8.984 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.061e-05/0.1172, allocations: 4 kB / 0.5005 GB, free: 8.98 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.643e-06/0.1172, allocations: 0 / 0.5005 GB, free: 8.98 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.082e-06/0.1172, allocations: 0 / 0.5005 GB, free: 8.98 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005631/0.1178, allocations: 464.1 kB / 0.5009 GB, free: 8.504 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 7.718e-05/0.1178, allocations: 100.9 kB / 0.501 GB, free: 8.387 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.503e-05/0.1179, allocations: 4 kB / 0.501 GB, free: 8.383 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000112/0.118, allocations: 16.05 kB / 0.501 GB, free: 8.367 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.181e-05/0.118, allocations: 7.984 kB / 0.501 GB, free: 8.359 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.015e-05/0.1181, allocations: 4 kB / 0.5011 GB, free: 8.355 MB / 366.1 MB Notification: Performance of sorting global known variables: time 0.0001884/0.1182, allocations: 193.9 kB / 0.5012 GB, free: 8.168 MB / 366.1 MB Notification: Performance of sort global known variables: time 9e-08/0.1182, allocations: 3.938 kB / 0.5012 GB, free: 8.164 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.0003515/0.1186, allocations: 67.83 kB / 0.5013 GB, free: 8.098 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.001023/0.1196, allocations: 1.011 MB / 0.5023 GB, free: 7.051 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.0003893/0.12, allocations: 233.9 kB / 0.5025 GB, free: 6.812 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 2.034e-06/0.12, allocations: 0 / 0.5025 GB, free: 6.812 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 0.000147/0.1202, allocations: 120.1 kB / 0.5026 GB, free: 6.684 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003169/0.1205, allocations: 36.64 kB / 0.5027 GB, free: 6.648 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003396/0.1239, allocations: 2.841 MB / 0.5054 GB, free: 3.641 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003955/0.1243, allocations: 0.7596 MB / 0.5062 GB, free: 2.852 MB / 366.1 MB Notification: Performance of simCode: alias equations: time 9.586e-05/0.1244, allocations: 34.28 kB / 0.5062 GB, free: 2.816 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001113/0.1245, allocations: 83.36 kB / 0.5063 GB, free: 2.734 MB / 366.1 MB Notification: Performance of SimCode: time 5.11e-07/0.1245, allocations: 0 / 0.5063 GB, free: 2.734 MB / 366.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02574/0.1502, allocations: 4.83 MB / 0.511 GB, free: 14.12 MB / 382.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 7.951/8.101, allocations: 6.906 kB / 0.511 GB, free: 14.12 MB / 382.1 MB " [Timeout remaining time 652] (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 & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_IndustrialControlSystems_IndustrialControlSystems_Controllers_Blocks_Examples_TestAntiWindupBlocks_fmu --startTime=0 --stopTime=80 --stepSize=0.032 --timeout=50 --tolerance=1e-06 IndustrialControlSystems_IndustrialControlSystems_Controllers_Blocks_Examples_TestAntiWindupBlocks.fmu > IndustrialControlSystems_IndustrialControlSystems.Controllers.Blocks.Examples.TestAntiWindupBlocks.pipe 2>&1) [Timeout 52.5] [Calling sys.exit(0), Time elapsed: 10.750231233017985] Failed to read output from testmodel.py, exit status != 0: 8.224502530007157 8.238321048 8.127245548 Calling exit ...