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.001317/0.001317, allocations: 107.6 kB / 16.45 MB, free: 6.453 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.001394/0.001394, allocations: 213.7 kB / 19.43 MB, free: 3.625 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.487/1.487, allocations: 230.6 MB / 252.8 MB, free: 8.969 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.06527/0.06527, allocations: 11.32 MB / 320.2 MB, free: 9.426 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.002022/0.002022, allocations: 67.91 kB / 445.8 MB, free: 13.76 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1219/0.1239, allocations: 56.02 MB / 0.4901 GB, free: 5.637 MB / 366.1 MB Notification: Performance of NFInst.instantiate(IndustrialControlSystems.Controllers.Blocks.Examples.TestAntiWindupBlocks): time 0.003394/0.1273, allocations: 1.918 MB / 0.4919 GB, free: 3.703 MB / 366.1 MB Notification: Performance of NFInst.instExpressions: time 0.001522/0.1288, allocations: 0.7871 MB / 0.4927 GB, free: 2.914 MB / 366.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001432/0.129, allocations: 19.81 kB / 0.4927 GB, free: 2.895 MB / 366.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002182/0.1292, allocations: 59.5 kB / 0.4928 GB, free: 2.836 MB / 366.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001172/0.1293, allocations: 55.62 kB / 0.4928 GB, free: 2.781 MB / 366.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0006038/0.1299, allocations: 202.3 kB / 0.493 GB, free: 2.586 MB / 366.1 MB Notification: Performance of NFFlatten.flatten: time 0.0003481/0.1303, allocations: 275.3 kB / 0.4933 GB, free: 2.316 MB / 366.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001341/0.1304, allocations: 37.02 kB / 0.4933 GB, free: 2.273 MB / 366.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.000155/0.1306, allocations: 123.4 kB / 0.4935 GB, free: 2.152 MB / 366.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002299/0.1308, allocations: 123.4 kB / 0.4936 GB, free: 2.031 MB / 366.1 MB Notification: Performance of NFPackage.collectConstants: time 3.677e-05/0.1308, allocations: 16 kB / 0.4936 GB, free: 2.016 MB / 366.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001505/0.131, allocations: 95.91 kB / 0.4937 GB, free: 1.922 MB / 366.1 MB Notification: Performance of NFScalarize.scalarize: time 8.368e-05/0.1311, allocations: 59.77 kB / 0.4937 GB, free: 1.863 MB / 366.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001118/0.1312, allocations: 103.3 kB / 0.4938 GB, free: 1.762 MB / 366.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003652/0.1315, allocations: 286.6 kB / 0.4941 GB, free: 1.48 MB / 366.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.897e-06/0.1315, allocations: 0 / 0.4941 GB, free: 1.48 MB / 366.1 MB Notification: Performance of FrontEnd: time 1.763e-06/0.1315, allocations: 0 / 0.4941 GB, free: 1.48 MB / 366.1 MB Notification: Performance of Transformations before backend: time 6.402e-06/0.1316, allocations: 0 / 0.4941 GB, free: 1.48 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.0009892/0.1325, allocations: 0.6052 MB / 0.4947 GB, free: 0.8164 MB / 366.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.946e-05/0.1326, allocations: 12.03 kB / 0.4947 GB, free: 0.8047 MB / 366.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 6.91e-05/0.1327, allocations: 54.73 kB / 0.4948 GB, free: 0.7422 MB / 366.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.039e-05/0.1327, allocations: 36.75 kB / 0.4948 GB, free: 0.707 MB / 366.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005796/0.1333, allocations: 363.5 kB / 0.4951 GB, free: 320 kB / 366.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001433/0.1334, allocations: 149.4 kB / 0.4953 GB, free: 136 kB / 366.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.469e-05/0.1335, allocations: 19.94 kB / 0.4953 GB, free: 116 kB / 366.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004689/0.134, allocations: 224.5 kB / 0.4955 GB, free: 15.88 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.011e-05/0.134, allocations: 0 / 0.4955 GB, free: 15.88 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.308e-05/0.134, allocations: 12 kB / 0.4955 GB, free: 15.87 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.635e-06/0.134, allocations: 4 kB / 0.4955 GB, free: 15.86 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002299/0.1342, allocations: 107.9 kB / 0.4956 GB, free: 15.76 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001286/0.1355, allocations: 0.7419 MB / 0.4964 GB, free: 14.96 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002542/0.1358, allocations: 98.53 kB / 0.4965 GB, free: 14.86 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001077/0.1359, allocations: 60.84 kB / 0.4965 GB, free: 14.8 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.22e-05/0.1359, allocations: 4 kB / 0.4965 GB, free: 14.79 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002507/0.1362, allocations: 145 kB / 0.4967 GB, free: 14.63 MB / 382.1 MB Notification: Performance of pre-optimization done (n=16): time 1.542e-06/0.1362, allocations: 0 / 0.4967 GB, free: 14.63 MB / 382.1 MB Notification: Performance of matching and sorting (n=16): time 0.0005813/0.1367, allocations: 299.1 kB / 0.4969 GB, free: 14.33 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.113e-05/0.1368, allocations: 77.11 kB / 0.497 GB, free: 14.23 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003115/0.1371, allocations: 287.4 kB / 0.4973 GB, free: 13.95 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 2.893e-05/0.1372, allocations: 33.7 kB / 0.4973 GB, free: 13.91 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001669/0.1373, allocations: 192.2 kB / 0.4975 GB, free: 13.71 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 5.145e-05/0.1374, allocations: 47.59 kB / 0.4975 GB, free: 13.67 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 9.337e-05/0.1375, allocations: 53.94 kB / 0.4976 GB, free: 13.61 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 0.0001924/0.1377, allocations: 342.8 kB / 0.4979 GB, free: 13.26 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001155/0.1378, allocations: 60.5 kB / 0.498 GB, free: 13.2 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001953/0.138, allocations: 152.1 kB / 0.4981 GB, free: 13.02 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003513/0.1383, allocations: 292.7 kB / 0.4984 GB, free: 12.68 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.016e-06/0.1383, allocations: 0 / 0.4984 GB, free: 12.68 MB / 382.1 MB Notification: Performance of matching and sorting (n=33) (initialization): time 0.0005232/0.1389, allocations: 339.9 kB / 0.4987 GB, free: 12.34 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 5.06e-05/0.1389, allocations: 41.62 kB / 0.4988 GB, free: 12.29 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.487e-06/0.1389, allocations: 4 kB / 0.4988 GB, free: 12.29 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.399e-05/0.1389, allocations: 4 kB / 0.4988 GB, free: 12.29 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002579/0.1392, allocations: 56.3 kB / 0.4988 GB, free: 12.23 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.366e-05/0.1392, allocations: 7.984 kB / 0.4988 GB, free: 12.22 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001392/0.1394, allocations: 27.72 kB / 0.4989 GB, free: 12.2 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.903e-05/0.1394, allocations: 16 kB / 0.4989 GB, free: 12.18 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.0002005/0.1396, allocations: 179.5 kB / 0.4991 GB, free: 11.99 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.982e-05/0.1396, allocations: 27.81 kB / 0.4991 GB, free: 11.96 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.046e-05/0.1397, allocations: 30.3 kB / 0.4991 GB, free: 11.93 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.899e-06/0.1397, allocations: 7.938 kB / 0.4991 GB, free: 11.92 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.869e-06/0.1397, allocations: 4 kB / 0.4991 GB, free: 11.92 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.093e-06/0.1397, allocations: 7.922 kB / 0.4991 GB, free: 11.91 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000819/0.1405, allocations: 0.6257 MB / 0.4997 GB, free: 11.22 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.687e-06/0.1405, allocations: 4 kB / 0.4997 GB, free: 11.21 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002527/0.1408, allocations: 31.97 kB / 0.4998 GB, free: 11.18 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 6.332e-06/0.1408, allocations: 4 kB / 0.4998 GB, free: 11.18 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.42e-05/0.1408, allocations: 15.92 kB / 0.4998 GB, free: 11.16 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.773e-06/0.1408, allocations: 4.031 kB / 0.4998 GB, free: 11.16 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.012e-06/0.1408, allocations: 0 / 0.4998 GB, free: 11.16 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006329/0.1415, allocations: 453.7 kB / 0.5002 GB, free: 10.69 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 7.754e-05/0.1415, allocations: 100.9 kB / 0.5003 GB, free: 10.57 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.793e-05/0.1416, allocations: 8.062 kB / 0.5003 GB, free: 10.57 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001088/0.1417, allocations: 4 kB / 0.5003 GB, free: 10.56 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.252e-05/0.1417, allocations: 15.98 kB / 0.5004 GB, free: 10.55 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.869e-05/0.1417, allocations: 4 kB / 0.5004 GB, free: 10.54 MB / 382.1 MB Notification: Performance of sorting global known variables: time 0.000185/0.1419, allocations: 190 kB / 0.5005 GB, free: 10.36 MB / 382.1 MB Notification: Performance of sort global known variables: time 8e-08/0.1419, allocations: 0 / 0.5005 GB, free: 10.36 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.0003542/0.1423, allocations: 67.81 kB / 0.5006 GB, free: 10.29 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.001026/0.1433, allocations: 1.019 MB / 0.5016 GB, free: 9.242 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.0003908/0.1437, allocations: 227.3 kB / 0.5018 GB, free: 9.008 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 2.715e-06/0.1437, allocations: 0 / 0.5018 GB, free: 9.008 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001618/0.1439, allocations: 131.3 kB / 0.5019 GB, free: 8.867 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003278/0.1442, allocations: 27.08 kB / 0.502 GB, free: 8.844 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003661/0.1478, allocations: 2.851 MB / 0.5047 GB, free: 5.828 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004703/0.1483, allocations: 0.7597 MB / 0.5055 GB, free: 5.039 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 0.00011/0.1484, allocations: 30.28 kB / 0.5055 GB, free: 5.008 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001282/0.1486, allocations: 83.41 kB / 0.5056 GB, free: 4.93 MB / 382.1 MB Notification: Performance of SimCode: time 5.91e-07/0.1486, allocations: 0 / 0.5056 GB, free: 4.93 MB / 382.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03512/0.1837, allocations: 4.799 MB / 0.5103 GB, free: 336 kB / 382.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 8.32/8.503, allocations: 7.688 kB / 0.5103 GB, free: 328 kB / 382.1 MB " [Timeout remaining time 651] (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: 11.505064910001238] Failed to read output from testmodel.py, exit status != 0: 8.77049148498918 8.782172731 8.647958454 Calling exit ...