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.001313/0.001313, allocations: 99.64 kB / 18.95 MB, free: 2.668 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.002527/0.002527, allocations: 212.1 kB / 22.24 MB, free: 5.262 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.396/1.396, allocations: 230.6 MB / 256 MB, free: 7.777 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.06297/0.06297, allocations: 11.35 MB / 323.8 MB, free: 8.031 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="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IndustrialControlSystems.Controllers.Blocks.Examples.TestAntiWindupBlocks,fileNamePrefix="IndustrialControlSystems_IndustrialControlSystems_Controllers_Blocks_Examples_TestAntiWindupBlocks",fmuType="me",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.00214/0.00214, allocations: 63.89 kB / 451 MB, free: 10.35 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1056/0.1077, allocations: 56.07 MB / 0.4952 GB, free: 2.176 MB / 366.1 MB Notification: Performance of NFInst.instantiate(IndustrialControlSystems.Controllers.Blocks.Examples.TestAntiWindupBlocks): time 0.003386/0.1111, allocations: 1.852 MB / 0.497 GB, free: 316 kB / 366.1 MB Notification: Performance of NFInst.instExpressions: time 0.001593/0.1127, allocations: 0.7405 MB / 0.4977 GB, free: 15.57 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001945/0.1129, allocations: 23.75 kB / 0.4977 GB, free: 15.54 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002391/0.1131, allocations: 51.58 kB / 0.4978 GB, free: 15.49 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001442/0.1133, allocations: 55.62 kB / 0.4978 GB, free: 15.44 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0007098/0.114, allocations: 194.2 kB / 0.498 GB, free: 15.25 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.0004394/0.1144, allocations: 283.3 kB / 0.4983 GB, free: 14.97 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001703/0.1146, allocations: 37.19 kB / 0.4983 GB, free: 14.93 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002668/0.1149, allocations: 115.5 kB / 0.4984 GB, free: 14.82 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002789/0.1151, allocations: 115.4 kB / 0.4985 GB, free: 14.71 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 4.891e-05/0.1152, allocations: 16 kB / 0.4985 GB, free: 14.69 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001817/0.1154, allocations: 87.86 kB / 0.4986 GB, free: 14.61 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001016/0.1155, allocations: 59.77 kB / 0.4987 GB, free: 14.55 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001135/0.1156, allocations: 87.39 kB / 0.4988 GB, free: 14.46 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0004566/0.116, allocations: 274.7 kB / 0.499 GB, free: 14.19 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.42e-06/0.1161, allocations: 4 kB / 0.499 GB, free: 14.19 MB / 382.1 MB Notification: Performance of FrontEnd: time 1.683e-06/0.1161, allocations: 0 / 0.499 GB, free: 14.19 MB / 382.1 MB Notification: Performance of Transformations before backend: time 1.674e-05/0.1161, allocations: 4 kB / 0.499 GB, free: 14.18 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.0009731/0.117, allocations: 0.5299 MB / 0.4995 GB, free: 13.61 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.338e-05/0.1171, allocations: 8.031 kB / 0.4996 GB, free: 13.61 MB / 382.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 6.759e-05/0.1172, allocations: 62.61 kB / 0.4996 GB, free: 13.54 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.464e-05/0.1172, allocations: 32.75 kB / 0.4996 GB, free: 13.5 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006093/0.1179, allocations: 303.8 kB / 0.4999 GB, free: 13.18 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001603/0.118, allocations: 183.1 kB / 0.5001 GB, free: 12.96 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.41e-05/0.1181, allocations: 23.94 kB / 0.5001 GB, free: 12.94 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004286/0.1185, allocations: 254.1 kB / 0.5004 GB, free: 12.68 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.234e-05/0.1185, allocations: 0 / 0.5004 GB, free: 12.68 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.148e-05/0.1185, allocations: 11.94 kB / 0.5004 GB, free: 12.66 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.975e-06/0.1185, allocations: 4 kB / 0.5004 GB, free: 12.66 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000255/0.1188, allocations: 149.6 kB / 0.5005 GB, free: 12.51 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001225/0.12, allocations: 0.6593 MB / 0.5012 GB, free: 11.8 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002737/0.1203, allocations: 132.2 kB / 0.5013 GB, free: 11.66 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001322/0.1204, allocations: 94.52 kB / 0.5014 GB, free: 11.55 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.441e-05/0.1204, allocations: 4 kB / 0.5014 GB, free: 11.55 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002537/0.1207, allocations: 174.8 kB / 0.5016 GB, free: 11.36 MB / 382.1 MB Notification: Performance of pre-optimization done (n=16): time 1.373e-06/0.1207, allocations: 4 kB / 0.5016 GB, free: 11.35 MB / 382.1 MB Notification: Performance of matching and sorting (n=16): time 0.0005787/0.1213, allocations: 363.5 kB / 0.5019 GB, free: 10.97 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.771e-05/0.1213, allocations: 81.11 kB / 0.502 GB, free: 10.88 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003192/0.1217, allocations: 292.4 kB / 0.5023 GB, free: 10.58 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 2.334e-05/0.1217, allocations: 25.7 kB / 0.5023 GB, free: 10.55 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001465/0.1218, allocations: 180.3 kB / 0.5025 GB, free: 10.37 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 5.211e-05/0.1219, allocations: 55.58 kB / 0.5025 GB, free: 10.32 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 9.32e-05/0.122, allocations: 61.89 kB / 0.5026 GB, free: 10.25 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 0.0001649/0.1221, allocations: 346.8 kB / 0.5029 GB, free: 9.898 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001406/0.1223, allocations: 94.19 kB / 0.503 GB, free: 9.801 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001948/0.1225, allocations: 186.6 kB / 0.5032 GB, free: 9.574 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003422/0.1228, allocations: 286.3 kB / 0.5034 GB, free: 9.242 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.705e-06/0.1228, allocations: 0 / 0.5034 GB, free: 9.242 MB / 382.1 MB Notification: Performance of matching and sorting (n=33) (initialization): time 0.0005149/0.1233, allocations: 379.3 kB / 0.5038 GB, free: 8.855 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 4.875e-05/0.1234, allocations: 38.06 kB / 0.5038 GB, free: 8.812 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.683e-06/0.1234, allocations: 8 kB / 0.5039 GB, free: 8.805 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.683e-05/0.1234, allocations: 4 kB / 0.5039 GB, free: 8.801 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002345/0.1236, allocations: 51.92 kB / 0.5039 GB, free: 8.75 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.194e-05/0.1236, allocations: 11.92 kB / 0.5039 GB, free: 8.738 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001386/0.1238, allocations: 31.78 kB / 0.504 GB, free: 8.707 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.978e-05/0.1238, allocations: 8 kB / 0.504 GB, free: 8.699 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.0001931/0.124, allocations: 185.6 kB / 0.5041 GB, free: 8.504 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.684e-05/0.124, allocations: 31.86 kB / 0.5042 GB, free: 8.473 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.861e-05/0.1241, allocations: 30.23 kB / 0.5042 GB, free: 8.438 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.695e-06/0.1241, allocations: 0 / 0.5042 GB, free: 8.438 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.392e-06/0.1241, allocations: 0 / 0.5042 GB, free: 8.438 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.403e-06/0.1241, allocations: 7.922 kB / 0.5042 GB, free: 8.43 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0008476/0.125, allocations: 0.6226 MB / 0.5048 GB, free: 7.742 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.344e-06/0.125, allocations: 0 / 0.5048 GB, free: 7.742 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002424/0.1252, allocations: 35.92 kB / 0.5048 GB, free: 7.707 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 6.513e-06/0.1252, allocations: 4 kB / 0.5048 GB, free: 7.703 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.259e-05/0.1252, allocations: 11.97 kB / 0.5049 GB, free: 7.691 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.499e-06/0.1252, allocations: 7.984 kB / 0.5049 GB, free: 7.684 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.543e-06/0.1253, allocations: 0 / 0.5049 GB, free: 7.684 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006545/0.1259, allocations: 0.5041 MB / 0.5054 GB, free: 7.145 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.426e-05/0.1259, allocations: 31.69 kB / 0.5054 GB, free: 7.113 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.305e-05/0.126, allocations: 8.062 kB / 0.5054 GB, free: 7.105 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000128/0.1261, allocations: 7.938 kB / 0.5054 GB, free: 7.098 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.739e-05/0.1262, allocations: 11.98 kB / 0.5054 GB, free: 7.086 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.299e-05/0.1262, allocations: 11.92 kB / 0.5054 GB, free: 7.074 MB / 382.1 MB Notification: Performance of sorting global known variables: time 0.000205/0.1264, allocations: 191.1 kB / 0.5056 GB, free: 6.887 MB / 382.1 MB Notification: Performance of sort global known variables: time 9e-08/0.1264, allocations: 0 / 0.5056 GB, free: 6.887 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.0003655/0.1268, allocations: 63.89 kB / 0.5057 GB, free: 6.824 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.001069/0.1278, allocations: 1.083 MB / 0.5067 GB, free: 5.695 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.0004282/0.1283, allocations: 298.7 kB / 0.507 GB, free: 5.379 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 2.555e-06/0.1283, allocations: 0 / 0.507 GB, free: 5.379 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 0.000182/0.1284, allocations: 165.8 kB / 0.5072 GB, free: 5.199 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003139/0.1288, allocations: 27.16 kB / 0.5072 GB, free: 5.176 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003601/0.1324, allocations: 3.007 MB / 0.5101 GB, free: 1.969 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001689/0.1325, allocations: 158.9 kB / 0.5103 GB, free: 1.797 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 9.692e-05/0.1326, allocations: 26.28 kB / 0.5103 GB, free: 1.77 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001141/0.1327, allocations: 83.39 kB / 0.5104 GB, free: 1.691 MB / 382.1 MB Notification: Performance of SimCode: time 3.81e-07/0.1327, allocations: 0 / 0.5104 GB, free: 1.691 MB / 382.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.2149/0.3476, allocations: 5.319 MB / 0.5156 GB, free: 23.16 MB / 382.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 10.69/11.04, allocations: 2.906 kB / 0.5156 GB, free: 23.16 MB / 382.1 MB " [Timeout remaining time 649] (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: 13.560630996711552] Failed to read output from testmodel.py, exit status != 0: 11.144800656940788 11.163581445 11.043831855 Calling exit ...