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.00131/0.00131, 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.001487/0.001487, allocations: 213 kB / 22.25 MB, free: 5.086 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.455/1.455, allocations: 230.6 MB / 256 MB, free: 8.004 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.06559/0.06559, allocations: 11.34 MB / 323.8 MB, free: 8.234 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.002123/0.002123, allocations: 71.89 kB / 451 MB, free: 10.51 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1143/0.1165, allocations: 56.07 MB / 0.4952 GB, free: 2.332 MB / 366.1 MB Notification: Performance of NFInst.instantiate(IndustrialControlSystems.Controllers.Blocks.Examples.TestAntiWindupBlocks): time 0.003512/0.12, allocations: 1.932 MB / 0.4971 GB, free: 396 kB / 366.1 MB Notification: Performance of NFInst.instExpressions: time 0.001732/0.1217, allocations: 0.7987 MB / 0.4979 GB, free: 15.59 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001407/0.1218, allocations: 23.75 kB / 0.4979 GB, free: 15.56 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002084/0.122, allocations: 55.58 kB / 0.498 GB, free: 15.51 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001127/0.1222, allocations: 55.62 kB / 0.498 GB, free: 15.45 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0006046/0.1228, allocations: 191.6 kB / 0.4982 GB, free: 15.27 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.0003491/0.1231, allocations: 283.3 kB / 0.4985 GB, free: 14.99 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001319/0.1232, allocations: 37.2 kB / 0.4985 GB, free: 14.95 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001496/0.1234, allocations: 119.5 kB / 0.4986 GB, free: 14.83 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.000242/0.1236, allocations: 123.4 kB / 0.4987 GB, free: 14.71 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 3.325e-05/0.1237, allocations: 20 kB / 0.4988 GB, free: 14.69 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.000153/0.1238, allocations: 87.92 kB / 0.4988 GB, free: 14.61 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 0.000104/0.1239, allocations: 59.75 kB / 0.4989 GB, free: 14.55 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001252/0.124, allocations: 111.2 kB / 0.499 GB, free: 14.44 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.000376/0.1244, allocations: 270.7 kB / 0.4993 GB, free: 14.17 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.488e-06/0.1244, allocations: 0 / 0.4993 GB, free: 14.17 MB / 382.1 MB Notification: Performance of FrontEnd: time 1.954e-06/0.1244, allocations: 0 / 0.4993 GB, free: 14.17 MB / 382.1 MB Notification: Performance of Transformations before backend: time 5.741e-06/0.1244, allocations: 0 / 0.4993 GB, free: 14.17 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.0008982/0.1253, allocations: 0.5377 MB / 0.4998 GB, free: 13.59 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.995e-05/0.1254, allocations: 16.02 kB / 0.4998 GB, free: 13.58 MB / 382.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 6.921e-05/0.1254, allocations: 58.67 kB / 0.4999 GB, free: 13.51 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.637e-05/0.1255, allocations: 32.75 kB / 0.4999 GB, free: 13.48 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005588/0.1261, allocations: 295.8 kB / 0.5002 GB, free: 13.17 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001655/0.1262, allocations: 183 kB / 0.5004 GB, free: 12.95 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.599e-05/0.1263, allocations: 27.94 kB / 0.5004 GB, free: 12.92 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000397/0.1267, allocations: 224.4 kB / 0.5006 GB, free: 12.69 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.027e-05/0.1267, allocations: 0 / 0.5006 GB, free: 12.69 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.569e-05/0.1267, allocations: 12 kB / 0.5006 GB, free: 12.68 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.504e-06/0.1267, allocations: 4 kB / 0.5006 GB, free: 12.68 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002286/0.1269, allocations: 115.9 kB / 0.5007 GB, free: 12.56 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001311/0.1283, allocations: 0.6943 MB / 0.5014 GB, free: 11.82 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002363/0.1285, allocations: 106.5 kB / 0.5015 GB, free: 11.71 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001039/0.1286, allocations: 64.83 kB / 0.5016 GB, free: 11.64 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.448e-05/0.1286, allocations: 4 kB / 0.5016 GB, free: 11.64 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002286/0.1288, allocations: 141 kB / 0.5017 GB, free: 11.48 MB / 382.1 MB Notification: Performance of pre-optimization done (n=16): time 1.403e-06/0.1288, allocations: 0 / 0.5017 GB, free: 11.48 MB / 382.1 MB Notification: Performance of matching and sorting (n=16): time 0.000491/0.1293, allocations: 297.8 kB / 0.502 GB, free: 11.18 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.902e-05/0.1294, allocations: 85.05 kB / 0.5021 GB, free: 11.08 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000287/0.1297, allocations: 288.5 kB / 0.5023 GB, free: 10.79 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 2.338e-05/0.1297, allocations: 29.7 kB / 0.5024 GB, free: 10.75 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001356/0.1298, allocations: 180.3 kB / 0.5025 GB, free: 10.57 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 5.454e-05/0.1299, allocations: 59.56 kB / 0.5026 GB, free: 10.52 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 8.411e-05/0.13, allocations: 57.94 kB / 0.5027 GB, free: 10.45 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 0.0001579/0.1301, allocations: 338.8 kB / 0.503 GB, free: 10.11 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001059/0.1302, allocations: 60.48 kB / 0.503 GB, free: 10.05 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001767/0.1304, allocations: 153 kB / 0.5032 GB, free: 9.863 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003428/0.1308, allocations: 288.7 kB / 0.5035 GB, free: 9.531 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.805e-06/0.1308, allocations: 0 / 0.5035 GB, free: 9.531 MB / 382.1 MB Notification: Performance of matching and sorting (n=33) (initialization): time 0.0004831/0.1312, allocations: 334.8 kB / 0.5038 GB, free: 9.191 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 4.323e-05/0.1313, allocations: 37.7 kB / 0.5038 GB, free: 9.148 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.033e-06/0.1313, allocations: 4 kB / 0.5038 GB, free: 9.145 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.882e-05/0.1313, allocations: 4.375 kB / 0.5038 GB, free: 9.141 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000255/0.1316, allocations: 55.91 kB / 0.5039 GB, free: 9.086 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.208e-05/0.1316, allocations: 7.938 kB / 0.5039 GB, free: 9.078 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000134/0.1317, allocations: 35.7 kB / 0.5039 GB, free: 9.043 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.985e-05/0.1317, allocations: 12 kB / 0.5039 GB, free: 9.031 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.0001878/0.1319, allocations: 189.6 kB / 0.5041 GB, free: 8.832 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.98e-05/0.132, allocations: 27.81 kB / 0.5041 GB, free: 8.805 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.891e-05/0.132, allocations: 34.23 kB / 0.5042 GB, free: 8.766 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.435e-06/0.132, allocations: 0 / 0.5042 GB, free: 8.766 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.127e-06/0.132, allocations: 4 kB / 0.5042 GB, free: 8.762 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.859e-06/0.132, allocations: 3.938 kB / 0.5042 GB, free: 8.758 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0007902/0.1328, allocations: 0.613 MB / 0.5048 GB, free: 8.086 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.653e-06/0.1328, allocations: 0 / 0.5048 GB, free: 8.086 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002502/0.1331, allocations: 31.98 kB / 0.5048 GB, free: 8.055 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.104e-06/0.1331, allocations: 0 / 0.5048 GB, free: 8.055 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.72e-05/0.1331, allocations: 15.97 kB / 0.5048 GB, free: 8.039 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.173e-06/0.1331, allocations: 7.984 kB / 0.5048 GB, free: 8.031 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.016e-06/0.1331, allocations: 3.938 kB / 0.5048 GB, free: 8.027 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000566/0.1337, allocations: 445.8 kB / 0.5053 GB, free: 7.566 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 3.839e-05/0.1337, allocations: 23.92 kB / 0.5053 GB, free: 7.543 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.743e-05/0.1338, allocations: 8 kB / 0.5053 GB, free: 7.535 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001146/0.1339, allocations: 12.05 kB / 0.5053 GB, free: 7.523 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.612e-05/0.1339, allocations: 7.984 kB / 0.5053 GB, free: 7.516 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.468e-05/0.1339, allocations: 12 kB / 0.5053 GB, free: 7.504 MB / 382.1 MB Notification: Performance of sorting global known variables: time 0.0001935/0.1341, allocations: 191.1 kB / 0.5055 GB, free: 7.316 MB / 382.1 MB Notification: Performance of sort global known variables: time 8e-08/0.1341, allocations: 0 / 0.5055 GB, free: 7.316 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.0003511/0.1345, allocations: 59.83 kB / 0.5056 GB, free: 7.258 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.0009715/0.1355, allocations: 1.022 MB / 0.5066 GB, free: 6.203 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.0003756/0.1358, allocations: 231.2 kB / 0.5068 GB, free: 5.965 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 2.435e-06/0.1358, allocations: 0 / 0.5068 GB, free: 5.965 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 0.000159/0.136, allocations: 128 kB / 0.5069 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.0003162/0.1363, allocations: 22.97 kB / 0.5069 GB, free: 5.809 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003754/0.1401, allocations: 2.852 MB / 0.5097 GB, free: 2.789 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004761/0.1405, allocations: 0.7558 MB / 0.5104 GB, free: 2.008 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 0.000126/0.1407, allocations: 34.28 kB / 0.5105 GB, free: 1.977 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001393/0.1408, allocations: 83.41 kB / 0.5106 GB, free: 1.898 MB / 382.1 MB Notification: Performance of SimCode: time 9.62e-07/0.1408, allocations: 0 / 0.5106 GB, free: 1.898 MB / 382.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.2262/0.367, allocations: 4.999 MB / 0.5154 GB, free: 22.84 MB / 382.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 11.31/11.68, allocations: 11.36 kB / 0.5154 GB, free: 22.84 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 & python3 -m fmpy simulate --output-file IndustrialControlSystems_IndustrialControlSystems.Controllers.Blocks.Examples.TestAntiWindupBlocks_res.csv --start-time 0 --stop-time 80 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.032 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.539736210004776] Failed to read output from testmodel.py, exit status != 0: 11.787066208002216 11.801575817 11.674117421 Calling exit ...