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.001242/0.001242, allocations: 114.3 kB / 18.94 MB, free: 2.934 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.00166/0.00166, allocations: 216.9 kB / 22.26 MB, free: 5.082 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.459/1.459, allocations: 230.6 MB / 256 MB, free: 8.016 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.06848/0.06848, allocations: 11.33 MB / 323.8 MB, free: 8.254 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.002292/0.002292, allocations: 71.89 kB / 451 MB, free: 10.53 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1098/0.1121, allocations: 56.08 MB / 0.4952 GB, free: 2.348 MB / 366.1 MB Notification: Performance of NFInst.instantiate(IndustrialControlSystems.Controllers.Blocks.Examples.TestAntiWindupBlocks): time 0.003376/0.1154, allocations: 1.928 MB / 0.4971 GB, free: 416 kB / 366.1 MB Notification: Performance of NFInst.instExpressions: time 0.001557/0.117, allocations: 0.7871 MB / 0.4979 GB, free: 15.62 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001969/0.1172, allocations: 23.75 kB / 0.4979 GB, free: 15.59 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.000228/0.1174, allocations: 67.5 kB / 0.498 GB, free: 15.53 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001485/0.1176, allocations: 55.62 kB / 0.498 GB, free: 15.47 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0006986/0.1183, allocations: 195.6 kB / 0.4982 GB, free: 15.28 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.0004218/0.1187, allocations: 279.3 kB / 0.4985 GB, free: 15.01 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001454/0.1188, allocations: 37.2 kB / 0.4985 GB, free: 14.97 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001904/0.119, allocations: 119.5 kB / 0.4986 GB, free: 14.85 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002922/0.1193, allocations: 131.4 kB / 0.4988 GB, free: 14.72 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 4.555e-05/0.1194, allocations: 16 kB / 0.4988 GB, free: 14.71 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001732/0.1195, allocations: 83.94 kB / 0.4988 GB, free: 14.62 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 8.729e-05/0.1196, allocations: 55.77 kB / 0.4989 GB, free: 14.57 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001168/0.1197, allocations: 107.3 kB / 0.499 GB, free: 14.46 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0004193/0.1202, allocations: 282.6 kB / 0.4993 GB, free: 14.19 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.727e-06/0.1202, allocations: 0 / 0.4993 GB, free: 14.19 MB / 382.1 MB Notification: Performance of FrontEnd: time 1.213e-06/0.1202, allocations: 4 kB / 0.4993 GB, free: 14.18 MB / 382.1 MB Notification: Performance of Transformations before backend: time 1.058e-05/0.1202, allocations: 4 kB / 0.4993 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.0009662/0.1211, allocations: 0.5338 MB / 0.4998 GB, free: 13.61 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.188e-05/0.1212, allocations: 8.031 kB / 0.4998 GB, free: 13.6 MB / 382.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 6.87e-05/0.1213, allocations: 54.73 kB / 0.4999 GB, free: 13.54 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.635e-05/0.1213, allocations: 32.75 kB / 0.4999 GB, free: 13.5 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005938/0.1219, allocations: 299.8 kB / 0.5002 GB, free: 13.19 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001595/0.1221, allocations: 175.1 kB / 0.5003 GB, free: 12.98 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.214e-05/0.1221, allocations: 35.86 kB / 0.5004 GB, free: 12.94 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003922/0.1225, allocations: 220.4 kB / 0.5006 GB, free: 12.71 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.052e-05/0.1225, allocations: 0 / 0.5006 GB, free: 12.71 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.258e-05/0.1226, allocations: 8 kB / 0.5006 GB, free: 12.71 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.414e-06/0.1226, allocations: 4 kB / 0.5006 GB, free: 12.7 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002249/0.1228, allocations: 119.9 kB / 0.5007 GB, free: 12.59 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001313/0.1241, allocations: 0.7021 MB / 0.5014 GB, free: 11.84 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002465/0.1244, allocations: 98.53 kB / 0.5015 GB, free: 11.73 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001052/0.1245, allocations: 60.84 kB / 0.5016 GB, free: 11.67 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.221e-05/0.1245, allocations: 0 / 0.5016 GB, free: 11.67 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002396/0.1247, allocations: 148.9 kB / 0.5017 GB, free: 11.5 MB / 382.1 MB Notification: Performance of pre-optimization done (n=16): time 1.804e-06/0.1247, allocations: 0 / 0.5017 GB, free: 11.5 MB / 382.1 MB Notification: Performance of matching and sorting (n=16): time 0.0005342/0.1252, allocations: 297.9 kB / 0.502 GB, free: 11.2 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.58e-05/0.1253, allocations: 89.03 kB / 0.5021 GB, free: 11.1 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003032/0.1256, allocations: 284.5 kB / 0.5023 GB, free: 10.81 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 2.414e-05/0.1256, allocations: 25.7 kB / 0.5024 GB, free: 10.78 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001473/0.1258, allocations: 188.3 kB / 0.5025 GB, free: 10.59 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 5.147e-05/0.1258, allocations: 51.59 kB / 0.5026 GB, free: 10.54 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 9.133e-05/0.1259, allocations: 57.94 kB / 0.5026 GB, free: 10.48 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 0.000162/0.1261, allocations: 342.8 kB / 0.503 GB, free: 10.13 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001152/0.1262, allocations: 68.42 kB / 0.503 GB, free: 10.07 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001778/0.1264, allocations: 149 kB / 0.5032 GB, free: 9.883 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003441/0.1267, allocations: 288.5 kB / 0.5035 GB, free: 9.551 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.965e-06/0.1267, allocations: 0 / 0.5035 GB, free: 9.551 MB / 382.1 MB Notification: Performance of matching and sorting (n=33) (initialization): time 0.0005313/0.1273, allocations: 335.1 kB / 0.5038 GB, free: 9.211 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 5.118e-05/0.1273, allocations: 44.34 kB / 0.5038 GB, free: 9.164 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.889e-06/0.1273, allocations: 4 kB / 0.5038 GB, free: 9.16 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.122e-05/0.1273, allocations: 4 kB / 0.5038 GB, free: 9.156 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002483/0.1276, allocations: 51.91 kB / 0.5039 GB, free: 9.105 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.202e-05/0.1276, allocations: 7.938 kB / 0.5039 GB, free: 9.098 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000143/0.1277, allocations: 31.72 kB / 0.5039 GB, free: 9.066 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.187e-05/0.1278, allocations: 12 kB / 0.5039 GB, free: 9.055 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.0001875/0.128, allocations: 189.7 kB / 0.5041 GB, free: 8.855 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.446e-05/0.128, allocations: 27.81 kB / 0.5041 GB, free: 8.828 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.909e-05/0.1281, allocations: 30.23 kB / 0.5042 GB, free: 8.793 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.278e-06/0.1281, allocations: 4 kB / 0.5042 GB, free: 8.789 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.293e-06/0.1281, allocations: 3.984 kB / 0.5042 GB, free: 8.785 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.869e-06/0.1281, allocations: 3.938 kB / 0.5042 GB, free: 8.781 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000806/0.1289, allocations: 0.6053 MB / 0.5048 GB, free: 8.117 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.809e-06/0.1289, allocations: 8.031 kB / 0.5048 GB, free: 8.109 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000251/0.1291, allocations: 31.97 kB / 0.5048 GB, free: 8.078 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.65e-06/0.1291, allocations: 4.094 kB / 0.5048 GB, free: 8.074 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.653e-05/0.1292, allocations: 19.86 kB / 0.5048 GB, free: 8.055 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.953e-06/0.1292, allocations: 0 / 0.5048 GB, free: 8.055 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.583e-06/0.1292, allocations: 0 / 0.5048 GB, free: 8.055 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005721/0.1297, allocations: 457.7 kB / 0.5053 GB, free: 7.582 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.044e-05/0.1298, allocations: 23.8 kB / 0.5053 GB, free: 7.559 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.641e-05/0.1298, allocations: 4.062 kB / 0.5053 GB, free: 7.555 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001171/0.1299, allocations: 12.12 kB / 0.5053 GB, free: 7.543 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.605e-05/0.13, allocations: 7.984 kB / 0.5053 GB, free: 7.535 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.223e-05/0.13, allocations: 8 kB / 0.5053 GB, free: 7.527 MB / 382.1 MB Notification: Performance of sorting global known variables: time 0.0001925/0.1302, allocations: 195.1 kB / 0.5055 GB, free: 7.336 MB / 382.1 MB Notification: Performance of sort global known variables: time 1.1e-07/0.1302, allocations: 0 / 0.5055 GB, free: 7.336 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.0003567/0.1305, allocations: 63.83 kB / 0.5056 GB, free: 7.273 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.000976/0.1315, allocations: 1.017 MB / 0.5066 GB, free: 6.227 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.0003892/0.1319, allocations: 235.9 kB / 0.5068 GB, free: 5.984 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 1.783e-06/0.1319, allocations: 0 / 0.5068 GB, free: 5.984 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001443/0.1321, allocations: 119.4 kB / 0.5069 GB, free: 5.855 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003104/0.1324, allocations: 28.64 kB / 0.5069 GB, free: 5.828 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003437/0.1358, allocations: 2.845 MB / 0.5097 GB, free: 2.816 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004109/0.1362, allocations: 0.7635 MB / 0.5104 GB, free: 2.027 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 9.688e-05/0.1363, allocations: 26.28 kB / 0.5105 GB, free: 2.004 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001119/0.1364, allocations: 79.42 kB / 0.5105 GB, free: 1.93 MB / 382.1 MB Notification: Performance of SimCode: time 5.21e-07/0.1364, allocations: 3.938 kB / 0.5105 GB, free: 1.926 MB / 382.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.2335/0.37, allocations: 5.006 MB / 0.5154 GB, free: 22.8 MB / 382.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 11.17/11.54, allocations: 8.125 kB / 0.5154 GB, free: 22.8 MB / 382.1 MB " [Timeout remaining time 648] (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: 14.19257271499373] Failed to read output from testmodel.py, exit status != 0: 11.642573724035174 11.658347818 11.533676769 Calling exit ...