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.0007907/0.0007907, allocations: 80.44 kB / 19.17 MB, free: 0.7461 MB / 13.93 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.0008469/0.0008469, allocations: 165.9 kB / 22.45 MB, free: 2.109 MB / 18.57 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 0.8831/0.8831, allocations: 177.2 MB / 202.8 MB, free: 5.734 MB / 186.7 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.03426/0.03426, allocations: 8.606 MB / 267.8 MB, free: 5.125 MB / 250.7 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: Performance of FrontEnd - loaded program: time 1.543e-06/1.543e-06, allocations: 0 / 395.1 MB, free: 2.656 MB / 362.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.269e-05/1.424e-05, allocations: 2.281 kB / 395.1 MB, free: 2.652 MB / 362.7 MB Notification: Performance of NFInst.instantiate(IndustrialControlSystems.Controllers.Blocks.Examples.TestAntiWindupBlocks): time 0.001992/0.002006, allocations: 1.844 MB / 396.9 MB, free: 0.7969 MB / 362.7 MB Notification: Performance of NFInst.instExpressions: time 0.001/0.003006, allocations: 0.7441 MB / 397.7 MB, free: 52 kB / 362.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001067/0.003113, allocations: 23.75 kB / 397.7 MB, free: 28 kB / 362.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0001735/0.003286, allocations: 63.61 kB / 397.8 MB, free: 15.96 MB / 378.7 MB Notification: Performance of NFTyping.typeBindings: time 8.027e-05/0.003366, allocations: 59.41 kB / 397.8 MB, free: 15.91 MB / 378.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004628/0.003829, allocations: 198.4 kB / 398 MB, free: 15.71 MB / 378.7 MB Notification: Performance of NFFlatten.flatten: time 0.0002391/0.004068, allocations: 275.3 kB / 398.3 MB, free: 15.45 MB / 378.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001082/0.004176, allocations: 36.91 kB / 398.3 MB, free: 15.41 MB / 378.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001378/0.004314, allocations: 159.5 kB / 398.5 MB, free: 15.25 MB / 378.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001733/0.004487, allocations: 95.73 kB / 398.6 MB, free: 15.16 MB / 378.7 MB Notification: Performance of NFPackage.collectConstants: time 2.628e-05/0.004514, allocations: 16 kB / 398.6 MB, free: 15.14 MB / 378.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001062/0.00462, allocations: 87.88 kB / 398.7 MB, free: 15.06 MB / 378.7 MB Notification: Performance of NFScalarize.scalarize: time 6.59e-05/0.004686, allocations: 55.8 kB / 398.7 MB, free: 15 MB / 378.7 MB Notification: Performance of NFVerifyModel.verify: time 5.845e-05/0.004744, allocations: 63.77 kB / 398.8 MB, free: 14.94 MB / 378.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0002575/0.005002, allocations: 283 kB / 399.1 MB, free: 14.66 MB / 378.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.094e-06/0.005004, allocations: 0 / 399.1 MB, free: 14.66 MB / 378.7 MB Notification: Performance of FrontEnd: time 8.32e-07/0.005005, allocations: 0 / 399.1 MB, free: 14.66 MB / 378.7 MB Notification: Performance of Transformations before backend: time 4.278e-06/0.005009, allocations: 0 / 399.1 MB, free: 14.66 MB / 378.7 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.0005769/0.005586, allocations: 0.5376 MB / 399.6 MB, free: 14.09 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.42e-05/0.00562, allocations: 12.03 kB / 399.6 MB, free: 14.07 MB / 378.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.793e-05/0.005658, allocations: 50.73 kB / 399.7 MB, free: 14.02 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.616e-05/0.005704, allocations: 40.73 kB / 399.7 MB, free: 13.98 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003239/0.006028, allocations: 299 kB / 400 MB, free: 13.66 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.53e-05/0.006123, allocations: 187.1 kB / 400.2 MB, free: 13.43 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.011e-05/0.006153, allocations: 20.38 kB / 400.2 MB, free: 13.41 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002695/0.006423, allocations: 266.4 kB / 400.5 MB, free: 13.14 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.786e-06/0.006432, allocations: 0 / 400.5 MB, free: 13.14 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.466e-05/0.006446, allocations: 4 kB / 400.5 MB, free: 13.13 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.26e-06/0.006452, allocations: 4 kB / 400.5 MB, free: 13.13 MB / 378.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001565/0.006608, allocations: 150.2 kB / 400.6 MB, free: 12.98 MB / 378.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007193/0.007327, allocations: 0.6554 MB / 401.3 MB, free: 12.27 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001822/0.00751, allocations: 132.2 kB / 401.4 MB, free: 12.13 MB / 378.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 7.049e-05/0.00758, allocations: 90.53 kB / 401.5 MB, free: 12.03 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.124e-05/0.007591, allocations: 4 kB / 401.5 MB, free: 12.03 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001504/0.007742, allocations: 174.8 kB / 401.7 MB, free: 11.83 MB / 378.7 MB Notification: Performance of pre-optimization done (n=16): time 1.233e-06/0.007743, allocations: 0 / 401.7 MB, free: 11.83 MB / 378.7 MB Notification: Performance of matching and sorting (n=16): time 0.0005782/0.008321, allocations: 366.5 kB / 402 MB, free: 11.45 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.476e-05/0.008356, allocations: 85.11 kB / 402.1 MB, free: 11.35 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001687/0.008525, allocations: 296.3 kB / 402.4 MB, free: 11.05 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 1.324e-05/0.008538, allocations: 25.7 kB / 402.4 MB, free: 11.02 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 8.312e-05/0.008621, allocations: 176.4 kB / 402.6 MB, free: 10.84 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.099e-05/0.008652, allocations: 59.56 kB / 402.6 MB, free: 10.79 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.657e-05/0.008709, allocations: 61.89 kB / 402.7 MB, free: 10.71 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 7.832e-05/0.008787, allocations: 334.8 kB / 403 MB, free: 10.38 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 7.694e-05/0.008864, allocations: 102.1 kB / 403.1 MB, free: 10.27 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001098/0.008974, allocations: 190.6 kB / 403.3 MB, free: 10.04 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001912/0.009165, allocations: 282.4 kB / 403.6 MB, free: 9.715 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.934e-06/0.009167, allocations: 0 / 403.6 MB, free: 9.715 MB / 378.7 MB Notification: Performance of matching and sorting (n=33) (initialization): time 0.0002968/0.009464, allocations: 388.4 kB / 404 MB, free: 9.316 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.62e-05/0.00949, allocations: 33.7 kB / 404 MB, free: 9.277 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.881e-06/0.009496, allocations: 4 kB / 404 MB, free: 9.273 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.086e-05/0.009507, allocations: 4 kB / 404 MB, free: 9.27 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000131/0.009638, allocations: 60.28 kB / 404.1 MB, free: 9.211 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.565e-06/0.009645, allocations: 7.984 kB / 404.1 MB, free: 9.203 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.255e-05/0.009718, allocations: 23.83 kB / 404.1 MB, free: 9.18 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.3e-05/0.009731, allocations: 15.94 kB / 404.1 MB, free: 9.164 MB / 378.7 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.0001087/0.009839, allocations: 183.4 kB / 404.3 MB, free: 8.969 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.07e-05/0.00986, allocations: 27.81 kB / 404.3 MB, free: 8.941 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.349e-05/0.009894, allocations: 30.23 kB / 404.3 MB, free: 8.906 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.635e-06/0.009896, allocations: 4 kB / 404.4 MB, free: 8.902 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.268e-06/0.0099, allocations: 0 / 404.4 MB, free: 8.902 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.895e-06/0.009903, allocations: 0 / 404.4 MB, free: 8.902 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004849/0.01039, allocations: 0.6343 MB / 405 MB, free: 8.203 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.162e-06/0.01039, allocations: 0 / 405 MB, free: 8.203 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001274/0.01052, allocations: 35.92 kB / 405 MB, free: 8.168 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.043e-06/0.01052, allocations: 0 / 405 MB, free: 8.168 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.394e-05/0.01053, allocations: 8 kB / 405 MB, free: 8.16 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.273e-06/0.01053, allocations: 0 / 405 MB, free: 8.16 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.567e-06/0.01054, allocations: 7.938 kB / 405 MB, free: 8.152 MB / 378.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003559/0.01089, allocations: 0.5175 MB / 405.6 MB, free: 7.602 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 2.001e-05/0.01091, allocations: 31.84 kB / 405.6 MB, free: 7.57 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.18e-05/0.01094, allocations: 4 kB / 405.6 MB, free: 7.566 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.161e-05/0.011, allocations: 12 kB / 405.6 MB, free: 7.555 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.018e-05/0.01103, allocations: 11.92 kB / 405.6 MB, free: 7.543 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.51e-05/0.01104, allocations: 11.98 kB / 405.6 MB, free: 7.531 MB / 378.7 MB Notification: Performance of sorting global known variables: time 0.0001064/0.01115, allocations: 191 kB / 405.8 MB, free: 7.348 MB / 378.7 MB Notification: Performance of sort global known variables: time 7e-08/0.01115, allocations: 0 / 405.8 MB, free: 7.348 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.0002298/0.01138, allocations: 67.83 kB / 405.9 MB, free: 7.281 MB / 378.7 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.0005639/0.01194, allocations: 1.078 MB / 407 MB, free: 6.156 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 0.0002477/0.01219, allocations: 300.9 kB / 407.3 MB, free: 5.84 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 1.613e-06/0.01219, allocations: 96 / 407.3 MB, free: 5.84 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 9.295e-05/0.01228, allocations: 164.9 kB / 407.4 MB, free: 5.66 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002004/0.01248, allocations: 23.7 kB / 407.4 MB, free: 5.641 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002274/0.01476, allocations: 2.993 MB / 410.4 MB, free: 2.445 MB / 378.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 9.256e-05/0.01485, allocations: 154.8 kB / 410.6 MB, free: 2.277 MB / 378.7 MB Notification: Performance of simCode: alias equations: time 6.324e-05/0.01491, allocations: 26.28 kB / 410.6 MB, free: 2.25 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.086e-05/0.01499, allocations: 84.48 kB / 410.7 MB, free: 2.168 MB / 378.7 MB Notification: Performance of SimCode: time 7.32e-07/0.01499, allocations: 0 / 410.7 MB, free: 2.168 MB / 378.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01855/0.03354, allocations: 5.466 MB / 416.2 MB, free: 12.88 MB / 394.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 6.99/7.024, allocations: 3.859 kB / 416.2 MB, free: 12.88 MB / 394.7 MB " [Timeout remaining time 653] (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: 8.81827828194946] Failed to read output from testmodel.py, exit status != 0: 7.106071141548455 7.114736805 7.107917875 Calling exit ...