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.001209/0.001209, allocations: 93.92 kB / 19.73 MB, free: 2.129 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.001369/0.001369, allocations: 215.7 kB / 23.03 MB, free: 4.953 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.328/1.328, allocations: 230.6 MB / 256.8 MB, free: 7.812 MB / 206.1 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.06081/0.06081, allocations: 11.35 MB / 324.6 MB, free: 8.051 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.0019/0.0019, allocations: 59.91 kB / 451.8 MB, free: 10.36 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1009/0.1028, allocations: 56.08 MB / 0.4959 GB, free: 2.176 MB / 366.1 MB Notification: Performance of NFInst.instantiate(IndustrialControlSystems.Controllers.Blocks.Examples.TestAntiWindupBlocks): time 0.002971/0.1057, allocations: 1.836 MB / 0.4977 GB, free: 332 kB / 366.1 MB Notification: Performance of NFInst.instExpressions: time 0.0013/0.107, allocations: 0.7404 MB / 0.4984 GB, free: 15.58 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001158/0.1071, allocations: 19.81 kB / 0.4985 GB, free: 15.56 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001804/0.1073, allocations: 67.48 kB / 0.4985 GB, free: 15.5 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001089/0.1074, allocations: 47.64 kB / 0.4986 GB, free: 15.45 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0005292/0.108, allocations: 194.1 kB / 0.4988 GB, free: 15.26 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.0003233/0.1083, allocations: 287.3 kB / 0.499 GB, free: 14.98 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001216/0.1084, allocations: 33.2 kB / 0.4991 GB, free: 14.95 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001364/0.1085, allocations: 123.4 kB / 0.4992 GB, free: 14.82 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002152/0.1088, allocations: 131.4 kB / 0.4993 GB, free: 14.7 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 3.483e-05/0.1088, allocations: 16 kB / 0.4993 GB, free: 14.68 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001547/0.1089, allocations: 83.94 kB / 0.4994 GB, free: 14.6 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 8.962e-05/0.109, allocations: 59.77 kB / 0.4995 GB, free: 14.54 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 9.256e-05/0.1091, allocations: 83.45 kB / 0.4995 GB, free: 14.46 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003453/0.1095, allocations: 282.7 kB / 0.4998 GB, free: 14.18 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.737e-06/0.1095, allocations: 0 / 0.4998 GB, free: 14.18 MB / 382.1 MB Notification: Performance of FrontEnd: time 1.353e-06/0.1095, allocations: 0 / 0.4998 GB, free: 14.18 MB / 382.1 MB Notification: Performance of Transformations before backend: time 5.781e-06/0.1095, allocations: 4 kB / 0.4998 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.0008453/0.1103, allocations: 0.5338 MB / 0.5003 GB, free: 13.6 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.776e-05/0.1104, allocations: 8.031 kB / 0.5003 GB, free: 13.59 MB / 382.1 MB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 1.509e-05/0.1104, allocations: 4.469 kB / 0.5003 GB, free: 13.59 MB / 382.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.251e-05/0.1104, allocations: 58.67 kB / 0.5004 GB, free: 13.52 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.066e-05/0.1105, allocations: 40.75 kB / 0.5004 GB, free: 13.48 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005138/0.111, allocations: 291.8 kB / 0.5007 GB, free: 13.18 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001598/0.1112, allocations: 182.9 kB / 0.5009 GB, free: 12.96 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.542e-05/0.1112, allocations: 20 kB / 0.5009 GB, free: 12.94 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004153/0.1116, allocations: 258.1 kB / 0.5012 GB, free: 12.67 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.048e-05/0.1117, allocations: 0 / 0.5012 GB, free: 12.67 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.403e-05/0.1117, allocations: 8 kB / 0.5012 GB, free: 12.66 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.817e-06/0.1117, allocations: 7.984 kB / 0.5012 GB, free: 12.65 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002284/0.1119, allocations: 141.7 kB / 0.5013 GB, free: 12.51 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001181/0.1131, allocations: 0.667 MB / 0.502 GB, free: 11.79 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002588/0.1134, allocations: 128.2 kB / 0.5021 GB, free: 11.65 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001157/0.1135, allocations: 98.53 kB / 0.5022 GB, free: 11.55 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.074e-05/0.1135, allocations: 0 / 0.5022 GB, free: 11.55 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002446/0.1137, allocations: 181.6 kB / 0.5023 GB, free: 11.35 MB / 382.1 MB Notification: Performance of pre-optimization done (n=16): time 1.343e-06/0.1137, allocations: 0 / 0.5023 GB, free: 11.35 MB / 382.1 MB Notification: Performance of matching and sorting (n=16): time 0.0005236/0.1143, allocations: 362.6 kB / 0.5027 GB, free: 10.97 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.108e-05/0.1143, allocations: 81.11 kB / 0.5028 GB, free: 10.87 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002644/0.1146, allocations: 284.5 kB / 0.503 GB, free: 10.59 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 2.402e-05/0.1146, allocations: 29.7 kB / 0.5031 GB, free: 10.55 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001294/0.1147, allocations: 184.3 kB / 0.5032 GB, free: 10.37 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.68e-05/0.1148, allocations: 51.59 kB / 0.5033 GB, free: 10.32 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 8.455e-05/0.1149, allocations: 57.92 kB / 0.5033 GB, free: 10.25 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 0.0001411/0.115, allocations: 342.8 kB / 0.5037 GB, free: 9.906 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000127/0.1151, allocations: 94.19 kB / 0.5038 GB, free: 9.809 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001902/0.1153, allocations: 186.6 kB / 0.5039 GB, free: 9.582 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003346/0.1156, allocations: 294.3 kB / 0.5042 GB, free: 9.242 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.274e-06/0.1156, allocations: 4 kB / 0.5042 GB, free: 9.238 MB / 382.1 MB Notification: Performance of matching and sorting (n=33) (initialization): time 0.0004791/0.1161, allocations: 370.3 kB / 0.5046 GB, free: 8.859 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 4.229e-05/0.1162, allocations: 46.38 kB / 0.5046 GB, free: 8.809 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.155e-06/0.1162, allocations: 4 kB / 0.5046 GB, free: 8.805 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.808e-05/0.1162, allocations: 4 kB / 0.5046 GB, free: 8.801 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002335/0.1164, allocations: 51.91 kB / 0.5047 GB, free: 8.75 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.476e-05/0.1164, allocations: 7.938 kB / 0.5047 GB, free: 8.742 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001192/0.1166, allocations: 31.78 kB / 0.5047 GB, free: 8.711 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.451e-05/0.1166, allocations: 12 kB / 0.5047 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.0002218/0.1168, allocations: 191.4 kB / 0.5049 GB, free: 8.496 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.974e-05/0.1168, allocations: 31.81 kB / 0.5049 GB, free: 8.465 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.871e-05/0.1169, allocations: 34.23 kB / 0.505 GB, free: 8.426 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.227e-06/0.1169, allocations: 3.984 kB / 0.505 GB, free: 8.422 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.392e-06/0.1169, allocations: 7.875 kB / 0.505 GB, free: 8.414 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.675e-06/0.1169, allocations: 0 / 0.505 GB, free: 8.414 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0007705/0.1177, allocations: 0.6149 MB / 0.5056 GB, free: 7.734 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.603e-06/0.1177, allocations: 0 / 0.5056 GB, free: 7.734 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002436/0.1179, allocations: 39.97 kB / 0.5056 GB, free: 7.695 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.198e-06/0.1179, allocations: 7.969 kB / 0.5056 GB, free: 7.688 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.755e-05/0.118, allocations: 4 kB / 0.5056 GB, free: 7.684 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.376e-06/0.118, allocations: 4 kB / 0.5056 GB, free: 7.68 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.383e-06/0.118, allocations: 0 / 0.5056 GB, free: 7.68 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005909/0.1186, allocations: 0.5134 MB / 0.5061 GB, free: 7.129 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 3.568e-05/0.1186, allocations: 27.78 kB / 0.5062 GB, free: 7.102 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.702e-05/0.1186, allocations: 4 kB / 0.5062 GB, free: 7.098 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001078/0.1187, allocations: 8.062 kB / 0.5062 GB, free: 7.09 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.062e-05/0.1188, allocations: 7.984 kB / 0.5062 GB, free: 7.082 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.158e-05/0.1188, allocations: 4 kB / 0.5062 GB, free: 7.078 MB / 382.1 MB Notification: Performance of sorting global known variables: time 0.0001776/0.119, allocations: 195.1 kB / 0.5064 GB, free: 6.887 MB / 382.1 MB Notification: Performance of sort global known variables: time 1.01e-07/0.119, allocations: 4 kB / 0.5064 GB, free: 6.883 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.0003393/0.1193, allocations: 67.83 kB / 0.5064 GB, free: 6.816 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.0009365/0.1202, allocations: 1.08 MB / 0.5075 GB, free: 5.691 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.0004071/0.1207, allocations: 298.7 kB / 0.5078 GB, free: 5.375 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 2.535e-06/0.1207, allocations: 0.75 kB / 0.5078 GB, free: 5.375 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001634/0.1208, allocations: 161 kB / 0.5079 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.0003136/0.1211, allocations: 30.34 kB / 0.508 GB, free: 5.172 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003191/0.1243, allocations: 3.016 MB / 0.5109 GB, free: 1.957 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001535/0.1245, allocations: 150.9 kB / 0.5111 GB, free: 1.793 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 9.026e-05/0.1246, allocations: 26.28 kB / 0.5111 GB, free: 1.766 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001093/0.1247, allocations: 87.41 kB / 0.5112 GB, free: 1.684 MB / 382.1 MB Notification: Performance of SimCode: time 4.81e-07/0.1247, allocations: 0 / 0.5112 GB, free: 1.684 MB / 382.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.2026/0.3273, allocations: 5.027 MB / 0.5161 GB, free: 23.5 MB / 382.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 10.89/11.22, allocations: 11.03 kB / 0.5161 GB, free: 23.5 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.662443108973093] Failed to read output from testmodel.py, exit status != 0: 11.37190024391748 11.38409939 11.272036929 Calling exit ...