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.001769/0.001769, allocations: 99.64 kB / 18.95 MB, free: 2.668 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.002335/0.002335, allocations: 210.3 kB / 22.24 MB, free: 5.262 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.41/1.41, allocations: 230.6 MB / 256 MB, free: 7.785 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.06276/0.06276, allocations: 11.34 MB / 323.8 MB, free: 8.004 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.00325/0.00325, allocations: 71.89 kB / 451 MB, free: 10.3 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1364/0.1396, allocations: 56.07 MB / 0.4952 GB, free: 2.121 MB / 366.1 MB Notification: Performance of NFInst.instantiate(IndustrialControlSystems.Controllers.Blocks.Examples.TestAntiWindupBlocks): time 0.003086/0.1427, allocations: 1.842 MB / 0.497 GB, free: 272 kB / 366.1 MB Notification: Performance of NFInst.instExpressions: time 0.001344/0.1441, allocations: 0.7327 MB / 0.4977 GB, free: 15.53 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.000127/0.1442, allocations: 23.75 kB / 0.4977 GB, free: 15.51 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001913/0.1444, allocations: 55.58 kB / 0.4978 GB, free: 15.45 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001139/0.1445, allocations: 59.62 kB / 0.4978 GB, free: 15.39 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0005509/0.145, allocations: 191.6 kB / 0.498 GB, free: 15.21 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.00033/0.1454, allocations: 279.3 kB / 0.4983 GB, free: 14.93 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001254/0.1455, allocations: 37.2 kB / 0.4983 GB, free: 14.89 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.000166/0.1457, allocations: 123.5 kB / 0.4984 GB, free: 14.77 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002177/0.1459, allocations: 115.4 kB / 0.4985 GB, free: 14.66 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 3.734e-05/0.1459, allocations: 16 kB / 0.4985 GB, free: 14.64 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001579/0.1461, allocations: 95.8 kB / 0.4986 GB, free: 14.55 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 7.905e-05/0.1462, allocations: 43.84 kB / 0.4987 GB, free: 14.51 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 9.557e-05/0.1462, allocations: 83.41 kB / 0.4988 GB, free: 14.43 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003748/0.1466, allocations: 290.6 kB / 0.499 GB, free: 14.14 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.266e-06/0.1466, allocations: 0 / 0.499 GB, free: 14.14 MB / 382.1 MB Notification: Performance of FrontEnd: time 1.543e-06/0.1466, allocations: 0 / 0.499 GB, free: 14.14 MB / 382.1 MB Notification: Performance of Transformations before backend: time 5.851e-06/0.1466, allocations: 0 / 0.499 GB, free: 14.14 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.0008255/0.1475, allocations: 0.5338 MB / 0.4995 GB, free: 13.57 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.586e-05/0.1475, allocations: 8.031 kB / 0.4996 GB, free: 13.56 MB / 382.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 6.346e-05/0.1476, allocations: 62.67 kB / 0.4996 GB, free: 13.49 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.723e-05/0.1476, allocations: 36.75 kB / 0.4997 GB, free: 13.45 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005137/0.1481, allocations: 287.8 kB / 0.4999 GB, free: 13.15 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001648/0.1483, allocations: 183.1 kB / 0.5001 GB, free: 12.93 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.268e-05/0.1483, allocations: 23.94 kB / 0.5001 GB, free: 12.91 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003984/0.1487, allocations: 262.1 kB / 0.5004 GB, free: 12.63 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.598e-06/0.1488, allocations: 3.938 kB / 0.5004 GB, free: 12.63 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.269e-05/0.1488, allocations: 8 kB / 0.5004 GB, free: 12.62 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.336e-06/0.1488, allocations: 4 kB / 0.5004 GB, free: 12.62 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002382/0.149, allocations: 145.6 kB / 0.5005 GB, free: 12.47 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001156/0.1502, allocations: 0.6632 MB / 0.5012 GB, free: 11.76 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000264/0.1504, allocations: 132.2 kB / 0.5013 GB, free: 11.61 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001244/0.1506, allocations: 90.53 kB / 0.5014 GB, free: 11.52 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.338e-05/0.1506, allocations: 0 / 0.5014 GB, free: 11.52 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002344/0.1508, allocations: 178.8 kB / 0.5016 GB, free: 11.32 MB / 382.1 MB Notification: Performance of pre-optimization done (n=16): time 1.263e-06/0.1508, allocations: 0 / 0.5016 GB, free: 11.32 MB / 382.1 MB Notification: Performance of matching and sorting (n=16): time 0.0005525/0.1514, allocations: 358.5 kB / 0.5019 GB, free: 10.94 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.741e-05/0.1514, allocations: 85.11 kB / 0.502 GB, free: 10.84 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002999/0.1517, allocations: 288.4 kB / 0.5023 GB, free: 10.55 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 2.519e-05/0.1518, allocations: 37.7 kB / 0.5023 GB, free: 10.51 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001436/0.1519, allocations: 180.3 kB / 0.5025 GB, free: 10.33 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 5.073e-05/0.152, allocations: 55.58 kB / 0.5025 GB, free: 10.27 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 8.221e-05/0.1521, allocations: 57.89 kB / 0.5026 GB, free: 10.21 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 0.0001724/0.1522, allocations: 338.8 kB / 0.5029 GB, free: 9.867 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001277/0.1524, allocations: 98.17 kB / 0.503 GB, free: 9.766 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002101/0.1526, allocations: 182.6 kB / 0.5032 GB, free: 9.543 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003393/0.1529, allocations: 290.3 kB / 0.5034 GB, free: 9.207 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.204e-06/0.1529, allocations: 0 / 0.5034 GB, free: 9.207 MB / 382.1 MB Notification: Performance of matching and sorting (n=33) (initialization): time 0.0005028/0.1534, allocations: 386.1 kB / 0.5038 GB, free: 8.812 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.705e-05/0.1534, allocations: 33.7 kB / 0.5038 GB, free: 8.773 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.584e-06/0.1534, allocations: 4 kB / 0.5038 GB, free: 8.77 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.766e-05/0.1535, allocations: 7.984 kB / 0.5039 GB, free: 8.762 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002268/0.1537, allocations: 55.86 kB / 0.5039 GB, free: 8.707 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.233e-05/0.1537, allocations: 8.359 kB / 0.5039 GB, free: 8.699 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001194/0.1538, allocations: 31.78 kB / 0.5039 GB, free: 8.668 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.963e-05/0.1538, allocations: 15.94 kB / 0.504 GB, free: 8.652 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.0001841/0.154, allocations: 185.6 kB / 0.5041 GB, free: 8.457 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.649e-05/0.1541, allocations: 23.86 kB / 0.5042 GB, free: 8.434 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.469e-05/0.1541, allocations: 30.23 kB / 0.5042 GB, free: 8.398 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.084e-06/0.1541, allocations: 0 / 0.5042 GB, free: 8.398 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.388e-06/0.1541, allocations: 0 / 0.5042 GB, free: 8.398 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.242e-06/0.1541, allocations: 7.938 kB / 0.5042 GB, free: 8.391 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0008109/0.155, allocations: 0.6239 MB / 0.5048 GB, free: 7.703 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.547e-06/0.155, allocations: 8.031 kB / 0.5048 GB, free: 7.695 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002282/0.1552, allocations: 31.98 kB / 0.5048 GB, free: 7.664 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.274e-06/0.1552, allocations: 3.938 kB / 0.5048 GB, free: 7.66 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.059e-05/0.1552, allocations: 15.92 kB / 0.5049 GB, free: 7.645 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.433e-06/0.1552, allocations: 0 / 0.5049 GB, free: 7.645 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.52e-07/0.1552, allocations: 0 / 0.5049 GB, free: 7.645 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006015/0.1558, allocations: 0.5067 MB / 0.5054 GB, free: 7.102 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.131e-05/0.1559, allocations: 31.69 kB / 0.5054 GB, free: 7.07 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.575e-05/0.1559, allocations: 12 kB / 0.5054 GB, free: 7.059 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001003/0.156, allocations: 4 kB / 0.5054 GB, free: 7.055 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.541e-05/0.156, allocations: 7.984 kB / 0.5054 GB, free: 7.047 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.506e-05/0.1561, allocations: 15.98 kB / 0.5054 GB, free: 7.031 MB / 382.1 MB Notification: Performance of sorting global known variables: time 0.0001846/0.1562, allocations: 195 kB / 0.5056 GB, free: 6.84 MB / 382.1 MB Notification: Performance of sort global known variables: time 7e-08/0.1562, allocations: 0 / 0.5056 GB, free: 6.84 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.000318/0.1566, allocations: 55.89 kB / 0.5057 GB, free: 6.785 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.0009753/0.1575, allocations: 1.085 MB / 0.5067 GB, free: 5.652 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.000403/0.1579, allocations: 309.4 kB / 0.507 GB, free: 5.328 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 9.418e-06/0.158, allocations: 4 kB / 0.507 GB, free: 5.324 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001767/0.1581, allocations: 157 kB / 0.5072 GB, free: 5.152 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002861/0.1584, allocations: 24.66 kB / 0.5072 GB, free: 5.129 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00331/0.1617, allocations: 3.009 MB / 0.5101 GB, free: 1.926 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001469/0.1619, allocations: 154.8 kB / 0.5103 GB, free: 1.758 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 0.0001002/0.162, allocations: 30.28 kB / 0.5103 GB, free: 1.727 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001108/0.1621, allocations: 83.41 kB / 0.5104 GB, free: 1.648 MB / 382.1 MB Notification: Performance of SimCode: time 2.71e-07/0.1621, allocations: 0 / 0.5104 GB, free: 1.648 MB / 382.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.2484/0.4105, allocations: 5.31 MB / 0.5156 GB, free: 23.1 MB / 382.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 10.75/11.16, allocations: 12.28 kB / 0.5156 GB, free: 23.1 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 & 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: 13.773539362009615] Failed to read output from testmodel.py, exit status != 0: 11.26632964797318 11.27875345 11.128871315 Calling exit ...