Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IndustrialControlSystems_IndustrialControlSystems.Controllers.Blocks.Examples.TestTrackingFO.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.001612/0.001612, allocations: 109.2 kB / 18.94 MB, free: 2.949 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.002065/0.002065, allocations: 219 kB / 22.26 MB, free: 5.125 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.522/1.522, allocations: 230.6 MB / 256 MB, free: 7.98 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.0807/0.0807, allocations: 11.34 MB / 323.8 MB, free: 8.312 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.TestTrackingFO,fileNamePrefix="IndustrialControlSystems_IndustrialControlSystems_Controllers_Blocks_Examples_TestTrackingFO",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IndustrialControlSystems.Controllers.Blocks.Examples.TestTrackingFO,fileNamePrefix="IndustrialControlSystems_IndustrialControlSystems_Controllers_Blocks_Examples_TestTrackingFO",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.002003/0.002003, allocations: 67.91 kB / 451 MB, free: 10.54 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1054/0.1074, allocations: 56.07 MB / 0.4952 GB, free: 2.359 MB / 366.1 MB Notification: Performance of NFInst.instantiate(IndustrialControlSystems.Controllers.Blocks.Examples.TestTrackingFO): time 0.003004/0.1104, allocations: 1.839 MB / 0.497 GB, free: 0.5117 MB / 366.1 MB Notification: Performance of NFInst.instExpressions: time 0.001165/0.1116, allocations: 0.6623 MB / 0.4977 GB, free: 15.84 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001145/0.1117, allocations: 11.88 kB / 0.4977 GB, free: 15.83 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001252/0.1118, allocations: 23.67 kB / 0.4977 GB, free: 15.81 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 8.917e-05/0.1119, allocations: 31.67 kB / 0.4977 GB, free: 15.78 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003113/0.1122, allocations: 111.7 kB / 0.4978 GB, free: 15.67 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.0003101/0.1125, allocations: 227.4 kB / 0.4981 GB, free: 15.45 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001439/0.1127, allocations: 45.06 kB / 0.4981 GB, free: 15.39 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001443/0.1128, allocations: 103.5 kB / 0.4982 GB, free: 15.29 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001402/0.1129, allocations: 95.53 kB / 0.4983 GB, free: 15.2 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 3.51e-05/0.113, allocations: 16 kB / 0.4983 GB, free: 15.18 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 3.442e-05/0.113, allocations: 20 kB / 0.4983 GB, free: 15.16 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 5.082e-05/0.1131, allocations: 43.83 kB / 0.4984 GB, free: 15.12 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001013/0.1132, allocations: 91.47 kB / 0.4985 GB, free: 15.03 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002628/0.1134, allocations: 199 kB / 0.4987 GB, free: 14.84 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.318e-06/0.1134, allocations: 0 / 0.4987 GB, free: 14.84 MB / 382.1 MB Notification: Performance of FrontEnd: time 2.274e-06/0.1134, allocations: 3.938 kB / 0.4987 GB, free: 14.83 MB / 382.1 MB Notification: Performance of Transformations before backend: time 1.012e-05/0.1134, allocations: 4 kB / 0.4987 GB, free: 14.83 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: 31 * Number of variables: 31 Notification: Performance of Generate backend data structure: time 0.001035/0.1145, allocations: 0.499 MB / 0.4991 GB, free: 14.29 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.747e-05/0.1145, allocations: 8.031 kB / 0.4992 GB, free: 14.29 MB / 382.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.912e-05/0.1146, allocations: 46.73 kB / 0.4992 GB, free: 14.23 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.93e-05/0.1146, allocations: 32.8 kB / 0.4992 GB, free: 14.2 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004238/0.115, allocations: 229.8 kB / 0.4994 GB, free: 13.95 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.253e-05/0.1151, allocations: 97.67 kB / 0.4995 GB, free: 13.84 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.844e-05/0.1152, allocations: 24.31 kB / 0.4996 GB, free: 13.81 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004544/0.1156, allocations: 178 kB / 0.4997 GB, free: 13.63 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.767e-06/0.1157, allocations: 0 / 0.4997 GB, free: 13.63 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.792e-05/0.1157, allocations: 4 kB / 0.4997 GB, free: 13.63 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.572e-06/0.1157, allocations: 4 kB / 0.4997 GB, free: 13.62 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005077/0.1162, allocations: 151.9 kB / 0.4999 GB, free: 13.48 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001041/0.1172, allocations: 0.542 MB / 0.5004 GB, free: 12.89 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004725/0.1177, allocations: 134.5 kB / 0.5005 GB, free: 12.75 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002342/0.1179, allocations: 72.8 kB / 0.5006 GB, free: 12.68 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.523e-05/0.118, allocations: 8 kB / 0.5006 GB, free: 12.67 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003731/0.1183, allocations: 143.4 kB / 0.5008 GB, free: 12.52 MB / 382.1 MB Notification: Performance of pre-optimization done (n=12): time 1.573e-06/0.1183, allocations: 0 / 0.5008 GB, free: 12.52 MB / 382.1 MB Notification: Performance of matching and sorting (n=12): time 0.00086/0.1192, allocations: 277.3 kB / 0.501 GB, free: 12.24 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.481e-05/0.1192, allocations: 55.41 kB / 0.5011 GB, free: 12.17 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002015/0.1194, allocations: 207.1 kB / 0.5013 GB, free: 11.96 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 2.641e-05/0.1195, allocations: 29.64 kB / 0.5013 GB, free: 11.93 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001074/0.1196, allocations: 144.3 kB / 0.5014 GB, free: 11.78 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.333e-05/0.1196, allocations: 39.69 kB / 0.5015 GB, free: 11.74 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 8.594e-05/0.1197, allocations: 53.64 kB / 0.5015 GB, free: 11.68 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 0.0001508/0.1199, allocations: 330.8 kB / 0.5018 GB, free: 11.35 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002811/0.1201, allocations: 87.86 kB / 0.5019 GB, free: 11.27 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002778/0.1204, allocations: 111.4 kB / 0.502 GB, free: 11.14 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005042/0.1209, allocations: 197 kB / 0.5022 GB, free: 10.93 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.144e-06/0.1209, allocations: 0 / 0.5022 GB, free: 10.93 MB / 382.1 MB Notification: Performance of matching and sorting (n=20) (initialization): time 0.0006524/0.1216, allocations: 269.5 kB / 0.5025 GB, free: 10.66 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.971e-05/0.1216, allocations: 33.69 kB / 0.5025 GB, free: 10.62 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.729e-06/0.1216, allocations: 4 kB / 0.5025 GB, free: 10.62 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.356e-05/0.1216, allocations: 4.094 kB / 0.5025 GB, free: 10.61 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006755/0.1223, allocations: 75.89 kB / 0.5026 GB, free: 10.54 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.707e-06/0.1223, allocations: 3.984 kB / 0.5026 GB, free: 10.54 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001951/0.1225, allocations: 27.92 kB / 0.5026 GB, free: 10.51 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.177e-05/0.1225, allocations: 19.97 kB / 0.5026 GB, free: 10.49 MB / 382.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 4 * Number of states: 0 () * Number of discrete variables: 10 ($whenCondition1,TrackRef.count,$PRE.TrackRef.count,TrackRef.T_start,$PRE.TrackRef.T_start,TSsignal.pulseStart,$PRE.TSsignal.pulseStart,FOaw.ts,$whenCondition2,FO.TS_in) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (19): * Single equations (assignments): 18 * 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.0001304/0.1227, allocations: 137.7 kB / 0.5028 GB, free: 10.34 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.955e-05/0.1227, allocations: 19.86 kB / 0.5028 GB, free: 10.32 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.217e-05/0.1227, allocations: 25.39 kB / 0.5028 GB, free: 10.3 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.174e-06/0.1227, allocations: 0 / 0.5028 GB, free: 10.3 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.298e-06/0.1227, allocations: 0 / 0.5028 GB, free: 10.3 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.307e-06/0.1227, allocations: 3.938 kB / 0.5028 GB, free: 10.3 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002632/0.123, allocations: 248.5 kB / 0.5031 GB, free: 10.01 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.302e-06/0.123, allocations: 0 / 0.5031 GB, free: 10.01 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007682/0.1238, allocations: 79.88 kB / 0.5031 GB, free: 9.934 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.124e-06/0.1238, allocations: 0 / 0.5031 GB, free: 9.934 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.493e-05/0.1238, allocations: 0 / 0.5031 GB, free: 9.934 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.649e-06/0.1238, allocations: 4 kB / 0.5031 GB, free: 9.93 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.62e-07/0.1238, allocations: 0 / 0.5031 GB, free: 9.93 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008485/0.1247, allocations: 317.1 kB / 0.5034 GB, free: 9.602 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 3.023e-05/0.1247, allocations: 15.94 kB / 0.5035 GB, free: 9.586 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.196e-05/0.1247, allocations: 4 kB / 0.5035 GB, free: 9.582 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001832/0.1249, allocations: 27.97 kB / 0.5035 GB, free: 9.555 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.136e-05/0.125, allocations: 15.97 kB / 0.5035 GB, free: 9.539 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.526e-05/0.125, allocations: 15.92 kB / 0.5035 GB, free: 9.523 MB / 382.1 MB Notification: Performance of sorting global known variables: time 0.0001264/0.1251, allocations: 144.6 kB / 0.5037 GB, free: 9.383 MB / 382.1 MB Notification: Performance of sort global known variables: time 8e-08/0.1251, allocations: 0 / 0.5037 GB, free: 9.383 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.0002336/0.1254, allocations: 39.89 kB / 0.5037 GB, free: 9.344 MB / 382.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 3 (FOtr.Y,FOaw.Y,FO.Y) * Number of discrete variables: 6 ($whenCondition2,$whenCondition1,FOaw.ts,TSsignal.pulseStart,TrackRef.T_start,TrackRef.count) * Number of discrete states: 1 (TrackRef.count) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (12): * Single equations (assignments): 9 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 3 * 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.0012/0.1266, allocations: 0.8543 MB / 0.5045 GB, free: 8.457 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.0006558/0.1272, allocations: 235 kB / 0.5047 GB, free: 8.215 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 2.334e-06/0.1272, allocations: 3.938 kB / 0.5048 GB, free: 8.211 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 0.000271/0.1275, allocations: 80.12 kB / 0.5048 GB, free: 8.133 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002771/0.1278, allocations: 30.72 kB / 0.5049 GB, free: 8.102 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003386/0.1311, allocations: 2.233 MB / 0.507 GB, free: 5.766 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000345/0.1315, allocations: 0.7359 MB / 0.5078 GB, free: 5.004 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 0.0001081/0.1316, allocations: 17.48 kB / 0.5078 GB, free: 4.988 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001181/0.1317, allocations: 71.41 kB / 0.5078 GB, free: 4.918 MB / 382.1 MB Notification: Performance of SimCode: time 4.51e-07/0.1317, allocations: 0 / 0.5078 GB, free: 4.918 MB / 382.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03324/0.165, allocations: 4.315 MB / 0.5121 GB, free: 0.7539 MB / 382.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 11.15/11.32, allocations: 4 kB / 0.5121 GB, free: 0.75 MB / 382.1 MB " [Timeout remaining time 648] (rm -f IndustrialControlSystems_IndustrialControlSystems.Controllers.Blocks.Examples.TestTrackingFO.pipe ; mkfifo IndustrialControlSystems_IndustrialControlSystems.Controllers.Blocks.Examples.TestTrackingFO.pipe ; head -c 1048576 < IndustrialControlSystems_IndustrialControlSystems.Controllers.Blocks.Examples.TestTrackingFO.pipe >> ../files/IndustrialControlSystems_IndustrialControlSystems.Controllers.Blocks.Examples.TestTrackingFO.sim & python3 -m fmpy simulate --output-file IndustrialControlSystems_IndustrialControlSystems.Controllers.Blocks.Examples.TestTrackingFO_res.csv --start-time 0 --stop-time 15 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.006 IndustrialControlSystems_IndustrialControlSystems_Controllers_Blocks_Examples_TestTrackingFO.fmu > IndustrialControlSystems_IndustrialControlSystems.Controllers.Blocks.Examples.TestTrackingFO.pipe 2>&1) [Timeout 52.5] [Calling sys.exit(0), Time elapsed: 14.431098761997418] Failed to read output from testmodel.py, exit status != 0: 11.663599198000156 11.676173397 11.55994445 Calling exit ...