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.001371/0.001371, allocations: 106.1 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.001339/0.001339, 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.668/1.668, allocations: 230.6 MB / 252.8 MB, free: 8.973 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.08163/0.08163, allocations: 11.32 MB / 320.2 MB, free: 9.418 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.002853/0.002853, allocations: 67.91 kB / 445.8 MB, free: 13.74 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1424/0.1452, allocations: 56.02 MB / 0.4901 GB, free: 5.621 MB / 366.1 MB Notification: Performance of NFInst.instantiate(IndustrialControlSystems.Controllers.Blocks.Examples.TestTrackingFO): time 0.003075/0.1483, allocations: 1.834 MB / 0.4919 GB, free: 3.773 MB / 366.1 MB Notification: Performance of NFInst.instExpressions: time 0.001164/0.1495, allocations: 0.6506 MB / 0.4925 GB, free: 3.117 MB / 366.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001149/0.1496, allocations: 15.81 kB / 0.4925 GB, free: 3.102 MB / 366.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001342/0.1497, allocations: 19.73 kB / 0.4925 GB, free: 3.082 MB / 366.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001051/0.1498, allocations: 35.67 kB / 0.4926 GB, free: 3.047 MB / 366.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003172/0.1501, allocations: 107.7 kB / 0.4927 GB, free: 2.941 MB / 366.1 MB Notification: Performance of NFFlatten.flatten: time 0.0003434/0.1505, allocations: 227.4 kB / 0.4929 GB, free: 2.719 MB / 366.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001908/0.1507, allocations: 48.86 kB / 0.4929 GB, free: 2.664 MB / 366.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001529/0.1508, allocations: 99.56 kB / 0.493 GB, free: 2.566 MB / 366.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001527/0.151, allocations: 91.55 kB / 0.4931 GB, free: 2.477 MB / 366.1 MB Notification: Performance of NFPackage.collectConstants: time 3.91e-05/0.151, allocations: 16 kB / 0.4931 GB, free: 2.461 MB / 366.1 MB Notification: Performance of NFFlatten.collectFunctions: time 3.047e-05/0.151, allocations: 16 kB / 0.4931 GB, free: 2.445 MB / 366.1 MB Notification: Performance of NFScalarize.scalarize: time 6.603e-05/0.1511, allocations: 51.81 kB / 0.4932 GB, free: 2.395 MB / 366.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001146/0.1512, allocations: 91.47 kB / 0.4933 GB, free: 2.305 MB / 366.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002928/0.1515, allocations: 195 kB / 0.4935 GB, free: 2.113 MB / 366.1 MB Notification: Performance of FrontEnd - DAE generated: time 7.434e-06/0.1515, allocations: 4 kB / 0.4935 GB, free: 2.109 MB / 366.1 MB Notification: Performance of FrontEnd: time 2.695e-06/0.1515, allocations: 0 / 0.4935 GB, free: 2.109 MB / 366.1 MB Notification: Performance of Transformations before backend: time 1.369e-05/0.1515, allocations: 4 kB / 0.4935 GB, free: 2.105 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: 31 * Number of variables: 31 Notification: Performance of Generate backend data structure: time 0.00122/0.1528, allocations: 0.5743 MB / 0.494 GB, free: 1.477 MB / 366.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.021e-05/0.1528, allocations: 12.03 kB / 0.4941 GB, free: 1.465 MB / 366.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.446e-05/0.1529, allocations: 46.73 kB / 0.4941 GB, free: 1.41 MB / 366.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.161e-05/0.1529, allocations: 24.8 kB / 0.4941 GB, free: 1.387 MB / 366.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004881/0.1534, allocations: 299.6 kB / 0.4944 GB, free: 1.055 MB / 366.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.299e-05/0.1535, allocations: 93.66 kB / 0.4945 GB, free: 0.9453 MB / 366.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.721e-05/0.1536, allocations: 24.33 kB / 0.4945 GB, free: 0.9219 MB / 366.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004955/0.1541, allocations: 181.5 kB / 0.4947 GB, free: 0.7383 MB / 366.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.568e-06/0.1541, allocations: 4 kB / 0.4947 GB, free: 0.7344 MB / 366.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.173e-05/0.1541, allocations: 4 kB / 0.4947 GB, free: 0.7305 MB / 366.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.113e-06/0.1541, allocations: 4 kB / 0.4947 GB, free: 0.7266 MB / 366.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005749/0.1547, allocations: 143.8 kB / 0.4948 GB, free: 0.5859 MB / 366.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001174/0.1558, allocations: 0.5781 MB / 0.4954 GB, free: 15.96 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000554/0.1564, allocations: 146.3 kB / 0.4955 GB, free: 15.8 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002973/0.1567, allocations: 72.8 kB / 0.4956 GB, free: 15.73 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.763e-05/0.1567, allocations: 4 kB / 0.4956 GB, free: 15.73 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0004294/0.1572, allocations: 147.3 kB / 0.4958 GB, free: 15.57 MB / 382.1 MB Notification: Performance of pre-optimization done (n=12): time 1.724e-06/0.1572, allocations: 0 / 0.4958 GB, free: 15.57 MB / 382.1 MB Notification: Performance of matching and sorting (n=12): time 0.001015/0.1582, allocations: 269.4 kB / 0.496 GB, free: 15.3 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.118e-05/0.1582, allocations: 59.41 kB / 0.4961 GB, free: 15.23 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002405/0.1585, allocations: 211.1 kB / 0.4963 GB, free: 15.01 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 3.282e-05/0.1585, allocations: 33.7 kB / 0.4963 GB, free: 14.97 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001179/0.1586, allocations: 140.3 kB / 0.4964 GB, free: 14.83 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.646e-05/0.1587, allocations: 43.67 kB / 0.4965 GB, free: 14.79 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 8.828e-05/0.1587, allocations: 45.66 kB / 0.4965 GB, free: 14.74 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 0.0001601/0.1589, allocations: 330.8 kB / 0.4968 GB, free: 14.41 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003114/0.1592, allocations: 83.92 kB / 0.4969 GB, free: 14.32 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003119/0.1595, allocations: 105.8 kB / 0.497 GB, free: 14.21 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005867/0.1601, allocations: 205 kB / 0.4972 GB, free: 13.99 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.325e-06/0.1601, allocations: 0 / 0.4972 GB, free: 13.99 MB / 382.1 MB Notification: Performance of matching and sorting (n=20) (initialization): time 0.0007461/0.1609, allocations: 267.1 kB / 0.4975 GB, free: 13.72 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 5.378e-05/0.1609, allocations: 36.2 kB / 0.4975 GB, free: 13.68 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.643e-06/0.1609, allocations: 0 / 0.4975 GB, free: 13.68 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.649e-05/0.1609, allocations: 0 / 0.4975 GB, free: 13.68 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007705/0.1617, allocations: 75.88 kB / 0.4976 GB, free: 13.61 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.893e-06/0.1617, allocations: 4.062 kB / 0.4976 GB, free: 13.6 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000219/0.1619, allocations: 35.86 kB / 0.4976 GB, free: 13.57 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.018e-05/0.162, allocations: 8 kB / 0.4976 GB, free: 13.56 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.0001535/0.1621, allocations: 136.7 kB / 0.4978 GB, free: 13.42 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.845e-05/0.1622, allocations: 23.84 kB / 0.4978 GB, free: 13.39 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.946e-05/0.1622, allocations: 21.34 kB / 0.4978 GB, free: 13.38 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.981e-06/0.1622, allocations: 7.984 kB / 0.4978 GB, free: 13.37 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.993e-06/0.1622, allocations: 8 kB / 0.4978 GB, free: 13.36 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.391e-06/0.1622, allocations: 3.984 kB / 0.4978 GB, free: 13.36 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003139/0.1626, allocations: 273.4 kB / 0.4981 GB, free: 13.04 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.302e-06/0.1626, allocations: 0 / 0.4981 GB, free: 13.04 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0008291/0.1634, allocations: 67.94 kB / 0.4981 GB, free: 12.97 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.317e-06/0.1634, allocations: 4 kB / 0.4981 GB, free: 12.97 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.977e-05/0.1634, allocations: 4 kB / 0.4981 GB, free: 12.96 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.643e-06/0.1634, allocations: 4 kB / 0.4982 GB, free: 12.96 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.82e-07/0.1634, allocations: 0 / 0.4982 GB, free: 12.96 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0009489/0.1644, allocations: 325 kB / 0.4985 GB, free: 12.62 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 7.294e-05/0.1644, allocations: 89.02 kB / 0.4985 GB, free: 12.52 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.747e-05/0.1645, allocations: 3.938 kB / 0.4986 GB, free: 12.52 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000201/0.1647, allocations: 32 kB / 0.4986 GB, free: 12.48 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.377e-05/0.1647, allocations: 15.98 kB / 0.4986 GB, free: 12.47 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.419e-05/0.1648, allocations: 3.984 kB / 0.4986 GB, free: 12.46 MB / 382.1 MB Notification: Performance of sorting global known variables: time 0.0001445/0.1649, allocations: 148.7 kB / 0.4987 GB, free: 12.32 MB / 382.1 MB Notification: Performance of sort global known variables: time 7.1e-08/0.1649, allocations: 0 / 0.4987 GB, free: 12.32 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.0002507/0.1652, allocations: 39.89 kB / 0.4988 GB, free: 12.28 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.00137/0.1665, allocations: 0.8566 MB / 0.4996 GB, free: 11.39 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.0007059/0.1672, allocations: 231.2 kB / 0.4998 GB, free: 11.16 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 2.515e-06/0.1672, allocations: 4 kB / 0.4998 GB, free: 11.15 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0003022/0.1675, allocations: 79.88 kB / 0.4999 GB, free: 11.07 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002873/0.1678, allocations: 28.64 kB / 0.4999 GB, free: 11.04 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003929/0.1718, allocations: 2.216 MB / 0.5021 GB, free: 8.723 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004268/0.1722, allocations: 0.7358 MB / 0.5028 GB, free: 7.961 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 0.0001039/0.1723, allocations: 21.55 kB / 0.5028 GB, free: 7.938 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001339/0.1724, allocations: 67.41 kB / 0.5029 GB, free: 7.871 MB / 382.1 MB Notification: Performance of SimCode: time 5.11e-07/0.1724, allocations: 0 / 0.5029 GB, free: 7.871 MB / 382.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03151/0.2039, allocations: 4.167 MB / 0.507 GB, free: 3.871 MB / 382.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 8.268/8.472, allocations: 19.91 kB / 0.507 GB, free: 3.852 MB / 382.1 MB " [Timeout remaining time 651] (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: 11.613292351001292] Failed to read output from testmodel.py, exit status != 0: 8.543372726999223 8.729544551 8.575430732 Calling exit ...